Method and apparatus for uploading an attachment
First Claim
1. A method for uploading an attachment, comprising:
- loading an attachment uploading interface on a social network, the attachment uploading interface containing at least one of a local attachment uploading button or a captured attachment uploading button, a text input box, and a publishing button;
in response to determining that the local attachment uploading button is triggered, displaying a local file selection interface for selecting a local file from a local file library, and in response to determining that the local file is selected from the local file library, determining the selected local file as a first attachment attached to text inputted into the text input box,generating attachment information from the first attachment, and displaying the attachment information generated from the first attachment on a location where the local attachment uploading button is displayedin response to determining that the captured attachment uploading button is triggered, obtaining a captured file, determining the obtained captured file as a second attachment attached to the text inputted into the text input box, generating attachment information from the second attachment, and displaying the attachment information generated from the second attachment on a location where the captured attachment uploading button is displayed; and
in response to determining that the publishing button is triggered, publishing at least one of the first attachment or the second attachment together with the text inputted into the text input box on the social network.
1 Assignment
0 Petitions
Accused Products
Abstract
The examples of the present disclosure disclose a method and apparatus for uploading an attachment, relate to the internet technologies, and solve problems in the traditional art that a user device cannot completely show all the content to upload and that some touch screen devices cannot obtain information inputted by the user properly. The method comprises: uploading an attachment uploading interface, the attachment uploading interface including at least one attachment uploading option; determining an attachment to upload when an attachment uploading option is activated; and generating attachment information corresponding to the attachment to upload and displaying the attachment information on a location where the at least one attachment uploading option is displayed.
-
Citations
10 Claims
-
1. A method for uploading an attachment, comprising:
-
loading an attachment uploading interface on a social network, the attachment uploading interface containing at least one of a local attachment uploading button or a captured attachment uploading button, a text input box, and a publishing button; in response to determining that the local attachment uploading button is triggered, displaying a local file selection interface for selecting a local file from a local file library, and in response to determining that the local file is selected from the local file library, determining the selected local file as a first attachment attached to text inputted into the text input box, generating attachment information from the first attachment, and displaying the attachment information generated from the first attachment on a location where the local attachment uploading button is displayed in response to determining that the captured attachment uploading button is triggered, obtaining a captured file, determining the obtained captured file as a second attachment attached to the text inputted into the text input box, generating attachment information from the second attachment, and displaying the attachment information generated from the second attachment on a location where the captured attachment uploading button is displayed; and in response to determining that the publishing button is triggered, publishing at least one of the first attachment or the second attachment together with the text inputted into the text input box on the social network. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus for uploading an attachment, comprising:
-
memory; one or more processors; and one or more programs stored in the memory and configured for execution by the one or more processors, the one or more programs comprising instructions to; load an attachment uploading interface on a social network, the attachment uploading interface containing at least one of a local attachment uploading button or a captured attachment uploading button, a text input box, and a publishing button; in response to determining that the local attachment uploading button is triggered, display a local file selection interface for selecting a local file from a local file library, and in response to determining that the local file is selected from the local file library, determine the selected local file as a first attachment attached to text inputted into the text input box, generate attachment information from the first attachment, and display the attachment information generated from the first attachment on a location where the local attachment uploading button is displayed; in response to determining that the captured attachment uploading button is triggered, obtain a captured file, determine the obtained captured file as a second attachment attached to the text inputted into the text input box, generate attachment information from the second attachment, and display the attachment information generated from the second attachment on a location where the captured attachment uploading button is displayed; and in response to determining that the publishing button is triggered, publish at least one of the first attachment or the second attachment together with the text inputted into the text input box on the social network. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium comprising a set of instructions for rating reputation of a web site, the set of instructions to direct at least one processor to perform acts of:
-
loading an attachment uploading interface on a social network, the attachment uploading interface containing at least one of a local attachment uploading button or a captured attachment uploading button, a text input box, and a publishing button; in response to determining that the local attachment uploading button is triggered, displaying a local file selection interface for selecting a local file from a local file library, and in response to determining that the local file is selected from the local file library, determining the selected local file as a first attachment attached to text inputted into the text input box, generating attachment information from the first attachment, and displaying the attachment information generated from the first attachment on a location where the local attachment uploading button is displayed; in response to determining that the captured attachment uploading button is triggered, obtaining a captured file, determining the obtained captured file as a second attachment attached to the text inputted into the text input box, generating attachment information from the second attachment, and displaying the attachment information generated from the second attachment on a location where the captured attachment uploading button is displayed; and in response to determining that the publishing button is triggered, publishing at least one of the first attachment or the second attachment together with the text inputted into the text input box on the social network. - View Dependent Claims (10)
-
Specification