File processing method and device
By using the floating control to move the target file from the first application to the second application during the file sharing process, the problem of cumbersome file sharing in the existing technology is solved, the file sharing is simplified and convenient, and the user operation experience is improved. .
Patent Information
- Application Number
- CN202111122063.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2041-09-24
AI Technical Summary
In the prior art, the file sharing process is cumbersome, which is limited by the initial application to which the file belongs, and the file sharing process is broken, resulting in inconvenience to users.
By receiving the user's input of the suspension control on the first application icon, respond and move the suspension control to the second application icon, and open the target file through the second application to simplify the file sharing process.
The simplification and convenience of file sharing has been achieved, which improves the user's operation experience, and reduces the situation that the files that cannot be used by the application due to the application of the application.
Smart Images

Figure CN113805757B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a file processing method and device. Background Art
[0002] There are significant limitations on file sharing on electronic devices. For example, when application A does not support sharing files to application B, application A usually saves the target file in a certain path first, then finds the target file from the file manager, and then uses application B to open the target file. The above file sharing process is limited by the original application to which the file belongs, and the file sharing process is fragmented, making the file sharing process cumbersome. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a file processing method and device that can solve the problem of cumbersome file sharing process.
[0004] In a first aspect, an embodiment of the present application provides a file processing method, the method comprising:
[0005] receiving a first input from a user to a floating control on a first application icon, wherein the floating control indicates a target file;
[0006] In response to the first input, the floating control is moved to a second application icon, and the target file is opened through the second application.
[0007] In a second aspect, an embodiment of the present application provides a file processing device, the device comprising:
[0008] A first receiving module, configured to receive a first input from a user to a floating control on a first application icon, wherein the floating control indicates a target file;
[0009] The file opening module is used to move the floating control to a second application icon in response to the first input, and open the target file through the second application.
[0010] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0011] 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.
[0012] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0013] In an embodiment of the present application, by receiving a first input for a target file in a first application, and in response to the first input, displaying a floating control corresponding to the target file on the first application icon, the user's operation on the target file can be simplified; and by receiving a second input for the floating control from the user, and in response to the second input, displaying a floating control on the second application icon when the file type corresponding to the target file belongs to a file type supported by the second application, the file sharing process is simplified, so that file sharing can be completed conveniently and quickly, thereby improving the user's operating experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a flowchart of a file processing method provided in an embodiment of the present application;
[0015] Figure 2 This is one of the operation page schematic diagrams of the file processing method provided in the embodiment of the present application;
[0016] Figure 3 This is the second schematic diagram of the operation page of the file processing method provided in the embodiment of the present application;
[0017] Figure 4 is a structural schematic diagram of a file processing device provided in an embodiment of the present application;
[0018] Figure 5 It is a schematic diagram of the structure of the electronic device provided by the embodiment of the present application;
[0019] Figure 6 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0020] 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.
[0021] 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.
[0022] The following is a detailed description of the file processing method and device provided by the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0023] Figure 1 Schematic diagram of the process of the file processing method provided in the embodiment of the present application. Figure 1 , the present application embodiment provides a file processing method, which may include:
[0024] Step 110: receiving a first input from a user to a floating control on a first application icon, wherein the floating control indicates a target file;
[0025] Step 120: In response to the first input, move the floating control to a second application icon, and open the target file through the second application.
[0026] It should be noted that the executor of the file processing method provided in the embodiment of the present application can be an intelligent electronic device, such as a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc.
[0027] The following uses a mobile phone as an execution subject to implement the file processing method provided in the embodiment of the present application as an example to explain in detail the technical solution of the present application.
[0028] Optionally, in step 110, the target file may include various types of files such as text documents, pictures, videos, audios, and compressed files, and may also include web links or applets, etc. The present application does not specifically limit the type of the target file. The floating control may indicate the target file by an association relationship with the storage address of the target file.
[0029] Optionally, the first input may be an operation of pressing the floating control or an operation of moving the floating control. The user may adjust the position of the floating control to any position on the mobile phone desktop through the first input. When the first input is a pressing operation, a list of second application icons may be displayed for the user to select, and based on the user's selection, the target second application may be determined; when the first input is a moving operation, the user may move the floating control from the first application icon to the second application icon as required, and this application does not specifically limit the movement method and movement trajectory of the floating control.
[0030] Optionally, in step 120, in response to the first input, the floating control moves from the first application icon to the second application icon. The floating control may be moved from the corner position of the first application icon to the corner position of the second application icon. When the floating control is located on the second application icon, the target file may be opened directly through the second application.
[0031] The file processing method provided in the embodiment of the present application receives a first input from a user to a floating control, moves the floating control to a second application icon in response to the first input, and opens the target file through the second application, thereby simplifying the file sharing process, so that file sharing can be completed conveniently and quickly, and the user operation experience is improved.
[0032] In one embodiment, in response to the first input, moving the floating control to a second application icon and opening the target file through the second application includes:
[0033] In response to the first input, moving the floating control to a second application icon;
[0034] In the case where the file type corresponding to the target file belongs to the file type supported by the second application, the floating control is displayed on the second application icon, and the processing page of the target file is opened through the second application.
[0035] Optionally, the file types supported by the application refer to the file types corresponding to the files that the application can run. For example: the file types supported by audio software may include various audio files, the file types supported by video software may include various video files and audio files; the file types supported by document reading software may include various formats of document files, such as: text TXT format. In response to the user's first input to the floating control, when the second application selected by the user supports the file type of the target file, that is, when the second application can run the target file, the floating control can be displayed on the second application icon. For example: the floating control can be displayed in the superscript position of the second application icon. The second application can directly open the target file and display the processing page of the target file. The user can perform corresponding processing on the processing page as needed. The processing page of the target file can be a page for editing the target file or a page for previewing the target file, which is not specifically limited in this application.
[0036] Optionally, when the file type corresponding to the target file does not belong to the file type supported by the second application, the floating control is moved to the first application icon.
[0037] Optionally, in response to the user's second input to the floating control, when the second input is a pressing operation, a list of second application icons can be displayed for the user to select, and based on the user's selection, the target second application is determined; when the second input is a moving operation, the user can move the floating control from the first application icon to the second application icon as required, and this application does not specifically limit the movement method and movement trajectory of the floating control. In the case that the second application selected by the user does not support the file type of the target file, that is, in the case that the second application cannot run the target file, the floating control will automatically return to the first application icon.
[0038] The file processing method provided in the embodiment of the present application can quickly identify the second application that supports running the target file by responding to the user's first input to the floating control, when the file type corresponding to the target file belongs to the file type supported by the second application, thereby facilitating the user to determine the application that supports the running of the target file through the floating control, thereby reducing the situation where files cannot be shared across applications due to limitations of the first application.
[0039] In one embodiment, in response to the first input, moving the floating control to a second application icon and opening the target file through the second application includes:
[0040] In response to the first input, displaying all second application icons that support the file type corresponding to the target file;
[0041] receiving a second input of a user selecting a target second application icon from the second application icons;
[0042] In response to the second input, the floating control is moved to the target second application icon, and a processing page of the target file is opened through the target second application.
[0043] Optionally, in response to the user's first input to the floating control, when the first input is a pressing operation or a moving operation, the mobile phone desktop will display a second application icon that supports the target file type on the current page, which may be to highlight the second application icon that supports the target file type on the current page, or to only display the second application icon that supports the target file type on the current page, etc., which is not specifically limited in this application. Among them, the second application icon can be highlighted in the following ways:
[0044] Method 1: Enlarge and display all second application icons that support the target file type, and keep the sizes of other application icons unchanged, and then display the enlarged second application icons.
[0045] Method 2: Highlight all second application icons that support the target file type, and keep the brightness of other application icons unchanged, then display the highlighted second application icons. Figure 2 As shown, the "supported highlighted" application icon represents an application icon that can support the running of the target file.
[0046] Method 3: Highlight all second application icons that support the target file type and reduce the brightness of other application icons, for example, grayscale display the other application icons, then display the highlighted second application icons and the other application icons with reduced brightness. Figure 2 As shown, the application icon "supporting high brightness" indicates that the application icon that supports the target file can be displayed with high brightness. The application icon "not supporting low brightness" indicates that the application icon that does not support the target file can be displayed with low brightness.
[0047] Method 4: Animating all second application icons that support the target file type, and not animating the remaining application icons. For example, a shaking effect is designed for the second application icon to prompt the user that the current second application icon supports the file type of the target file, and then the second application icon with animation effect can be displayed.
[0048] Method 5: Figure 2As shown, a shortcut bar area is set on the mobile phone desktop, and a second application icon supporting the target file type or a system default file editor can be set in the shortcut bar. In response to the user's first input to the floating control, the user can display the shortcut bar area when moving the floating control, and the user can directly select the target second application or the system default file editor in the shortcut bar.
[0049] Optionally, the mobile phone highlights all second application icons that support the target file type, and identifies the first application icon, ie, the source application of the target file.
[0050] Optionally, the user selects a target second application icon from the highlighted second application icons through a second input. The second input may be a release operation to move the floating control to the target second application icon, or a press operation to move the floating control to the target second application icon, which is not specifically limited in this application. When the mobile phone detects that the user has determined the target second application icon, it will automatically open the processing page of the target file in the target second application. The processing page of the target file may be a page for editing the target file, or a page for previewing the target file, which is not specifically limited in this application.
[0051] The file processing method provided in the embodiment of the present application, by responding to the first input, highlighting all second application icons that support the file type corresponding to the target file, so as to facilitate the user to quickly select the target second application; when the user selects the target second application icon from the second application icons, a floating control is displayed on the target second application icon, and the processing page of the target file is opened, thereby improving the success rate of file sharing.
[0052] In one embodiment, the file processing method further includes:
[0053] receiving a third input from a user to the floating control;
[0054] In response to the third input, moving the floating control to the file operation control;
[0055] The file operation control is used to perform at least one of the following on the target file corresponding to the floating control:
[0056] Delete target file, restore target file, move target file, merge target file, edit target file, arrange target file.
[0057] Optionally, the third input may be an operation of the user pressing the floating control, or an operation of moving the floating control. The user may select the file operation control through the third input to the floating control, that is, move the floating control to the file operation control. The user may perform corresponding file operations on the target file based on the file operation control.
[0058] Optionally, the file operation control may be a file manager, for example, a recycle bin or a folder, the recycle bin stores temporarily deleted target files, and the folder stores target files to be processed. The target files in the file operation control are all stored in the form of floating controls. The file operation control may perform corresponding file processing operations on the entire file operation control or on the floating controls in the file operation control to implement file processing on the target file.
[0059] Optionally, the file processing operation may include a delete operation, a restore operation, a move operation, a merge operation, an edit operation, and an arrangement operation on the target file. The delete operation may be to delete a single target file or to delete target files in batches, or to delete the file operation control as a whole; the restore operation may be to restore the deleted target file to the default storage path or the storage path where it was located when it was deleted, or to directly restore the target file to be processed to the default storage path or the preset storage path. The floating control after the restore operation may be displayed on the file operation control, or on the application icon corresponding to the restored storage path; the move operation may be to move the entire file operation control so that the floating controls corresponding to all target files are moved as a whole, or to move a single or multiple floating controls to move a single target file or move target files in batches, that is, to realize the batch file sharing process; the merge operation may be to merge multiple floating controls so that multiple target files are merged; the edit operation may be to edit the target file corresponding to the floating control; the arrangement operation may be to arrange the floating controls saved in the file operation control after the user opens the file operation control. The floating controls in the file operation control may be arranged in a preset arrangement manner, for example, in icon form or list form. When the file operation control is expanded, it can display floating control icons arranged in a preset order, or it can display a file list arranged according to file attribute information. File attribute information may include file name, file type, file size, file creation date, etc.
[0060] The file processing method provided in the embodiment of the present application can realize overall management of the target file and batch transmission of the target file by performing file operations on the target file corresponding to the floating control through the file operation control, thereby improving the efficiency of file processing.
[0061] In one embodiment, the file processing method further includes:
[0062] receiving a fourth input from a user to the floating control;
[0063] In response to the fourth input, the floating control is displayed in a preset area.
[0064] Optionally, the fourth input may be an operation in which the user moves the floating control to a blank area on the mobile phone desktop. In the above case, the mobile phone will assume that the user has not yet selected the target file to run the application, and the floating control will automatically move to a preset area. The preset area may be the status bar area at the top of the mobile phone desktop and / or the blank area between the status bar area at the top of the mobile phone desktop and the first row of application icons on the desktop, or other displayable areas. The user can move any floating control in the preset area. For example: the preset area is Figure 2 The top floating temporary storage area in is the blank area between the top status bar area and the first row of application icons on the desktop.
[0065] The file processing method provided in the embodiment of the present application can improve the ease of use of the floating control and enhance the user experience by setting a preset area.
[0066] In one embodiment, the file processing method further includes:
[0067] The display position of the floating control is adjusted according to the gravity sensing information.
[0068] Optionally, the mobile phone can adjust the position of the suspended control in the preset area according to the gravity sensing information. For example, if the mobile phone changes from a vertical screen to a horizontal screen state, the suspended control will move to the top area of the mobile phone desktop when the mobile phone is in a horizontal screen state.
[0069] The file processing method provided in the embodiment of the present application can improve the interactivity and fun of file processing by adjusting the display position of the floating control through gravity sensing information.
[0070] In one embodiment, the file processing method further includes:
[0071] receiving a fifth input from the user regarding a target file in the first application;
[0072] In response to the fifth input, a floating control corresponding to the target file is displayed on the first application icon.
[0073] Optionally, the target file may include various types of files such as text documents, pictures, videos, audios, and compressed files, and may also include web links or applets, etc. The present application does not specifically limit the type of the target file. The fifth input may be a pressing operation, a clicking operation, or a touching operation of the target file according to a preset trajectory, and the present application does not specifically limit the operation form of the fifth input.
[0074] Optionally, in response to the user's fifth input of the target file, a floating control corresponding to the target file is generated and displayed on the first application icon, for example, the floating control can be displayed at the superscript position of the first application icon. Among them, the floating control can be of any shape, for example, it can be a circle. The present application does not specifically limit the form of expression of the floating control. The floating control can establish an association relationship with the target file, that is, the floating control can be associated with the storage path of the target file, and after the floating control is generated, the storage path and content of the target file will not be changed. The floating control will not interfere with the arrangement and use of application icons on the mobile phone.
[0075] Optionally, before generating the floating control, a selection control of "generate floating control" can be generated, and the selection control is used to select whether to generate a floating control corresponding to the target file. After receiving the user's confirmation of the operation of generating the floating control, the floating control corresponding to the target file is displayed on the first application icon; the property parameters of the floating control can also be customized according to different types of files. For example, the shape, size, color or transparency of the floating control can be set. If the user does not make customized settings, the floating control can use the default settings.
[0076] The file processing method provided in the embodiment of the present application can simplify the user's operation on the target file by receiving a fifth input for the target file in the first application and displaying a floating control corresponding to the target file on the first application icon in response to the fifth input.
[0077] In one embodiment, after the floating control moves to the second application icon, the method further includes:
[0078] receiving a sixth input from the user on the floating control on the second application icon;
[0079] In response to the sixth input, the floating control is moved to a third application icon, and the target file is opened through the third application.
[0080] Optionally, after the floating control is moved to the second application icon, due to possible user movement errors or misoperations, the user needs to move the floating control from the second application icon to other application icons. In this case, the floating control can be moved again.
[0081] Optionally, the sixth input may be an operation of pressing the floating control or an operation of moving the floating control. The user may adjust the position of the floating control to any position on the mobile phone desktop through the sixth input. When the sixth input is a pressing operation, a list of third application icons may be displayed for user selection, and based on the user selection, the target third application may be determined; when the sixth input is a moving operation, the user may move the floating control from the second application icon to the third application icon as required, and this application does not specifically limit the movement method and movement trajectory of the floating control.
[0082] Optionally, in response to the sixth input, the floating control moves from the second application icon to the third application icon. The floating control may be moved from the corner position of the second application icon to the corner position of the third application icon. When the floating control is located on the third application icon, the target file may be opened directly through the third application.
[0083] The file processing method provided in the embodiment of the present application improves the use flexibility of the floating control by moving the floating control from the second application icon to the third application image after the floating control is moved to the second application icon.
[0084] In one embodiment, the operation steps of the file processing method provided in the embodiment of the present application may include:
[0085] 1. The user opens the target file in the first application on the mobile phone;
[0086] 2. The user long presses the target file, a selection control for "Generate Floating Control" pops up, and clicks to confirm.
[0087] 3. When the user returns to the desktop, a floating control will be displayed on the first application icon. Figure 2 As shown, the floating control can be moved to any second application icon or a file operation control, or to a second application icon in the shortcut bar area, or to the top temporary storage floating area.
[0088] 4. If the second application to which the floating control is moved supports the target file type, the floating control can be displayed on the second application icon, and the processing page of the target file is directly opened and displayed.
[0089] 5. If the second application to which the floating control is moved does not support the target file type, the floating control automatically returns to the first application icon.
[0090] 6. If the floating control is moved to the file operation control, the user can open the file operation control and preview the floating control in the file operation control according to the preset arrangement. Figure 3 As shown, the file operation control can manage the floating control in the form of a folder. Figure 3 "File operation control collapsed" means that before the file operation control is clicked, it will be displayed on the desktop in the form of a folder, and the floating control in the file operation control is collapsed. "File operation control expanded" means that after clicking the folder, the floating control or file information can be previewed in list form or icon form.
[0091] In one embodiment, the floating control indicates the target file in the form of a "bubble" or "balloon". Taking the "bubble" as an example, a corresponding "file bubble" can be generated according to the target file. The "file bubble" can be moved arbitrarily on the mobile phone desktop. When the "file bubble" moves to the target application icon that supports the operation of the target file, the target application can automatically open the processing page of the target file. When the "file bubble" moves to the target application icon that does not support the operation of the target file, the "file bubble" will automatically float back to the last application icon that opened the target file.
[0092] Optionally, when the user moves the "file bubble" and does not determine the target application icon, the "file bubble" can float in the preset temporary storage area. For example, the preset temporary storage area is the blank area between the status bar at the top of the desktop and the first row of application icons. When the user moves the "file bubble", he can drag the "file bubble" to any blank area on the desktop and release it. At this time, the "file bubble" will automatically float to the blank area between the status bar at the top of the desktop and the first row of application icons.
[0093] Optionally, when the user moves the "file bubble", the mobile phone desktop can highlight the application icon that supports the running of the target file, and at the same time identify the initial application icon that generates the "file bubble".
[0094] Optionally, an application icon similar to a "file trash can" or "recycle bin" can be set on the mobile phone desktop. Taking the recycle bin as an example, if the "file bubble" is moved to the recycle bin application icon, the target file will be automatically included in the recycle bin directory, indicating that the target file has been temporarily deleted. If the user chooses to restore the target file, the "file bubble" corresponding to the target file will be re-suspended on the recycle bin application icon.
[0095] It should be noted that the file processing method provided in the embodiment of the present application can be executed by a file processing device or a control module in the file processing device for executing the file processing method. 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.
[0096] Figure 4 Schematic diagram of the structure of the file processing device provided in the embodiment of the present application. Figure 4 , an embodiment of the present application provides a file processing device, which may include:
[0097] A first receiving module 410 is configured to receive a first input from a user to a floating control on a first application icon, where the floating control indicates a target file;
[0098] The file opening module 420 is configured to move the floating control to a second application icon in response to the first input, and open the target file through the second application.
[0099] The file processing device provided in the embodiment of the present application receives a first input from a user to a floating control, moves the floating control to a second application icon in response to the first input, and opens the target file through the second application, thereby simplifying the file sharing process, so that file sharing can be completed conveniently and quickly, and the user operation experience is improved.
[0100] In one embodiment, the file opening module 420 is specifically used for:
[0101] In response to the first input, moving the floating control to a second application icon;
[0102] In the case where the file type corresponding to the target file belongs to the file type supported by the second application, the floating control is displayed on the second application icon, and the processing page of the target file is opened through the second application.
[0103] In one embodiment, the file opening module 420 is specifically used for:
[0104] In response to the first input, displaying all second application icons that support the file type corresponding to the target file;
[0105] receiving a second input of a user selecting a target second application icon from the second application icons;
[0106] In response to the second input, the floating control is moved to the target second application icon, and a processing page of the target file is opened through the target second application.
[0107] In one embodiment, the file processing device further includes:
[0108] A file operation module (not shown in the figure), configured to receive a third input from a user to the floating control;
[0109] In response to the third input, moving the floating control to the file operation control;
[0110] The file operation control is used to perform at least one of the following on the target file corresponding to the floating control:
[0111] Delete target file, restore target file, move target file, merge target file, edit target file, arrange target file.
[0112] In one embodiment, the file processing device further includes:
[0113] A second receiving module (not shown in the figure), configured to receive a fourth input from a user to the floating control;
[0114] The first display module (not shown in the figure) is used to display the floating control in a preset area in response to the fourth input.
[0115] In one embodiment, the file processing device further includes:
[0116] The adjustment module (not shown in the figure) is used to adjust the display position of the floating control according to the gravity sensing information.
[0117] In one embodiment, the file processing device further includes:
[0118] A third receiving module (not shown in the figure), configured to receive a fifth input from a user regarding a target file in the first application program;
[0119] The second display module (not shown in the figure) is used to display a floating control corresponding to the target file on the first application icon in response to the fifth input.
[0120] In one embodiment, the file processing device further includes:
[0121] a fourth receiving module (not shown in the figure), configured to receive a sixth input from a user on the floating control on the second application icon;
[0122] A moving module (not shown in the figure) is used to move the floating control to a third application icon in response to the sixth input, and open the target file through the third application.
[0123] The file processing device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0124] 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.
[0125] The file processing device provided in the embodiment of the present application can achieve Figures 1 to 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0126] Alternatively, if Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501, a memory 502, and a program or instruction stored in the memory 502 and executable on the processor 501. When the program or instruction is executed by the processor 501, 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.
[0127] 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.
[0128] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0129] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.
[0130] Those skilled in the art will appreciate that the electronic device 600 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 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 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.
[0131] The processor 610 is configured to receive a first input from a user to a floating control on a first application icon, where the floating control indicates a target file;
[0132] In response to the first input, the floating control is moved to a second application icon, and the target file is opened through the second application.
[0133] The electronic device provided in the embodiment of the present application receives a first input from a user to a floating control, moves the floating control to a second application icon in response to the first input, and opens the target file through the second application, thereby simplifying the file sharing process, so that file sharing can be completed conveniently and quickly, and the user operation experience is improved.
[0134] Optionally, the processor 610 is further configured to move the floating control to a second application icon in response to the first input;
[0135] In the case where the file type corresponding to the target file belongs to the file type supported by the second application, the floating control is displayed on the second application icon, and the processing page of the target file is opened through the second application.
[0136] Optionally, the processor 610 is further configured to, in response to the first input, display all second application icons that support the file type corresponding to the target file;
[0137] receiving a second input of a user selecting a target second application icon from the second application icons;
[0138] In response to the second input, the floating control is moved to the target second application icon, and a processing page of the target file is opened through the target second application.
[0139] Optionally, the processor 610 is further configured to receive a third input from a user on the floating control;
[0140] In response to the third input, moving the floating control to the file operation control;
[0141] The file operation control is used to perform at least one of the following on the target file corresponding to the floating control:
[0142] Delete target file, restore target file, move target file, merge target file, edit target file, arrange target file.
[0143] Optionally, the processor 610 is further configured to receive a fourth input from a user on the floating control;
[0144] In response to the fourth input, the floating control is displayed in a preset area.
[0145] Optionally, the processor 610 is further configured to adjust a display position of the floating control according to gravity sensing information.
[0146] Optionally, the processor 610 is further configured to receive a fifth input from a user regarding a target file in the first application;
[0147] In response to the fifth input, a floating control corresponding to the target file is displayed on the first application icon.
[0148] Optionally, the processor 610 is further configured to receive a sixth input from a user on the floating control on the second application icon;
[0149] In response to the sixth input, the floating control is moved to a third application icon, and the target file is opened through the third application.
[0150] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.
[0151] 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.
[0152] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0153] 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.
[0154] 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.
[0155] 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.
[0156] 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.
[0157] 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 processing method, characterized in that: include: receiving a first input from a user to a floating control on a first application icon, wherein the floating control indicates a target file; In response to the first input, move the floating control to a second application icon, and open the target file through the second application; After the floating control moves to the second application icon, the method further includes: receiving a sixth input from the user on the floating control on the second application icon; In response to the sixth input, the floating control is moved to a third application icon, and the target file is opened through the third application.
2. The file processing method according to claim 1, characterized in that: In response to the first input, moving the floating control to a second application icon and opening the target file through the second application includes: In response to the first input, moving the floating control to a second application icon; In the case where the file type corresponding to the target file belongs to the file type supported by the second application, the floating control is displayed on the second application icon, and the processing page of the target file is opened through the second application.
3. The file processing method according to claim 2, characterized in that: In response to the first input, moving the floating control to a second application icon and opening the target file through the second application includes: In response to the first input, displaying a second application icon that supports the file type corresponding to the target file; receiving a second input of a user selecting a target second application icon from the second application icons; In response to the second input, the floating control is moved to the target second application icon, and a processing page of the target file is opened through the target second application.
4. The file processing method according to claim 1, characterized in that: Also includes: receiving a third input from a user to the floating control; In response to the third input, moving the floating control to the file operation control; The file operation control is used to perform at least one of the following on the target file corresponding to the floating control: Delete target file, restore target file, move target file, merge target file, edit target file, arrange target file.
5. The file processing method according to claim 1, characterized in that: Also includes: receiving a fourth input from a user to the floating control; In response to the fourth input, the floating control is displayed in a preset area.
6. The file processing method according to claim 5, characterized in that: Also includes: The display position of the floating control is adjusted according to the gravity sensing information.
7. The file processing method according to any one of claims 1 to 6, characterized in that: Also includes: receiving a fifth input from the user regarding a target file in the first application; In response to the fifth input, a floating control corresponding to the target file is displayed on the first application icon.
8. A file processing device, characterized in that: include: A first receiving module, configured to receive a first input from a user to a floating control on a first application icon, wherein the floating control indicates a target file; A file opening module, configured to move the floating control to a second application icon in response to the first input, and open the target file through the second application; The file processing device also includes: a fourth receiving module, configured to receive a sixth input from a user on the floating control on the second application icon; A moving module is used to move the floating control to a third application icon in response to the sixth input, and open the target file through the third application.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the file processing method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the file processing method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
File opening method and apparatus
CN106959880A
File sending method and device and electronic equipment
CN112399006A
Display method and device and electronic equipment
CN112925456A