File sending method and apparatus, and electronic device
Abstract
A file sending method and an electronic device are provided. The method includes: in a case that a conversation interface is displayed, receiving first input of a user. The conversation interface includes at least one file. The first input is input performed by the user for a target file in the at least one file. The method further includes updating the conversation interface to a first interface in response to the first input. The first interface is a desktop or a target interface displayed based on a storage path of the target file. The desktop includes an identifier of the target file. The target interface includes the target file. The method also includes receiving second input of the user. The method additionally includes in response to the second input, sending the target file by using the target application program.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A file sending method, comprising:
when a conversation interface is displayed, receiving first input of a user, wherein the conversation interface comprises at least one file to be sent to another user, and the first input is performed by the user for a target file in the at least one file; displaying a first interface in response to the first input, wherein the first interface is a desktop displaying thereon an icon identifying the target file and an icon identifying a target application program; receiving second input of the user, wherein the second input is performed by the user to add the target file to the target application program, wherein the second input comprises dragging the icon identifying the target file to an area where the icon of the target application program is located; in response to the second input, parsing the target file by using the target application program; and when the target file is successfully parsed, sending the parsed target file by using the target application program, wherein: the first interface further comprises a target interface; before displaying the first interface, the method further comprises: obtaining the storage path of the target file, and displaying a prompt window based on the storage path of the target file, wherein the prompt window comprises at least one of the following: a first control or the storage path of the target file, wherein the first control is used to display a storage area of a file on an electronic device, and receiving third input of the user; displaying the first interface comprises: displaying the target interface in response to the third input; and before receiving the second input of the user, the method further comprises: receiving fourth input of the user, wherein the fourth input is input performed by the user for the target file in the target interface, and moving the target file to a target folder in response to the fourth input.
2 . The file sending method according to claim 1 ,
wherein: the prompt window comprises at least the storage path of the target file, the conversation interface further comprises a target input area, the target input area is used to input a file name of a file, and the first input is input performed by the user for a file name of the target file in the target input area; and wherein the obtaining the storage path of the target file comprises: determining, from a storage area on the electronic device based on the file name of the target file, the file corresponding to the file name of the target file, to obtain the storage path of the target file.
3 . An electronic device, comprising a processor; and a memory having a computer program or instructions stored thereon, wherein the computer program or the instructions, when executed by the processor, causes the processor to perform operations comprising:
when a conversation interface is displayed, receiving first input of a user, wherein the conversation interface comprises at least one file to be sent to another user, and the first input is performed by the user for a target file in the at least one file; displaying a first interface in response to the first input, wherein the first interface is a desktop displaying thereon an icon identifying the target file and an icon identifying a target application program; receiving second input of the user, wherein the second input is input performed by the user to add the target file to the target application program, wherein the second input comprises dragging the icon identifying the target file to an area where the icon of the target application program is located; in response to the second input, parsing the target file by using the target application program; and when the target file is successfully parsed, sending the parsed target file by using the target application program, wherein: the first interface further comprises a target interface; before displaying the first interface, the operations further comprise: obtaining the storage path of the target file, and displaying a prompt window based on the storage path of the target file, wherein the prompt window comprises at least one of the following: a first control or the storage path of the target file, wherein the first control is used to display a storage area of a file on an electronic device, and receiving third input of the user; displaying the first interface comprises: displaying the target interface in response to the third input; and before receiving the second input of the user, the operations further comprise: receiving fourth input of the user, wherein the fourth input is input performed by the user for the target file in the target interface, and moving the target file to a target folder in response to the fourth input.
4 . The electronic device according to claim 3 ,
wherein: the prompt window comprises at least the storage path of the target file, the conversation interface further comprises a target input area, the target input area is used to input a file name of a file, and the first input is input performed by the user for a file name of the target file in the target input area; and wherein the obtaining the storage path of the target file comprises: determining, from a storage area on the electronic device based on the file name of the target file, the file corresponding to the file name of the target file, to obtain the storage path of the target file.
5 . A non-transitory computer readable storage medium, storing a computer program or instructions that, when executed by a processor, cause the processor to perform operations comprising:
when a conversation interface is displayed, receiving first input of a user, wherein the conversation interface comprises at least one file to be sent to another user, and the first input is input performed by the user for a target file in the at least one file; displaying a first interface in response to the first input, wherein the first interface is a desktop displaying thereon an icon identifying the target file and an icon identifying a target application program; receiving second input of the user, wherein the second input is input performed by the user to add the target file to the target application program, wherein the second input comprises dragging the icon identifying the target file to an area where the icon of the target application program is located; in response to the second input, parsing the target file by using the target application program; and when the target file is successfully parsed, sending the parsed target file by using the target application program, wherein: the first interface further comprises a target interface; before displaying the first interface, the operations further comprise: obtaining the storage path of the target file, and displaying a prompt window based on the storage path of the target file, wherein the prompt window comprises at least one of the following: a first control or the storage path of the target file, wherein the first control is used to display a storage area of a file on an electronic device, and receiving third input of the user; displaying the first interface comprises: displaying the target interface in response to the third input; and before receiving the second input of the user, the operations further comprise: receiving fourth input of the user, wherein the fourth input is input performed by the user for the target file in the target interface, and moving the target file to a target folder in response to the fourth input.
6 . The non-transitory computer readable storage medium according to claim 5 ,
wherein: the prompt window comprises at least the storage path of the target file, the conversation interface further comprises a target input area, the target input area is used to input a file name of a file, and the first input is input performed by the user for a file name of the target file in the target input area; and wherein the obtaining the storage path of the target file comprises: determining, from a storage area on the electronic device based on the file name of the target file, the file corresponding to the file name of the target file, to obtain the storage path of the target file.Join the waitlist — get patent alerts
Track US12477031B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.