METHOD AND DEVICE FOR DISPLAYING INSTANT MESSAGING MESSAGES
First Claim
1. A method for displaying instant messaging messages, comprising:
- detecting that an instant messaging message to be displayed includes a hyperlink;
when the instant messaging message includes the hyperlink, verifying whether the hyperlink matches a predetermined rule based on uniform resource locators (URLs) of a type of service;
when the hyperlink matches the predetermined rule, pulling out a predetermined type of information of a webpage corresponding to the hyperlink, wherein the predetermined type is identified according to the type of service;
inserting a control in a chat window;
filling the pulled-out information of the webpage in the inserted control; and
displaying, in the chat window, the instant messaging message as well as the control filled with the information of the webpage corresponding to the hyperlink.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a method and a device for displaying instant messaging messages. The method includes detecting that an instant messaging message to be displayed includes a hyperlink; when it is detected that the instant messaging message comprises the hyperlink, pulling out abstract information corresponding to the hyperlink; filling the pulled-out abstract information in an inserted control; and displaying the instant messaging message as well as the control. The device includes a detection module, a pulling module and a display module. The invention is able to display to users the content of the hyperlink contained in the instant messaging message, therefore improving the usability and interactivity of the Instant Messenger and raising the users'"'"' experiences.
13 Citations
20 Claims
-
1. A method for displaying instant messaging messages, comprising:
-
detecting that an instant messaging message to be displayed includes a hyperlink; when the instant messaging message includes the hyperlink, verifying whether the hyperlink matches a predetermined rule based on uniform resource locators (URLs) of a type of service; when the hyperlink matches the predetermined rule, pulling out a predetermined type of information of a webpage corresponding to the hyperlink, wherein the predetermined type is identified according to the type of service; inserting a control in a chat window; filling the pulled-out information of the webpage in the inserted control; and displaying, in the chat window, the instant messaging message as well as the control filled with the information of the webpage corresponding to the hyperlink.
-
-
2. The method according to claim 1, wherein, the control is inserted in front of the hyperlink in the chat window.
-
3. The method according to claim 1, wherein, the inserting a control comprises:
inserting an empty control in front of or behind the hyperlink, wherein the inserted control is hidden until the predetermined type of information of the webpage corresponding to the hyperlink is pulled out and filled in the inserted control.
-
4. The method according to claim 3, further comprising:
when pulling out the predetermined type of information is failed, the empty control remain hidden.
-
5. The method according to claim 1, wherein, the control is displayed after displaying the instant messaging message.
-
6. The method according to claim 1, further comprising:
when a subsequent instant messaging message is received before the predetermined type of information of the webpage corresponding to the hyperlink is pulled out, displaying, in the chat window, the subsequent instant messaging message to be displayed before the control filled with the pulled-out information is displayed.
-
7. The method according to claim 1, further comprising:
-
when a subsequent instant messaging message is received before the predetermined type of information of the webpage corresponding to the hyperlink is pulled out, saving the subsequent instant messaging message to be displayed in a cache memory; and displaying, in the chat window, the subsequent instant messaging message to be displayed after the control filled with the pulled-out information is displayed.
-
-
8. The method according to claim 1, wherein, after pulling out the information of the webpage corresponding to the hyperlink, the method further comprises:
-
storing the hyperlink and the information of the webpage corresponding to the hyperlink; and when a subsequent instant messaging message to be displayed comprises the hyperlink, displaying the subsequent instant messaging message together with the stored information of the webpage corresponding to the hyperlink.
-
-
9. The method according to claim 1, wherein,
the steps of detecting that an instant messaging message to be displayed comprises a hyperlink and pulling out information of the webpage corresponding to the hyperlink are performed by a transmitting end for the instant messaging message, and the pulled-out information is transmitted together with the instant messaging message by the transmitting end to a receiving end.
-
10. The method according to claim 1, wherein:
- the predetermined type corresponding to the type of service includes at least one of;
a text, a price, and a picture in the webpage corresponding to the hyperlink.
- the predetermined type corresponding to the type of service includes at least one of;
-
11. A device for displaying instant messaging messages, comprising:
-
a processor; and a memory storing computer-readable instructions that when executed by the processor cause the processor to; detect that an instant messaging message to be displayed comprises a hyperlink; when the instant messaging message to be displayed comprises the hyperlink, verify whether the hyperlink matches a predetermined rule based on uniform resource locators (URLs) of a type of service; when the hyperlink matches the predetermined rule, pull out a predetermined type of information of a webpage corresponding to the hyperlink, wherein the predetermined type is identified according to the type of service; insert a control, in a chat window; fill the information pulled out in the inserted control; and display, in the chat window, the instant messaging message as well as the control filled with the information of the webpage corresponding to the hyperlink.
-
-
12. The device according to claim 11, wherein the computer-readable instructions when executed by the processor cause the processor to:
insert an empty control in front of or behind the hyperlink, wherein the inserted control is hidden until the predetermined type of information of the webpage corresponding to the hyperlink is pulled out and filled in the inserted control.
-
13. The device according to claim 11, wherein the computer-readable instructions when executed by the processor cause the processor to:
- when a subsequent instant messaging message is received before the predetermined type of information of the webpage corresponding to the hyperlink is pulled out, display, in the chat window, the subsequent instant messaging message to be displayed before the control filled with the information of the webpage corresponding to the hyperlink is displayed.
-
14. The device according to claim 11, wherein the computer-readable instructions when executed by the processor cause the processor to:
- when a subsequent instant messaging message is received before the predetermined type of information of the webpage corresponding to the hyperlink is pulled out, save the subsequent instant messaging message to be displayed in a cache memory; and
display, in the chat window, the subsequent instant messaging message to be displayed after the control filled with the pulled-out information is displayed.
- when a subsequent instant messaging message is received before the predetermined type of information of the webpage corresponding to the hyperlink is pulled out, save the subsequent instant messaging message to be displayed in a cache memory; and
-
15. The device according to claim 11, wherein the computer-readable instructions when executed by the processor cause the processor to:
- store the hyperlink and the information of the webpage corresponding to the hyperlink after the information of the webpage corresponding to the hyperlink is pulled out; and
when the subsequent instant messaging message to be displayed comprises the hyperlink, display the subsequent instant messaging message and the stored information of the webpage corresponding to the hyperlink.
- store the hyperlink and the information of the webpage corresponding to the hyperlink after the information of the webpage corresponding to the hyperlink is pulled out; and
-
16. The device according to claim 11, wherein the computer-readable instructions when executed by the processor cause the processor to:
when pulling out the predetermined type of information is failed, delete the empty control.
-
17. The device according to claim 11, wherein, the control is inserted in front of the hyperlink in the chat window.
-
18. The device according to claim 11, wherein:
- the predetermined type corresponding to the type of service includes at least one of;
a text, a price, and a picture of the webpage corresponding to the hyperlink.
- the predetermined type corresponding to the type of service includes at least one of;
-
19. The device according to claim 11, wherein:
- the processor is located at a receiving end for the instant messaging message.
-
20. A non-transitory computer-readable storage medium having a program recorded thereon;
- where the program is to make a computer execute a method for displaying instant messaging messages, the method comprising;
detecting that an instant messaging message to be displayed comprises a hyperlink; when the instant messaging message includes the hyperlink, verifying whether the hyperlink matches a predetermined rule based on uniform resource locators (URLs) of a type of service; when the hyperlink matches the predetermined rule, pulling out a predetermined type of information of a webpage corresponding to the hyperlink, wherein the predetermined type is identified according to the type of service; inserting a control in a chat window; filling the pulled-out information of the webpage in the inserted control; and displaying, in the chat window, the instant messaging message as well as the control filled with the information of the webpage corresponding to the hyperlink.
- where the program is to make a computer execute a method for displaying instant messaging messages, the method comprising;
Specification