CN113452744A - File sharing method, device, equipment and storage medium - Google Patents
File sharing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113452744A CN113452744A CN202110343750.9A CN202110343750A CN113452744A CN 113452744 A CN113452744 A CN 113452744A CN 202110343750 A CN202110343750 A CN 202110343750A CN 113452744 A CN113452744 A CN 113452744A
- Authority
- CN
- China
- Prior art keywords
- file
- target
- input
- sharing
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a file sharing method, a file sharing device, file sharing equipment and a storage medium, and belongs to the technical field of information processing. The file sharing method comprises the steps of receiving first input of a user to a target file identifier, wherein the target file identifier is used for indicating a target file, and the target file is a file of a first application program; responding to a first input, and displaying a first interface, wherein the first interface comprises N application program icons; under the condition that the target object moves to a preset area along with the input track of the first input, displaying an icon selection control in an area associated with each application program icon; the target object is a target file identifier or a suspension identifier generated based on the target file identifier; n, M is an integer greater than 1, M is less than or equal to N; receiving second input of the user to the M icon selection controls; responding to the second input, and displaying program interfaces of the M application programs; and sharing the target file based on the program interfaces of the M application programs.
Description
Technical Field
The application belongs to the technical field of information processing, and particularly relates to a file sharing method, device, equipment and storage medium.
Background
Along with the popularization of smart phones, the functions of smart phones are more and more, wherein the functions comprise a cross-platform sharing function of files.
In the prior art, in the process of sharing a file of a first application program to a plurality of other application programs, the following two methods are generally adopted: one is that a corresponding file is found from a default file storage path corresponding to a first application program, and then the corresponding file is shared with other application programs for multiple times; one is to perform global search according to the name of a file in file management, locate the file, and then share the file with other application programs for multiple times.
In the process of implementing the application, the inventor finds that at least the following problems exist in the prior art, that is, because the files need to be located to the folder where the files are stored when being shared across platforms, the existing file storage path is usually difficult to find, and only one application program can be shared at a time, the operation process is complicated when a user shares the files in one application program to other multiple application programs.
Disclosure of Invention
An object of the embodiments of the present application is to provide a file sharing method, device, apparatus, and storage medium, which can solve the problem that an operation process is complicated when an existing user shares a file in one application program to a plurality of other application programs.
In a first aspect, an embodiment of the present application provides a file sharing method, where the method includes:
receiving first input of a user to an object file identifier, wherein the object file identifier is used for indicating an object file, and the object file is a file of a first application program;
displaying a first interface in response to the first input, wherein the first interface comprises N application icons;
under the condition that the target object moves to a preset area along with the input track of the first input, displaying an icon selection control in an area associated with each application program icon; the target object is the target file identifier or a suspension identifier generated based on the target file identifier; n, M is an integer greater than 1, M is less than or equal to N;
receiving second input of the user to the M icon selection controls;
displaying program interfaces of the M application programs in response to the second input;
and sharing the target file based on the program interfaces of the M application programs.
In a second aspect, an embodiment of the present application provides a file sharing apparatus, including:
the system comprises a first receiving module, a first display module and a second receiving module, wherein the first receiving module is used for receiving first input of a target file identifier by a user, the target file identifier is used for indicating a target file, and the target file is a file of a first application program;
a first display module, configured to display a first interface in response to the first input, where the first interface includes N application icons;
the control display module is used for displaying an icon selection control in the area associated with each application program icon under the condition that the target object moves to a preset area along with the input track of the first input; the target object is the target file identifier or a suspension identifier generated based on the target file identifier; n, M is an integer greater than 1, M is less than or equal to N;
the second receiving module is used for receiving second input of the user to the M icon selection controls;
the second display module is used for responding to the second input and displaying program interfaces of the M application programs;
and the sharing module is used for sharing the target file based on the program interfaces of the M application programs.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the file identification of the target file in the first application program is subjected to first input, and then in a displayed first interface, under the condition that the control target object moves to a preset area along with the input track of the first input, a multi-selection mode of the application program can be started, so that a user can select multiple application programs to share the target file, and thus the user does not need to locate a folder stored in the target file, can simply drag the target file identification or a generated suspension identification in the first application program, and can realize file sharing across multiple application programs simultaneously, and further can simplify the operation process of the user.
Drawings
FIG. 1 is one of the schematic diagrams of a file sharing application scenario shown in accordance with an exemplary embodiment;
FIG. 2 is one of the flow diagrams of a file sharing method shown in accordance with an exemplary embodiment;
FIG. 3 is a second diagram illustrating a file sharing application scenario in accordance with an illustrative embodiment;
FIG. 4 is a third diagram illustrating a file sharing application scenario in accordance with an illustrative embodiment;
FIG. 5 is a fourth diagram illustrating a file sharing application scenario, according to an exemplary embodiment;
FIG. 6 is a fifth diagram illustrating a file sharing application scenario, according to an exemplary embodiment;
FIG. 7 is a sixth schematic diagram illustrating a file sharing application scenario in accordance with an illustrative embodiment;
FIG. 8 is a seventh illustration of a file sharing application scenario shown in accordance with an exemplary embodiment;
FIG. 9 is an eighth schematic diagram illustrating a file sharing application scenario in accordance with an illustrative embodiment;
FIG. 10 is a ninth illustration of a file sharing application scenario shown in accordance with an exemplary embodiment;
FIG. 11 is a ten-fold schematic diagram illustrating a file sharing application scenario in accordance with an illustrative embodiment;
FIG. 12 is a second flowchart illustrating a file sharing method according to an exemplary embodiment;
fig. 13 is a block diagram illustrating a structure of a file sharing apparatus according to an exemplary embodiment;
FIG. 14 is a block diagram illustrating the structure of an electronic device in accordance with an exemplary embodiment;
fig. 15 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship. Plural in this application means at least two.
The following describes the file sharing method and the electronic device provided in the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
The file sharing method provided by the application can be applied to the scene shown in fig. 1, and is specifically described in detail with reference to fig. 1.
Fig. 1 is a schematic diagram illustrating a file sharing application scenario according to an exemplary embodiment.
The file sharing method provided by the embodiment of the Application can be applied to sharing a file in one Application program to Application scenes of other Application programs, as shown in fig. 1, a display interface 10 of a first Application program (APP) displays some files 11 to be downloaded, the files 11 can be downloaded through the first Application program, and the files 11 downloaded in the first Application program are shared to other Application programs through the file sharing method provided by the embodiment of the Application.
According to the application scenario, the file sharing method provided by the embodiment of the present application is described in detail below with reference to fig. 2 to 10. It should be noted that, in the file sharing method provided in the embodiment of the present application, the execution main body may be a file sharing device, or a control module in the file sharing device for executing the file sharing method. In the embodiment of the present application, a file sharing method executed by a file sharing device is taken as an example to describe the file sharing method provided in the embodiment of the present application.
Fig. 2 is a flow diagram illustrating a file sharing method according to an example embodiment.
As shown in fig. 2, the file sharing method may include the following steps:
The target file identifier in the embodiment of the application can be an icon which is generated based on the target file and displayed in an interface, and the target file identifier can be used for realizing operations such as sharing, positioning and opening of the target file. The first application program may be an application program capable of acquiring the target file, such as chat software, a browser, an application store, audio software, and the like. The manner in which the first application obtains the target file includes, but is not limited to, downloading, receiving, etc. The file type of the target file includes, but is not limited to, audio, document, installation package, etc., and is not limited thereto.
For example, as shown in fig. 3, after the a-file 111 is downloaded in the APP1, the file identifier 121 may be generated based on the a-file 111, and the file identifier 121 corresponding to the a-file 111 may be displayed below the display interface 10 of the APP 1.
Additionally, the first input may be a user input of a target file identification. Further, the first input may include an input of dragging the target file identifier or a floating identifier generated based on the target file identifier, for example, dragging the target file identifier to move, or dragging the floating identifier to move after the target file identifier is changed into a movable floating identifier by pressing the target file identifier for a long time. The first input may be a continuous input, or may be a combined input composed of a plurality of sub-inputs, and is not limited herein.
In a specific example, as shown in fig. 4, in a case that it is preset that the floating identifier is generated by long-press operation triggering, a user may trigger generation of a movable floating identifier 122 by long-press of the file identifier 121 of the a-file, and the user may drag the floating identifier 122 to move through a sliding input.
For example, the display mode of the first interface may be to jump from the interface of the first application to the first interface, or to pop up and display the first interface on the interface of the first application. Correspondingly, the first interface may be, for example, a system desktop of the electronic device, or may be a program selection interface for selecting another application program in the first application program. In addition, application icons corresponding to different applications can be displayed in different areas of the first interface, and different applications can be started by different application icons.
In this embodiment, the application program corresponding to the application program icon displayed in the first interface may include an application program capable of accepting file sharing, for example, chat software and other software having a file publishing function, and a user may share the file with a plurality of application programs.
In an optional implementation manner, the step 220 may specifically include:
and under the condition that the input direction of the first input is a preset direction, responding to the first input, and displaying a first interface.
The preset direction may be upward, and of course, may also be other directions, which are not limited herein.
In a specific example, as shown in fig. 4, in a case that a display system desktop is triggered by an input that is set in advance and moves downwards by pressing and dragging the floating identifier, a user may press the file identifier 121 of the a file for a long time in a display interface corresponding to APP1 to generate a movable floating identifier 122, continue to press and hold the floating identifier 122 and slide downwards, at this time, a jump may be made to a system desktop 13 as shown in fig. 5, and an application icon corresponding to an application including APP6 may be displayed in the system desktop 13.
In the embodiment of the application, the target object may be a target file identifier itself, that is, a user directly drags the target file identifier through a first input to move; of course, the target object may also be a floating mark generated based on the target file identifier, for example, a movable floating mark generated after the user presses the target file identifier for a long time, and drags the floating mark to move, for example, the floating mark 122 shown in fig. 4.
For example, a user may drag a target object to move in the first interface through the first input, and when the target object is moved to a preset area in the first interface, a multi-selection mode for the application icons is started, for example, an icon selection control is displayed in an area associated with each application icon, so that the user can select the icon. The icon selection control can be a check box, and the user can select or deselect the application program corresponding to the application program icon by clicking the icon selection control or the application program icon corresponding to the icon selection control to serve as the application program sharing the target file. In addition, the preset area may be an area where the preset control is located, or any local area preset in the display screen.
In a specific example, as shown in fig. 5, in a case where it is preset that the display system desktop is triggered by an input of pressing and dragging the floating identifier to move downwards, after the user presses the floating identifier 122 of the a-file to move downwards and enters the system desktop 13, the floating identifier 122 may be continuously controlled to move on the system desktop 13 along the sliding direction of the user's finger. Meanwhile, under the condition that a multi-selection mode for the application program icons is triggered by moving the floating identifier to the preset area in advance, if the user drags the floating identifier 122 to the preset area 41, a check box is displayed at the upper left corner of each application program icon, and the user can select the application program by checking the corresponding check box.
And 240, receiving a second input of the M icon selection controls from the user.
Here, the second input may be a click input of the user on the icon selection control or the application icon corresponding to the icon selection control, that is, when the user clicks one or some icon selection controls or the application icon corresponding to the icon selection control, the application programs corresponding to the application icon selected by the icon selection control may be determined as the application programs that need to share files.
In a specific example, as shown in fig. 6, if the user checks the check box 421 displayed in the application icon 42 corresponding to APP6 and the check box 431 displayed in the application icon 43 corresponding to APP16, the APP6 and APP16 can be used as target APPs for file sharing.
And 250, responding to the second input, and displaying program interfaces of the M application programs.
Here, the program interface may be an interface for file sharing in the application program, such as a contact interface, a friend circle publishing interface, and the like. The contact interface includes, but is not limited to, an address book, a recent contact, and the like.
In an optional implementation, displaying the program interfaces of the M applications may specifically include:
and respectively displaying program interfaces of the M application programs in the M display areas.
For example, in the case where the number of the application programs is plural, the program interface of the application program may be displayed in a split screen manner. Here, the number of the display areas may be matched with the number of the selected application programs, and a program interface corresponding to one application program may be correspondingly displayed in one display area.
In a specific example, the user selects APP6 and APP16, and at this time, as shown in fig. 7, in the case where it is preset to divide the same number of display areas according to the number of selected applications, the display interface is divided into two display areas: display area 61 corresponding to APP6 and display area 62 corresponding to APP 16.
When the APP that selects has threely, can show the display area that an APP corresponds according to the higher authority, show the display area that two APPs correspond side by side below and carry out the interface display, also can arrange the mode that shows the display area that three APP correspond from last to lower according to vertical direction and carry out the interface display. The rest can be analogized in sequence, and the description is omitted.
Therefore, the program interfaces of the plurality of application programs can be displayed simultaneously through split screen display, and then the target file can be shared to the plurality of application programs except the first application program simultaneously based on the split screen display interface, so that the file sharing operation process of the plurality of application programs is simpler and more convenient.
And step 260, sharing the target file based on the program interfaces of the M application programs.
Here, the target file may be directly shared in the program interfaces of the selected multiple applications, for example, in the friend circle editing interface of each selected application, the target file is used as a file to be shared, and the target file may be shared simultaneously by one key in a manner of publishing a friend circle. In addition, the target file can be shared with all the contacts displayed in each selected application program. Of course, one or more contacts to be shared may be selected in the program interface corresponding to each application program in sequence, and the target file may be shared by sending information to the contacts.
Therefore, the file identification of the target file in the first application program is subjected to first input, and then in a displayed first interface, under the condition that the control target object moves to a preset area along with the input track of the first input, a multi-selection mode of the application program can be started, so that a user can select multiple application programs to share the target file, the user does not need to locate a folder stored in the target file, the target file identification or a suspension identification generated by the target file identification can be simply dragged in the first application program, the file sharing across multiple application programs is realized, and the operation process of the user can be simplified.
On the basis of the foregoing embodiment, after the foregoing step 240, the file sharing method provided in this embodiment may further include:
and moving the target object to the target positions associated with the M display areas for display.
Here, the target position may be a position associated with each of the M display areas, that is, when M ≧ 2 and at least a common boundary point exists between each of the display areas, the target position may be any position on the common boundary line of the M display areas or the common boundary point of the M display areas. In addition, if there is no common boundary point between each display region, for example, when the display regions are arranged in sequence from top to bottom along the vertical direction of the display screen, the target position may be any other position in the display screen that does not block the program interface of each application program.
In a specific example, when the floating mark is preset to be released to trigger the display of the file mark, and when M is 2, as shown in fig. 8, the user releases the floating mark, the floating mark is changed back to the file mark 121, and moves to the common boundary line 14 between the display area 61 corresponding to APP6 and the display area 62 corresponding to APP16 to be displayed, so as not to obstruct the program interface of each application program, the file mark 121 may be docked at the right edge of the display screen to be displayed.
In another example, in the case that the floating flag is set to be released to trigger the display of the file flag in advance, when M is 3 and the displayed program interfaces are program interfaces of APP3, APP6 and APP16, as shown in fig. 9, after the user releases the floating flag, the floating flag is changed back to the file flag 121 and is moved to the common boundary point of the display area 63 corresponding to APP3, the display area 61 corresponding to APP6 and the display area 62 corresponding to APP16 for display.
Like this, through removing the target object and showing to the target location that is relevant with M display areas, can be when sharing the file of first application in other a plurality of APPs, can continue to show the target object in suitable region to conveniently share the target file in a plurality of APPs simultaneously, thereby still need jump between each APP interface when can avoiding sharing, provide convenience for sharing the target file for a plurality of APPs simultaneously.
Based on this, in an optional implementation manner, after the step of moving the target object to the target positions associated with the M display areas for displaying, the file sharing method provided in the embodiment of the present application may further include:
receiving a third input of the target object by the user, wherein the third input is a sliding input of the target direction;
accordingly, the step 260 may include:
and responding to a third input, and sharing the target file to the sharing object of the application program in the display area pointed by the target direction.
Here, the target direction may be a direction pointing from the target position to a display area corresponding to an application program that needs to share a file currently. That is, the user may drag the target object to the direction corresponding to the display area of the application program that the user wants to share through the third input.
In addition, the sharing objects related in the embodiment of the application can be circle of friends or contacts. When the target object is dragged to a certain application program, the target object can be directly shared to a friend circle in the application program, or the target file can be shared to all contacts in the application program, of course, the target file can also be shared to part of contacts selected by a user in the application program, and the method is not limited herein.
In a specific example, as shown in fig. 8, in the case that sharing a file to an application program pointed by a user input direction is preset, if a user drags the file identifier 121 of the a-file upwards, the a-file may be shared to a contact in the APP 6; if the user drags the file identifier 121 of the a-file downwards, the a-file can be shared to a contact in the APP 16.
In another example, as shown in fig. 9, in a case where sharing of a file to an application program pointed by a user input direction is preset, if the user drags the file identifier 121 of the a-file to the upper left, the a-file may be shared to a contact in the APP 3; if the user drags the file identifier 121 of the a-file to the upper right, the a-file can be shared to a contact in the APP 6; if the user drags the file identifier 121 of the a-file downwards, the a-file can be shared to a contact in the APP 16.
It should be noted that, when M is greater than or equal to 3 and the display areas are arranged sequentially from top to bottom or from left to right, the target file can be shared to the shared object of the application program in the display area where the final moving position of the target object is located.
Therefore, the user drags the target object to select the application program which finally receives the file sharing, so that the final sharing process of the file is triggered, the operation process of the file sharing is simpler, and the interactivity is stronger.
In addition, another optional implementation manner is that, after the step of moving the target object to the target position associated with the M display areas for display, the file sharing method provided in the embodiment of the present application may further include:
receiving a fourth input of the user dragging the target object;
moving the target object and sequentially passing through the T display areas in response to a fourth input;
accordingly, the step 260 may include:
sharing the target file to sharing objects of the application programs in the T display areas;
wherein T is a positive integer and is less than or equal to M.
Here, the fourth input may be an input that the user drags the target object through one or more display areas in sequence.
In a specific example, in a case that a file is preset to be shared to an application program through which a user input track passes, when M is 4, as shown in fig. 10, a display area 63 corresponding to APP3, a display area 61 corresponding to APP6, a display area 64 corresponding to APP9, and a display area 62 corresponding to APP16 are displayed, and if a user drags the file identifier 121 of the a-file to pass through the display area 63, the display area 61, and the display area 62 in sequence, as shown by a path indicated by a dotted line in the figure, the target file can be simultaneously shared to contacts in APP3, APP6, and APP 16.
Therefore, the target object is dragged to move through the fourth input and passes through the display area corresponding to the program interface of at least one application program to be shared, so that the multiple application programs can be selected quickly, and the operation is simpler and quicker when the multiple application programs share files simultaneously.
In addition, after the step of moving the target object to the target positions associated with the M display areas for display is performed, the file sharing method provided in the embodiment of the present application may further include:
receiving a fifth input of the target object by the user;
in response to a fifth input, displaying at least one file sharing option;
receiving a sixth input of a target sharing option in the at least one file sharing option from the user;
accordingly, the step 260 may include:
and responding to a sixth input, and sharing the target file to the sharing object of the application program indicated by the target sharing option.
Here, the fifth input may be a click input of the user on the target object, for example, a click input of the target file identifier displayed at the stop, through which a corresponding file sharing menu may be displayed, and then one or more application programs that need to be file-shared are selected based on the file sharing menu, so as to implement the final selection of the application programs. At least one file sharing option, such as a sharing option for each application program, all sharing options, and the like, may be displayed in the file sharing menu. In addition, the target sharing option may be a sharing option selected by the user, and the sixth input may be a selection input of the user on the target sharing option in the file sharing menu.
In a specific example, as shown in fig. 11, when the user clicks the file identifier 121 of the file a, the file sharing menu 65 may pop up, where the file sharing menu includes a sharing option 651 for all sharing, a sharing option 652 for sharing to APP6, and a sharing option 653 for sharing to APP16, and at this time, if the sharing option 651 is clicked, the file is shared to contacts in APP6 and APP16 at the same time; if the 6-sharing option 652 is clicked, determining to share the a file to the contact in the APP 6; if the share 16 option 653 is clicked, it is determined to share the a-file to the contact in APP 16.
Therefore, the user can easily share the target file to the plurality of application programs through the selection operation of the sharing option, and the file sharing operation aiming at the plurality of application programs at the same time can be further simplified.
To better describe the whole scheme, based on the above various embodiments, as a specific example, as shown in fig. 12, the file sharing method may include steps 1201-1213, which are explained in detail below.
In one specific example, the user downloads the a-file at APP1, and the file icon of the a-file is displayed at the lower part of the display interface.
Step 1202, receive a long press and slide input for a file icon.
In one specific example, the user long-presses the file icon of the a-file, generates a floating icon, and then slides.
In a specific example, after the user presses the file icon of the file a for a long time, if the user slides upwards, step 1204 is executed; if sliding down, go to step 1205.
At step 1204, the file is opened.
In a specific example, after a user presses the file icon of the file a for a long time, the user slides upwards without loosing hands to open the file a.
In a specific example, after a user presses the file icon of the file a for a long time, the user slides downwards without loosing his hand, and a desktop display interface is displayed. And dragging the floating icon of the file a to a rectangular selection frame at the upper right corner of the display interface, and entering an APP multi-selection mode at the moment.
And step 1206, moving the file icon to a selection frame of the desktop display interface according to the sliding input, and starting a multi-selection mode.
In a specific example, when the user clicks and selects APP6 and APP16, the display interface is divided into two display areas, namely, a contact interface of APP6 and a contact interface of APP16 are displayed respectively. The file icon of the file stays at the boundary of the two display areas.
And step 1208, receiving click input aiming at the operation button in the file icon, and displaying the file sharing menu.
In a specific example, clicking an operation button on a file icon of a file displays a file sharing menu, where the menu includes: a 6 share option, a 16 share option, and a share option.
In a specific example, the user may click on one of the 6 share option, the 16 share option, and the share option to select.
In a specific example, if the user clicks the 6 sharing option, that is, the type of the target operation option is the 6 sharing option, step 1211 is executed; if the user clicks the 16 sharing options, that is, the type of the target operation option is the 16 sharing option, execute step 1212; if the user clicks the sharing option, that is, the type of the target operation option is the sharing option, step 1213 is executed.
In one specific example, the user clicks on the share 6 option to share the a file to APP 6.
At step 1212, share to APP 16.
In one specific example, the user clicks 16 the share option to share the a file to APP 16.
In one specific example, the user clicks on the share option to share the a file to both APP6 and APP 16.
Therefore, through the process, the user can share the file downloaded from one application program to a plurality of other application programs simultaneously, and does not need to click a plurality of other application programs to share respectively, so that the operation process can be simplified, and the method is more convenient and efficient.
It should be noted that the application scenarios described in the embodiment of the present disclosure are for more clearly illustrating the technical solutions of the embodiment of the present disclosure, and do not constitute a limitation on the technical solutions provided in the embodiment of the present disclosure, and as a new application scenario appears, a person skilled in the art may know that the technical solutions provided in the embodiment of the present disclosure are also applicable to similar technical problems.
Based on the same inventive concept, the application also provides a file sharing device. The following describes the file sharing apparatus provided in this embodiment in detail with reference to fig. 13.
Fig. 13 is a block diagram illustrating a structure of a file sharing apparatus according to an exemplary embodiment.
As shown in fig. 13, the file sharing apparatus 1300 may include:
a first receiving module 1301, configured to receive a first input of a target file identifier by a user, where the target file identifier is used to indicate a target file, and the target file is a file of a first application;
a first display module 1302, configured to display a first interface in response to the first input, where the first interface includes N application icons;
the control display module 1303 is configured to display an icon selection control in an area associated with each application icon when the target object moves to a preset area along with the input track of the first input; the target object is the target file identifier or a suspension identifier generated based on the target file identifier; n, M is an integer greater than 1, M is less than or equal to N;
a second receiving module 1304, configured to receive a second input to the M icon selection controls from the user;
a second display module 1305, configured to display program interfaces of the M applications in response to the second input;
the sharing module 1306 is configured to share the target file based on the program interfaces of the M applications.
The following describes the file sharing apparatus 1300 in detail, specifically as follows:
in one embodiment, the second display module 1305 may specifically include:
and the split-screen display sub-module is used for respectively displaying the program interfaces of the M application programs in the M display areas.
In one embodiment, the file sharing apparatus 1300 described above may further include:
and the third display module is used for moving the target object to the target positions associated with the M display areas for display after receiving second input of the M icon selection controls from the user.
In one embodiment, the file sharing apparatus 1300 described above may further include:
a third receiving module, configured to receive a third input to the target object by a user after the target object is moved to the target positions associated with the M display areas for display, where the third input is a sliding input in a target direction;
accordingly, the sharing module 1306 may specifically include:
and the first sharing submodule is used for responding to the third input and sharing the target file to a sharing object of the application program in the display area pointed by the target direction.
In one embodiment, the file sharing apparatus 1300 described above may further include:
a fourth receiving module, configured to receive a fourth input that a user drags the target object after moving the target object to the target positions associated with the M display areas for display;
an object moving module, configured to move the target object and pass through the T display areas in sequence in response to the fourth input;
accordingly, the sharing module 1306 may specifically include:
the second sharing submodule is used for sharing the target file to a sharing object of the application program in the T display areas;
wherein T is a positive integer and is less than or equal to M.
In one embodiment, the file sharing apparatus 1300 described above may further include:
a fifth receiving module, configured to receive a fifth input to the target object by the user after moving the target object to the target positions associated with the M display areas for display;
the fourth display module is used for responding to the fifth input and displaying at least one file sharing option;
a sixth receiving module, configured to receive a sixth input of a target sharing option in the at least one file sharing option from the user;
accordingly, the sharing module 1306 may specifically include:
and the third sharing submodule is used for responding to the sixth input and sharing the target file to the sharing object of the application program indicated by the target sharing option.
Therefore, the file identification of the target file in the first application program is subjected to first input, and then in a displayed first interface, under the condition that the control target object moves to a preset area along with the input track of the first input, a multi-selection mode of the application program can be started, so that a user can select multiple application programs to share the target file, the user does not need to locate a folder stored in the target file, the target file identification or a suspension identification generated by the target file identification can be simply dragged in the first application program, the file sharing across multiple application programs is realized, and the operation process of the user can be simplified.
The file sharing device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), and the embodiments of the present application are not particularly limited.
The file sharing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The file sharing device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 2 to 12, and is not described here again to avoid repetition.
Optionally, as shown in fig. 14, an electronic device 1400 is further provided in the embodiment of the present application, and includes a processor 1401, a memory 1402, and a program or an instruction stored in the memory 1402 and executable on the processor 1401, where the program or the instruction is executed by the processor 1401 to implement each process of the file sharing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 15 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1500 includes, but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a memory 1509, and a processor 1510.
Those skilled in the art will appreciate that the electronic device 1500 may also include a power supply (e.g., a battery) for powering the various components, which may be logically coupled to the processor 1510 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 15 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the user input unit 1507 is configured to receive a first input of the target file identifier from the user;
a display unit 1506 configured to display a first interface in response to a first input; and displaying a second interface of a second application program under the condition that the target object moves to the first area along with the input track of the first input;
the processor 1510 shares the target file based on the second interface.
Therefore, the target file can be shared across the application programs by simply dragging the target file identifier or the generated suspension identifier to other application programs in the first application program without positioning the target file to a folder stored in the target file by a user under the condition that the control target object moves to the display area corresponding to the second application program icon along with the input track of the first input in the displayed first interface, opening the second application program, displaying the second interface corresponding to the second application program, and sharing the target file based on the second interface, so that the user can simplify the user operation process.
Optionally, the display unit 1506 is specifically configured to, in a case that an input direction of the first input is a preset direction, respond to the first input and display the first interface.
Optionally, the processor 1510 is specifically configured to share the target file to the T contacts selected by the first input.
Optionally, the processor 1510 is further configured to share the target file with the contacts in the second area.
Optionally, the processor 1510 is further configured to share the target file with the T contacts through which the first input movement trajectory passes.
Optionally, the display unit 1506 is further specifically configured to display a contact selection control in an area associated with each contact information display area when the first input meets a preset condition;
the user input unit 1507 is further configured to specifically receive a second input of the user to the T contact selection controls;
the processor 1510 is further specifically configured to, in response to the second input, share the target file to T contacts in the T contact information display areas associated with the T contact selection controls.
Optionally, the display unit 1506 is further specifically configured to move the target object to a third area for displaying.
Optionally, the user input unit 1507 is further configured to receive a third input of the user to the target object;
the display unit 1506 is specifically further configured to display at least one operation option in response to a third input;
the user input unit 1507 is further configured to receive a fourth input of the user on a target operation option in the at least one operation option;
the processor 1510 is further specifically configured to perform a target process on the target file in response to the fourth input.
Therefore, the target file in the first application program can be shared to one or more contacts in one or more application programs through touch and sliding input of the user on the relevant identification of the target file, so that the file sharing operation process of multiple application programs is simplified, and the interaction experience of the user is improved.
It should be understood that in the embodiment of the present application, the input Unit 1504 may include a Graphics Processing Unit (GPU) 15041 and a microphone 15042, and the Graphics processor 15041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1507 includes a touch panel 15071 and other input devices 15072. A touch panel 15071, also referred to as a touch screen. The touch panel 15071 may include two parts of a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1509 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the file sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, so as to implement each process of the above file sharing method embodiment, and achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (14)
1. A file sharing method is characterized by comprising the following steps:
receiving first input of a user to an object file identifier, wherein the object file identifier is used for indicating an object file, and the object file is a file of a first application program;
displaying a first interface in response to the first input, wherein the first interface comprises N application icons;
under the condition that the target object moves to a preset area along with the input track of the first input, displaying an icon selection control in an area associated with each application program icon; the target object is the target file identifier or a suspension identifier generated based on the target file identifier; n, M is an integer greater than 1, M is less than or equal to N;
receiving second input of the user to the M icon selection controls;
displaying program interfaces of the M application programs in response to the second input;
and sharing the target file based on the program interfaces of the M application programs.
2. The method of claim 1, wherein displaying the program interfaces of the M applications comprises:
and respectively displaying program interfaces of the M application programs in the M display areas.
3. The method of claim 2, wherein after receiving a second user input of the M icon selection controls, further comprising:
and moving the target object to the target positions associated with the M display areas for display.
4. The method of claim 3, wherein after moving the target object to the target location associated with the M display regions for display, further comprising:
receiving a third input of the target object by the user, wherein the third input is a sliding input of a target direction;
the sharing the target file based on the program interfaces of the M application programs comprises:
responding to the third input, and sharing the target file to a sharing object of the application program in the display area pointed by the target direction.
5. The method of claim 3, wherein after moving the target object to the target location associated with the M display regions for display, further comprising:
receiving a fourth input that the user drags the target object;
moving the target object through the T display areas in sequence in response to the fourth input;
the sharing of the target file by the program interface based on the M application programs includes:
sharing the target file to a sharing object of an application program in the T display areas;
wherein T is a positive integer and is less than or equal to M.
6. The method of claim 3, wherein after moving the target object to the target location associated with the M display regions for display, further comprising:
receiving a fifth input of the target object by the user;
displaying at least one file sharing option in response to the fifth input;
receiving a sixth input of a target sharing option in the at least one file sharing option from a user;
the sharing of the target file by the program interface based on the M application programs includes:
responding to the sixth input, and sharing the target file to a sharing object of the application program indicated by the target sharing option.
7. A file sharing apparatus, comprising:
the system comprises a first receiving module, a first display module and a second receiving module, wherein the first receiving module is used for receiving first input of a target file identifier by a user, the target file identifier is used for indicating a target file, and the target file is a file of a first application program;
a first display module, configured to display a first interface in response to the first input, where the first interface includes N application icons;
the control display module is used for displaying an icon selection control in the area associated with each application program icon under the condition that the target object moves to a preset area along with the input track of the first input; the target object is the target file identifier or a suspension identifier generated based on the target file identifier; n, M is an integer greater than 1, M is less than or equal to N;
the second receiving module is used for receiving second input of the user to the M icon selection controls;
the second display module is used for responding to the second input and displaying program interfaces of the M application programs;
and the sharing module is used for sharing the target file based on the program interfaces of the M application programs.
8. The apparatus of claim 7, wherein the second display module comprises:
and the split-screen display sub-module is used for respectively displaying the program interfaces of the M application programs in the M display areas.
9. The apparatus of claim 8, further comprising:
and the third display module is used for moving the target object to the target positions associated with the M display areas for display after receiving second input of the M icon selection controls from the user.
10. The apparatus of claim 9, further comprising:
a third receiving module, configured to receive a third input to the target object by a user after the target object is moved to the target positions associated with the M display areas for display, where the third input is a sliding input in a target direction;
the sharing module comprises:
and the first sharing submodule is used for responding to the third input and sharing the target file to a sharing object of the application program in the display area pointed by the target direction.
11. The apparatus of claim 9, further comprising:
a fourth receiving module, configured to receive a fourth input that a user drags the target object after moving the target object to the target positions associated with the M display areas for display;
an object moving module, configured to move the target object and pass through the T display areas in sequence in response to the fourth input;
the sharing module comprises:
the second sharing submodule is used for sharing the target file to a sharing object of the application program in the T display areas;
wherein T is a positive integer and is less than or equal to M.
12. The apparatus of claim 9, further comprising:
a fifth receiving module, configured to receive a fifth input to the target object by the user after moving the target object to the target positions associated with the M display areas for display;
the fourth display module is used for responding to the fifth input and displaying at least one file sharing option;
a sixth receiving module, configured to receive a sixth input of a target sharing option in the at least one file sharing option from the user;
the sharing module comprises:
and the third sharing submodule is used for responding to the sixth input and sharing the target file to the sharing object of the application program indicated by the target sharing option.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the file sharing method according to any one of claims 1 to 6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the file sharing method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110343750.9A CN113452744B (en) | 2021-03-30 | 2021-03-30 | File sharing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110343750.9A CN113452744B (en) | 2021-03-30 | 2021-03-30 | File sharing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113452744A true CN113452744A (en) | 2021-09-28 |
CN113452744B CN113452744B (en) | 2023-06-09 |
Family
ID=77809439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110343750.9A Active CN113452744B (en) | 2021-03-30 | 2021-03-30 | File sharing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113452744B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114356164A (en) * | 2022-01-05 | 2022-04-15 | 维沃移动通信有限公司 | Sharing method and sharing device |
CN114416681A (en) * | 2022-01-17 | 2022-04-29 | 维沃移动通信(杭州)有限公司 | File sharing method and electronic equipment |
CN114979124A (en) * | 2022-07-28 | 2022-08-30 | 天津联想协同科技有限公司 | File sharing method and device based on AR technology, terminal and storage medium |
CN115309309A (en) * | 2022-08-17 | 2022-11-08 | 维沃移动通信有限公司 | Content sharing method and device, electronic equipment and medium |
CN115412522A (en) * | 2022-08-26 | 2022-11-29 | 维沃移动通信有限公司 | Content sharing method and device, electronic equipment and readable storage medium |
WO2024109731A1 (en) * | 2022-11-25 | 2024-05-30 | 维沃移动通信有限公司 | Content sharing method and apparatus, electronic device, and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110321044A (en) * | 2019-04-25 | 2019-10-11 | 维沃移动通信有限公司 | Sharing files method and terminal |
CN110851051A (en) * | 2019-10-28 | 2020-02-28 | 维沃移动通信有限公司 | Object sharing method and electronic equipment |
CN111061574A (en) * | 2019-11-27 | 2020-04-24 | 维沃移动通信有限公司 | Object sharing method and electronic equipment |
CN111092990A (en) * | 2019-12-05 | 2020-05-01 | 维沃移动通信有限公司 | Application program sharing method and electronic equipment |
CN112486385A (en) * | 2020-11-30 | 2021-03-12 | 维沃移动通信有限公司 | File sharing method and device, electronic equipment and readable storage medium |
-
2021
- 2021-03-30 CN CN202110343750.9A patent/CN113452744B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110321044A (en) * | 2019-04-25 | 2019-10-11 | 维沃移动通信有限公司 | Sharing files method and terminal |
CN110851051A (en) * | 2019-10-28 | 2020-02-28 | 维沃移动通信有限公司 | Object sharing method and electronic equipment |
CN111061574A (en) * | 2019-11-27 | 2020-04-24 | 维沃移动通信有限公司 | Object sharing method and electronic equipment |
CN111092990A (en) * | 2019-12-05 | 2020-05-01 | 维沃移动通信有限公司 | Application program sharing method and electronic equipment |
CN112486385A (en) * | 2020-11-30 | 2021-03-12 | 维沃移动通信有限公司 | File sharing method and device, electronic equipment and readable storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114356164A (en) * | 2022-01-05 | 2022-04-15 | 维沃移动通信有限公司 | Sharing method and sharing device |
CN114416681A (en) * | 2022-01-17 | 2022-04-29 | 维沃移动通信(杭州)有限公司 | File sharing method and electronic equipment |
CN114979124A (en) * | 2022-07-28 | 2022-08-30 | 天津联想协同科技有限公司 | File sharing method and device based on AR technology, terminal and storage medium |
CN115309309A (en) * | 2022-08-17 | 2022-11-08 | 维沃移动通信有限公司 | Content sharing method and device, electronic equipment and medium |
CN115412522A (en) * | 2022-08-26 | 2022-11-29 | 维沃移动通信有限公司 | Content sharing method and device, electronic equipment and readable storage medium |
CN115412522B (en) * | 2022-08-26 | 2024-09-06 | 维沃移动通信有限公司 | Content sharing method and device, electronic equipment and readable storage medium |
WO2024109731A1 (en) * | 2022-11-25 | 2024-05-30 | 维沃移动通信有限公司 | Content sharing method and apparatus, electronic device, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113452744B (en) | 2023-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113452744B (en) | File sharing method, device, equipment and storage medium | |
CN113055525A (en) | File sharing method, device, equipment and storage medium | |
CN111857513B (en) | Background program control method and device and electronic equipment | |
CN107422934A (en) | The method to set up and electronic equipment of a kind of icon | |
KR20130093043A (en) | Method and mobile device for user interface for touch and swipe navigation | |
CN113126838A (en) | Application icon sorting method and device and electronic equipment | |
CN112558851B (en) | Object processing method, device, equipment and readable storage medium | |
CN113703624A (en) | Screen splitting method and device and electronic equipment | |
CN112540740A (en) | Split screen display method and device, electronic equipment and readable storage medium | |
CN112269506B (en) | Screen splitting method and device and electronic equipment | |
CN113253883A (en) | Application interface display method and device and electronic equipment | |
CN113360062A (en) | Display control method and device, electronic equipment and readable storage medium | |
CN113342232A (en) | Icon generation method and device, electronic equipment and readable storage medium | |
CN112083854A (en) | Application program running method and device | |
CN114117263A (en) | Page display method, device, equipment and storage medium | |
CN112433693B (en) | Split screen display method and device and electronic equipment | |
CN112188001B (en) | Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium | |
CN113268182A (en) | Application icon management method and electronic equipment | |
CN112783408A (en) | Gesture navigation method and device of electronic equipment, equipment and readable storage medium | |
CN114415886A (en) | Application icon management method and electronic equipment | |
CN112399010B (en) | Page display method and device and electronic equipment | |
CN113407075A (en) | Icon sorting method and device and electronic equipment | |
CN111638828A (en) | Interface display method and device | |
CN113342222B (en) | Application classification method and device and electronic equipment | |
CN113325986B (en) | Program control method, program control device, electronic device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |