File searching method and device, electronic equipment, medium and computer program product
By obtaining the keyword information input by the user in the second electronic device and sending a file search request message to the first electronic device, the problem of complicated operation steps when the user searches for files across devices is solved, automatic file search is realized, and efficiency is improved. and accuracy.
Patent Information
- Application Number
- CN202411402799.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-24
AI Technical Summary
When users look up files across devices, manually entering keywords cannot accurately match the required files, resulting in cumbersome operation steps.
By obtaining the user's input information for the first file in the second electronic device, generating keyword information, and sending a file search request message to the first electronic device, the first electronic device determines the file to be searched based on the keywords, and sends Instruct information to the second electronic device.
Simplified the operation steps of the user's cross -device to find files, realized the search for related files in the first electronic device, and improved the efficiency and accuracy of file search.
Smart Images

Figure CN119357130A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a file search method, device, electronic equipment, medium and computer program product. Background Art
[0002] With the development of electronic device technology, users may need to use files in multiple electronic devices at the same time when using electronic devices in daily life. For example, when using a computer, the user can search for files in a mobile phone by entering keywords.
[0003] However, when a user needs to search for a large number of files or files of a specific segment of audio or video content, the keywords manually entered by the user cannot accurately match the files the user wants to find. At this time, the user needs to check the files in the mobile phone one by one to find the required file. Then, the user can transfer the file through the collaborative software between the mobile phone and the computer, and finally use the file in the computer.
[0004] This makes it more complicated for users to search for files across devices. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a file search method, device, electronic device, medium and computer program product, which can simplify the operation steps for users to search for files across devices.
[0006] In a first aspect, an embodiment of the present application provides a file search method, which is applied to a first electronic device, and the method includes: the first electronic device receives a file search request message sent by a second electronic device, the file search request message includes keyword information, the keyword information is determined based on a user's input of a first file, and the first file is a file in the second electronic device; the first electronic device determines the second file based on the keyword information, and the second file is a file in the first electronic device; the first electronic device sends first information to the second electronic device, and the first information is used to indicate the second file.
[0007] In a second aspect, an embodiment of the present application provides a file search method, which is applied to a second electronic device, and the method includes: the second electronic device generates a file search request message based on keyword information, the keyword information is determined based on a user's input of a first file, and the first file is a file in the second electronic device; the second electronic device sends a file search request message to the first electronic device; the second electronic device receives the first information sent by the first electronic device, the first information is used to indicate a second file, and the second file is a file in the first electronic device.
[0008] In a third aspect, an embodiment of the present application provides a file search device, which is applied to a first electronic device, and the device includes: a receiving module, a determining module and a sending module; the receiving module is used to receive a file search request message sent by a second electronic device, the file search request message includes keyword information, the keyword information is determined based on a user's input of a first file, and the first file is a file in the second electronic device; the determining module is used to determine a second file based on the keyword information received by the receiving module, and the second file is a file in the first electronic device; the sending module is used to send first information to the second electronic device, and the first information is used to indicate the second file determined by the determining module.
[0009] In a fourth aspect, an embodiment of the present application provides a file search device, which is applied to a second electronic device, and the device includes: a processing module, a sending module and a receiving module; the processing module is used to generate a file search request message based on keyword information, the keyword information is determined based on a user's input of a first file, and the first file is a file in the second electronic device; the sending module is used to send the file search request message obtained by the processing module to the first electronic device; the receiving module is used to receive first information sent by the first electronic device, the first information is used to indicate a second file, and the second file is a file in the first electronic device.
[0010] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0011] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0012] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method described in the first aspect, or to implement the method described in the second aspect.
[0013] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method as described in the first aspect, or to implement the method as described in the second aspect.
[0014] In an embodiment of the present application, during the process of the user using the second electronic device, the second electronic device can obtain keyword information for searching related files based on the user's input of the first file. Thus, the second electronic device can send a file search request message to the first electronic device based on the keyword information, so that the first electronic device can determine the second file to be searched based on the keyword, and send the first information that can indicate the second file to the second electronic device, so that the user can automatically complete the search for related files in the first electronic device during the process of using the second electronic device. In this way, the operation steps for users to search for files across devices are simplified. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is one of the flowcharts of a file search method provided in an embodiment of the present application;
[0016] Figure 2 This is the second flowchart of a file search method provided in an embodiment of the present application;
[0017] Figure 3 This is the third flowchart of a file search method provided in an embodiment of the present application;
[0018] Figure 4 is a schematic diagram of an example of displaying a file identifier in a first file provided by an embodiment of the present application;
[0019] Figure 5 is a schematic diagram of an example of displaying file content in a first file provided by an embodiment of the present application;
[0020] Figure 6 This is a fourth flowchart of a file search method provided in an embodiment of the present application;
[0021] Figure 7 This is one of the structural schematic diagrams of a file search device provided in an embodiment of the present application;
[0022] Figure 8 This is a second structural diagram of a file search device provided in an embodiment of the present application;
[0023] Fig. 9 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;
[0024] Fig.10 This is the second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0026] The terms "first", "second", etc. in the specification of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0027] The terms "at least one (item)", "at least one of" and the like in the specification of the present application refer to any one, any two or a combination of more than two of the objects contained therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)". The logo in the present application is text, symbol, image, etc. used to indicate information, and logos or other containers can be used as carriers for displaying information, including but not limited to text logos, image logos, symbol logos, etc.
[0028] The following, in conjunction with the accompanying drawings, describes in detail the file search method, device, electronic device, medium and computer program product provided by the embodiments of the present application through specific embodiments and their application scenarios.
[0029] The file search method, device, electronic device, medium and computer program product provided in the embodiments of the present application can be applicable to scenarios in which users search for files across devices, especially scenarios in which users search for files across devices when using office software.
[0030] The file search method, device, electronic device, medium and computer program product provided by the embodiments of the present application can obtain keyword information for searching related files based on the user's input of the first file when the user is using the second electronic device. Thus, the second electronic device can send a file search request message to the first electronic device based on the keyword information, so that the first electronic device can determine the second file to be searched based on the keyword, and send the first information that can indicate the second file to the second electronic device, so as to automatically complete the search for related files in the first electronic device when the user is using the second electronic device. In this way, the operation steps for users to search for files across devices are simplified.
[0031] The execution subject of the file search method provided in the embodiment of the present application may be a file search device. Exemplarily, the file search device may be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The file search method provided in the embodiment of the present application will be exemplarily described below using an electronic device as an example.
[0032] The present application embodiment provides a file search method. Figure 1 FIG. 1 is a flowchart of a file search method provided by an embodiment of the present application, which can be applied to a first electronic device. Figure 1 As shown, the file search method provided in the embodiment of the present application may include the following steps 101 to 103.
[0033] Step 101: A first electronic device receives a file search request message sent by a second electronic device.
[0034] The file search request message may include keyword information, and the keyword information is determined based on the user's input of the first file.
[0035] In the embodiment of the present application, the first file may be a file in the second electronic device.
[0036] In some embodiments of the present application, the above-mentioned file search request message can be used to search for files related to the first file.
[0037] In some embodiments of the present application, the first file may be a file stored in the second electronic device, or may be a file obtained by the second electronic device from other devices.
[0038] Exemplarily, the first file may be a work report document that is being edited locally by the user on the second electronic device.
[0039] Exemplarily, the first file may also be a meeting minutes document edited by the user through the second electronic device cloud.
[0040] In some embodiments of the present application, the above-mentioned files related to the first file may include but are not limited to: files containing at least part of the same file content as the first file, files with the same or related subject as the first file, and files with the same or related name as the first file.
[0041] In some embodiments of the present application, the keyword information may be information obtained during the user input process of the first file. In other words, the keyword information may be used to indicate the input content input by the user in the first file.
[0042] It is understandable that, during the process of the user inputting the first file, the second electronic device can obtain the keyword information, thereby generating a file search request message, without the user manually triggering the file search.
[0043] In some embodiments of the present application, the file type of the above-mentioned first file may include but is not limited to: text files, audio files, video files, image files, program files, compressed files, database files, binary files, and virtual machine image files.
[0044] In some embodiments of the present application, the first electronic device and the second electronic device may be two different devices.
[0045] Exemplarily, the first electronic device may be a mobile phone, and the second electronic device may be a computer.
[0046] Exemplarily, the first electronic device may be mobile phone A, and the second electronic device may be mobile phone B.
[0047] In some embodiments of the present application, the first electronic device may be connected to a second electronic device, so that a user may search for files in the first electronic device in real time while using the second electronic device.
[0048] It is understandable that each second electronic device can be connected to at least one first electronic device. In other words, the second electronic device can search for files from multiple different first electronic devices at the same time.
[0049] It is understandable that the first electronic devices connected to different second electronic devices may be the same or different, which is not specifically limited in the embodiments of the present application.
[0050] In some embodiments of the present application, the first electronic device and the second electronic device may be connected by wire or by wireless, which is not specifically limited in the embodiments of the present application.
[0051] Exemplarily, the first electronic device and the second electronic device may be connected via a data line.
[0052] Exemplarily, the first electronic device and the second electronic device may also be connected via Bluetooth.
[0053] Exemplarily, the first electronic device and the second electronic device may also transfer cloud files to each other by logging into the same account on a third-party application.
[0054] It should be noted that the detailed description of the second electronic device acquiring the keyword information and generating the file search request message can be found in the following description of step 201, step 201a and step 201b. To avoid repetition, it is not described here.
[0055] Step 102: The first electronic device determines a second file based on the keyword information.
[0056] The second file may be a file in the first electronic device.
[0057] In some embodiments of the present application, the second file may be one or more files stored in the first electronic device, or may be one or more files acquired by the first electronic device from other devices.
[0058] In some embodiments of the present application, the file type of the second file may include but is not limited to: text files, audio files, video files, image files, program files, compressed files, database files, binary files, virtual machine image files.
[0059] In some embodiments of the present application, the second file may be a file in the first electronic device that is related to the first file indicated by the keyword information.
[0060] Exemplarily, assuming that the keyword information includes: Site A, commencement of construction, and project report, after receiving the file search request message, the first electronic device can search for audio and video, pictures, documents and other files related to at least one of Site A, commencement of construction, and project report.
[0061] Step 103: The first electronic device sends first information to the second electronic device.
[0062] The above-mentioned first information can be used to indicate the second file.
[0063] In some embodiments of the present application, after finding the second file, the first electronic device can send the first information that can be used to indicate the second file to the second electronic device through the connection between the first electronic device and the second electronic device, so that the user can use the second file on the second electronic device.
[0064] Exemplarily, the first electronic device may send the file name of the found file to the second electronic device.
[0065] Exemplarily, the first electronic device may send a file list of found files to the second electronic device.
[0066] In the file search method provided by the embodiment of the present application, when a user uses a second electronic device, if a first electronic device receives a file search message sent by a second electronic device, the first electronic device can determine the second file to be searched based on a keyword, and send the first information indicating the second file to the second electronic device, so that when the user uses the second electronic device, the user does not need to manually search for the required file, and can automatically complete the search for the relevant files in the first electronic device. In this way, the operation steps for users to search for files across devices are simplified.
[0067] In some embodiments of the present application, after the above step 103, the file search method provided by the embodiment of the present application may further include the following steps 104 and 105.
[0068] Step 104: The first electronic device receives first indication information sent by the second electronic device.
[0069] The first indication information may be used to instruct sending the second file to the second electronic device.
[0070] In some embodiments of the present application, the first indication information may be indication information generated based on a user's selection of a second file indicated by the first information.
[0071] It is understandable that after receiving the first information sent by the first electronic device, the second electronic device can display the identifier of at least one file found by the first electronic device on the screen based on the first information, so that the user can select and input a second file in the at least one file. After receiving the user's selection input for the second file, the second electronic device can generate first indication information to instruct the first electronic device to send the second file to the second electronic device.
[0072] Step 105: The first electronic device sends the second file to the second electronic device.
[0073] In some embodiments of the present application, after receiving the first indication information sent by the second electronic device, the first electronic device can send the second file indicated by the first indication information to the second electronic device, so that the user can operate the second file found in the first electronic device on the second electronic device.
[0074] It should be noted that for other descriptions of the above steps 104 and 105, reference can be made to the detailed descriptions of the following steps 204 and 205. To avoid repetition, they are not described here.
[0075] In this way, the second electronic device first sends the first indication information indicating the second file to the first electronic device, so that the first electronic device can send the second file to the second electronic device after receiving the first indication information, thereby saving the resource occupation of the second electronic device.
[0076] In some embodiments of the present application, before the above step 102, the file search method provided by the embodiment of the present application may further include the following step 106, and the above step 102 may include the following step 102a and step 102b.
[0077] Step 106: The first electronic device determines at least one first attribute information based on content information of at least one third file in the first electronic device.
[0078] Among them, each of the above-mentioned first attribute information may correspond to a third file.
[0079] In some embodiments of the present application, the third file and the second file may be the same or different. This embodiment of the present application does not specifically limit this.
[0080] It should be noted that other descriptions about the third file can refer to the above descriptions about the first file and the second file, which will not be described here to avoid repetition.
[0081] In some embodiments of the present application, the above-mentioned first attribute information can be used to indicate content information of the third file.
[0082] In some embodiments of the present application, the above-mentioned first attribute information may include but is not limited to: content type of the third file, subject of the third file, name of the third file, users related to the third file, content format of the third file, time information corresponding to the third file, and location information corresponding to the third file.
[0083] Exemplarily, assuming that the third file is "Conference video of the project commencement at Site A.mp4", the time information corresponding to the third file is the recording time of the conference video, such as August 9, 2024; the location information corresponding to the third file may be the recording location of the conference video; the subject of the third file may be the project commencement at Site A; the content format of the third file may be video; and the users related to the third file may be participants in the meeting on the project commencement at Site A.
[0084] In some embodiments of the present application, during the process of the first electronic device searching for files based on keyword information, the first electronic device may perform content understanding processing on each third file through an artificial intelligence (AI) neural network model to obtain first attribute information corresponding to each third file.
[0085] The mobile end uses the pre-processed text file index to quickly locate files related to keywords (such as audio and video, pictures, documents, etc.). Each document uses the end-side large model to understand the content and also marks it. Files can be marked according to date, type, location of the event, related content, etc.:
[0086] In some embodiments of the present application, after determining at least one first attribute information corresponding to at least one third file, the first electronic device may add a corresponding tag to the at least one third file based on the at least one first attribute information, so that the first electronic device can quickly search for the file according to the file tag.
[0087] It should be noted that the above step 106 may be performed before step 101, may be performed after step 101, or may be performed simultaneously with step 101. The embodiment of the present application does not make any specific limitation.
[0088] Step 102a: The first electronic device determines second attribute information corresponding to the keyword information.
[0089] In some embodiments of the present application, the above-mentioned second attribute information may include but is not limited to: content type of keyword information, subject of keyword information, name of keyword information, users related to keyword information, content format of keyword information, time information corresponding to keyword information, and location information corresponding to keyword information.
[0090] In some embodiments of the present application, the second attribute information may be determined by the first electronic device according to keyword information.
[0091] In some embodiments of the present application, the second attribute information may also be sent by the second electronic device.
[0092] Exemplarily, in the case where the second attribute information is sent by the second electronic device to the first electronic device, the second electronic device can analyze the keyword information after acquiring the keyword information, obtain the second attribute information corresponding to the keyword information, and send the keyword information and the corresponding second attribute information to the first electronic device through a file search request message.
[0093] Step 102b: The first electronic device determines, in at least one third file, a file whose corresponding first attribute information matches the second attribute information as a second file.
[0094] In some embodiments of the present application, the matching of the first attribute information and the second attribute information can be understood as: there is at least partially the same attribute information in the first attribute information and the second attribute information.
[0095] Exemplarily, assuming that the subject in the first attribute information is the same as the subject in the second attribute information, the first electronic device may determine that the first attribute information matches the second attribute information.
[0096] Exemplarily, assuming that the content type and location information in the first attribute information are the same as the content type and location information in the second attribute information, the first electronic device may determine that the first attribute information matches the second attribute information.
[0097] In some embodiments of the present application, when the first electronic device determines that in at least one third file, there is a first attribute information corresponding to a third file that matches the second attribute information, the first electronic device can determine the third file as the second file to be searched and send it to the second electronic device.
[0098] In some embodiments of the present application, when the first electronic device sends the second file to the second electronic device, it can also send to the second electronic device the matching status of the attribute information of the second file and the keyword information, so that the user can quickly identify the file content of the found second file, thereby quickly determining whether the second file is the file to be found.
[0099] In this way, the first electronic device can determine the file to be searched from multiple aspects by matching the attribute information of the file in the first electronic device with the attribute information of the keyword information, thereby improving the accuracy of file search.
[0100] The present application embodiment provides a file search method. Figure 2 A flowchart of a file search method provided by an embodiment of the present application is shown, and the method can be applied to a second electronic device. Figure 2 As shown, the file search method provided in the embodiment of the present application may include the following steps 201 to 203.
[0101] Step 201: The second electronic device generates a file search request message based on keyword information.
[0102] The keyword information is determined based on a user's input of a first file, and the first file may be a file in the second electronic device.
[0103] In some embodiments of the present application, during the process of the user inputting the first file, the second electronic device can obtain the user's current operation in real time, such as recording the user's input content and the operation of the opened application, etc. Thus, the second electronic device can extract keyword information based on the obtained user's operation.
[0104] In some embodiments of the present application, an intelligent scene perception module may be integrated into the second electronic device to obtain the user's current operation in real time.
[0105] Exemplarily, the second electronic device can capture information such as file titles, file types, and file keywords operated by the user in real time through the intelligent scene perception module.
[0106] For example, the user is inputting a text document titled "Project Construction Report at Site A". The second electronic device can use an intelligent scene perception module to obtain the text content input by the user in this text document in real time and extract keyword information from the text content input by the user.
[0107] Step 202: The second electronic device sends a file search request message to the first electronic device.
[0108] Step 203: The second electronic device receives the first information sent by the first electronic device.
[0109] The first information may be used to indicate a second file, and the second file may be a file in the first electronic device.
[0110] In some embodiments of the present application, after the second electronic device obtains the keyword information, it can generate a file search request message and send the file search request message to the first electronic device. Thus, after receiving the file search request message, the first electronic device can search for the second file based on the keyword information in the file search request message, and return the first information indicating the second file to the second electronic device.
[0111] For example, suppose that the user is using the second electronic device to input a text document titled "Report on the Construction Project in Site A". At this time, the second electronic device can generate a file search request message based on the keywords obtained by the user's input in the text document in real time, and send the file search request message to the first electronic device, so that the first electronic device can send the first information that can indicate the found file, such as a list of project demand files for the construction project in Site A, a list of data reports for the construction project in Site A, a list of chat records of people related to the construction project in Site A, a list of recording files of conferences for the construction project in Site A, etc. to the second electronic device. In this way, when the user is using the second electronic device, the second electronic device can search for relevant files from the first electronic device in real time for the user to select.
[0112] In some embodiments of the present application, after the second electronic device receives the second file sent by the first electronic device, the second electronic device may store the second file locally or cache the second file. This embodiment of the present application does not specifically limit this.
[0113] It should be noted that, for other descriptions of step 201 to step 203, reference may be made to the detailed description of the above step 101 to step 106. To avoid repetition, they will not be described again here.
[0114] In the file search method provided by the embodiment of the present application, when the user uses the second electronic device, the second electronic device can obtain keyword information for searching related files based on the user's input of the first file. Thus, the second electronic device can send a file search request message to the first electronic device based on the keyword information, so that the first electronic device can determine the second file to be searched based on the keyword, and send the first information that can indicate the second file to the second electronic device, so as to automatically complete the search for related files in the first electronic device during the user's use of the second electronic device. In this way, the operation steps for users to search for files across devices are simplified.
[0115] In some embodiments of the present application, Figure 2 ,like Figure 3 As shown, before the above step 201, the file search method provided in the embodiment of the present application may further include the following step 204, and the above step 201 may include the following step 201a and step 201b.
[0116] Step 204: The second electronic device determines keyword information based on the user's input of the first file and the related files of the first file.
[0117] In some embodiments of the present application, the related file of the first file may be a file that matches the attribute information of the first file.
[0118] In some embodiments of the present application, the related files of the first file may be one or more files in the second electronic device.
[0119] Exemplarily, the related file of the first file may be a file corresponding to the historical operation record of the user, whose attribute information matches the attribute information of the first file.
[0120] In some embodiments of the present application, the second electronic device can infer the user's potential needs based on the user's input of the first file and related files of the first file, and obtain keyword information that can express the user's needs, ensuring that the file search scope is wider and more accurate.
[0121] Step 201a: The second electronic device determines second attribute information corresponding to the keyword information based on the keyword information.
[0122] In some embodiments of the present application, after the second electronic device obtains the keyword information, the second electronic device may determine the second attribute information corresponding to the keyword information by understanding and analyzing the keyword information.
[0123] In some embodiments of the present application, after determining the second attribute information corresponding to the keyword information, the second electronic device may add a tag to the keyword information based on the second attribute information for tag matching when the first electronic device searches for files.
[0124] For example, assuming that the user enters the text "meeting in Hangzhou last month" in the first file, the second electronic device can perform semantic analysis on the text, extract the key words "last month", "in Hangzhou", "meeting", and "photo", and add corresponding attribute tags to each keyword: the keyword "last month" can add a time tag; the keyword "in Hangzhou" can add a location tag; the keyword "meeting" can add a meeting tag.
[0125] Furthermore, the electronic device may also expand the obtained keywords to obtain expanded keywords with wider coverage and greater accuracy.
[0126] Exemplarily, the second electronic device may also determine the time corresponding to the keyword "last month" based on the keyword "last month" and the current time information. For example, assuming that the current time information is September 2024, the time corresponding to the keyword "last month" should be August 2024.
[0127] For example, for the keyword "in Hangzhou", the second electronic device can be expanded to "location: Zhejiang", "city tag: travel", etc.; for the keyword "meeting", the second electronic device can be expanded to "demand analysis meeting" and so on.
[0128] Step 201b: The second electronic device generates a file search request message based on the keyword information and the second attribute information.
[0129] In some embodiments of the present application, the above-mentioned file search request message may include keyword information and its corresponding second attribute information, so that after receiving the file search request message, the first electronic device can accurately find the file required by the user based on the keyword information and its corresponding second attribute information.
[0130] In this way, since the second electronic device can determine keyword information for searching files based on the user's input of the first file and related files of the first file, the search scope and accuracy of files can be improved by expanding the keyword information.
[0131] In some embodiments of the present application, after the above step 203, the file search method provided by the embodiment of the present application may further include the following step 205 or step 206.
[0132] Step 205: The second electronic device displays a second file identifier.
[0133] The first file identifier may be used to indicate the second file.
[0134] In some embodiments of the present application, after the second electronic device receives the second file sent by the first electronic device, the second electronic device can display an identifier indicating the found second file in real time for user selection.
[0135] In some embodiments of the present application, when displaying the found second file, the second electronic device may display brief description information of the second text to help the user quickly learn the file content of the second file.
[0136] In some embodiments of the present application, the first file identifier may be a thumbnail of the first file, or may be other image identifiers. In actual implementation, the second electronic device may use any possible identifier as the first file identifier corresponding to the first file. This embodiment of the present application does not specifically limit this.
[0137] In some embodiments of the present application, the second electronic device can display the first file identifier in real time while the user is inputting the first file, and the user can select the desired file by inputting the first file identifier.
[0138] It can be understood that the above-mentioned first file identifier may include at least one candidate file identifier for user selection.
[0139] For example, Figure 4 As shown, suppose the user enters the text "last month in Hangzhou" in the first file 41. At this time, the second electronic device can obtain the keyword information, generate a file search request message, and send it to the first electronic device. After finding the corresponding file, the first electronic device can return the found file to the second electronic device. Thus, the second electronic device can display the candidate file identification 42 "work document", the candidate file identification 43 "monthly report" and the candidate file identification 44 "meeting photo" on the screen.
[0140] It is understandable that if the user enters the text "photo" in the first file 41 again, the second electronic device can update the candidate file identifiers to photo files such as "meeting photos", "dinner photos" and "group photos".
[0141] In some embodiments of the present application, when the second electronic device displays candidate file identifiers, the user can input a candidate file identifier that meets the requirements, so that the second electronic device can respond to the input and determine that the file indicated by the candidate file identifier is the file that the user wants to find.
[0142] In some embodiments of the present application, after the user inputs a candidate file identifier that meets the requirements, the second electronic device can directly replace the text information input by the user with the file indicated by the candidate file identifier, or insert the file indicated by the candidate file identifier into the first file. The embodiments of the present application are not specifically limited.
[0143] Step 206: The second electronic device displays the file content of the second file.
[0144] In some embodiments of the present application, the second electronic device may also directly display the file content of the second file.
[0145] For example, Figure 5 As shown, the user enters the text "in terms of voice control" in the first file, and the second electronic device can summarize and display the file content of the second file obtained across devices, displaying the file content, the source device of the file, the name type of the file, and the AI assistant's intelligent summary of the file.
[0146] In some embodiments of the present application, the user can select file content that meets the requirements from the displayed file content of the second file and insert it into the first file.
[0147] In this way, the second electronic device can display the file identifier of the file or display the file content of the file, so that the user can directly select the displayed file identifier or file content, simplifying the operation steps for the user to search for files across devices.
[0148] In some embodiments of the present application, after the above step 203, the file search method provided by the embodiment of the present application may further include the following steps 207 and 208.
[0149] Step 204: The second electronic device sends first indication information to the first electronic device.
[0150] The first indication information may be used to instruct sending the second file to the second electronic device.
[0151] Step 205: The second electronic device receives the second file sent by the first electronic device.
[0152] In some embodiments of the present application, after receiving the first information sent by the first electronic device, the second electronic device can display the file identification or file content found by the first electronic device based on the first information, and the user can input the file identification or file content of the file to be used, so that the second electronic device can generate first indication information based on the input to instruct the first electronic device to send the second file corresponding to the file identification or file content input by the user to the second electronic device, so that the user can input the second file.
[0153] For example, the first information is the summary content of the second file, and the summary content may include the content summary, information source and file name of the second file. The second electronic device can generate a corresponding file search message in real time based on the user's input of the first file during the user's input of the first file, and send the file search message to the first electronic device. After receiving the file search message, the first electronic device can return the summary content of the found file to the second electronic device in real time. Thus, Figure 5 As shown, the second electronic device can display the summary contents of multiple files in the first file: "The system supports a variety of voice commands, which can control home appliances such as lights, air conditioners, and door locks" from the summary of the memorandum content on September 8 in the mobile phone; "The preliminary joint debugging of various system modules has been completed, and the success rate has reached 95%. The next step is to improve the connection stability" from the voice conference on September 23 on the computer (Personal Computer, PC), etc. Then, the user can click on the summary of the memorandum content on September 8 in the mobile phone, "The system supports a variety of voice commands, which can control home appliances such as lights, air conditioners, and door locks", so that the second electronic device can generate the first instruction information to instruct the first electronic device to send the file corresponding to the summary of the memorandum content on September 8 in the mobile phone to the second electronic device.
[0154] In this way, the second electronic device first sends the first indication information indicating the second file to the first electronic device, so that the first electronic device can send the second file to the second electronic device after receiving the first indication information, thereby saving the resource occupation of the second electronic device.
[0155] Each of the above-mentioned method embodiments, or various possible implementation methods in each method embodiment can be executed separately, or any two or more of them can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0156] The following is a specific example to illustrate the file search method provided in the embodiment of the present application.
[0157] like Figure 6 As shown, the file search method may include the following steps 301 to 312.
[0158] Step 301: The second electronic device determines keyword information based on a user's input of a first file and files related to the first file.
[0159] Step 302: The second electronic device determines second attribute information corresponding to the keyword information based on the keyword information.
[0160] Step 303: The second electronic device generates a file search request message based on the keyword information and the second attribute information.
[0161] Step 304: The second electronic device sends a file search request message to the first electronic device.
[0162] Step 305: The first electronic device receives a file search request message sent by the second electronic device.
[0163] Step 306: The first electronic device determines a second file based on the keyword information.
[0164] Step 307: The first electronic device sends first information to the second electronic device.
[0165] The above-mentioned first information can be used to indicate the second file.
[0166] Step 308: The second electronic device receives the first information sent by the first electronic device.
[0167] The second file is a file in the first electronic device.
[0168] Step 309: The second electronic device sends first indication information to the first electronic device.
[0169] The first indication information may be used to instruct sending the second file to the second electronic device.
[0170] Step 310: The first electronic device receives the first indication information and sends the second file to the second electronic device.
[0171] Step 311: The second electronic device receives the second file sent by the first electronic device.
[0172] Step 312: The second electronic device displays the first file identifier, or displays the file content of the second file.
[0173] The first file identifier is used to indicate the second file.
[0174] In this way, when the user uses the second electronic device, the second electronic device can obtain keyword information for searching related files based on the user's input of the first file. Thus, the second electronic device can send a file search request message to the first electronic device based on the keyword information, so that the first electronic device can determine the second file to be searched based on the keyword, and send the first information that can indicate the second file to the second electronic device, so that the user can automatically complete the search for related files in the first electronic device when using the second electronic device. In this way, the operation steps for users to search for files across devices are simplified.
[0175] The file search method provided in the embodiment of the present application can be executed by a file search device. In the embodiment of the present application, the file search device provided in the embodiment of the present application is described by taking the file search method executed by the file search device as an example.
[0176] Figure 7 A possible structural diagram of a file search device involved in an embodiment of the present application is shown. Figure 7 As shown, the file searching device 70 may include: a receiving module 71 , a determining module 72 and a sending module 73 .
[0177] Among them, the receiving module 71 is used to receive a file search request message sent by the second electronic device, the file search request message includes keyword information, the keyword information is determined based on the user's input of the first file, and the first file is a file in the second electronic device; the determining module 72 is used to determine the second file based on the keyword information received by the receiving module 71, and the second file is a file in the first electronic device; the sending module 73 is used to send the first information determined by the determining module 72 to the second electronic device, and the first information is used to indicate the second file.
[0178] In a possible implementation, the receiving module 71 is further configured to receive first indication information sent by the second electronic device after the sending module 73 sends the first information to the second electronic device, where the first indication information is used to instruct to send the second file to the second electronic device;
[0179] The sending module 73 is further configured to send the second file to the second electronic device.
[0180] In a possible implementation, the determination module 72 is further configured to determine at least one first attribute information based on content information of at least one third file in the first electronic device before determining the second file based on the keyword information, wherein each first attribute information corresponds to a third file;
[0181] The determination module 72 is specifically used for:
[0182] Determine second attribute information corresponding to the keyword information;
[0183] A file in at least one third file, whose corresponding first attribute information matches the second attribute information, is determined as a second file.
[0184] The embodiment of the present application provides a file search device, and in the process of a user using a second electronic device, the second electronic device can obtain keyword information for searching related files based on the user's input of a first file. Thus, the second electronic device can send a file search request message to the file search device based on the keyword information, so that the file search device can determine the first file to be searched based on the keyword, and send the first file to the second electronic device, so that the search for related files in the file search device is automatically completed in the process of the user using the second electronic device. In this way, the operation steps of the user searching for files across devices are simplified.
[0185] Figure 8 A possible structural diagram of a file search device involved in an embodiment of the present application is shown. Figure 8 As shown, the file search device 80 may include: a processing module 81, a sending module 82 and a receiving module 83.
[0186] Among them, the processing module 81 is used to generate a file search request message based on keyword information, the keyword information is determined based on the user's input of the first file, and the first file is a file in the second electronic device; the sending module 82 is used to send the file search request message obtained by the processing module 81 to the first electronic device; the receiving module 83 is used to receive the first information sent by the first electronic device, the first information is used to indicate the second file, and the second file is a file in the first electronic device.
[0187] In a possible implementation, the sending module 82 is further configured to send first indication information to the first electronic device after the receiving module 83 receives the first information sent by the first electronic device, where the first indication information is used to instruct to send the second file to the second electronic device;
[0188] The receiving module 83 is further configured to receive a second file sent by the first electronic device.
[0189] In a possible implementation, the processing module 81 is further configured to determine the keyword information based on the user's input of the first file and the related files of the first file before obtaining the file search request message based on the keyword information;
[0190] The processing module 81 is specifically used for:
[0191] Based on the keyword information, determining second attribute information corresponding to the keyword information;
[0192] Based on the keyword information and the second attribute information, a file search request message is generated.
[0193] In a possible implementation, the above device further includes: a display module;
[0194] The display module is used to display the first file identifier after the receiving module 83 receives the first information sent by the first electronic device, where the first file identifier is used to indicate the second file; or
[0195] The display module is used to display the file content of the second file after the receiving module 83 receives the first information sent by the first electronic device.
[0196] The embodiment of the present application provides a file search device. When a user uses the file search device, the file search device can obtain keyword information for searching related files based on the user's input of a first file. Thus, the file search device can send a file search request message to a first electronic device based on the keyword information, so that the first electronic device can determine the second file to be searched based on the keyword, and send the first information that can indicate the second file to the file search device, so as to automatically complete the search for related files in the first electronic device when the user uses the file search device. In this way, the operation steps for users to search for files across devices are simplified.
[0197] The file search device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtualreality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personalcomputer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0198] The file search device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0199] The file search device provided in the embodiment of the present application can implement each process implemented in the above-mentioned file search method embodiment and achieve the same technical effect. To avoid repetition, it will not be described here.
[0200] Alternatively, if Fig. 9 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, wherein the memory 902 stores programs or instructions that can be executed on the processor 901, and when the program or instructions are executed by the processor 901, the various steps of the above-mentioned file search method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0201] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0202] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0203] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0204] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0205] Among them, when the above-mentioned electronic device is a first electronic device, the radio frequency unit 1001 is used to receive a file search request message sent by a second electronic device, the file search request message includes keyword information, the keyword information is determined based on the user's input of the first file, and the first file is a file in the second electronic device; the processor 1010 is used to determine the second file based on the keyword information received by the radio frequency unit 1001, and the second file is a file in the first electronic device; the radio frequency unit 1001 is also used to send the second file determined by the processor 1010 to the second electronic device.
[0206] In a possible implementation, the radio frequency unit 1001 is further used to receive first indication information sent by the second electronic device after sending the first information to the second electronic device, wherein the first indication information is used to indicate sending the second file to the second electronic device; and to send the second file to the second electronic device.
[0207] In a possible implementation, the processor 1010 is further configured to determine at least one first attribute information based on content information of at least one third file in the first electronic device before determining the second file based on the keyword information, where each first attribute information corresponds to a third file;
[0208] The processor 1010 is specifically configured to:
[0209] Determine second attribute information corresponding to the keyword information;
[0210] A file in at least one third file, whose corresponding first attribute information matches the second attribute information, is determined as a second file.
[0211] The embodiment of the present application provides a file search device, and in the process of a user using a second electronic device, the second electronic device can obtain keyword information for searching related files based on the user's input of a first file. Thus, the second electronic device can send a file search request message to the first electronic device based on the keyword information, so that the first electronic device can determine the second file to be searched based on the keyword, and send the first information that can indicate the second file to the second electronic device, so as to automatically complete the search for related files in the first electronic device in the process of the user using the second electronic device. In this way, the operation steps for users to search for files across devices are simplified.
[0212] In the case where the above-mentioned electronic device is a second electronic device, the processor 1010 is used to generate a file search request message based on keyword information, where the keyword information is determined based on a user's input of a first file, and the first file is a file in the second electronic device; the radio frequency unit 1001 is used to send the file search request message obtained by the processor 1010 to the first electronic device; and is used to receive a second file sent by the first electronic device, where the second file is a file in the first electronic device.
[0213] In a possible implementation, the radio frequency unit 1001 is further used to send first indication information to the first electronic device after the receiving module receives the first information sent by the first electronic device, wherein the first indication information is used to indicate that a second file is sent to the second electronic device; and to receive the second file sent by the first electronic device.
[0214] In a possible implementation, the processor 1010 is further configured to determine the keyword information based on a user input of the first file and related files of the first file before obtaining the file search request message based on the keyword information;
[0215] The processor 1010 is specifically configured to:
[0216] Based on the keyword information, determining second attribute information corresponding to the keyword information;
[0217] Based on the keyword information and the second attribute information, a file search request message is generated.
[0218] In a possible implementation, the display unit 1006 is used to display a first file identifier after the radio frequency unit 1001 receives the first information sent by the first electronic device, where the first file identifier is used to indicate the second file; or
[0219] The display unit 1006 is used to display the file content of the second file after the radio frequency unit 1001 receives the first information sent by the first electronic device.
[0220] The embodiment of the present application provides a file search device, and in the process of a user using a second electronic device, the second electronic device can obtain keyword information for searching related files based on the user's input of a first file. Thus, the second electronic device can send a file search request message to the first electronic device based on the keyword information, so that the first electronic device can determine the second file to be searched based on the keyword, and send the first information that can indicate the second file to the second electronic device, so as to automatically complete the search for related files in the first electronic device in the process of the user using the second electronic device. In this way, the operation steps for users to search for files across devices are simplified.
[0221] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0222] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0223] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
[0224] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned file search method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0225] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0226] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned file search method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0227] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0228] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned file search method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0229] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0230] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0231] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A file search method, characterized in that: The method comprises: The first electronic device receives a file search request message sent by the second electronic device, wherein the file search request message includes keyword information, and the keyword information is determined based on a user input of a first file, and the first file is a file in the second electronic device; The first electronic device determines a second file based on the keyword information, where the second file is a file in the first electronic device; The first electronic device sends first information to the second electronic device, where the first information is used to indicate the second file.
2. The method according to claim 1, characterized in that After the first electronic device sends the first information to the second electronic device, the method further includes: The first electronic device receives first indication information sent by the second electronic device, where the first indication information is used to instruct sending the second file to the second electronic device; The first electronic device sends the second file to the second electronic device.
3. The method according to claim 1 or 2, characterized in that: Before the first electronic device determines the second file based on the keyword information, the method further includes: The first electronic device determines at least one first attribute information based on content information of at least one third file in the first electronic device, each first attribute information corresponds to a third file; The first electronic device determines the second file based on the keyword information, including: The first electronic device determines second attribute information corresponding to the keyword information; The first electronic device determines, in the at least one third file, a file whose corresponding first attribute information matches the second attribute information as the second file.
4. A file search method, characterized in that: The method comprises: The second electronic device generates a file search request message based on keyword information, where the keyword information is determined based on a user's input of a first file, where the first file is a file in the second electronic device; The second electronic device sends the file search request message to the first electronic device; The second electronic device receives first information sent by the first electronic device, where the first information is used to indicate a second file, and the second file is a file in the first electronic device.
5. The method according to claim 4, characterized in that After the second electronic device receives the first information sent by the first electronic device, the method further includes: The second electronic device sends first instruction information to the first electronic device, where the first instruction information is used to instruct sending the second file to the second electronic device; The second electronic device receives the second file sent by the first electronic device.
6. The method according to claim 4, characterized in that Before the second electronic device obtains the file search request message based on the keyword information, the method further includes: The second electronic device determines the keyword information based on the user's input of the first file and related files of the first file; The second electronic device generates a file search request message based on the keyword information, including: The second electronic device determines, based on the keyword information, second attribute information corresponding to the keyword information; The second electronic device generates the file search request message based on the keyword information and the second attribute information.
7. The method according to any one of claims 4 to 6, characterized in that: After the second electronic device receives the first information sent by the first electronic device, the method further includes: The second electronic device displays a first file identifier, where the first file identifier is used to indicate the second file; or, The second electronic device displays the file content of the second file.
8. A file search device, characterized in that: The device comprises: a receiving module, a determining module and a sending module; The receiving module is used to receive a file search request message sent by the second electronic device, wherein the file search request message includes keyword information, and the keyword information is determined based on a user's input of a first file, and the first file is a file in the second electronic device; The determining module is used to determine a second file based on the keyword information received by the receiving module, where the second file is a file in the first electronic device; The sending module is used to send first information to the second electronic device, where the first information is used to indicate the second file determined by the determining module.
9. The device according to claim 8, characterized in that The receiving module is further configured to receive first indication information sent by the second electronic device after the sending module sends the first information to the second electronic device, wherein the first indication information is used to instruct to send the second file to the second electronic device; The sending module is further used to send the second file to the second electronic device.
10. The device according to claim 8 or 9, characterized in that The determination module is further configured to determine at least one first attribute information based on content information of at least one third file in the first electronic device before determining the second file based on the keyword information, each first attribute information corresponding to a third file; The determination module is specifically used for: Determining second attribute information corresponding to the keyword information; A file in the at least one third file, whose corresponding first attribute information matches the second attribute information, is determined as the second file.
11. A file search device, characterized in that: The device comprises: a processing module, a sending module and a receiving module; The processing module is used to generate a file search request message based on keyword information, wherein the keyword information is determined based on a user's input of a first file, and the first file is a file in the second electronic device; The sending module is used to send the file search request message obtained by the processing module to the first electronic device; The receiving module is used to receive first information sent by the first electronic device, where the first information is used to indicate a second file, and the second file is a file in the first electronic device.
12. The device according to claim 11, characterized in that The sending module is further configured to send first indication information to the first electronic device after the receiving module receives the first information sent by the first electronic device, wherein the first indication information is used to instruct to send the second file to the second electronic device; The receiving module is further used to receive the second file sent by the first electronic device.
13. The device according to claim 11, characterized in that The processing module is further configured to determine the keyword information based on the user's input of the first file and related files of the first file before obtaining the file search request message based on the keyword information; The processing module is specifically used for: Based on the keyword information, determining second attribute information corresponding to the keyword information; The file search request message is generated based on the keyword information and the second attribute information.
14. The device according to any one of claims 11 to 13, characterized in that The device further comprises: a display module; The display module is used to display a first file identifier after the receiving module receives the first information sent by the first electronic device, where the first file identifier is used to indicate the second file; or The display module is used to display the file content of the second file after the receiving module receives the first information sent by the first electronic device.
15. An electronic device, characterized in that: It includes a processor and a memory, the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, it implements the steps of the file search method as described in any one of claims 1 to 3, or implements the steps of the file search method as described in any one of claims 4 to 7.
16. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the file search method as described in any one of claims 1 to 3 are implemented, or the steps of the file search method as described in any one of claims 4 to 7 are implemented.
17. A computer program product, wherein the computer program product is stored in a storage medium and is executed by at least one processor to implement the steps of the file search method according to any one of claims 1 to 3, or to implement the steps of the file search method according to any one of claims 4 to 7.