CN112187622A - Instant message display method and device and server - Google Patents

Instant message display method and device and server Download PDF

Info

Publication number
CN112187622A
CN112187622A CN202011037095.6A CN202011037095A CN112187622A CN 112187622 A CN112187622 A CN 112187622A CN 202011037095 A CN202011037095 A CN 202011037095A CN 112187622 A CN112187622 A CN 112187622A
Authority
CN
China
Prior art keywords
instant message
target
message
type
description information
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.)
Granted
Application number
CN202011037095.6A
Other languages
Chinese (zh)
Other versions
CN112187622B (en
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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology 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 Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202011037095.6A priority Critical patent/CN112187622B/en
Publication of CN112187622A publication Critical patent/CN112187622A/en
Application granted granted Critical
Publication of CN112187622B publication Critical patent/CN112187622B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, a device and a server for displaying instant messages, which relate to the technical field of communication and comprise the following steps: when an initial instant message sent by a sender client is received, identifying the message type of the initial instant message; if the message type of the initial instant message is a hyperlink type, acquiring basic description information of a target website corresponding to the initial instant message; and splicing the basic description information to obtain a target instant message, and sending the target instant message to the client of the receiving party so that the client of the receiving party displays the target instant message. The invention is helpful for the user to judge whether to check the website corresponding to the instant message, and can also simplify the operation steps of the user to check the instant message, thereby improving the user experience.

Description

Instant message display method and device and server
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a server for displaying an instant message.
Background
With the development of IM (Instant Messaging) technology, chat software such as WeChat or QQ provides users with a more convenient chat mode. In the chat process, various types of instant messages such as text messages, hyperlink messages, voice messages or image messages may be involved, for the hyperlink messages, various types of IM chat software currently regard the hyperlink messages as common text messages, that is, the hyperlink messages are directly displayed in a chat dialog box, a user must click the hyperlink messages to jump to a corresponding page to check the content of the page, that is, the user can know whether the user is interested in the page only when jumping to the corresponding page, in addition, the above process also leads to complicated operation steps for checking the hyperlink messages, thereby greatly influencing the user experience.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method, an apparatus, and a server for displaying an instant message, which are helpful for a user to determine whether to view a website corresponding to the instant message, and can also simplify the operation steps of the user to view the instant message, thereby improving user experience.
In a first aspect, an embodiment of the present invention provides a method for displaying an instant message, where the method is applied to a server, and the server is in communication connection with a sender client and a receiver client, respectively, where the method includes: when an initial instant message sent by a client of a sender is received, identifying the message type of the initial instant message; if the message type of the initial instant message is a hyperlink type, acquiring basic description information of a target website corresponding to the initial instant message; and splicing the basic description information to obtain a target instant message, and sending the target instant message to the receiver client so as to enable the receiver client to display the target instant message.
In one embodiment, the step of obtaining the basic description information of the target website corresponding to the initial instant message includes: sending a resource acquisition request to the target website based on the initial instant message; and if receiving the webpage resources fed back by the target website based on the resource acquisition request, extracting basic description information from the webpage resources.
In one embodiment, the method further comprises: and if the webpage resources fed back by the target website based on the resource acquisition request are not received, the initial instant message is sent to the receiver client side, so that the receiver client side displays the initial instant message.
In an embodiment, the step of splicing the basic description information to obtain the target instant message includes: and acquiring a pre-configured display template, and splicing the basic description information according to the display template to obtain the target instant message.
In one embodiment, after the step of splicing the basic description information to obtain the target instant message, the method further includes: and marking the target instant message by a preset identification, and sending the target instant message marked with the preset identification to the sender client, so that the sender client replaces the initial instant message with the target instant message based on the preset identification, and displays the target instant message.
In one embodiment, the message type includes a hyperlink type, a text type, a picture type, a video type, or a voice type.
In one embodiment, the basic description information includes one or more of a web page logo, a web page title, a web page description, a web page keyword, and a web page main body content.
In a second aspect, an embodiment of the present invention further provides an apparatus for displaying an instant message, where the apparatus is applied to a server, and the server is in communication connection with a sender client and a receiver client, respectively, and the apparatus includes: the type identification module is used for identifying the message type of the initial instant message when the initial instant message sent by the client of the sender is received; an information obtaining module, configured to obtain basic description information of a target website corresponding to the initial instant message if the message type of the initial instant message is a hyperlink type; and the message sending module is used for splicing the basic description information to obtain a target instant message and sending the target instant message to the receiver client so as to enable the receiver client to display the target instant message.
In a third aspect, an embodiment of the present invention further provides a server, including a processor and a memory; the memory has stored thereon a computer program which, when executed by the processor, performs the method of any one of the aspects as provided in the first aspect.
In a fourth aspect, embodiments of the present invention further provide a computer storage medium for storing computer software instructions for use in any one of the methods described in the fourth aspect.
According to the instant message display method, the instant message display device and the instant message display server provided by the embodiment of the invention, the server is respectively in communication connection with the sender client and the receiver client, when the initial instant message sent by the sender client is received, the message type of the initial instant message can be identified, the basic description information of the target website corresponding to the initial instant message is obtained when the message type of the initial instant message is the hyperlink type, the target instant message is obtained by splicing the basic description information, and the target instant message is sent to the receiver client, so that the receiver client displays the target instant message. The method is specially processed aiming at the hyperlink message, when the instant message is the hyperlink message, the basic description information of the target website corresponding to the hyperlink message can be obtained, the basic description information is spliced to obtain the target instant message, so that the target instant message containing the basic description information of the target website is sent to the client of the receiving party for displaying, a user can know the basic description information of the target website through the target instant message so as to judge whether the target website is interested or not, the target instant message can be clicked to know more detailed and specific content of the target website when the target instant message is interested, the operation of clicking the target instant message can be omitted when the target instant message is not interested, in addition, compared with the mode that the hyperlink message is clicked and the target website corresponding to the hyperlink message is jumped to in the prior art, the embodiment of the invention can effectively simplify the operation process of the user for checking the hyperlink message, thereby significantly improving user experience.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a display page of an instant message according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for displaying an instant message according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a target instant message according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an instant message display apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the embodiments, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. 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 invention.
At present, instant messages in various types of IM chat software are processed uniformly, for example, the processing modes of text messages and hyperlink messages are the same, and the instant messages are all displayed directly in a chat dialog box, for convenience of understanding, taking a chat interface of certain IM chat software as an example, referring to a display page of an instant message shown in fig. 1, it is shown in fig. 1 that the IM chat software regards a hyperlink message as a common text message, page information corresponding to the hyperlink message cannot be expressed visually, a user needs to click the hyperlink message to jump to a corresponding page to view the page information, and therefore the problem that operation steps are complicated when the user views the hyperlink message is caused, and user experience is affected. In order to solve the above problem, embodiments of the present invention provide an instant message display method, an instant message display device, and a server, which can simplify the operation steps of a user for viewing an instant message, thereby improving user experience.
To facilitate understanding of the embodiment, first, a detailed description is given to an instant message display method disclosed in the embodiment of the present invention, where the method is applied to a server, the server is respectively in communication connection with a sender client and a receiver client, where the sender client is also a client sending an instant message and the receiver client is also a client receiving an instant message, and the clients may be smart phones, computers, or tablet computers, as shown in fig. 2, where the method mainly includes the following steps S202 to S206:
step S202, when receiving the initial instant message sent by the client of the sending party, identifying the message type of the initial instant message. Wherein the message type comprises one or more of a hyperlink type, a text type, a picture type, a video type or a voice type. In an implementation manner, a sender user edits information to be sent in an IM chat software input box of a sender client, and when the sender user clicks a sending control of the IM chat software, the sender client responds to a click operation of the sender user for the sending control and sends the information to be sent to a server, where the information to be sent is an initial instant message, that is, the initial instant message is an instant message that is not processed by the server.
Step S204, if the message type of the initial instant message is the hyperlink type, the basic description information of the target website corresponding to the initial instant message is obtained. The basic description information includes page content of a target website corresponding to the initial instant message, such as one or more of a web page Logo (Logo), a web page title, a web page description, a web page keyword, and a web page main body content. In an implementation manner, a resource acquisition request may be sent to a target website corresponding to the initial instant message, so as to acquire basic description information fed back by the target website based on the resource acquisition request.
Step S206, the basic description information is spliced to obtain the target instant message, and the target instant message is sent to the client of the receiving party, so that the client of the receiving party displays the target instant message. Wherein, the target instant message is an instant message processed by the server. In one embodiment, basic description information such as a webpage mark, a webpage title, a webpage description, a webpage keyword, a webpage main content and the like can be spliced, the obtained target instant message can show the page content of a target website, and after the target instant message is sent to a receiver client, a receiver user can directly know the page content of the target website, and in addition, the receiver user can click the target instant message and jump to a target page corresponding to the target instant message, so that more detailed page content of the target page can be known.
The method for displaying instant messages, provided by the embodiment of the present invention, is directed to a hyperlink message, and when the instant message is the hyperlink message, the method can obtain the basic description information of the target website corresponding to the hyperlink message, and perform a splicing process on the basic description information to obtain the target instant message, so as to send the target instant message containing the basic description information of the target website to a client of a receiving party for displaying, and a user can know the basic description information of the target website through the target instant message, thereby determining whether the target website is interested or not, and when the target instant message is interested, the target instant message can be clicked to know more detailed and specific content of the target website, and when the target instant message is not interested, the operation of clicking the target instant message can be omitted, in addition, compared with the prior art that the hyperlink message needs to be clicked and the target website corresponding to the hyperlink message is skipped, the embodiment of the invention can effectively simplify the operation process of the user for viewing the hyperlink message, thereby obviously improving the user experience.
To facilitate understanding of the step S202, an embodiment of the present invention provides an implementation manner for acquiring basic description information of a target website corresponding to an initial instant message, which is described in the following (1) to (3):
(1) the method comprises the steps of sending a resource acquisition request to a target website based on an initial instant message, wherein if the link type of the initial instant message is a hyperlink type, the initial instant message is the link address of the target website, so that the resource acquisition request can be sent to the target website based on the link address, and the target website feeds back webpage resources to a server according to the resource acquisition request, wherein the webpage resources can contain all page contents of the target website, namely the webpage resources not only comprise webpage marks, webpage titles, webpage descriptions, webpage keywords, webpage main body contents and the like, but also comprise webpage backgrounds, webpage background music and the like.
(2) If the webpage resources fed back by the target website based on the resource acquisition request are received, extracting the basic description information from the webpage resources, in one implementation mode, extracting the required basic description information from the webpage resources based on actual requirements, and optionally, extracting the webpage mark, the webpage title and the webpage description from the webpage resources based on modern webpage standards as the basic description information for constructing the target instant message.
(3) And if the webpage resources fed back by the target website based on the resource acquisition request are not received, sending the initial instant message to the receiver client so that the receiver client can display the initial instant message. In practical applications, if any one of the following conditions exists, the web page resource that cannot receive the feedback of the target website may be caused: the target website refuses the request, the link address is empty, the blacklist is limited, and the like, if the website resources are not received, the initial instant message is not processed, but is directly sent to the receiver client, and the receiver user can jump to the target page by clicking the initial instant message displayed by the receiver client, so that the target page is browsed. Because the embodiment of the invention mainly performs the optimized display on the hyperlink type instant message, whether the target website is safe for the user can be not considered, and only whether the target website needs to be accessed is considered, so that the embodiment of the invention also has no risk that the instant message is deleted by the server. Meanwhile, because the operation of acquiring the basic description information of the target website is performed on the server, the script on the target website cannot be executed on the server, and therefore, no risk exists for the server.
After obtaining the basic description information of the target website, the basic description information may be spliced to obtain a target instant message, in an embodiment, a pre-configured display template may be obtained, and the basic description information is spliced according to the display template to obtain a target instant message, where the display template may be pre-configured with the location of each item of basic description information, so as to facilitate understanding of the target instant message, an embodiment of the present invention provides a schematic diagram of the target instant message as shown in fig. 3, which is shown in fig. 3, for a text type instant message, the embodiment of the present invention does not process the target instant message, but directly sends the target instant message to a receiver client for display, and for a hyperlink type instant message, the basic description information may be spliced according to the above method, for example, a hyperlink address, a, The website mark, the website title and the website description are arranged according to the display template, and the target instant message shown in fig. 3 can be constructed. And sending the constructed target instant message to a receiver user, wherein the instant message received by the receiver user is the processed hyperlink message with the basic description information of the target website.
In order to ensure the consistency of the messages browsed by the message sender user and the message receiver user, the target instant message can be simultaneously sent to the sender client side so that the instant message displayed by the sender client side is consistent with the instant message displayed by the message receiver client side. Optionally, the target instant message may be sent to the client of the sending party while being sent to the client of the receiving party, and a preset identifier is printed on the target instant message, where the preset identifier has the following two functions: (1) informing the client of the sender that the instant message is a target instant message returned by the server; (2) and the initial instant message sent by the sender user corresponds to each other one by one so as to replace the initial instant message. When a sending user clicks a sending control on a sending client, a chat interface of the sending client displays an initial instant message in a plain text form, and after the sending client receives a return message (namely, the target instant message) pushed by a server, the initial instant message in the plain text form of the chat interface is replaced by the target instant message, so that instant messages browsed by the sending user and a receiving user are consistent.
In summary, in the embodiment of the present invention, when the initial instant message sent by the sender client is received, the message type of the initial instant message is distinguished, and if the initial instant message is an instant message of a hyperlink type, basic description information such as a website logo, a website title, a website description, and the like of a target website is obtained through a series of processing, and is presented in a chat interface of the receiver client, so that a receiver user can intuitively and conveniently know the page content of a link address sent by the other party, thereby improving user experience.
For the instant message display method provided in the foregoing embodiment, an embodiment of the present invention further provides an instant message display apparatus, which is applied to a server, where the server is in communication connection with a sender client and a receiver client, respectively, see fig. 4 for a schematic structural diagram of an instant message display apparatus, and the apparatus mainly includes the following components:
a type identification module 402, configured to identify a message type of an initial instant message sent by a sender client when the initial instant message is received.
The information obtaining module 404 is configured to, if the message type of the initial instant message is a hyperlink type, obtain basic description information of a target website corresponding to the initial instant message.
And the message sending module 406 is configured to perform splicing processing on the basic description information to obtain a target instant message, and send the target instant message to the receiver client, so that the receiver client displays the target instant message.
The instant message display device provided by the embodiment of the invention performs special processing on a hyperlink message, can acquire the basic description information of a target website corresponding to the hyperlink message when the instant message is the hyperlink message, and performs splicing processing on the basic description information to obtain the target instant message, so that the target instant message containing the basic description information of the target website is sent to a client of a receiving party for displaying, a user can know the basic description information of the target website through the target instant message to judge whether the target website is interested or not, and can click the target instant message to know more detailed and specific content of the target website when the target website is interested, and the operation of clicking the target instant message can be omitted when the target instant message is not interested, in addition, compared with the mode of clicking the hyperlink message and jumping to the target website corresponding to the hyperlink message in the prior art, the embodiment of the invention can effectively simplify the operation process of the user for viewing the hyperlink message, thereby obviously improving the user experience.
In one embodiment, the information obtaining module 404 is further configured to: sending a resource acquisition request to a target website based on the initial instant message; and if receiving the webpage resources fed back by the target website based on the resource acquisition request, extracting the basic description information from the webpage resources.
In an embodiment, the message sending module 406 is further configured to: and if the webpage resources fed back by the target website based on the resource acquisition request are not received, sending the initial instant message to the receiver client so that the receiver client can display the initial instant message.
In one embodiment, the message sending module 406 is further configured to: and acquiring a pre-configured display template, and splicing the basic description information according to the display template to obtain the target instant message.
In one embodiment, the apparatus further comprises a replacement module configured to: and marking the target instant message by the preset identification, and sending the target instant message marked with the preset identification to the sender client, so that the sender client replaces the initial instant message with the target instant message based on the preset identification, and displays the target instant message.
In one embodiment, the message type includes a hyperlink type, a text type, a picture type, a video type, or a voice type.
In one embodiment, the basic description information includes one or more of a web page logo, a web page title, a web page description, a web page keyword, and a web page main body content.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
The embodiment of the invention provides a server, which particularly comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above described embodiments.
Fig. 5 is a schematic structural diagram of a server according to an embodiment of the present invention, where the server 100 includes: the device comprises a processor 50, a memory 51, a bus 52 and a communication interface 53, wherein the processor 50, the communication interface 53 and the memory 51 are connected through the bus 52; the processor 50 is arranged to execute executable modules, such as computer programs, stored in the memory 51.
The Memory 51 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 53 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus 52 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The memory 51 is used for storing a program, the processor 50 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 50, or implemented by the processor 50.
The processor 50 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 50. The Processor 50 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 51, and the processor 50 reads the information in the memory 51 and completes the steps of the method in combination with the hardware thereof.
The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the foregoing method embodiment, which is not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for displaying instant messages is characterized in that the method is applied to a server which is respectively in communication connection with a sender client and a receiver client, and the method comprises the following steps:
when an initial instant message sent by a client of a sender is received, identifying the message type of the initial instant message;
if the message type of the initial instant message is a hyperlink type, acquiring basic description information of a target website corresponding to the initial instant message;
and splicing the basic description information to obtain a target instant message, and sending the target instant message to the receiver client so as to enable the receiver client to display the target instant message.
2. The method according to claim 1, wherein the step of obtaining the basic description information of the target website corresponding to the initial instant message comprises:
sending a resource acquisition request to the target website based on the initial instant message;
and if receiving the webpage resources fed back by the target website based on the resource acquisition request, extracting basic description information from the webpage resources.
3. The method of claim 2, further comprising:
and if the webpage resources fed back by the target website based on the resource acquisition request are not received, the initial instant message is sent to the receiver client side, so that the receiver client side displays the initial instant message.
4. The method according to claim 1, wherein the step of splicing the basic description information to obtain the target instant message comprises:
and acquiring a pre-configured display template, and splicing the basic description information according to the display template to obtain the target instant message.
5. The method of claim 1, wherein after the step of splicing the basic description information to obtain the target instant message, the method further comprises:
and marking the target instant message by a preset identification, and sending the target instant message marked with the preset identification to the sender client, so that the sender client replaces the initial instant message with the target instant message based on the preset identification, and displays the target instant message.
6. The method of claim 1, wherein the message type comprises a hyperlink type, a text type, a picture type, a video type, or a voice type.
7. The method of claim 1, wherein the basic description information comprises one or more of a web page logo, a web page title, a web page description, a web page keyword, and a web page main body content.
8. An instant message display device, which is applied to a server, wherein the server is respectively connected with a sender client and a receiver client in a communication manner, and the device comprises:
the type identification module is used for identifying the message type of the initial instant message when the initial instant message sent by the client of the sender is received;
an information obtaining module, configured to obtain basic description information of a target website corresponding to the initial instant message if the message type of the initial instant message is a hyperlink type;
and the message sending module is used for splicing the basic description information to obtain a target instant message and sending the target instant message to the receiver client so as to enable the receiver client to display the target instant message.
9. A server, comprising a processor and a memory;
the memory has stored thereon a computer program which, when executed by the processor, performs the method of any of claims 1 to 7.
10. A computer storage medium storing computer software instructions for use in the method of any one of claims 1 to 7.
CN202011037095.6A 2020-09-27 2020-09-27 Instant message display method and device and server Active CN112187622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011037095.6A CN112187622B (en) 2020-09-27 2020-09-27 Instant message display method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011037095.6A CN112187622B (en) 2020-09-27 2020-09-27 Instant message display method and device and server

Publications (2)

Publication Number Publication Date
CN112187622A true CN112187622A (en) 2021-01-05
CN112187622B CN112187622B (en) 2022-06-14

Family

ID=73944407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011037095.6A Active CN112187622B (en) 2020-09-27 2020-09-27 Instant message display method and device and server

Country Status (1)

Country Link
CN (1) CN112187622B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114816600A (en) * 2021-01-27 2022-07-29 北京达佳互联信息技术有限公司 Session message display method, device, terminal and storage medium
WO2023093673A1 (en) * 2021-11-25 2023-06-01 北京字跳网络技术有限公司 Information processing method, apparatus and system, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098234A (en) * 2010-12-15 2011-06-15 百度在线网络技术(北京)有限公司 Method and device for providing target content based on hyperlink in instant communication message
CN106998274A (en) * 2016-12-12 2017-08-01 深圳大宇无限科技有限公司 Application message method for pushing and device
CN108388407A (en) * 2018-02-10 2018-08-10 深圳壹账通智能科技有限公司 Processing method, device, computer equipment and the storage medium of message
US20190306095A1 (en) * 2016-07-18 2019-10-03 Vestel Elektronik Sanayi ve Ticaret A. S. Method, system and computer program product for selectively adapting and transmitting messaging data
CN111147348A (en) * 2018-11-06 2020-05-12 腾讯科技(深圳)有限公司 Instant message sending method, device and readable medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098234A (en) * 2010-12-15 2011-06-15 百度在线网络技术(北京)有限公司 Method and device for providing target content based on hyperlink in instant communication message
US20190306095A1 (en) * 2016-07-18 2019-10-03 Vestel Elektronik Sanayi ve Ticaret A. S. Method, system and computer program product for selectively adapting and transmitting messaging data
CN106998274A (en) * 2016-12-12 2017-08-01 深圳大宇无限科技有限公司 Application message method for pushing and device
CN108388407A (en) * 2018-02-10 2018-08-10 深圳壹账通智能科技有限公司 Processing method, device, computer equipment and the storage medium of message
CN111147348A (en) * 2018-11-06 2020-05-12 腾讯科技(深圳)有限公司 Instant message sending method, device and readable medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114816600A (en) * 2021-01-27 2022-07-29 北京达佳互联信息技术有限公司 Session message display method, device, terminal and storage medium
CN114816600B (en) * 2021-01-27 2023-12-19 北京达佳互联信息技术有限公司 Session message display method, device, terminal and storage medium
WO2023093673A1 (en) * 2021-11-25 2023-06-01 北京字跳网络技术有限公司 Information processing method, apparatus and system, and storage medium

Also Published As

Publication number Publication date
CN112187622B (en) 2022-06-14

Similar Documents

Publication Publication Date Title
US11363129B2 (en) Method and apparatus for processing contact information using a wireless terminal
US10795629B2 (en) Text and custom format information processing method, client, server, and computer-readable storage medium
US8346878B2 (en) Flagging resource pointers depending on user environment
US10243889B2 (en) Keyword based automatic reply generation in a messaging application
US9559992B2 (en) System and method for updating information in an instant messaging application
JP2019520624A (en) Page component dynamic layout
CN110175306B (en) Method and device for processing advertisement information
WO2020087386A1 (en) Content recommendation method and device, mobile terminal, and server
WO2023093673A1 (en) Information processing method, apparatus and system, and storage medium
US9112827B2 (en) Determining appropriate browsing applications for selected network resources
CN109451333B (en) Bullet screen display method, device, terminal and system
US20120278403A1 (en) Presenting link information near links within electronic messages
CN112187622B (en) Instant message display method and device and server
CN111737617B (en) Page resource loading method and device, electronic equipment and storage medium
CN104731869B (en) The page shows method and device
CN111159269B (en) Data processing method, device and system
CN111625308B (en) Information display method and device and electronic equipment
CN112822286B (en) Message pushing method and device
EP2449481A1 (en) System and method for enhancing digital content
WO2014176896A1 (en) System and method for updating information in an instant messaging application
WO2023025323A1 (en) Information processing method and apparatus, system, and storage medium
JP2018500670A (en) Handling unstructured messages
CN112788090A (en) Network resource transmission method, device and system
US10044652B2 (en) Context driven modification of attachments in a messaging session
CN100592300C (en) Data display method and device

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
GR01 Patent grant
GR01 Patent grant