File processing method, device and electronic equipment
By receiving user input on the electronic device, the file object is placed in different marked states and functional operations are performed at one time, which solves the problem of tedious operation steps for multiple files with different functions and improves operation efficiency.
Patent Information
- Application Number
- CN202210349376.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-01
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-04-01
AI Technical Summary
When electronic devices perform different functions on multiple files, the steps are more cumbersome, and users need to frequently trigger the device to operate in batches.
By receiving the input of the user, different objects are in different tags, and through another input, the objects in different markers are performed at one time to perform different functional operations.
It greatly simplifies the steps of electronic equipment to perform different functional operations on multiple files, and improves operational efficiency.
Smart Images

Figure CN114817159B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a file processing method, device and electronic equipment. Background Art
[0002] The electronic device stores files in different directories. Generally, when a user needs to perform a function operation on a file stored in the electronic device, the user can trigger the electronic device to perform a function operation such as moving the file, copying the file, or deleting the file.
[0003] However, when the user needs to perform different functional operations on multiple files, the user can first trigger the electronic device to select some of the multiple files, and then trigger the electronic device to perform a functional operation on the files; then, the user can trigger the electronic device to select other files in the multiple files, and then trigger the electronic device to perform another functional operation on the other files, and repeat the above process until the electronic device completes the functional operations on the multiple files. In this way, the steps for the electronic device to perform different functional operations on multiple files are relatively cumbersome. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a file processing method, device and electronic device, which can solve the problem that the steps of performing different functional operations on multiple files by the electronic device are relatively cumbersome.
[0005] In a first aspect, an embodiment of the present application provides a file processing method, the method comprising: receiving a first input from a user; in response to the first input, placing a first object in a first marking state and a second object in a second marking state; receiving a second input from the user; in response to the second input, performing a first functional operation corresponding to the first marking state on the first object, and performing a second functional operation corresponding to the second marking state on the second object; wherein the first marking state is different from the second marking state, the first functional operation is different from the second functional operation, and the first object and the second object include at least one of the following: a folder, a file.
[0006] In a second aspect, an embodiment of the present application provides a file processing device, which includes a receiving module and a processing module. The receiving module is used to receive a first input from a user. The processing module is used to, in response to the first input received by the receiving module, place a first object in a first marking state and a second object in a second marking state. The receiving module is used to receive a second input from a user. The processing module is used to, in response to the second input received by the receiving module, perform a first functional operation corresponding to the first marking state on the first object, and perform a second functional operation corresponding to the second marking state on the second object; wherein the first marking state is different from the second marking state, the first functional operation is different from the second functional operation, and the first object and the second object include at least one of the following: a folder, a file.
[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 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, a first input from a user is received; in response to the first input, a first object is placed in a first marking state, and a second object is placed in a second marking state; a second input from a user is received; in response to the second input, a first functional operation corresponding to the first marking state is performed on the first object, and a second functional operation corresponding to the second marking state is performed on the second object; wherein the first marking state is different from the second marking state, the first functional operation is different from the second functional operation, and the first object and the second object include at least one of the following: a folder, a file. Through this solution, a user can first use an input to place different objects in different marking states, and then use another input to cause objects in different marking states to perform different functional operations at one time, thereby eliminating the need for the user to frequently trigger the electronic device to perform different functional operations on multiple files in batches. In this way, the steps for the electronic device to perform different functional operations on multiple files are greatly simplified. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 A schematic diagram of a file processing method provided in an embodiment of the present application;
[0013] Figure 2 One of the interface schematic diagrams of a file processing provided in an embodiment of the present application;
[0014] Figure 3 A second schematic diagram of a file processing interface provided in an embodiment of the present application;
[0015] Figure 4 A schematic diagram of a file preview interface provided in an embodiment of the present application;
[0016] Figure 5 A third schematic diagram of a file processing interface provided in an embodiment of the present application;
[0017] Figure 6 A fourth schematic diagram of a file processing interface provided in an embodiment of the present application;
[0018] Figure 7 A schematic diagram of the structure of a file processing device provided in an embodiment of the present application;
[0019] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0020] Fig. 9 A hardware schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] 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.
[0022] The terms "first", "second", etc. in the specification and claims 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 generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims 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.
[0023] In the related art, there are deficiencies in the method of performing different functional operations on multiple files. For example, when a user needs to perform operations such as deletion and copying on multiple files stored in multiple file directories, the user needs to first trigger and select some files stored in one file directory and then trigger to confirm the deletion operation, confirm the copying operation, etc., and repeat the above process to perform the deletion operation, confirm the copying operation, etc. on the files stored in other file directories. For another example, when a user wants to move a file, after the user triggers and selects the files stored in a certain file directory, the user can trigger to confirm the move operation in another file directory. For another example, the copy operation on a file is also similar to the above-mentioned move operation. After the user triggers and selects the files stored in a certain file directory, the user can trigger to confirm the copy operation in another file directory.
[0024] Furthermore, the above-mentioned move operation and copy operation each form a closed loop. For files stored in different file directories, different functional operation steps must be separated, and the next closed loop can only be performed after one closed loop is completed. Therefore, multiple functional operations cannot be performed in parallel in the same file directory. For example, if a user wants to delete some files stored in a certain file directory and move other files stored in the same file directory, it is necessary to perform the move operation after the electronic device performs the delete operation closed loop. As a result, the steps for performing functional operations on multiple files are relatively cumbersome.
[0025] Based on the above problems, the embodiment of the present application provides a file processing method, in which the user can first make different objects in different marking states through one input, and then make the objects in different marking states perform different functional operations at one time through another input, so that the user does not need to frequently trigger the electronic device to perform different functional operations on multiple files in batches. In this way, the steps for the electronic device to perform different functional operations on multiple files are greatly simplified.
[0026] The following is a detailed description of the file processing method, device and electronic device provided in the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0027] like Figure 1 As shown, an embodiment of the present application provides a file processing method, which includes the following S101 to S104.
[0028] S101: A file processing apparatus receives a first input from a user.
[0029] Optionally, the first input may be a touch input, a voice input, a gesture input, etc. For example, the touch input is a user's drag input of a file identifier; for another example, the touch input is a user's input of a control.
[0030] The file processing method provided in the embodiments of the present application can be applied to scenarios where the same functional operations are performed on objects in different storage paths, scenarios where different functional operations are performed on objects in different storage paths, scenarios where different operations are performed on different objects in the same storage path, etc.
[0031] S102: In response to the first input, the file processing apparatus causes the first object to be in a first marking state and the second object to be in a second marking state.
[0032] The first marking state is different from the second marking state, and the first object and the second object include at least one of the following: a folder and a file.
[0033] Optionally, the number of the first object and the second object may be one or more.
[0034] Optionally, when there are multiple first objects and second objects, the first object and the second object may respectively include folders and / or files under the same storage path, or the first object and the second object may respectively include folders and / or files under different storage paths.
[0035] Furthermore, the storage paths where the first object and the second object are located may be the same or different.
[0036] Optionally, after S102, the file processing method provided in the embodiment of the present application may further include: displaying a first identifier on the icon of the first object, and displaying a second identifier on the icon of the second object. The first identifier is used to indicate a first marking state, and the second identifier is used to indicate a second marking state. In this way, the user can intuitively see the marking states of different objects.
[0037] It should be noted that the above S101 and S102 are exemplary explanations of putting the first object and the second object in the marked state. For putting other objects in the marked state, reference may be made to the specific explanations in the above S101 and S102.
[0038] Optionally, before the above S101, the file processing method provided in the embodiment of the present application may further include the following S105. Accordingly, the above S101 may be specifically implemented by the following S101A, and S102 may be specifically implemented by the following S102A and S102B.
[0039] S105: The file processing device displays the target control.
[0040] The target control includes a first sub-control and a second sub-control, wherein the first sub-control is used to execute a first functional operation, and the second sub-control is used to execute a second functional operation.
[0041] Optionally, the target control may be a target control that is displayed in a suspended state, that is, a suspended control. For example, the target control may be a suspended ball.
[0042] Optionally, the target control may further include other sub-controls such as a third sub-control and a fourth sub-control.
[0043] S101A: The file processing apparatus receives a first sub-input from a user to a first sub-control or a first object, and receives a second sub-input from a user to a second sub-control or a second object.
[0044] Exemplarily, the first sub-input is an input in which the user drags the first sub-control to the first object; or, the first sub-input is an input in which the user drags the first object to the first sub-control.
[0045] Exemplarily, the second sub-input is an input in which the user drags the second sub-control to the second object; or, the first sub-input is an input in which the user drags the second object to the second sub-control.
[0046] S102A: The file processing apparatus causes the first object to be in a first marking state in response to the first sub-input.
[0047] S102B: The file processing apparatus causes the second object to be in a second marking state in response to the second sub-input.
[0048] It should be noted that the first object and the second object are any files or folders in the electronic device. For other files or folders, reference can be made to S101A, S102A and S102B in the above embodiment to make other files or folders in a marked state.
[0049] The file processing method provided in the embodiment of the present application can trigger the object to be in a marked state corresponding to the functional operation to be performed by the sub-control by the user through input to a sub-control and an object. Thus, a method of using a control to mark the state of the functional operation to be performed on the file is provided.
[0050] S103: The file processing apparatus receives a second input from a user.
[0051] Optionally, the second input may be a touch input, a voice input or a gesture input. For example, the touch input is a click input of a "one-key processing" button. Of course, the second input may also be other possible inputs, which are not limited in the present application.
[0052] Optionally, the above S103 can be specifically implemented through the following S103A.
[0053] S103A: Receive a second input from the user to the target control.
[0054] In the embodiment of the present application, the user can perform different functional operations on objects in different marking states at one time by inputting the target control. In this way, the steps of performing different functional operations on multiple files are simplified and the efficiency of performing different functional operations on multiple files is improved.
[0055] S104: In response to the second input, the file processing apparatus performs a first functional operation corresponding to the first marking state on the first object, and performs a second functional operation corresponding to the second marking state on the second object.
[0056] The first function operation is different from the second function operation.
[0057] Exemplarily, the first function operation and the second function operation may respectively include any one of the following: an operation of deleting a file, an operation of copying a file, and an operation of moving a file.
[0058] For example, take the file processing device as a mobile phone. Figure 2As shown in (a) in the figure, the mobile phone displays the file identifiers of some files stored in the download file directory, the "Move" control 01, the "Copy" control 02, and the "Delete" control 03. If the user wants to mark the file indicated by File_a1 as being in the state of executing the move operation, the user can drag the "Move" control to the File_a1 icon. After the mobile phone receives the drag input, the mobile phone can respond to the drag input and make the File_a1 file 04 in the state of marking for executing the move operation. Similarly, the File_d6 file 05 is marked for executing the move operation, and the File_e4 file 06 is marked for executing the delete operation.
[0059] Furthermore, if the user wants to move File_d6 file 05 and File_a1 file 04 from the download file directory to the data file directory, and delete File_e4 file 06, the user can do so through Figure 2 The "move" control 02 and the "delete" control 03 in (b) are implemented. After the mobile phone receives the user's long press input on the two controls, the mobile phone can respond to the long press input to move the File_d6 file 05 and the File_a104 file from the download file directory to the data file directory, and delete the File_e4 file 06.
[0060] The embodiment of the present application provides a file processing method, in which a user can first make different objects in different marking states through one input, and then make the objects in different marking states perform different functional operations at one time through another input, so that the user does not need to frequently trigger the electronic device to perform different functional operations on multiple files in batches. In this way, the steps for the electronic device to perform different functional operations on multiple files are greatly simplified.
[0061] Optionally, the target control includes a function management control. After the above S104, the file processing method provided in the embodiment of the present application may further include the following S106 and S107.
[0062] S106: The file processing device receives a sixth input from the user to the function management control.
[0063] Optionally, the function management control may be a floating display control. Further, the function management control may be located in an edge display area of the screen.
[0064] Optionally, the sixth input may be a touch input, a voice input or a gesture input of the user to the function management control. For example, the touch input is a click input of the user to the function management control.
[0065] S107: The file processing apparatus displays a first sub-control and a second sub-control in response to the sixth input.
[0066] Optionally, for displaying the first sub-control and the second sub-control in the above S108, the following three possible implementations may be included:
[0067] (1) Display the first sub-control and the second sub-control, and display the function management control.
[0068] (2) The function management control is updated and displayed as a plurality of sub-controls, wherein the plurality of sub-controls include a first sub-control and a second sub-control.
[0069] (3) Display the first sub-control and the second sub-control, and cancel the display of the function management control.
[0070] For example, take the file processing device as a mobile phone. Figure 3 As shown in (a) of FIG. 1 , the mobile phone displays a control 07, namely, a function management control. If the user wants to perform different function operations on multiple files, the user can click the function management control 07. After the mobile phone receives the click input on the function management control 07, it can respond to the click input, such as Figure 3 As shown in (b) in FIG. 8 , the mobile phone displays a “move” control 01 , a “copy” control 02 , and a “delete” control 03 .
[0071] In the file processing method provided by the embodiment of the present application, since the user can trigger the display of multiple controls for triggering different functional operations by inputting into the function management control, the user can trigger the files or folders to be in different marking states by operating the multiple controls according to actual needs. Furthermore, since the multiple controls can be displayed all the time, it is convenient to mark files stored in different file directories.
[0072] Optionally, before the above S104, the file processing method provided in the embodiment of the present application may further include the following S108 and S109.
[0073] S108: The file processing apparatus receives a third input from the user.
[0074] Optionally, the third input may be a touch input, a voice input, a gesture input, etc. For example, the touch input is an input of a user double-clicking the function management control; for another example, the touch input is an input of a user single-clicking multiple sub-controls.
[0075] S109: The file processing device displays a file preview interface in response to the third input.
[0076] The file preview interface includes a first object and a second object.
[0077] Optionally, the file preview interface includes N display areas, a first display area among the N display areas is used to display a first object, a second display area among the N display areas is used to display a second object, and N is an integer greater than 1.
[0078] Optionally, the first object includes files or folders in a first storage path, and the second object includes files or folders in a second storage path, and the first storage path is different from the second storage path.
[0079] Optionally, the first object may further include files or folders in other storage paths except the first storage path, and the second object may further include files or folders in other storage paths except the second storage path.
[0080] For example, take the file processing device as a mobile phone. Figure 4 As shown in (a) of FIG. 1 , the mobile phone displays a function management control 07. If the user wants to view the file in the marked state, the user can double-click the function management control 07. After the mobile phone receives the double-click input of the function management control 07, it can respond to the click input, such as Figure 4 As shown in (b) of FIG. 1 , the mobile phone displays a file preview interface, which includes a display area 08, a display area 09 and a display area 10. The three display areas are respectively used to identify objects in different marking states.
[0081] In the file processing method provided in the embodiment of the present application, since the user can trigger the display of the file preview interface through input, the user can view files or folders in different marking states from the file preview interface.
[0082] Optionally, after the above S109, the file processing method provided in the embodiment of the present application may further include the following S110 and S111.
[0083] S110: The file processing apparatus receives a fourth input of a user on a first target object.
[0084] Optionally, the fourth input may be a touch input, a voice input or a gesture input of the user to the identifier of the first target object. For example, the touch input is an input of the user dragging the identifier of the first target object out of the file preview interface.
[0085] Optionally, the number of the first target objects may be one or more.
[0086] Further, when there are multiple first target objects, the first target objects are in the same marking state, or the first target objects are in different marking states.
[0087] S111. In response to the fourth input, the file processing apparatus cancels display of the marking state of the first target object.
[0088] Optionally, after the above S111, the file processing method provided in the embodiment of the present application may further include: the file processing device cancels displaying the mark of the first target object in the file preview interface, so that the user can intuitively see that the mark state of the first target object is canceled.
[0089] For example, take the file processing device as a mobile phone. Figure 5 As shown, if the user wants to cancel a marked file, the user can drag the File_i6 icon 11 out of the file preview interface. After the mobile phone receives the drag input of the File_i6 icon 11, the mobile phone can respond to the drag input and cancel the display of the marking state of the file indicated by the File_i6 icon 11, and the mobile phone cancels the display of the File_i6 icon 11 in the file preview interface.
[0090] In the file processing method provided by the embodiment of the present application, since the user can trigger the cancellation of the display of the marking state of the first target object by inputting the first target object, the user can trigger the cancellation of the execution function operation of marking the file or folder as needed. In this way, the user's autonomous selection and experience are improved.
[0091] Optionally, after the above S109, the file processing method provided in the embodiment of the present application may further include the following S112 and S113.
[0092] S112: The file processing apparatus receives a fifth input of the user on the second target object.
[0093] Optionally, the fifth input may be a touch input, voice input or gesture input of the user for the identifier of the second target object. For example, the touch input is an input of the user moving the identifier of the second target object from the first display area in the file preview interface to the second display area in the file preview interface. The first display area is used to display the identifier of the object performing the first function operation, and the second display area is used to display the identifier of the object performing the second function operation.
[0094] Optionally, the number of the second target objects may be one or more.
[0095] Further, when there are multiple second target objects, the second target objects are in the same marking state, or the second target objects are in different marking states.
[0096] S113: The file processing apparatus updates the marking status of the second target object in response to the fifth input.
[0097] The second target object includes at least one of the following: a first object and a second object.
[0098] Optionally, when the second target object includes the first object and the second object, the updated marking states of the first object and the second object are the same.
[0099] Optionally, in the case where the second target object includes the first object and the second object, after the above S112, the file processing method provided by the embodiment of the present application may further include: canceling the display of the identifier of the second target object in the first display area of the file preview interface, and displaying the identifier of the second target object in the second display area of the file preview interface. The first display area corresponds to the first state, and the second display area corresponds to the second state. In this way, the user can intuitively see the new marking state of the second target object.
[0100] For example, the file processing device is a mobile phone. Figure 4 If the user wants to update the status of a pending function operation of a certain file, the user can drag the File_i6 icon 11 from the display area 08 to the display area 10. After the mobile phone receives the drag input of the File_i6 icon 11, the mobile phone can respond to the drag input and update the file indicated by the File_i6 icon 11 to the mark state of executing the copy operation, and Figure 6 As shown, the mobile phone displays the File_i6 icon 11 in the display area 10 and cancels the display of the File_i6 icon 11 in the display area 08 .
[0101] In the file processing method provided by the embodiment of the present application, since the user can trigger the update of the mark state of the second target object by inputting the second target object, the user can trigger the update of the file or folder to perform a new function operation as needed, thereby improving the user's independent selection and experience.
[0102] The file processing method provided in the embodiment of the present application can be executed by a file processing device. In the embodiment of the present application, the file processing device provided in the embodiment of the present application is described by taking the method for executing file processing by a file processing device as an example.
[0103] like Figure 7As shown, an embodiment of the present application provides a file processing device 200, which includes a receiving module 201 and a processing module 202. The receiving module 201 is used to receive a first input from a user. The processing module 202 is used to, in response to the first input received by the receiving module 201, place a first object in a first marking state and a second object in a second marking state. The receiving module 201 is used to receive a second input from a user. The processing module 202 is used to, in response to the second input received by the receiving module 201, perform a first functional operation corresponding to the first marking state on the first object, and perform a second functional operation corresponding to the second marking state on the second object; wherein the first marking state is different from the second marking state, the first functional operation is different from the second functional operation, and the first object and the second object include at least one of the following: a folder and a file.
[0104] Optionally, the first input includes a first sub-input and a second sub-input; and the file processing device further includes a display module. The display module is used to display a target control, the target control includes a first sub-control and a second sub-control, the first sub-control is used to perform a first functional operation, and the second sub-control is used to perform a second functional operation. The receiving module is specifically used to receive a first sub-input of a user to a first sub-control or a first object, and to receive a second sub-input of a user to a second sub-control or a second object. The processing module is specifically used to, in response to the first sub-input received by the receiving module, place the first object in a first marking state; and in response to the second sub-input received by the receiving module, place the second object in a second marking state.
[0105] Optionally, the receiving module is specifically configured to receive a second input from a user to the target control.
[0106] Optionally, the file processing device may further include a display module; the receiving module may also be used to receive a third input from the user. The display module may be used to display a file preview interface in response to the third input received by the receiving module, wherein the file preview interface includes the first object and the second object.
[0107] Optionally, the first object includes files or folders in a first storage path, and the second object includes files or folders in a second storage path, and the first storage path is different from the second storage path.
[0108] Optionally, the receiving module can also be used to receive a fourth input from the user on the first target object. The processing module can also be used to cancel the display of the marking state of the first target object in response to the fourth input received by the receiving module; wherein the first target object includes at least one of the following: a first object and a second object.
[0109] Optionally, the receiving module may also be used to receive a fifth input of the user to the second target object. The processing module may also be used to update the marking state of the second target object in response to the fifth input received by the receiving module; wherein the second target object includes at least one of the following: the first object and the second object.
[0110] The embodiment of the present application provides a file processing device, in which a user can first make different objects in different marking states through one input, and then make the objects in different marking states perform different functional operations at one time through another input, so that the user does not need to frequently trigger the electronic device to perform different functional operations on multiple files in batches. In this way, the steps for the electronic device to perform different functional operations on multiple files are greatly simplified.
[0111] The file processing 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.
[0112] The file processing 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.
[0113] The file processing device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0114] Alternatively, if Figure 8As shown, an embodiment of the present application also provides an electronic device 300, including a processor 301 and a memory 302, wherein the memory 302 stores programs or instructions that can be executed on the processor 301, and when the program or instructions are executed by the processor 301, the various steps of the above-mentioned file processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0115] 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.
[0116] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0117] The electronic device 400 includes but is not limited to components such as a radio frequency unit 401 , a network module 402 , an audio output unit 403 , an input unit 404 , a sensor 405 , a display unit 406 , a user input unit 407 , an interface unit 408 , a memory 409 , and a processor 410 .
[0118] Those skilled in the art will appreciate that the electronic device 400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 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.
[0119] The user input unit 407 may be used to receive a first input from a user. The processor 410 may be used to, in response to the first input received by the user input unit 407, place the first object in a first marking state and the second object in a second marking state. The user input unit 407 is used to receive a second input from a user. The processor 410 is used to, in response to the second input received by the user input unit 407, perform a first functional operation corresponding to the first marking state on the first object, and perform a second functional operation corresponding to the second marking state on the second object; wherein the first marking state is different from the second marking state, the first functional operation is different from the second functional operation, and the first object and the second object include at least one of the following: a folder, a file.
[0120] Optionally, the first input includes a first sub-input and a second sub-input. The display unit 406 is used to display a target control, which includes a first sub-control and a second sub-control, the first sub-control is used to perform a first functional operation, and the second sub-control is used to perform a second functional operation. The user input unit 407 is specifically used to receive a first sub-input from a user to a first sub-control or a first object, and to receive a second sub-input from a user to a second sub-control or a second object. The processor 410 is specifically used to, in response to the first sub-input received by the user input unit 407, place the first object in a first marking state; and in response to the second sub-input received by the user input unit 407, place the second object in a second marking state.
[0121] Optionally, the user input unit 407 is specifically configured to receive a second input from the user to the target control.
[0122] Optionally, the user input unit 407 may also be used to receive a third input from the user. The display unit 406 may be used to display a file preview interface in response to the third input received by the user input unit 407, wherein the file preview interface includes the first object and the second object.
[0123] Optionally, the user input unit 407 may also be used to receive a fourth input from the user on the first target object. The processor 410 may also be used to cancel display of the marking state of the first target object in response to the fourth input received by the user input unit 407; wherein the first target object includes at least one of the following: a first object and a second object.
[0124] Optionally, the user input unit 407 may also be used to receive a fifth input from the user on the second target object. The processor 410 may also be used to update the marking state of the second target object in response to the fifth input received by the user input unit 407; wherein the second target object includes at least one of the following: a first object and a second object.
[0125] The embodiment of the present application provides an electronic device, in which a user can first make different objects in different marking states through one input, and then make the objects in different marking states perform different functional operations at one time through another input, so that the user does not need to frequently trigger the electronic device to perform different functional operations on multiple files in batches. In this way, the steps for the electronic device to perform different functional operations on multiple files are greatly simplified.
[0126] It should be understood that in the embodiment of the present application, the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042, and the graphics processor 4041 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 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 407 includes a touch panel 4071 and at least one of other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts: a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0127] The memory 409 can be used to store software programs and various data. The memory 409 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 409 may include a volatile memory or a non-volatile memory, or the memory 409 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.
[0128] The processor 410 may include one or more processing units; optionally, the processor 410 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 410.
[0129] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned file processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0130] 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.
[0131] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned file processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0132] 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.
[0133] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned file processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0134] 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.
[0135] 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.
[0136] 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: The method comprises: receiving a first input from a user; In response to the first input, the first object is placed in a first marking state and the second object is placed in a second marking state; receiving a second input from the user; In response to the second input, performing a first functional operation corresponding to the first marking state on the first object, and performing a second functional operation corresponding to the second marking state on the second object; The first marking state is different from the second marking state, the first function operation is different from the second function operation, and the first object and the second object include at least one of the following: a folder and a file; Before performing a first functional operation corresponding to the first marking state on the first object in response to the second input and performing a second functional operation corresponding to the second marking state on the second object, the method further includes: receiving a third input from the user; In response to the third input, displaying a file preview interface, wherein the file preview interface includes the first object in the first marking state and the second object in the second marking state; The first object includes files or folders in a first storage path, the second object includes files or folders in a second storage path, and the first storage path is different from the second storage path.
2. The method according to claim 1, characterized in that Before receiving the first input from the user, the method further includes: Display a target control, wherein the target control includes a first sub-control and a second sub-control, wherein the first sub-control is used to perform the first functional operation, and the second sub-control is used to perform the second functional operation; The first input includes a first sub-input and a second sub-input; and receiving the first input from the user includes: receiving a first sub-input from a user to the first sub-control or the first object, and receiving a second sub-input from a user to the second sub-control or the second object; In response to the first input, the first object is in a first marking state and the second object is in a second marking state, comprising: In response to the first sub-input, causing the first object to be in the first marking state; In response to the second sub-input, the second object is placed in the second marking state.
3. The method according to claim 2, characterized in that The receiving a second input from the user comprises: A second input from a user to the target control is received.
4. The method according to claim 1, characterized in that After displaying the file preview interface, the method further includes: receiving a fourth input from the user regarding the first target object; In response to the fourth input, canceling display of the marking state of the first target object; The first target object includes at least one of the following: a first object and a second object.
5. The method according to claim 1, characterized in that After displaying the file preview interface, the method further includes: receiving a fifth input from the user regarding the second target object; In response to the fifth input, updating a marking state of the second target object; The second target object includes at least one of the following: a first object and a second object.
6. A file processing device, characterized in that: The file processing device comprises a receiving module and a processing module; The receiving module is used to receive a first input from a user; The processing module is used to make the first object be in a first marking state and the second object be in a second marking state in response to the first input received by the receiving module; The receiving module is used to receive a second input from a user; the processing module is configured to, in response to the second input received by the receiving module, perform a first functional operation corresponding to the first marking state on the first object, and perform a second functional operation corresponding to the second marking state on the second object; The first marking state is different from the second marking state, the first function operation is different from the second function operation, and the first object and the second object include at least one of the following: a folder and a file; The file processing device also includes a display module; The receiving module is further configured to receive a third input from a user before, in response to the second input, performing a first function operation corresponding to the first mark state on the first object and performing a second function operation corresponding to the second mark state on the second object; The display module is configured to display a file preview interface in response to the third input received by the receiving module, wherein the file preview interface includes the first object in the first marking state and the second object in the second marking state; The first object includes files or folders in a first storage path, the second object includes files or folders in a second storage path, and the first storage path is different from the second storage path.
7. The device according to claim 6, characterized in that The first input includes a first sub-input and a second sub-input; the file processing device also includes a display module; The display module is used to display a target control, the target control includes a first sub-control and a second sub-control, the first sub-control is used to perform the first functional operation, and the second sub-control is used to perform the second functional operation; The receiving module is specifically configured to receive a first sub-input from a user to the first sub-control or the first object, and receive a second sub-input from a user to the second sub-control or the second object; The processing module is specifically configured to, in response to the first sub-input received by the receiving module, place the first object in the first marking state; and in response to the second sub-input received by the receiving module, place the second object in the second marking state.
8. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the file management method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Method and apparatus for executing multiple file management operations
CN1641644A
Method and apparatus for processing file in portable terminal
US20140304311A1
Interactions based on multiple stylus inputs
US9459794B1