Methods, apparatuses, systems and storage media for processing a link in a conversation
View Patent ↗Embodiments of the disclosure relate to a method, apparatus, system and storage medium for processing a link in a conversation. In at least one embodiment of the disclosure, for a message containing a link sent in an instant messaging conversation, a message card itself is enabled to support storage function and a user is enabled to trigger a first storage control in the message card in turn by displaying the message card including the first storage control in an interface of the instant messaging conversation. A link object corresponding to the link is stored thereby in responding to the user's operation for trigger the first storage control. The user can directly store link content of the link in an instant messaging tool by triggering the first storage control, without clicking on the link or clicking on a title to jump to a main body for storage.
1 . A method for processing a link in a conversation, the method comprising:
in response to sending a message containing a link to an instant messaging conversation, displaying a message card containing information about the link in an interface of the instant messaging conversation, the message card comprising a first storage control;
in response to a first trigger operation for the first storage control, storing a link object corresponding to the link;
displaying storage progress information about the link object while the link object is being stored;
after the link object is successfully stored, changing a state of the first storage control from a storage state to a viewing state to obtain a viewing control; and
in response to a first trigger operation for the viewing control, opening the first document.
2 . The method of claim 1 , wherein storing a link object corresponding to the link comprises:
saving the first document containing the link object to a first storage directory or a root directory of a predetermined storage space.
3 . The method of claim 2 , wherein, the predetermined storage space is a storage space used to save a cloud file in an instant messaging tool; wherein there is an entrance to access the predetermined storage space in a user interface of an instant messaging tool.
4 . The method of claim 1 , wherein displaying the storage progress information comprises:
popping up a message prompt box and displaying the storage progress information in the message prompt box while the link object is being stored; and
wherein the method further comprises:
displaying a storage success message and a storage location of the first document in the message prompt box after the link object is successfully stored.
5 . The method of claim 1 , wherein the method further comprises:
in response to a second trigger operation for the viewing control, displaying a prompt message for clicking to view the first document.
6 . The method of claim 1 , wherein the method further comprises:
displaying a radio control in response to a second trigger operation for the first storage control, options of the radio control comprising an option to open a first document after the first document is stored and an option not to open the first document after the first document is stored; wherein the first document is a document containing the link object.
7 . The method of claim 1 , wherein the message card further comprises a copying link control and/or a preview control;
the method further comprises:
in response to an operation triggering the copying link control, copying the link; and/or
in response to an operation triggering the preview control, displaying preview information for the link object of the link.
8 . The method of claim 7 , wherein the preview control is a first preview control or a second preview control;
in response to an operation triggering the preview control, displaying preview information for the link object of the link comprises:
in response to an operation triggering the first preview control, displaying the preview information in the message card in the interface of the instant messaging conversation; or
in response to an operation triggering the second preview control, popping up a layer in the interface of the instant messaging conversation and displaying the preview information in the popped-up layer.
9 . The method of claim 1 , wherein the information about the link contained in the message card comprises at least one of:
an icon that is a sign pattern of a webpage corresponding to the link;
a hyperlink that opens a browser and jumps to a webpage corresponding to the link after being triggered; or
a tag used to identify a type of a webpage corresponding to the link.
10 . The method of claim 9 , wherein before displaying a message card containing information about the link in an interface of the instant messaging conversation, the method further comprises:
parsing the link to obtain the information about the link; and
rendering the message card comprising the information about the link and the first storage control.
11 . A system comprising at least one computing device and at least one storage device storing instructions, wherein the instructions, when executed by the at least one computing device, cause the at least one computing device to perform acts comprising:
in response to sending a message containing a link to an instant messaging conversation, displaying a message card containing information about the link in an interface of the instant messaging conversation, the message card comprising a first storage control;
in response to a first trigger operation for the first storage control, storing a link object corresponding to the link;
displaying storage progress information about the link object while the link object is being stored;
after the link object is successfully stored, changing a state of the first storage control from a storage state to a viewing state to obtain a viewing control; and
in response to a first trigger operation for the viewing control, opening the first document.
12 . The system of claim 11 , wherein storing a link object corresponding to the link comprises:
saving the first document containing the link object to a first storage directory or a root directory of a predetermined storage space.
13 . The system of claim 12 , wherein,
the predetermined storage space is a storage space used to save a cloud file in an instant messaging tool; wherein there is an entrance to access the predetermined storage space in a user interface of an instant messaging tool.
14 . The system of claim 11 , wherein displaying the storage progress information comprises:
popping up a message prompt box and displaying the storage progress information in the message prompt box while the link object is being stored; and
wherein the method further comprises:
displaying a storage success message and a storage location of the first document in the message prompt box after the link object is successfully stored.
15 . The system of claim 11 , wherein the acts further comprise:
in response to a second trigger operation for the viewing control, displaying a prompt message for clicking to view the first document.
16 . The system of claim 11 , wherein the acts further comprise:
displaying a radio control in response to a second trigger operation for the first storage control, options of the radio control comprising an option to open a first document after the first document is stored and an option not to open the first document after the first document is stored; wherein the first document is a document containing the link object.
17 . The system of claim 11 , wherein the message card further comprises a copying link control and/or a preview control;
the acts further comprise:
in response to an operation triggering the copying link control, copying the link; and/or
in response to an operation triggering the preview control, displaying preview information for the link object of the link.
18 . The system of claim 17 , wherein the preview control is a first preview control or a second preview control;
in response to an operation triggering the preview control, displaying preview information for the link object of the link comprises:
in response to an operation triggering the first preview control, displaying the preview information in the message card in the interface of the instant messaging conversation; or
in response to an operation triggering the second preview control, popping up a layer in the interface of the instant messaging conversation and displaying the preview information in the popped-up layer.
19 . The system of claim 11 , wherein the information about the link contained in the message card comprises at least one of:
an icon that is a sign pattern of a webpage corresponding to the link;
a hyperlink that opens a browser and jumps to a webpage corresponding to the link after being triggered; or
a tag used to identify a type of a webpage corresponding to the link.
20 . A non-transitory computer-readable storage medium, wherein the computer-readable storage medium stores programs or instructions that, when executed by at least one computing device, cause the at least one computing device to perform acts comprising:
in response to sending a message containing a link to an instant messaging conversation, displaying a message card containing information about the link in an interface of the instant messaging conversation, the message card comprising a first storage control;
in response to a first trigger operation for the first storage control, storing a link object corresponding to the link;
displaying storage progress information about the link object while the link object is being stored;
after the link object is successfully stored, changing a state of the first storage control from a storage state to a viewing state to obtain a viewing control; and
in response to a first trigger operation for the viewing control, opening the first document.