CN112286887A - File sharing method and device and electronic equipment - Google Patents

File sharing method and device and electronic equipment Download PDF

Info

Publication number
CN112286887A
CN112286887A CN202011191724.0A CN202011191724A CN112286887A CN 112286887 A CN112286887 A CN 112286887A CN 202011191724 A CN202011191724 A CN 202011191724A CN 112286887 A CN112286887 A CN 112286887A
Authority
CN
China
Prior art keywords
lists
chat interface
target
list
input
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.)
Pending
Application number
CN202011191724.0A
Other languages
Chinese (zh)
Inventor
朱宗伟
唐义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011191724.0A priority Critical patent/CN112286887A/en
Publication of CN112286887A publication Critical patent/CN112286887A/en
Priority to PCT/CN2021/127284 priority patent/WO2022089568A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Abstract

The application discloses a file sharing method, a file sharing device and electronic equipment, wherein the method comprises the following steps: displaying N lists under the condition that first input is received in a first chat interface, wherein the N lists are lists created based on history shared files, and N is a positive integer; and under the condition of receiving second input of the N lists, sending a target file to the contact persons contained in the first chat interface, wherein the target file is part or all of the N lists. In the embodiment of the application, N lists created based on the history sharing files can be displayed, and part or all of the files in the N lists are sent to the contacts contained in the chat interface. Therefore, when the user shares files with another user, the shared files can be directly selected in the chat interface. Therefore, the file sharing method and the file sharing device improve the file sharing convenience.

Description

File sharing method and device and electronic equipment
Technical Field
The application belongs to the technical field of information processing, and particularly relates to a file sharing method and device and electronic equipment.
Background
With the development of social network services, people are more and more inclined to use social software such as microblogs, WeChats and QQQ for instant messaging.
In the process of implementing the application, the inventor finds that in the prior art, at least the following problem exists, when a user shares a file to another user by using social software on a mobile terminal, the user needs to select a corresponding file and then shares the selected file to another user. There is a case where the user a has already shared a file with the user B, and if the user a wants to share the file to the user C, the user a needs to select the file again in the mobile terminal and then share the file to the user C. Under the circumstance, the user A needs to select the shared file again in the mobile terminal, so that the file sharing operation is complicated, and the file sharing mode is not convenient enough.
Disclosure of Invention
The embodiment of the application aims to provide a file sharing method, a file sharing device and electronic equipment, and the problem that an existing file sharing mode is not convenient enough can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a file sharing method, including:
under the condition that a first input is received in a first chat interface, displaying N lists, wherein the N lists are created based on history shared files, and N is a positive integer;
and under the condition of receiving second input of the N lists, sending a target file to a contact contained in the first chat interface, wherein the target file is part or all files in the N lists.
In a second aspect, an embodiment of the present application provides a file sharing apparatus, which includes:
the first display module is used for displaying the N lists under the condition that first input is received in the first chat interface;
and the sending module is used for sending the target file to the contact contained in the first chat interface under the condition of receiving second input of the N lists.
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, N lists created based on the history sharing files can be displayed, and part or all of the files in the N lists are sent to the contacts contained in the chat interface. Therefore, when the user shares files with another user, the shared files can be directly selected in the chat interface. Therefore, the file sharing method and the file sharing device improve the file sharing convenience.
Drawings
Fig. 1 is a flowchart of a file sharing method according to an embodiment of the present disclosure;
fig. 2 is a schematic view of an application scenario of a file sharing method according to an embodiment of the present disclosure;
fig. 3 is a schematic view of another application scenario of the file sharing method according to the embodiment of the present application;
fig. 4 is a schematic view of another application scenario of the file sharing method according to the embodiment of the present application;
fig. 5 is a schematic view of another application scenario of the file sharing method according to the embodiment of the present application;
fig. 6 is a structural diagram of a file sharing apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. 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.
The following describes the detection provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 1, in a case of sharing a picture by using a first sharing mode, fig. 1 is a flowchart of a file sharing method according to an embodiment of the present disclosure.
The file sharing method provided by the embodiment comprises the following steps:
step 101, the mobile terminal displays N lists under the condition that a first input is received in a first chat interface;
the file sharing method provided by the embodiment of the invention is applied to the process that a user shares files with another user or a plurality of other users by using the mobile terminal. The file may be a multimedia file, or may be a picture, an audio, a video, etc., and for the purpose of elaborating the technical solution, the following contents are explained by taking the file as a picture as an example.
It should be noted that, in the process of sharing a picture with another user, the user needs to select a sharing mode first, and for different sharing modes, the user shares a file with another user in different manners. The sharing mode comprises but is not limited to a first sharing mode and a second sharing mode, and under the condition that the user selects the first sharing mode, the mobile terminal displays a corresponding first chat interface; and under the condition that the user selects the second sharing mode, the mobile terminal displays a corresponding second chat interface.
The first sharing mode can be an intelligent list display mode, when a user shares pictures in the first sharing mode, N lists created based on files shared in history are displayed at preset positions of a first chat interface, N is a positive integer, and specific numerical values of N can be preset.
The second sharing mode may be a default picture selection mode, and when the user shares pictures in the second sharing mode, the user needs to select a corresponding picture in an album of the mobile terminal and send the selected picture to another user.
The first chat interface is a display interface corresponding to the first sharing mode, and the first chat interface at least comprises one contact; the first input may be a sharing instruction input by a user. In an optional manner, the user may touch a first preset position in the first chat interface, so that the mobile terminal receives the sharing instruction. Another optional mode is that after the user presses a first preset position of the first chat interface for a preset duration, the mobile terminal receives the sharing instruction.
In an embodiment, the mobile terminal displays N lists at a second preset position of the first chat interface when receiving the sharing instruction. The N lists are created based on history shared files, that is, the lists at least include one picture shared by the user, wherein a first preset position and a second preset position in the chat interface may be the same or different, and as a preferred scheme, the first preset position and the second preset position are set at different positions of the chat interface.
And 102, under the condition that the mobile terminal receives second input of the N lists, sending the target file to the contact person contained in the first chat interface.
The pictures contained in the list may be sent to the contact in two ways. In one way, the user may select a list and drag the list to a third predetermined location in the chat interface, thereby sending all pictures in the list to the contacts. Optionally, the user may select a list, and drag a part of the pictures in the list to a third preset position in the chat interface, so as to send the part of the pictures in the list to the contact.
It should be noted that N lists are displayed at the second preset position in the chat interface, and since the user just drags the list to the third preset position in the chat interface to send all pictures in the list to the contact, the third preset position and the second preset position are at different positions of the chat interface. And under the condition that the first preset position and the second preset position are the same, the third preset position and the first preset position are also at different positions of the chat interface.
Alternatively, after selecting a list, the user may click on a fourth preset location in the chat interface to send all pictures in the list to the contacts. Optionally, after selecting a part of pictures in a list, the user may click on a fourth preset position in the chat interface to send the selected part of pictures to the contact.
The fourth preset position and the third preset position in the chat interface may be the same or different, and when the third preset position and the fourth preset position are the same, the fourth preset position and the second preset position are set to be at different positions of the chat interface based on the same reason.
In the embodiment, a user can send all or part of the pictures in the list through simple dragging or clicking operation, so that batch sending of the pictures is realized, and the pictures do not need to be selected one by one for sending. Therefore, the operation steps of the user in the file sharing process are simplified, and the file sharing is more convenient and faster.
In the embodiment of the application, N lists created based on the history sharing files can be displayed, and part or all of the files in the N lists are sent to the contacts contained in the chat interface. Therefore, when the user shares files with another user, the shared files can be directly selected in the chat interface. Therefore, the file sharing method and the file sharing device improve the file sharing convenience.
Optionally, in step 101, the displaying N lists includes:
the mobile terminal displays the N lists and first target information associated with each list, wherein the first target information comprises at least one of the following items:
target contacts corresponding to the files in the list;
characteristic information representing the contents of the list.
The target contact is a contact corresponding to all pictures in the list, for example, the pictures displayed in the list 1 are pictures shared with the user a, and the target contact corresponding to the list 1 is the user a.
The characteristic information may be content represented by pictures in the list, for example, if 3 pictures are included in the list 1, which are all character pictures, the characteristic information corresponding to the list 1 is a character.
In this embodiment, the first chat interface may display N lists and target contacts associated with each list; alternatively, the first chat interface may display N lists and characteristic information associated with each list; alternatively, the first chat interface may display N lists and target contact and feature information associated with each list.
In a case where the first chat interface displays N lists and target contacts and feature information associated with each list, the ordering of the N lists may be determined according to the sending time of the historically shared pictures to the target contacts, and each list may be numbered according to the ordering of the lists.
In an embodiment, each list is sorted in a first order according to the sending time of the pictures, wherein the first order is from a nearest sending time to a farthest sending time.
For example, please refer to fig. 2, and fig. 2 is a scene diagram illustrating a file sharing method according to an embodiment of the present disclosure. As shown in the figure, the target contact is a, the first chat interface includes 3 lists, where the list 1 is a character graph shared with the user a, and the list 1 includes 3 pictures; the list 2 is a landscape picture shared by the user a, and the list 2 contains 9 pictures; the list 3 is a building diagram shared by the user a, and the list 3 includes 6 pictures. Further, the pictures which are recently shared by the user to the target contact persons are character pictures, and the pictures which are furthest shared by the user to the target contact persons are building pictures.
In another embodiment, each list is ordered in a second order based on the transmission time of the pictures, wherein the second order is from a farthest transmission time to a nearest transmission time.
In this embodiment, the displayed list is sorted according to the target contact and/or the feature information corresponding to the list, and a user can determine which list the pictures sent to the target contact belong to according to the target contact and/or the feature information corresponding to the list, without inquiring the pictures contained in the list one by one, so that convenience in file sharing is improved.
Optionally, in step 101, the displaying N lists includes:
the mobile terminal displays N1 first lists and N2 second lists;
the first list is a list shared by contacts contained in the first chat interface, the second list is a list shared by contacts not contained in the first chat interface, both N1 and N2 are natural numbers, the sum of N1 and N2 is equal to N, and when both N1 and N2 are greater than 0, the arrangement sequence of the N1 first lists is located before the N2 second lists.
In this embodiment, the first chat interface may further display N2 second lists shared with contacts that are not included in the first chat interface.
In one case, the N2 lists may be a second list that was shared with a contact not included in the first chat interface.
For example, please refer to fig. 3, wherein fig. 3 is a schematic view of a scene of a file sharing method according to an embodiment of the present disclosure. As shown, the first chat interface includes contacts as contact a, and the first chat interface displays 4 lists. Where lists 1 and 2 are shared lists with contact a, and lists 3 and 4 are shared lists with contact B, which is not included in the first chat interface.
Alternatively, the N2 lists may be a second list shared with a plurality of contacts not included in the first chat interface.
For example, please refer to fig. 4, and fig. 4 is a schematic view illustrating another scenario of the file sharing method according to the embodiment of the present application. As shown, the first chat interface includes contacts as contact a, and the first chat interface displays 4 lists. List 1 and list 2 are lists shared with contact a, list 3 is a list shared with contact B, which is not included in the first chat interface, and list 4 is a list shared with contact C, which is not included in the first chat interface.
In the embodiment, under the condition that the first chat interface displays the list shared by the plurality of contacts, the list shared by the contacts included in the first chat interface is sorted first, so that files related to the contacts included in the first chat interface can be selected without inquiring the list one by one, and the complicated operation of file sharing is simplified.
Further, in step 101, when the first input is received in the first chat interface, N lists are displayed, including:
the mobile terminal receives information input aiming at the search input box on a first chat interface;
the mobile terminal responds to the information input and determines second target information input by the search input box, wherein the second target information comprises target contact persons or characteristic information;
the mobile terminal acquires N lists associated with the second target information;
the mobile terminal displays the N lists.
In an embodiment, the first input may be an information input. Alternatively, the user inputs text information as the information input in the search input box of the first chat interface, so that the terminal determines the text information input in the search input box by the user as the second target information in response to the information input.
The text information input by the user can be target contact persons and/or characteristic information, N lists which are related to the target contact persons and/or the characteristic information input by the user in the N lists displayed on the first chat interface are obtained, and the N lists are displayed.
For example, referring to fig. 4, as shown, the target contact in list 1 is a, and the characteristic information is a person; the target contact in the list 2 is A, and the feature information is scenery; the target contact in the list 3 is B, and the characteristic information is a person; the target contact in list 4 is C and the characteristic information is a person. In the case where the text information input by the user is "contact B", the first chat interface displays only list 3.
For another example, in the above example, if the text information input by the user is "landscape", the first chat interface displays only list 2.
Alternatively, the user inputs voice information as information input in a search input box of the first chat interface, so that the terminal responds to the information input, converts the voice information input in the search input box by the user into text information, and determines the text information as second target information, wherein the voice conversion can be performed by using a preset voice recognition tool.
In the above embodiment, the mobile terminal receives information input for the search input box in the first chat interface, determines the second target information according to the information input, and further displays N lists associated with the second target information. In this way, the user can input corresponding information in the search input box, further filter the list displayed by the first chat interface, and send the list which best meets the conditions to the contact person.
It should be noted that, after the user sends the picture to the contact, the user may click a fifth preset position in the chat interface to add the picture, and drag the added picture to a third preset position in the chat interface, or click a fourth preset position in the chat interface to send the added picture to the contact. After the new picture is sent to the contact person, the mobile terminal adds a list, and the list comprises the new picture.
Further, in step 101, when the first input is received in the first chat interface, N lists are displayed, including:
under the condition that the first chat interface comprises at least two contacts, the mobile terminal receives touch input aiming at a target contact in the first chat interface;
the mobile terminal responds to touch input and acquires N lists associated with the target contact;
the mobile terminal displays the N lists.
The first chat interface comprises at least two contacts, and indicates that the user is chatting with a plurality of contacts simultaneously, so that the first chat interface is a group chat interface. The touch input for the target contact may be a touch input for an avatar of the target contact in the group chat interface, or a touch input for a name of the target contact in the group chat interface.
After receiving the touch input, the mobile terminal displays N lists associated with the target contact, where the N lists may be vertically arranged in the first chat interface, may also be horizontally arranged in the first chat interface, and may also be sorted in other manners in the first chat interface.
For example, please refer to fig. 5, fig. 5 is a schematic view illustrating a further scenario of the file sharing method according to the embodiment of the present application. As shown, the user may click on the avatar of contact a, and the first chat interface displays 3 vertically arranged lists, list 1, list 2, and list 3, respectively. Wherein, list 1 contains a person graph shared with contact a; list 2 contains a view graph shared with contact a; list 3 contains the building graph shared with contact a.
In the embodiment, the user can query the list associated with the target contact person through simple operation, so that the query steps are simplified, and the convenience of file sharing is improved.
Optionally, the file sharing further includes:
the mobile terminal displays M files sent to the contact person in a second chat interface, wherein M is a positive integer;
the mobile terminal receives a third input aiming at a target file in the second chat interface, wherein the target file is at least part of the M files;
and the mobile terminal responds to the third input and creates a list corresponding to the target file, wherein the list corresponding to the target file is one of the N lists.
It should be understood that the second chat interface is a display interface corresponding to the second sharing mode, and when the user shares pictures in the second sharing mode, the user needs to select corresponding pictures from an album of the mobile terminal and send the selected pictures to another user.
The above step is a list creation process, for example, if the user sends 5 pictures to the contact a in the second chat interface, the user may select 3 pictures of the 5 pictures as the target picture by touching the display screen of the mobile terminal, and create the list according to the target picture in the first chat interface. The list comprises 3 target pictures, and the target contact person corresponding to the list is a contact person A.
As shown in fig. 6, the file sharing apparatus 200 includes:
a first display module 201, configured to display the N lists when a first input is received in the first chat interface;
a sending module 202, configured to send the target file to the contact included in the first chat interface when receiving the second input to the N lists.
Optionally, the first display module is further configured to display the N lists and the first target information associated with each of the lists.
Optionally, the first display module 201 includes:
a first receiving unit, configured to receive an information input for a search input box in the first chat interface;
a determination unit configured to determine second target information input by the search input box in response to the information input;
a first acquisition unit configured to acquire N lists associated with the second target information;
and the first display unit is used for displaying the N lists.
Optionally, the first display module 201 further includes:
a second receiving unit, configured to receive a touch input for a target contact in the first chat interface when the first chat interface includes at least two contacts;
a second obtaining unit, configured to obtain, in response to the touch input, N lists associated with the target contact;
and the second display unit is used for displaying the N lists.
Optionally, the first display module 201 is further configured to:
n1 first lists and N2 second lists are displayed.
Optionally, the file sharing apparatus 200 further includes:
the second display module is used for displaying the M files sent to the contact person in a second chat interface;
the receiving module is used for receiving third input aiming at the target file in the second chat interface;
and the creating module is used for responding to the third input and creating a list corresponding to the target file.
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 can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top 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 like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, 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 file sharing method in the method embodiment of fig. 1, and is not repeated here to avoid repetition.
In the embodiment of the application, N lists created based on the history sharing files can be displayed, and part or all of the files in the N lists are sent to the contacts contained in the chat interface. Therefore, when the user shares files with another user, the shared files can be directly selected in the chat interface. Therefore, the file sharing method and the file sharing device improve the file sharing convenience.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 310, a memory 309, and a program or an instruction stored in the memory 309 and capable of being executed on the processor 310, where the program or the instruction is executed by the processor 310 to implement each process of the above-mentioned file sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, and processor 310.
Those skilled in the art will appreciate that the electronic device 300 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 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 processor 310 is configured to display the N lists when the first input is received in the first chat interface;
and under the condition of receiving second input of the N lists, sending a target file to a contact contained in the first chat interface.
In the embodiment of the application, N lists created based on the history sharing files can be displayed, and part or all of the files in the N lists are sent to the contacts contained in the chat interface. Therefore, when the user shares files with another user, the shared files can be directly selected in the chat interface. Therefore, the file sharing method and the file sharing device improve the file sharing convenience.
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 to implement each process of the method and embodiment for sharing a file, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated 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 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 method for file sharing, comprising:
under the condition that a first input is received in a first chat interface, displaying N lists, wherein the N lists are created based on history shared files, and N is a positive integer;
and under the condition of receiving second input of the N lists, sending a target file to a contact contained in the first chat interface, wherein the target file is part or all files in the N lists.
2. The method of claim 1, wherein the displaying the N lists comprises:
displaying N lists and first target information associated with each of the lists, the first target information including at least one of:
a target contact corresponding to the file in the list;
characteristic information representing the contents of the list.
3. The method of claim 2, wherein displaying the N lists in the event that the first input is received in the first chat interface comprises:
receiving information input for a search input box at the first chat interface;
in response to the information input, determining second target information input by the search input box, wherein the second target information comprises target contact or characteristic information;
acquiring N lists associated with the second target information;
and displaying the N lists.
4. The method of claim 2, wherein displaying the N lists in the event that the first input is received in the first chat interface comprises:
receiving touch input for a target contact in the first chat interface if the first chat interface comprises at least two contacts;
obtaining N lists associated with the target contact in response to the touch input;
and displaying the N lists.
5. The method of any of claims 1-3, wherein the displaying N lists comprises:
displaying N1 first lists and N2 second lists;
the first list is a list shared by contacts contained in the first chat interface, the second list is a list shared by contacts not contained in the first chat interface, both N1 and N2 are natural numbers, the sum of N1 and N2 is equal to N, and when both N1 and N2 are greater than 0, the arrangement sequence of the N1 first lists is before the N2 second lists.
6. The method of claim 1, further comprising:
displaying M files sent to the contact person in a second chat interface, wherein M is a positive integer;
receiving a third input aiming at a target file in the second chat interface, wherein the target file is at least part of the M files;
and responding to the third input, and creating a list corresponding to the target file, wherein the list corresponding to the target file is one of the N lists.
7. A file sharing apparatus, comprising:
the first display module is used for displaying the N lists under the condition that first input is received in the first chat interface;
and the sending module is used for sending a target file to the contact contained in the first chat interface under the condition of receiving second input of the N lists, wherein the target file is part or all files in the N lists.
8. The file sharing apparatus according to claim 7, wherein the first display module is further configured to display N lists and first target information associated with each of the lists, the first target information including at least one of:
a target contact corresponding to the file in the list;
characteristic information representing the contents of the list.
9. The file sharing apparatus according to claim 8, wherein the first display module comprises:
a first receiving unit, configured to receive an information input for a search input box in the first chat interface;
the determining unit is used for responding to the information input and determining second target information input by the search input box, wherein the second target information comprises target contact or characteristic information;
a first acquisition unit configured to acquire N lists associated with the second target information;
and the first display unit is used for displaying the N lists.
10. The file sharing apparatus according to claim 8, wherein the first display module further comprises:
a second receiving unit, configured to receive a touch input for a target contact in the first chat interface when the first chat interface includes at least two contacts;
a second obtaining unit, configured to obtain, in response to the touch input, N lists associated with the target contact;
and the second display unit is used for displaying the N lists.
11. The file sharing apparatus according to any one of claims 7 to 9, wherein the first display module is further configured to:
displaying N1 first lists and N2 second lists;
the first list is a list shared by contacts contained in the first chat interface, the second list is a list shared by contacts not contained in the first chat interface, both N1 and N2 are natural numbers, the sum of N1 and N2 is equal to N, and when both N1 and N2 are greater than 0, the arrangement sequence of the N1 first lists is before the N2 second lists.
12. The file sharing apparatus according to claim 7, further comprising:
the second display module is used for displaying the M files sent to the contact person in a second chat interface;
the receiving module is used for receiving third input aiming at the target file in the second chat interface;
and the creating module is used for responding to the third input and creating a list corresponding to the target file.
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 method of file sharing according to any one of claims 1-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 method of file sharing according to any one of claims 1-6.
CN202011191724.0A 2020-10-30 2020-10-30 File sharing method and device and electronic equipment Pending CN112286887A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011191724.0A CN112286887A (en) 2020-10-30 2020-10-30 File sharing method and device and electronic equipment
PCT/CN2021/127284 WO2022089568A1 (en) 2020-10-30 2021-10-29 File sharing method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011191724.0A CN112286887A (en) 2020-10-30 2020-10-30 File sharing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112286887A true CN112286887A (en) 2021-01-29

Family

ID=74352894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011191724.0A Pending CN112286887A (en) 2020-10-30 2020-10-30 File sharing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112286887A (en)
WO (1) WO2022089568A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852540A (en) * 2021-09-24 2021-12-28 维沃移动通信有限公司 Information sending method, information sending device and electronic equipment
WO2022089568A1 (en) * 2020-10-30 2022-05-05 维沃移动通信有限公司 File sharing method and apparatus, and electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502684A (en) * 2016-10-25 2017-03-15 珠海市魅族科技有限公司 A kind of method for information display and device
US20180124155A1 (en) * 2016-11-01 2018-05-03 Microsoft Technology Licensing, Llc Network-based group communication and file sharing system
CN110321044A (en) * 2019-04-25 2019-10-11 维沃移动通信有限公司 Sharing files method and terminal
CN110798397B (en) * 2019-10-25 2022-11-04 维沃移动通信有限公司 File sending method and device and electronic equipment
CN110990347A (en) * 2019-11-28 2020-04-10 维沃移动通信有限公司 Sharing method and electronic equipment
CN112286887A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 File sharing method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022089568A1 (en) * 2020-10-30 2022-05-05 维沃移动通信有限公司 File sharing method and apparatus, and electronic device
CN113852540A (en) * 2021-09-24 2021-12-28 维沃移动通信有限公司 Information sending method, information sending device and electronic equipment

Also Published As

Publication number Publication date
WO2022089568A1 (en) 2022-05-05

Similar Documents

Publication Publication Date Title
WO2022089568A1 (en) File sharing method and apparatus, and electronic device
CN113300938B (en) Message sending method and device and electronic equipment
CN112083854A (en) Application program running method and device
CN113504859A (en) Transmission method and device
CN112187624B (en) Message reply method and device and electronic equipment
CN112306325B (en) Interaction control method and device
CN112947807A (en) Display method and device and electronic equipment
CN113852540A (en) Information sending method, information sending device and electronic equipment
CN112269509B (en) Information processing method and device and electronic equipment
CN113885746A (en) Message sending method and device and electronic equipment
CN112286615A (en) Information display method and device of application program
CN112286611A (en) Icon display method and device and electronic equipment
CN113114845A (en) Notification message display method and device
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN112035026B (en) Information display method and device, electronic equipment and storage medium
CN112291412B (en) Application program control method and device and electronic equipment
CN113037618B (en) Image sharing method and device
CN112269504B (en) Information display method and device and electronic equipment
CN112511412B (en) Information sending method and device, electronic equipment and readable storage medium
CN114124874B (en) Chat information sending method and device
CN112035032B (en) Expression adding method and device
CN113114559B (en) Information display method, device and equipment
CN112399010B (en) Page display method and device and electronic equipment
CN114285814A (en) Chat parameter setting method and device, electronic equipment and storage medium
CN112949270A (en) Information display method and device, electronic equipment 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