File management method and device

By displaying the identification and file list of other devices in the file management interface, users can manage files of multiple devices in one device, solving the problem of inefficient file management across devices and achieving more efficient file management.

CN119248722APending Publication Date: 2025-01-03VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411318282.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The existing cross-device file management method requires users to operate back and forth between multiple devices, resulting in high operational complexity, time cost and low efficiency.

Method used

By displaying the identification of at least one second electronic device in the file management interface of the first electronic device and receiving input from a user to display a list of manageable files of the device, the user can view and manage files of other devices directly in one device. , reduce cross-device operation.

Benefits of technology

Reduces the operational complexity and time cost of cross-device file management and improves file management efficiency, so users can directly manage files of multiple devices in one device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248722A_ABST
    Figure CN119248722A_ABST
Patent Text Reader

Abstract

The invention discloses a file management method and device, and belongs to the technical field of communication, and the method comprises the steps: displaying a file management interface under the condition that first electronic equipment is associated with at least one second electronic equipment, the file management interface comprises a manageable file list of the first electronic equipment and an identifier of at least one second electronic equipment; first input of N identifiers in the file management interface is received, the N identifiers are used for indicating N second electronic devices in the at least one second electronic device, and N is a positive integer; in response to the first input, N file management controls are displayed in the file management interface, and each file management control comprises a manageable file list of one second electronic device in the N second electronic devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a file management method and device. Background Art

[0002] With the development of communication technology, more and more users manage files by using electronic devices, such as file classification or file editing. Generally, an electronic device (which may be referred to as device A) can manage local files, and can also manage files of other electronic devices (which may be referred to as device B). Specifically, a user can operate on device B to trigger device B to send the files to be managed to device A, so that device A can uniformly manage local files and files received from device B.

[0003] However, current cross-device file management requires users to operate back and forth between multiple devices, which increases the complexity and time cost of users' operations between multiple devices, thus resulting in low efficiency of file management by electronic devices. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a file management method and device, which can improve the efficiency of file management of electronic devices.

[0005] In a first aspect, an embodiment of the present application provides a file management method, which includes: when a first electronic device is associated with at least one second electronic device, displaying a file management interface, the file management interface including a list of manageable files of the first electronic device and an identifier of at least one second electronic device; receiving a first input of N identifiers in the file management interface, the N identifiers being used to indicate N second electronic devices in the at least one second electronic device, where N is a positive integer; and in response to the first input, displaying N file management controls in the file management interface, each file management control including a list of manageable files of one second electronic device among the N second electronic devices.

[0006] In a second aspect, an embodiment of the present application provides a file management device, which includes: a display module and a receiving module; the display module is used to display a file management interface when a first electronic device is associated with at least one second electronic device, the file management interface including a list of manageable files of the first electronic device and an identifier of at least one second electronic device; the receiving module is used to receive a first input of N identifiers in the file management interface displayed by the display module, the N identifiers are used to indicate N second electronic devices in at least one second electronic device, N being a positive integer; the display module is also used to display N file management controls in the file management interface in response to the first input received by the receiving module, each file management control including a list of manageable files of one second electronic device among the N second electronic devices.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes 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.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] 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 a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program / program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0011] In an embodiment of the present application, when a first electronic device is associated with at least one second electronic device, a file management interface is displayed, the file management interface includes a list of manageable files of the first electronic device and an identifier of at least one second electronic device, and a first input of N identifiers in the file management interface can be received, so that N file management controls can be displayed in the file management interface, each file management control includes a list of manageable files of one of the N second electronic devices. In this solution, since the file management interface of the first electronic device can display the identifier of at least one second electronic device, so that the user can select other electronic devices that require file management, so that the list of manageable files of the other electronic devices is displayed in the file management interface, the user can directly view the manageable files in other electronic devices through the first electronic device, and the user can directly implement file management of other electronic devices through the first electronic device without having to operate back and forth between multiple devices. In this way, the operational complexity and time cost of cross-device file management can be reduced, thereby improving the efficiency of file management of electronic devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 This is one of the flow charts of the file management method provided in the embodiment of the present application;

[0013] Figure 2 is a schematic diagram of an example of a file management interface provided in an embodiment of the present application;

[0014] Figure 3A This is one of the example schematic diagrams of a manageable file list in a file management interface provided in an embodiment of the present application;

[0015] Figure 3B This is a second example schematic diagram of a manageable file list in a file management interface provided in an embodiment of the present application;

[0016] Figure 3C This is a third example schematic diagram of a manageable file list in a file management interface provided in an embodiment of the present application;

[0017] Figure 4 This is the second flowchart of the file management method provided in the embodiment of the present application;

[0018] Figure 5A This is one of the example schematic diagrams of cross-device file search provided by the embodiment of the present application;

[0019] Figure 5B This is the second example schematic diagram of cross-device file search provided by the embodiment of the present application;

[0020] Figure 5C This is the third example schematic diagram of cross-device file search provided by the embodiment of the present application;

[0021] Figure 5D This is the fourth example schematic diagram of cross-device file search provided by the embodiment of the present application;

[0022] Fig. 6A This is the fifth example schematic diagram of cross-device file search provided by the embodiment of the present application;

[0023] Figure 6B This is the sixth example schematic diagram of cross-device file search provided by the embodiment of the present application;

[0024] Figure 7 This is the third flowchart of the file management method provided in the embodiment of the present application;

[0025] Fig. 8A This is a schematic diagram of an example of viewing files across devices provided by an embodiment of the present application;

[0026] Figure 8B This is one of the example schematic diagrams of cross-device file synchronization provided by the embodiment of the present application;

[0027] Figure 8C This is the second example schematic diagram of cross-device file search provided by the embodiment of the present application;

[0028] Fig. 9 This is the fourth flowchart of the file management method provided in the embodiment of the present application;

[0029] Fig.10 This is one of the structural diagrams of the file management device provided in the embodiment of the present application;

[0030] Fig.11 This is the second structural diagram of the file management device provided in the embodiment of the present application;

[0031] Fig.12 This is the third structural diagram of the file management device provided in the embodiment of the present application;

[0032] Fig.13 This is one of the hardware structure diagrams of the electronic device provided in the embodiment of the present application;

[0033] Fig.14 This is the second schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0034] 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.

[0035] 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 data 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 usually a class, 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.

[0036] 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 included 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)".

[0037] The file management method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0038] The file management method provided in the embodiment of the present application can be applied to the scenario of performing file management on multiple electronic devices, for example, directly viewing the file management interface of other electronic devices through one electronic device to search or edit files stored in other electronic devices.

[0039] For the scenario of directly viewing the file management interface of other electronic devices through one electronic device to search for files stored in other electronic devices. If the user's electronic device is device A, and the user needs to find whether devices B and C contain file 1, the user can trigger device A to display the file management interface when device A is associated with devices B and C, wherein the identifiers of devices B and C are displayed in the file management interface. Then the user can trigger device A to display the files of device B by inputting the identifier of device B, and trigger device A to display the files of device C by inputting the identifier of device C, so that device A can find whether devices B and C contain file 1 through the displayed files of devices B and C.

[0040] In the file management method and device provided in the embodiment of the present application, when a first electronic device is associated with at least one second electronic device, a file management interface is displayed, which includes a list of manageable files of the first electronic device and an identifier of at least one second electronic device, and a first input of N identifiers in the file management interface can be received, so that N file management controls can be displayed in the file management interface, and each file management control includes a list of manageable files of one of the N second electronic devices. In this scheme, since the file management interface of the first electronic device can display the identifier of at least one second electronic device, so that the user can select other electronic devices that require file management, so that the list of manageable files of the other electronic devices is displayed in the file management interface, so that the user can directly view the manageable files in other electronic devices through the first electronic device, so that the user can directly implement file management of other electronic devices through the first electronic device, without the user having to operate back and forth between multiple devices, so that the operational complexity and time cost of cross-device file management can be reduced, thereby improving the efficiency of electronic devices in file management.

[0041] The execution subject of the file management method provided in the embodiment of the present application is a file management device, which can be an independent device, or an electronic device, or a functional module or entity in an electronic device, and the embodiment of the present application does not limit this. The following will take an electronic device as an example to exemplify the file management method provided in the embodiment of the present application.

[0042] The present application embodiment provides a file management method. Figure 1 FIG. 1 is a flowchart of a file management method provided by an embodiment of the present application. Figure 1 As shown, the file management method provided in the embodiment of the present application may include the following steps 201 to 203.

[0043] Step 201: When a first electronic device is associated with at least one second electronic device, the first electronic device displays a file management interface.

[0044] In some embodiments of the present application, the file management interface includes a list of manageable files of the first electronic device and an identification of at least one second electronic device.

[0045] In some embodiments of the present application, the at least one second electronic device may be an electronic device that has established an association with the first electronic device and is in a "cross-device file management" mode. Of course, the first electronic device is also in a "cross-device file management" mode.

[0046] It should be noted that an electronic device being in "cross-device file management" mode means that the electronic device can perform file management related operations on manageable files of other electronic devices, and the electronic device can also perform file management related operations on locally stored manageable files by other electronic devices.

[0047] In some embodiments of the present application, the above step 201 can be specifically implemented by the following step 201a or step 201b.

[0048] Step 201a: When the first electronic device and at least one second electronic device are logged into the same account, the first electronic device displays a file management interface.

[0049] In some embodiments of the present application, the above-mentioned account may include at least one of the following: a cloud storage account, an application account.

[0050] In some embodiments of the present application, the application corresponding to the above application account may include but is not limited to any of the following: office application, communication application, storage application, etc. The specific application can be determined according to actual use requirements and is not limited in the embodiments of the present application.

[0051] Exemplarily, when an electronic device, such as device A, logs into a cloud storage account, the device A can upload at least part of the locally stored files to the cloud storage space. Then, after logging into the same cloud storage account on the first electronic device and at least one second electronic device, and each second electronic device uploads at least part of the locally stored files to the cloud storage space, the first electronic device can access, search or synchronize the files of at least one second electronic device through all the files contained in the cloud storage space, thereby managing the files stored in at least one second electronic device.

[0052] As another example, when an electronic device, such as device B, logs in to an application account, the device B can authorize the application corresponding to the application account to obtain at least part of the files stored locally in the device B. Therefore, after the same application account is logged in to the first electronic device and at least one second electronic device, and the application corresponding to the application account that each second electronic device has authorized to log in obtains at least part of the files stored locally, the first electronic device can access, search or synchronize files of at least one second electronic device through the application, thereby managing files stored in at least one second electronic device.

[0053] It should be noted that the device A or the device B may be the first electronic device, or may be any one of the at least one second electronic device.

[0054] Step 201b: When the first electronic device is connected to at least one second electronic device, the first electronic device displays a file management interface.

[0055] In some embodiments of the present application, the connection between the above-mentioned first electronic device and at least one second electronic device may include at least one of the following: the first electronic device and at least one second electronic device are connected via Bluetooth, the first electronic device and at least one second electronic device are connected to the same wireless local area network, and at least one second electronic device is connected to the wireless hotspot of the first electronic device.

[0056] In some embodiments of the present application, since the first electronic device and at least one second electronic device can establish an association relationship by logging into the same account or connecting, the first electronic device can subsequently manage the files stored in the associated at least one second electronic device, thereby improving the efficiency of cross-device file management.

[0057] In some embodiments of the present application, the identification of the at least one second electronic device may be displayed in the following order, but not limited to:

[0058] the order in which the at least one second electronic device establishes an association relationship with the first electronic device;

[0059] the sequence of the last interaction time between the at least one second electronic device and the first electronic device;

[0060] an order of distance between the at least one second electronic device and the first electronic device;

[0061] The order of the device name of the at least one second electronic device (for example, the order of the first letters of the device name).

[0062] In some embodiments of the present application, the above-mentioned interaction time may include: the time for transmitting files or sending data between the first electronic device and a second electronic device.

[0063] In some embodiments of the present application, the first electronic device can display at least one folder in the file management interface to represent a list of manageable files of the first electronic device, each folder including at least one manageable file of the first electronic device. It should be noted that the above-mentioned manageable files refer to files that can be operated by the user, such as files that can be opened, files that can be deleted, files that can be modified, etc.

[0064] In some embodiments of the present application, each of the identifiers of the at least one second electronic device is used to indicate a second electronic device. The identifier may include but is not limited to at least one of the following: device name, device model, device icon, etc.

[0065] In some embodiments of the present application, the first electronic device may display at least one file identifier in the file management interface to indicate a list of manageable files of the first electronic device, wherein each file identifier corresponds to a type of manageable file.

[0066] In some embodiments of the present application, the types of manageable files in the first electronic device may include but are not limited to at least one of the following: video, picture, music, document, compressed package, installation package, etc.

[0067] In some embodiments of the present application, the first electronic device may also display the file type name and the number of files corresponding to at least one file identifier in the file management interface.

[0068] In some embodiments of the present application, if the first electronic device receives a user click input for a file identifier among at least one file identifier, the first electronic device can jump to a new interface to display a display list of manageable files of the same type as that corresponding to the file identifier stored in the first electronic device, thereby allowing the user to view manageable files of a specified type in the first electronic device.

[0069] In some embodiments of the present application, the first electronic device may display the above-mentioned manageable file list and the identification of at least one second electronic device in different areas of the file management interface. Exemplarily, the first electronic device displays the manageable file list of the first electronic device through the upper half screen area, and displays the identification of at least one second electronic device through the lower half screen area. Alternatively, the first electronic device displays the manageable file list of the first electronic device through the left half screen area, and displays the identification of at least one second electronic device through the right half screen area.

[0070] For example, the first electronic device is a mobile phone. Figure 2 As shown, the mobile phone displays a file management interface 10, and the upper half of the screen area of ​​the file management interface 10 displays six file identifiers for representing a type of manageable file list, namely, a "video" identifier, a "picture" identifier, a "music" identifier, a "document" identifier, a "compressed package" identifier, and an "installation package" identifier. At the same time, the lower half of the screen area of ​​the file management interface 10 displays the identifiers of four second electronic devices, namely, the identifier 11 of device A, the identifier 12 of device B, the identifier 13 of device C, and the identifier 14 of device D.

[0071] In some embodiments of the present application, since the display area of ​​the first electronic device is limited, the first electronic device can display the logos of a preset number of second electronic devices on the screen, and then the user can trigger the first electronic device to display the logos of other second electronic devices that are not displayed by sliding input on the area of ​​the displayed logos of the second electronic devices.

[0072] Step 202: The first electronic device receives a first input of N identifiers in the file management interface.

[0073] In some embodiments of the present application, the N identifiers are used to indicate N second electronic devices in the at least one second electronic device, where N is a positive integer. It can be understood that the N identifiers correspond one-to-one to the N second electronic devices.

[0074] In some embodiments of the present application, the first input is used to select a second electronic device requiring file management, so as to trigger the first electronic device to display a list of manageable files of these second electronic devices in a file management interface.

[0075] In some embodiments of the present application, the above-mentioned first input may include any of the following: user's click input, sliding input, pressing input, voice input, gesture input, or other feasible input, which is not limited in the embodiments of the present application.

[0076] In some embodiments of the present application, if N=1, the first input may be a click input of a logo by the user.

[0077] In some embodiments of the present application, if N>1, the first input may include a first sub-input and a second sub-input. The first sub-input may be a user's long press input on the display area of ​​the identifier of at least one second electronic device to trigger the first electronic device to display a corresponding check box for each identifier; the second sub-input may be a user's input on the check boxes corresponding to the N identifiers to trigger the first electronic device to learn the N identifiers selected by the user.

[0078] Step 203: The first electronic device displays N file management controls in the file management interface in response to the first input.

[0079] In some embodiments of the present application, each of the N file management controls includes: a manageable file list of one of the N second electronic devices. It can be understood that the N file management controls correspond one-to-one to the N second electronic devices.

[0080] In some embodiments of the present application, the first electronic device has permission to access files in at least one of the second electronic devices. After receiving the first input, the first electronic device can receive data from the second electronic device through a file sharing protocol to display manageable files of the second electronic device.

[0081] In some embodiments of the present application, the above-mentioned file sharing protocol may be similar to the file sharing protocol involved in file sharing between multiple computers, such as file transfer protocol FTP, file sharing based on network file system NFS, server message block protocol SMB, network file sharing protocol NFS, etc.

[0082] In some embodiments of the present application, each of the above-mentioned file management controls may also include a device name of a second electronic device among N second electronic devices to indicate the second electronic device to which the manageable file list displayed in the file management control belongs.

[0083] In some embodiments of the present application, each of the above-mentioned file management controls may further include at least one file identifier to indicate a list of manageable files of the second electronic device, wherein each file identifier corresponds to a type of manageable file.

[0084] In some embodiments of the present application, the types of manageable files in the second electronic device may include but are not limited to at least one of the following: video, picture, music, document, compressed package, installation package.

[0085] In some embodiments of the present application, when the first input is an input of an identifier, the first electronic device may display a file management control in the lower half screen area of ​​the file management interface to display a list of manageable files of the second electronic device corresponding to the identifier. In this way, the user can manage the manageable files of the first electronic device through the file management interface displayed in the upper half screen area, while managing the manageable files of the second electronic device through the lower half screen area.

[0086] For example, in combination Figure 2 , when the user wants to trigger the display of the manageable file list corresponding to device A in the file management interface 10, the user can click the identifier 11 of device A, i.e. the first input, such as Figure 3A As shown, the mobile phone is triggered to display the file management control 21 corresponding to device A in the file management interface, wherein six file identifiers are displayed in the file management control 21 for representing the list of manageable files of device A, namely, the "video" identifier, the "picture" identifier, the "music" identifier, the "document" identifier, the "compressed package" identifier and the "installation package" identifier.

[0087] In some embodiments of the present application, when the above-mentioned first input is an input of multiple identifiers, the first electronic device can display multiple file management controls in the lower half screen area of ​​the file management interface to display the list of manageable files of the second electronic device corresponding to the multiple identifiers.

[0088] For example, in combination Figure 2 , when the user wants to trigger the display of the manageable file lists corresponding to device A and device B in the file management interface 10, the user can first trigger the mobile phone to display a corresponding check box for each identifier, and then the user can select the check boxes corresponding to device A and device B, that is, the first input mentioned above; Figure 3B As shown, the mobile phone can display the file management control 21 corresponding to device A and the file management control 22 corresponding to device B in the lower half of the screen area of ​​the file management interface 10. Among them, the file management control 21 displays three file identifiers for representing the manageable file list of device A, namely, the "video" identifier, the "picture" identifier, and the "music" identifier; the file management control 22 displays three file identifiers for representing the manageable file list of device B, namely, the "video" identifier, the "picture" identifier, and the "music" identifier.

[0089] In some embodiments of the present application, when the above-mentioned first input is an input of multiple identifiers, the first electronic device can overlay and display multiple file management controls on the file management interface to display the manageable file list of the second electronic device corresponding to the multiple identifiers in the full-screen area.

[0090] For example, in combination Figure 2 ,like Figure 3C As shown, the mobile phone can respond to the first input and overlay the file management control 21 corresponding to device A and the file management control 22 corresponding to device B in the file management interface 10. Among them, six file identifiers for representing the manageable file list of device A are displayed in the file management control 21, namely, the "video" identifier, the "picture" identifier, the "music" identifier, the "document" identifier, the "compressed package" identifier, and the "installation package" identifier; six file identifiers for representing the manageable file list of device B are displayed in the file management control 22, namely, the "video" identifier, the "picture" identifier, the "music" identifier, the "document" identifier, the "compressed package" identifier, and the "installation package" identifier.

[0091] It should be noted that, when multiple file management controls are displayed in the above file management interface, the opening and viewing of manageable files displayed in each file management control do not affect each other.

[0092] In some embodiments of the present application, when multiple file management controls are displayed, the display order of the multiple file management controls may be a default display order, or a display order related to the order in which the user selects the identifiers of the second electronic devices, which is not limited in the embodiments of the present application. For example, the above default order may be an order determined according to the device names of the multiple second electronic devices.

[0093] In some embodiments of the present application, in order to maintain the display effect of the file management control, the maximum number of file management controls displayed in the file management interface can be limited. For example, a straight screen electronic device can display up to 4 file management controls at the same time, and a left and right folding screen electronic device can display up to 8 file management controls at the same time after unfolding.

[0094] In some embodiments of the present application, the display position and display size of the above-mentioned file management control are adjustable.

[0095] Exemplarily, if the user wants to move the display position of a file management control displayed in the file management interface, the user can perform a long press input and a drag input on a blank position in the file management control to trigger the first electronic device to adjust the display position of the file management control according to the trajectory of the drag input.

[0096] For example, if the user wants to adjust the display size of a file management control displayed in the file management interface, the user can perform a long press input and a sliding input on the boundary box of the file management control to trigger the first electronic device to increase or decrease the display area of ​​the file management control according to the direction of the sliding input.

[0097] In some embodiments of the present application, the number of file identifiers displayed in the above-mentioned file management control is determined by the display size of the file management control.

[0098] In some embodiments of the present application, when the display size of the file management control is reduced to the point where the file identifier cannot be displayed, the file management control may continue to display the name of the second electronic device to prompt the user of the second electronic device to which the file management control corresponds.

[0099] In some embodiments of the present application, a close icon may be displayed in the above file management control so that the user can input the close icon to cancel the display of the file management control corresponding to the input. For example, the close icon is displayed in the blank area at the top of the file management control; or the close icon is displayed in the blank area in the upper right corner of the file management control.

[0100] In the file management method provided in the embodiment of the present application, since the user can directly view the manageable files in the second electronic device through the first electronic device, the file management of the second electronic device can be implemented directly through the first electronic device without the user having to operate back and forth between multiple devices. In this way, the operational complexity and time cost of cross-device file management can be reduced, thereby improving the efficiency of file management of electronic devices.

[0101] In some embodiments of the present application, Figure 1 ,like Figure 4 As shown, after the above step 203, the file management method provided in the embodiment of the present application may further include the following steps 301 to 303.

[0102] Step 301: A first electronic device receives a search input for first file information in a first file management control.

[0103] In some embodiments of the present application, the first file management control is any one of N file management controls.

[0104] In some embodiments of the present application, each of the N file management controls may display a search mark. Thus, the first electronic device may receive a click input of the user on the search mark of the first file management control to display a search box, and then the first electronic device may search for the first file information to be searched according to the first file information input by the user in the search box of the first file management control.

[0105] In some embodiments of the present application, the first electronic device may also receive gesture input, voice input, or other feasible input in response to the received input, and display a search box in the first file management control, thereby receiving user input for the first file information through the search box.

[0106] In some embodiments of the present application, the first file information may include but is not limited to at least one of the following: file name, file type, and file modification time.

[0107] In some embodiments of the present application, the above file name may be a complete name of a file, or a partial name of a file.

[0108] In some embodiments of the present application, the above-mentioned file type may include but is not limited to any of the following: document file type, image file type, and audio and video file type.

[0109] Exemplarily, the document file type may include but is not limited to any of the following: txt type, doc type, ppt type, pdf type.

[0110] Exemplarily, the above-mentioned image file type may include but is not limited to any of the following: jpg type, png type, and gif type.

[0111] Exemplarily, the above-mentioned audio and video file types may include but are not limited to any of the following: mp3 type, mp4 type, flv type, and avi type.

[0112] In some embodiments of the present application, the above file modification time is the time when the file was last modified.

[0113] Step 302: The first electronic device performs a file search in a first file management control based on first file information in response to a search input.

[0114] In some embodiments of the present application, the first electronic device performs a file search for manageable files of the second electronic device corresponding to the first file management control based on the first file information, and subsequently displays the search results of the first file information through the first file management control.

[0115] In some embodiments of the present application, after the file search in the first file management control is completed, a prompt message may be displayed in the first file management control to prompt the user that the search is over, for example, "The search has ended, click to view the search results" or "No items match the search criteria".

[0116] In some embodiments of the present application, the search results may include a file name.

[0117] In some embodiments of the present application, the above search results may also include but are not limited to at least one of the following: file storage path, file modification date, file type, and file size.

[0118] For example, in combination Figure 2 ,like Figure 5A As shown in FIG. 1 , if the user triggers the mobile phone to display four file management controls in the file management interface 10, namely, the file management control 23 of device C, the file management control 24 of device D, the file management control 21 of device A, and the file management control 22 of device B. Among them, a search mark is displayed in the blank area in the upper right corner of each file management control. If the user clicks the search mark in the file management control 21, as shown in FIG. Figure 5B As shown, a search box and a "Search" button are displayed in the file management control 21. Therefore, the user can enter the first file information to be searched in the search box, such as "File 1.txt", and click the "Search" button, that is, the above-mentioned search input, so that the mobile phone can perform a file search based on "File 1.txt" in the file management control 21.

[0119] Step 303: If the first electronic device receives a second input to a second file management control among the N file management controls within the first time period, the first electronic device continues to search for files in the second file management control based on the first file information.

[0120] In some embodiments of the present application, the second input is an input for dragging the second file management control to the first file management control.

[0121] In some embodiments of the present application, the second file management control may be at least one file management control among the N file management controls except the first file management control.

[0122] In some embodiments of the present application, during the above-mentioned second input process, in order to ensure the display effect of the file management control displayed in the file management interface, the first electronic device can automatically reduce the display size of the second file management control to facilitate the user to view the display position of the second file management control.

[0123] In some embodiments of the present application, after the second input, the display areas corresponding to the first file management control and the second file management control respectively overlap at least partially.

[0124] In some embodiments of the present application, after the above-mentioned second input, the first electronic device can adjust the background color of the file management control in the file management interface to facilitate the user to determine whether the display areas corresponding to multiple file management controls overlap.

[0125] In some embodiments of the present application, the first duration may be the duration that the first electronic device consumes to search for files in the first file management control based on the first file information. It can be understood that if the time for searching for files based on the first file information in the first file management control is long, such as the search duration is greater than or equal to 5 seconds, the user can drag the second file management control to the first file management control when the first file management control is in the search state, so that the first electronic device can continue to search for files in the second file management control based on the first file information after the search in the first file management control is completed.

[0126] In this way, the user does not need to wait for the search of the first file management control to end, triggering the display of a search box in the second file management control, receiving the first file information entered by the user, and performing a search based on the first file information, thereby improving the convenience of searching for the same file across devices.

[0127] In some embodiments of the present application, the first duration may be a preset duration after the first electronic device starts searching in the first file management control, or a preset duration after the first electronic device ends searching in the first file management control. It is understood that if the time for searching files based on the first file information in the first file management control is short, such as the search duration is less than 1 second, that is, the search duration is not enough for the user to drag the second file management control to the first file management control, the first electronic device may detect whether the second input of the user dragging the second file management control to the first file management control is received within the first duration, so that when the second input is received, the file search in the second file management control is continued directly based on the first file information.

[0128] In this way, the user does not need to re-trigger the process of displaying the search box in the second file management control, receiving the file information input by the user, and performing the search based on the file information, thereby improving the convenience of searching for the same file across devices.

[0129] Exemplarily, the above-mentioned preset time length can be 3 to 10 seconds. The specific preset time length can be set according to user needs, and the embodiment of the present application is not limited here.

[0130] In some embodiments of the present application, when the second file management control is a plurality of file management controls and the first electronic device performs a file search through a second file management control, if within a first time period, the first electronic device receives a second input to a second file management control in which a file search has not been performed among the plurality of file management controls, the first electronic device may continue to perform a file search in the second file management control in which a file search has not been performed based on the first file information.

[0131] In some embodiments of the present application, when the second file management control is a plurality of file management controls, the plurality of file management controls may be displayed partially overlapping or may not overlap each other, and the present application does not limit this.

[0132] In this way, after the search input is performed on the first file management control, the file search of at least three file management controls is implemented by performing the second input on multiple second file management controls respectively, thereby improving the convenience of searching for the same file across devices.

[0133] For example, in combination Figure 5B ,like Figure 5CAs shown, if the user needs to know whether "file 1.txt" exists in device A, device C, and device D, the user can trigger the mobile phone to search for "file 1.txt" through the file management control 21 of device A within 5 seconds of obtaining the search result, and drag the file management control 23 of device C to the file management control 21 of device A, that is, the second input mentioned above, as shown in FIG. Figure 5D As shown, the mobile phone can display the file management control 23 superimposed on the file management control 21. Therefore, the mobile phone can search for "file 1.txt" through the file management control 23 of device C. Then, within 5 seconds after the mobile phone obtains the search result through the file management control of device B, the user can drag the file management control 24 of device D to the file management control 21 of device A, that is, the second input mentioned above, and the mobile phone can display the file management control 24 superimposed on the file management control 21. Therefore, the mobile phone can search for "file 1.txt" through the file management control 24 of device D. Thus, by triggering a file search, the mobile phone can determine whether "file 1.txt" exists in devices A, C, and D.

[0134] It should be noted that, since there is no overlapping display portion between the file management control 22 of device B and the file management control 21 of device A, the file management control 22 will not perform a file search for “file1.txt”.

[0135] In some embodiments of the present application, if the first electronic device does not receive the input of dragging the second file management control to the first file management control within the first time period, then if the user subsequently wants to search through the second file management control based on the first file information, it is necessary to directly execute the above-mentioned first input through the second file management control.

[0136] In some embodiments of the present application, when a first electronic device searches for first file information through a first file management control, if a second input from a user to a second file management control is received within a first time period, the first electronic device can continue to search for files in the second file management control directly based on the first file information, without the need for the user to re-enter the first file information in the second file management control and trigger a file search, thereby improving the convenience of searching for the same file across devices.

[0137] In some embodiments of the present application, the above steps 301 to 303 are received after the file search is started through the first file management control, and then the movement of the second file management control is received. Similarly, the first electronic device can also first receive the movement of the second file management control, and then trigger the first electronic device to start the file search through the first file management control. That is, after the above step 203, the file management method provided in the embodiment of the present application can also include the following steps A1 to A4.

[0138] Step A1: The first electronic device receives a user's drag input on a second file management control among N file management controls.

[0139] The dragging input is an input of dragging the second file management control to the first file management control.

[0140] Step A2: The first electronic device adjusts the display position of the second file management control.

[0141] The second file management control and the first file management control at least partially overlap.

[0142] Step A3: The first electronic device receives a search input for first file information in a first file management control.

[0143] Step A4: In response to the search input, the first electronic device performs a file search in the first file management control and performs a file search in the second file management control based on the first file information.

[0144] In some embodiments of the present application, the file management method provided by the embodiments of the present application can also first receive editing input for the first file information in the first file management control, then receive moving input for the second file management control, and finally receive input for triggering the first file management control to start file search based on the first file information.

[0145] In this way, by moving the display position of the file management control, the first electronic device is informed of the file management control that needs to execute the file search, thereby improving the flexibility of searching files across devices.

[0146] In some embodiments of the present application, after the above step 302, the file management method provided by the embodiment of the present application may also include the following steps B1 to B3.

[0147] Step B1: The first electronic device receives a user click input on a search mark displayed in any file management control among the N file management controls except the first file management control.

[0148] Step B2: In response to the click input, the first electronic device displays a search box and a "search" button in any of the above file management controls. The search box may display the first file information.

[0149] Step B3: if the first electronic device receives a click input of the user on the "search" button, the first electronic device directly performs a file search in any of the above file management controls based on the first file information;

[0150] or,

[0151] If the first electronic device receives a click input from the user on a search box, the first file information is cancelled from the search box, and other file information is displayed based on the content input by the user. Then, after the user clicks on the "Search" button, a file search is performed in any of the above-mentioned file management controls based on the other file information.

[0152] In this way, after the first electronic device has searched for the first file information, the first electronic device can display the first file information in a subsequent search box, so that the user can trigger the first electronic device to search for related content of the first file information again, thereby improving the convenience of searching files across devices.

[0153] In some embodiments of the present application, after the above step 203, the file management method provided by the embodiment of the present application may further include the following steps 401 to 403.

[0154] Step 401: The first electronic device receives a search input for second file information and third file information.

[0155] In some embodiments of the present application, the second file information is file information input into a third file management control among N file management controls, and the third file information is file information input into a fourth file management control among N file management controls.

[0156] In some embodiments of the present application, the second file information and the third file information may be the same or different.

[0157] In some embodiments of the present application, when the second file information and the third file information are the same, it can be understood that the user wants to trigger the first electronic device to search for the same file through multiple file management controls at the same time. In this way, the time consumed by searching for files one by one through multiple file management controls can be reduced, thereby improving the efficiency of searching for the same files across devices.

[0158] In some embodiments of the present application, the first electronic device can receive a click input of a search identifier of a third file management control by the user to display a search box, and then the first electronic device can search for the second file information to be searched according to the second file information to be searched entered by the user in the search box of the third file management control; and the first electronic device can also receive a click input of a search identifier of a fourth file management control by the user to display a search box, and then the first electronic device can search for the third file information to be searched according to the third file management control entered by the user in the search box of the fourth file management control.

[0159] In some embodiments of the present application, the first electronic device may also receive gesture input, voice input, or other feasible input in response to the received input, and display a search box in the third file management control, thereby receiving user input for the second file information through the search box, or display a search box in the fourth file management control, thereby receiving user input for the third file information through the search box.

[0160] In some embodiments of the present application, the second file information and the third file information may be a complete name of a file, or a partial name of a file.

[0161] Step 402: In response to the search input, the first electronic device performs a file search in a third file management control based on the second file information, and performs a file search in a fourth file management control based on the third file information.

[0162] In some embodiments of the present application, the first electronic device performs a file search for manageable files of the second electronic device corresponding to the third file management control based on the second file information, and subsequently displays the search results of the second file information through the third file management control.

[0163] In some embodiments of the present application, the first electronic device performs a file search for manageable files of the second electronic device corresponding to the fourth file management control based on the third file information, and subsequently displays the search results of the third file information through the fourth file management control.

[0164] In some embodiments of the present application, the start time of the file search in the third file management control may be earlier than the start time of the file search in the fourth file management control, or may be later than the start time of the file search in the fourth file management control. Alternatively, a special search mark may be displayed in the file management interface, so that the first electronic device can receive the user's special key press, so that the third file management control and the fourth file management control start the file search at the same time.

[0165] For example, in combination Figure 2 , if the user triggers the mobile phone to display four file management controls in the file management interface 10, namely, the file management control 23 of device C, the file management control 24 of device D, the file management control 21 of device A, and the file management control 22 of device B. Among them, a search mark is displayed in the blank area in the upper right corner of each file management control. If the user clicks the search mark in the file management control 21 and clicks the search mark in the file management control 22, then Fig. 6AAs shown, a search box and a "search" button will be displayed in the file management control 21, and a search box and a "search" button will be displayed in the file management control 22. At the same time, a special button, namely a "search all" button, can also be displayed in the file management interface 10. Therefore, the user can enter the second file information to be searched, such as "file 1.txt" in the search box in the file management control 21, and enter the third file information to be searched, such as "file 2.txt" in the search box in the file management control 22. Then, if the user clicks the "search" button in the file management control 21, the file management control 21 can be triggered to start searching for "file 1.txt"; if the user clicks the "search" button in the file management control 22, the file management control 22 can be triggered to start searching for "file 2.txt"; if the user clicks the "search all" button in the file management interface 10, the file management control 21 can be triggered to start searching for "file 1.txt", and the file management control 22 can be triggered to start searching for "file 2.txt" at the same time.

[0166] Step 403: If within the second time period, the first electronic device receives a third input to the fifth file management control and the sixth file management control among the N file management controls, it continues to search for files in the fifth file management control based on the second file information, and continues to search for files in the sixth file management control based on the third file information.

[0167] In some embodiments of the present application, the third input is an input of dragging the fifth file management control to the third file management control, and dragging the sixth file management control to the fourth file management control.

[0168] In some embodiments of the present application, the fifth file management control or the sixth file management control may be at least one file management control among the N file management controls except the third file management control and the fourth file management control.

[0169] In some embodiments of the present application, after the third input, the fifth file management control and the third file management control at least partially overlap.

[0170] In some embodiments of the present application, after the fourth input, the sixth file management control and the fourth file management control at least partially overlap.

[0171] In some embodiments of the present application, the description of the second duration mentioned above can refer to the description of the “first duration” in step 303 in the above embodiment, which will not be repeated here.

[0172] For example, in combination Fig. 6AIf the user needs to know whether "file 1.txt" exists in device A and device C, and needs to know whether "file 2.txt" exists in device B and device D, the user can drag the file management control 23 of device C to the file management control 21 of device A within 5 seconds after triggering the mobile phone to search for "file 1.txt" through the file management control 21 of device A to obtain the search result, i.e. the third input mentioned above, and drag the file management control 24 of device D to the file management control 22 of device B, i.e. the fourth second input mentioned above, such as Figure 6B As shown, the mobile phone can display the file management control 23 on the file management control 21, and display the file management control 24 on the file management control 22. Therefore, the mobile phone can search for "file 1.txt" through the file management control 23 of device C, and search for "file 2.txt" through the file management control 24 of device D. Therefore, after the mobile phone searches, the search results can be displayed to help the user determine whether "file 1.txt" exists in device A and device C, and whether "file 2.txt" exists in device B and device D.

[0173] In some embodiments of the present application, if a file management control at least partially overlaps with the third file management control and the fourth file management control, the first electronic device can perform file searches based on the second file information and the third file information respectively through the file management control.

[0174] In some embodiments of the present application, when a user needs to execute multiple file search processes through a first electronic device, the first electronic device can execute the multiple file search processes simultaneously without having to wait for one file search process to end before starting other file search processes. In this way, the convenience of searching files across devices can be improved.

[0175] In some embodiments of the present application, Figure 1 ,like Figure 7 As shown, after the above step 203, the file management method provided in the embodiment of the present application may further include the following steps 501 to 504.

[0176] Step 501: A first electronic device receives an edit input for a target file in a file management interface.

[0177] In some embodiments of the present application, the target file is a file in the first electronic device or a file in at least one second electronic device. It is understood that the target file can be a file of the first electronic device displayed in the file management interface. Alternatively, the target file can be a file displayed by any file management control in the N file management controls in the file management interface.

[0178] In some embodiments of the present application, the first electronic device may display the device name of the electronic device to which the target file belongs during the process of displaying the specific file content of the target file.

[0179] In some embodiments of the present application, when the target file is a file that has been searched in multiple file management controls, the first electronic device can also display the device names of other electronic devices that contain the target file while displaying the specific file content of the target file.

[0180] For example, in combination Figure 5D , assuming that the mobile phone performs a file search based on the first file information "File 1.txt" in the file management control 21 of device A, the file management control 23 of device C, and the file management control 24 of device D, and the search result shows that "File 1.txt" is contained in devices A, C, and D. If the user triggers the mobile phone to display "File 1.txt" in the file management control 21, then Fig. 8A As shown, the mobile phone can display the interface 30 of file 1, and at the same time, the mobile phone can display the name of device A in the blank area 31 of the interface 30 to inform the user that the "file 1.txt" displayed on the interface 30 is triggered by the file management control 21 of device A. The mobile phone can also display the names of device C and device D in the blank area 32 of the interface 30 to inform the user that the manageable files of device C and device D also include the same file "file 1.txt".

[0181] In some embodiments of the present application, the above-mentioned editing input may include but is not limited to at least one of the following: input for modifying the file content of the target file, input for modifying the file name of the target file, and input for deleting the target file.

[0182] Exemplarily, taking the target file as a document file, the above-mentioned adjustment of the file content of the target file may include but is not limited to at least one of the following: modifying the font of the text in the document, modifying the color of the text in the document, increasing or decreasing the size of the text in the document, deleting or editing at least part of the text content in the document, and modifying the background color of the document.

[0183] Step 502: The first electronic device performs an editing operation on the target file in response to the editing input, and displays prompt information.

[0184] In some embodiments of the present application, the above prompt information is used to prompt any of the following: other electronic devices where the target file exists, and whether to synchronously edit the target file in other electronic devices.

[0185] In some embodiments of the present application, after the first electronic device has performed a file search based on file information (for example, the first file information or the second file information or the third file information, etc.) and determined the second electronic device corresponding to the file management control containing the target file, if the first electronic device receives the above-mentioned editing input, the first electronic device can display the above-mentioned prompt information. At this time, the other electronic devices in the prompt information can be: the above-mentioned second electronic device corresponding to the file management control containing the target file.

[0186] or,

[0187] When the first electronic device does not perform a file search based on the file information, that is, does not determine the electronic device containing the target file, if the first electronic device receives the above-mentioned editing input, the first electronic device can perform a file search on the files in the first electronic device and at least one second electronic device in the background based on the target file, determine the electronic device including the target file, and display the above-mentioned prompt information. At this time, the other electronic devices in the prompt information can be: the above-mentioned electronic devices determined to contain the target file.

[0188] In some embodiments of the present application, when the target file is a file that has been searched, the prompt information further includes the name of the electronic device that contains the target file as determined in the search results.

[0189] For example, in combination Fig. 8A , after the mobile phone performs an editing operation on "File 1.txt" in response to the editing input, if the user triggers the mobile phone to save the edited "File 1.txt", then Figure 8B As shown, the mobile phone can display a window 33 on the interface 30 to prompt the user to determine whether to save the edited "File 1.txt" in the manageable files of device A through the window 33. In addition, the device names of device C and device D, as well as the check boxes corresponding to device C and device D, can also be displayed in window 33 to prompt the user that device C and device D are the electronic devices where "File 1.txt" exists.

[0190] For example, suppose that the mobile phone displays "File 3.txt" in the manageable files of the mobile phone through interface 34, and the mobile phone has not received input for triggering the file search for "File 3.txt" in advance, that is, the mobile phone has not determined the second electronic device corresponding to the file management control containing "File 3.txt". Figure 8CAs shown, the device name of the mobile phone, such as "local device", can be displayed in area 35 in the interface 34. After the mobile phone performs an editing operation on "File 3.txt" in response to the editing input, if the user triggers the mobile phone to save the edited "File 3.txt", the mobile phone can display a window 36 on the interface 34 to prompt the user to determine whether to save the edited "File 3.txt" in the local device through the window 36, and the window 36 can also prompt the information "Save changes to other electronic devices" and a corresponding check box to prompt the user to determine whether to save the edited "File 3.txt" to other electronic devices synchronously.

[0191] Furthermore, if, when the user triggers the mobile phone to save the edited "File 3.txt", a file search has been performed on "File 3.txt" in the background, and the electronic device including "File 3.txt" has been determined, the mobile phone can directly display the following information: Figure 8B The prompt information displayed in the window 33 in FIG.

[0192] Step 503: The first electronic device receives a fourth input of the prompt information.

[0193] In some embodiments of the present application, the fourth input is used to determine whether to perform the same operation on a target file of another electronic device.

[0194] Step 504: The first electronic device performs an editing operation on the target file in the other electronic device in response to the fourth input.

[0195] In some embodiments of the present application, the above-mentioned editing operation is the same operation as the editing operation performed by the first electronic device on the target file in response to the editing input.

[0196] For example, in combination Figure 8B If the user needs to perform the same editing operation on "File 1.txt" in device C as on "File 1.txt" in device A, the user can click the check box corresponding to device C in window 33 to trigger the first electronic device to select device C and display "√" in the check box corresponding to device C. Then the user can click the "OK" button in window 33, that is, the fourth input mentioned above, to trigger the first electronic device to perform the editing operation on "File 1.txt" in device C.

[0197] For example, in combination Figure 8CIf the user needs to perform the same editing operation on the "file 3.txt" in the second electronic device where "file 3.txt" exists, the user can click the check box corresponding to the prompt information in window 36 to trigger the mobile phone to display "√" in the check box, and then the user can click the "OK" button in window 36, that is, the fourth input mentioned above, to trigger the mobile phone to automatically perform a file search on at least one second electronic device in the background based on "file 3.txt", and perform an editing operation on the searched "file 3.txt".

[0198] In some embodiments of the present application, after a first electronic device edits a target file on a local device or a second electronic device, it can perform the same editing operation on files of other electronic devices where the target file exists based on the user's choice, thereby achieving the convenience and flexibility of editing the same file across devices.

[0199] The present application embodiment provides a file management method. Fig. 9 The flowchart of a file management method provided by an embodiment of the present application is shown. The following is an example of the file management method provided by the embodiment of the present application, taking at least one second electronic device as device A to device D, and the existence of "file 1.txt" in device A, device C and device D as an example. Fig. 9 As shown, the file management method provided in the embodiment of the present application may include the following steps 1 to 13.

[0200] Step 1: A first electronic device establishes an association relationship with devices A to D.

[0201] Step 2: The first electronic device displays a file management interface.

[0202] The file management interface includes a manageable file list of the first electronic device, an identifier of device A, an identifier of device B, an identifier of device C, and an identifier of device D.

[0203] Step 3: The first electronic device receives a first input of the identification of device A, the identification of device B, the identification of device C, and the identification of device D.

[0204] Step 4: In response to the first input, the first electronic device displays the file management control of device A, the file management control of device B, the file management control of device C, and the file management control of device D in the file management interface.

[0205] Step 5: The first electronic device receives a search input for "file1.txt" in the file management control of device A.

[0206] Step 6: In response to the search input, the first electronic device performs a file search in the file management control of device A based on "file 1.txt".

[0207] Step 7: Within the first time period, the first electronic device receives a second input to the file management control of device C, and then continues to search for files in the file management control of device C based on "file 1.txt".

[0208] Step 8: Within the first time period, the first electronic device receives a second input to the file management control of device D, and then continues to search for files in the file management control of device D based on "file 1.txt".

[0209] Step 9: The first electronic device displays the search results in the file management control of device A, the file management control of device C, and the file management control of device D.

[0210] Step 10: The first electronic device receives a click input from the user on "File 1.txt" displayed in the file management control of device A to display a viewing interface of "File 1.txt".

[0211] Step 11: The first electronic device edits "file 1.txt" according to the user's editing input on "file 1.txt" and displays prompt information.

[0212] The prompt information includes the device names of device C and device D.

[0213] Step 12: The first electronic device receives a fourth input of the device name of device C in the prompt information.

[0214] Step 13: The first electronic device performs the same editing operation on the "file 1.txt" in device C in response to the fourth input.

[0215] It should be noted that the above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or, under the premise that there is no contradiction, can also be executed in combination with each other. The specific implementation can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.

[0216] It should be noted that the file management method provided in the embodiment of the present application can be executed by a file management device. In the embodiment of the present application, the file management device provided in the embodiment of the present application is described by taking the file management device executing the file management method as an example.

[0217] Fig.10 A possible structural diagram of a file management device involved in an embodiment of the present application is shown. Fig.10 As shown, the file management device 70 may include: a display module 71 and a receiving module 72 .

[0218] Among them, the display module 71 is used to display a file management interface when the first electronic device is associated with at least one second electronic device, and the file management interface includes a list of manageable files of the first electronic device and an identifier of at least one second electronic device; the receiving module 72 is used to receive a first input of N identifiers in the file management interface displayed by the display module 71, and the N identifiers are used to indicate N second electronic devices in at least one second electronic device, and N is a positive integer; the display module 71 is also used to display N file management controls in the file management interface in response to the first input received by the receiving module 72, and each file management control includes a list of manageable files of one second electronic device among the N second electronic devices.

[0219] In a possible implementation, the display module 71 is specifically used to display a file management interface when the first electronic device and at least one second electronic device log in to the same account; or, when the first electronic device is connected to at least one second electronic device, display a file management interface.

[0220] In one possible implementation, combining Fig.10 ,like Fig.11 As shown, the file management device 70 provided in the embodiment of the present application also includes: a search module 73; a receiving module 72, which is also used to receive a search input for a first file information in a first file management control after the display module 71 displays N file management controls in the file management interface, and the first file management control is any file management control among the N file management controls; the search module 73 is used to perform a file search in the first file management control based on the first file information in response to the search input received by the receiving module 72; and if a second input for a second file management control among the N file management controls is received within a first time period, then based on the first file information, the file search continues in the second file management control, and the second input is an input for dragging the second file management control to the first file management control.

[0221] In a possible implementation, the file management device 70 provided in the embodiment of the present application also includes: a search module 73; a receiving module 72, which is also used to receive search inputs for second file information and third file information after the display module 71 displays N file management controls in the file management interface, the second file information being file information input in a third file management control among the N file management controls, and the third file information being file information input in a fourth file management control among the N file management controls; the search module 73 is used to perform a file search in the third file management control based on the second file information in response to the search input received by the receiving module 72, and to perform a file search in the fourth file management control based on the third file information; and, if a third input for a fifth file management control and a sixth file management control among the N file management controls is received within the second time period, the file search is continued in the fifth file management control based on the second file information, and the file search is continued in the sixth file management control based on the third file information, the third input being an input of dragging the fifth file management control to the third file management control and dragging the sixth file management control to the fourth file management control.

[0222] In one possible implementation, combining Fig.10 ,like Fig.12 As shown, the file management device 70 provided in the embodiment of the present application also includes: an editing module 74; a receiving module 72, which is also used to receive editing input for a target file in the file management interface after the display module 71 displays N file management controls in the file management interface, the target file being a file in the first electronic device or a file in at least one second electronic device; the editing module 74 is used to perform an editing operation on the target file in response to the editing input received by the receiving module 72; the above-mentioned display module 71 is also used to display prompt information, the prompt information is used to prompt any of the following: other electronic devices where the target file exists, whether to synchronously edit the target file in other electronic devices; the above-mentioned receiving module 72 is also used to receive a fourth input for the prompt information displayed on the display module 71; the above-mentioned editing module 74 is also used to perform an editing operation on the target file in other electronic devices in response to the fourth input received by the receiving module 72.

[0223] In the file management device provided in the embodiment of the present application, since the file management interface of the first file management device can display the identification of at least one second file management device, the user can select other file management devices for which file management is required, so that the list of manageable files of the other file management devices is displayed in the file management interface, so that the user can directly view the manageable files in other file management devices through the first file management device. Therefore, the user can directly manage the files of other file management devices through the first file management device without the need for the user to operate back and forth between multiple devices. In this way, the operational complexity and time cost of cross-device file management can be reduced, thereby improving the efficiency of file management by the file management device.

[0224] The file management 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 vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, 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 (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0225] The file management 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.

[0226] The file management device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0227] Alternatively, if Fig.13As shown, an embodiment of the present application further provides an electronic device 90, including a processor 91 and a memory 92, wherein the memory 92 stores programs or instructions that can be executed on the processor 91, and when the program or instructions are executed by the processor 91, the various steps of the above-mentioned file management method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0228] 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.

[0229] Fig.14 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0230] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0231] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.14 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.

[0232] The display unit 106 is used to display a file management interface when the first electronic device is associated with at least one second electronic device, wherein the file management interface includes a list of manageable files of the first electronic device and an identification of at least one second electronic device;

[0233] The user input unit 107 is used to receive a first input of N identifiers in the file management interface, where the N identifiers are used to indicate N second electronic devices in the at least one second electronic device, and N is a positive integer;

[0234] The display unit 106 is further configured to display N file management controls in the file management interface in response to the first input, each file management control including a list of manageable files of one of the N second electronic devices.

[0235] Optionally, the display unit 106 is specifically used to display a file management interface when the first electronic device and at least one second electronic device log in to the same account; or, when the first electronic device is connected to at least one second electronic device, display a file management interface.

[0236] Optionally, the user input unit 107 is also used to receive a search input for first file information in a first file management control after N file management controls are displayed in the file management interface, the first file management control being any one of the N file management controls; the processor 110 is used to perform a file search in the first file management control based on the first file information in response to the search input; and if a second input for a second file management control among the N file management controls is received within a first time period, the file search continues in the second file management control based on the first file information, the second input being an input for dragging the second file management control to the first file management control.

[0237] Optionally, the user input unit 107 is further used to receive search input for second file information and third file information after displaying N file management controls in the file management interface, the second file information being file information input in a third file management control among the N file management controls, and the third file information being file information input in a fourth file management control among the N file management controls; the processor 110 is used to perform a file search in the third file management control based on the second file information in response to the search input, and to perform a file search in the fourth file management control based on the third file information; and if a third input for a fifth file management control and a sixth file management control among the N file management controls is received within the second time period, the file search is continued in the fifth file management control based on the second file information, and the file search is continued in the sixth file management control based on the third file information, the third input being an input of dragging the fifth file management control to the third file management control, and dragging the sixth file management control to the fourth file management control.

[0238] Optionally, the user input unit 107 is also used to receive editing input for a target file in the file management interface after N file management controls are displayed in the file management interface, where the target file is a file in the first electronic device or a file in at least one second electronic device; the processor 110 is used to perform an editing operation on the target file in response to the editing input, and display prompt information, where the prompt information is used to prompt any of the following: other electronic devices where the target file exists, whether to synchronously edit the target file in other electronic devices; the user input unit 107 is also used to receive a fourth input for the prompt information; the processor 110 is also used to perform an editing operation on the target file in the other electronic device in response to the fourth input.

[0239] In the electronic device provided in the embodiment of the present application, since the file management interface of the first electronic device can display the identification of at least one second electronic device, the user can select other electronic devices that require file management, so that the manageable file list of the other electronic devices is displayed in the file management interface, and the user can directly view the manageable files in the other electronic devices through the first electronic device. Therefore, the user can directly manage the files of other electronic devices through the first electronic device without the user having to operate back and forth between multiple devices. In this way, the operational complexity and time cost of cross-device file management can be reduced, thereby improving the efficiency of file management of electronic devices.

[0240] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0241] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.

[0242] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 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.

[0243] The memory 109 can be used to store software programs and various data. The memory 109 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 109 may include a volatile memory or a non-volatile memory, or the memory 109 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 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0244] The processor 110 may include one or more processing units; optionally, the processor 110 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 110.

[0245] 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, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0246] 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.

[0247] 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 method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0248] 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.

[0249] 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 method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0250] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are 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 "comprise 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 methods and devices in the embodiments 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.

[0251] 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.

[0252] 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 management method, characterized in that: Applied to a first electronic device, the method includes: When the first electronic device is associated with at least one second electronic device, displaying a file management interface, the file management interface including a list of manageable files of the first electronic device and an identification of the at least one second electronic device; Receiving a first input of N identifiers in the file management interface, where the N identifiers are used to indicate N second electronic devices in the at least one second electronic device, where N is a positive integer; In response to the first input, N file management controls are displayed in the file management interface, each of which includes a list of manageable files of a second electronic device among the N second electronic devices.

2. The method according to claim 1, characterized in that The step of displaying a file management interface when the first electronic device is associated with at least one second electronic device includes: In the case where the first electronic device and the at least one second electronic device are logged in with the same account, displaying the file management interface; or, When the first electronic device is connected to the at least one second electronic device, the file management interface is displayed.

3. The method according to claim 1 or 2, characterized in that: After displaying N file management controls in the file management interface, the method further includes: Receiving a search input for first file information in a first file management control, where the first file management control is any one of the N file management controls; In response to the search input, performing a file search in the first file management control based on the first file information; If a second input to a second file management control among the N file management controls is received within the first time period, file search continues in the second file management control based on the first file information, and the second input is an input for dragging the second file management control to the first file management control.

4. The method according to claim 1 or 2, characterized in that: After displaying N file management controls in the file management interface, the method further includes: receiving a search input for second file information and third file information, wherein the second file information is file information input in a third file management control among the N file management controls, and the third file information is file information input in a fourth file management control among the N file management controls; In response to the search input, perform a file search in the third file management control based on the second file information, and perform a file search in the fourth file management control based on the third file information; If within the second time period, a third input is received for the fifth and sixth file management controls among the N file management controls, then based on the second file information, the file search continues in the fifth file management control, and based on the third file information, the file search continues in the sixth file management control, the third input being an input of dragging the fifth file management control to the third file management control and dragging the sixth file management control to the fourth file management control.

5. The method according to claim 1, characterized in that After displaying N file management controls in the file management interface, the method further includes: receiving an editing input of a target file in the file management interface, wherein the target file is a file in the first electronic device or a file in the at least one second electronic device; In response to the editing input, performing an editing operation on the target file and displaying prompt information, wherein the prompt information is used to prompt any one of the following: other electronic devices where the target file exists and whether to synchronously edit the target file in other electronic devices; receiving a fourth input of the prompt information; In response to the fourth input, the editing operation is performed on the target file in the other electronic device.

6. A file management device, characterized in that: The file management device comprises: a display module and a receiving module; The display module is used to display a file management interface when the first electronic device is associated with at least one second electronic device, wherein the file management interface includes a list of manageable files of the first electronic device and an identification of the at least one second electronic device; The receiving module is used to receive a first input of N identifiers in the file management interface displayed by the display module, where the N identifiers are used to indicate N second electronic devices in the at least one second electronic device, where N is a positive integer; The display module is further configured to display N file management controls in the file management interface in response to the first input received by the receiving module, each file management control including a list of manageable files of a second electronic device among the N second electronic devices.

7. The device according to claim 6, characterized in that The display module is specifically used to display the file management interface when the first electronic device and the at least one second electronic device are logged in with the same account; or, when the first electronic device is connected to the at least one second electronic device, to display the file management interface.

8. The device according to claim 6 or 7, characterized in that The file management device further includes: a search module; The receiving module is further configured to receive a search input for first file information in a first file management control after the display module displays the N file management controls in the file management interface, wherein the first file management control is any one of the N file management controls; The search module is used to perform a file search in the first file management control based on the first file information in response to the search input received by the receiving module; and if a second input to a second file management control among the N file management controls is received within a first time period, continue to perform a file search in the second file management control based on the first file information, wherein the second input is an input for dragging the second file management control to the first file management control.

9. The device according to claim 6 or 7, characterized in that The file management device further includes: a search module; The receiving module is further configured to receive search input for second file information and third file information after the display module displays N file management controls in the file management interface, wherein the second file information is file information input in a third file management control among the N file management controls, and the third file information is file information input in a fourth file management control among the N file management controls; The search module is used to perform a file search in the third file management control based on the second file information and in the fourth file management control based on the third file information in response to the search input received by the receiving module; and if a third input to a fifth file management control and a sixth file management control among the N file management controls is received within a second time period, then the file search continues in the fifth file management control based on the second file information and continues in the sixth file management control based on the third file information, the third input being an input of dragging the fifth file management control to the third file management control and dragging the sixth file management control to the fourth file management control.

10. The device according to claim 6, characterized in that The file management device further includes: an editing module; The receiving module is further configured to receive an editing input of a target file in the file management interface after the display module displays N file management controls in the file management interface, wherein the target file is a file in the first electronic device or a file in the at least one second electronic device; The editing module is used to perform an editing operation on the target file in response to the editing input received by the receiving module; The display module is further used to display prompt information, wherein the prompt information is used to prompt any one of the following: other electronic devices where the target file exists, and whether to synchronously edit the target file in other electronic devices; The receiving module is further used to receive a fourth input of the prompt information displayed by the display module; The editing module is further configured to execute the editing operation on the target file in the other electronic device in response to the fourth input received by the receiving module.