CN106254217A - Instant messaging comprises the treating method and apparatus of the message of URL address - Google Patents

Instant messaging comprises the treating method and apparatus of the message of URL address Download PDF

Info

Publication number
CN106254217A
CN106254217A CN201610648950.4A CN201610648950A CN106254217A CN 106254217 A CN106254217 A CN 106254217A CN 201610648950 A CN201610648950 A CN 201610648950A CN 106254217 A CN106254217 A CN 106254217A
Authority
CN
China
Prior art keywords
url address
message
message packets
information
web page
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.)
Pending
Application number
CN201610648950.4A
Other languages
Chinese (zh)
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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610648950.4A priority Critical patent/CN106254217A/en
Publication of CN106254217A publication Critical patent/CN106254217A/en
Pending legal-status Critical Current

Links

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 application proposes to comprise in a kind of instant messaging the treating method and apparatus of the message of URL address, and the method includes: receiving the message packets that the first instant communication client sends, described message packets includes message content;Judge whether described message content comprises URL address;If it is, obtain the web page digest information corresponding with described URL address, and according to described URL address and described web page digest information, described message packets is modified, obtain amended message packets;Amended message packets is sent to the second instant communication client, so that described second instant communication client shows described web page digest information.The method can reduce unnecessary running cost and time-consuming delay cost, and improves safety.

Description

Instant messaging comprises the treating method and apparatus of the message of URL address
Technical field
The application relates to Internet technical field, particularly relates to comprise in a kind of instant messaging the place of the message of URL address Reason method and apparatus.
Background technology
User use instant message (InstantMessaging, IM) bitcom give other users send message time, Often have to send to targeted customer and comprise disappearing of URL (Uniform Resource Locator, URL) address The demand of breath, its objective is that the targeted customer wishing to receive message can go to access certain webpage by this URL address.
In correlation technique, the URL address in message content can be replaced with one with URL by most of instant communication clients Content is link text, the word chain with URL address as chained address, and such targeted customer sees in message session window and disappearing After breath, it is possible to the word chain corresponding to URL address contents clicked directly in message content quickly accesses this URL address pair The webpage answered.
But, most of the time, targeted customer itself is only the feelings of the web page contents that cannot predict its correspondence with YRL address Condition, rashly click on the word chain of its correspondence to access the webpage of its correspondence, user uninterested webpage may be accessed, make Become flow waste, even have access to the dangerous webpage such as fishing webpage or the webpage that comprises trojan horse.Therefore, correlation technique midpoint Hit the mode that word chain could access the webpage of correspondence, there is unnecessary running cost and time-consuming delay cost, and exist Security risk.
Summary of the invention
One of technical problem that the application is intended to solve in correlation technique the most to a certain extent.
To this end, the application purpose is the process side proposing to comprise the message of URL address in a kind of instant messaging Method, the method can reduce unnecessary running cost and time-consuming delay cost, and improve safety.
Further object is the processing means proposing to comprise the message of URL address in a kind of instant messaging.
For reaching above-mentioned purpose, the instant messaging that the application first aspect embodiment proposes comprises the message of URL address Processing method, including: receive first instant communication client send message packets, described message packets includes disappearing Breath content;Judge whether described message content comprises URL address;Pluck if it is, obtain the webpage corresponding with described URL address Want information, and described message packets is modified, after being revised according to described URL address and described web page digest information Message packets;Amended message packets is sent to the second instant communication client, so that described second IMU News client shows described web page digest information.
The instant messaging that the application first aspect embodiment proposes comprises the processing method of the message of URL address, passes through Obtain the web page digest information corresponding with described URL address, and according to described URL address and described web page digest information to described Message packets is modified, and can show, at the second instant communication client, the web page digest information that URL address is corresponding, due to Directly web page digest information is shown to user, so that user knows the situation of webpage corresponding to URL address intuitively, uses Family can be opened according to oneself needing selection or be not switched on corresponding webpage, such that it is able to reduce unnecessary running cost and consumption Time delay cost, and improve safety.
For reaching above-mentioned purpose, the instant messaging that the application second aspect embodiment proposes comprises the message of URL address Processing means, including receiver module, for receiving the message packets that the first instant communication client sends, described message Packet includes message content;First judge module, is used for judging whether to comprise in described message content URL address;Amendment Module, in time comprising URL address in described message content, obtains the web page digest information corresponding with described URL address, and According to described URL address and described web page digest information, described message packets is modified, obtain amended message count According to bag;Sending module, for being sent to the second instant communication client by amended message packets, so that described second is Time telecommunication customer end show described web page digest information.
The instant messaging that the application second aspect embodiment proposes comprises the processing means of the message of URL address, passes through Obtain the web page digest information corresponding with described URL address, and according to described URL address and described web page digest information to described Message packets is modified, and can show, at the second instant communication client, the web page digest information that URL address is corresponding, due to Directly web page digest information is shown to user, so that user knows the situation of webpage corresponding to URL address intuitively, uses Family can be opened according to oneself needing selection or be not switched on corresponding webpage, such that it is able to reduce unnecessary running cost and consumption Time delay cost, and improve safety.
Aspect and advantage that the application adds will part be given in the following description, and part will become from the following description Obtain substantially, or recognized by the practice of the application.
Accompanying drawing explanation
The application above-mentioned and/or that add aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially with easy to understand, wherein:
Fig. 1 is the stream of the processing method of the message comprising URL address in the instant messaging that one embodiment of the application proposes Journey schematic diagram;
Fig. 2 is the processing method of the message comprising URL address in the instant messaging that another embodiment of the application proposes Schematic flow sheet;
Fig. 3 is the schematic diagram sending message in the embodiment of the present application;
Fig. 4 is the reception message and employing the present embodiment using general Message Processing flow process to show in the embodiment of the present application The comparison schematic diagram of the reception message that Message Processing flow process shows;
Fig. 5 is the processing method of the message comprising URL address in the instant messaging that another embodiment of the application proposes Schematic flow sheet;
Fig. 6 is the knot of the processing means of the message comprising URL address in the instant messaging that one embodiment of the application proposes Structure schematic diagram;
Fig. 7 is the processing means of the message comprising URL address in the instant messaging that another embodiment of the application proposes Structural representation.
Detailed description of the invention
Embodiments herein is described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish Same or similar label represents same or similar module or has the module of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, is only used for explaining the application, and it is not intended that restriction to the application.On the contrary, originally The embodiment of application includes all changes in the range of the spirit falling into attached claims and intension, revises and be equal to Thing.
Fig. 1 is the stream of the processing method of the message comprising URL address in the instant messaging that one embodiment of the application proposes Journey schematic diagram.
The present embodiment is as a example by the process of instant messaging service end.
Seeing Fig. 1, the flow process of the present embodiment includes:
S11: receive the message packets that the first instant communication client sends, in described message packets includes message Hold.
Wherein, user can input message, to be sent by instant messaging service end in the first instant communication client To the second instant communication client.
After first instant communication client receives the message of user's input, message packets can be generated according to this message, And it is sent to instant messaging service end.Wherein, above-mentioned message packets includes that message content, message content are used for describing use The message of family input.The message that message content is typically so that user is inputted by structural data is described.
S12: judge whether to comprise in described message content URL address.
When the message of user's input comprises URL address, message content also can comprise URL address, and message content In the quantity of URL address that comprises identical with the quantity of the URL address in the message that user inputs, can be one or more.
Further, can also include message type information in message packets, message type information is used for indicating message Whether content comprises URL address, therefore, it can judge according to the message type information in message packets message content is No comprise URL address.
Concrete, when message type information instruction message content comprises URL address (if message type information is character " 1 ") time, then judge message content comprises URL address, otherwise, when message type information instruction message content does not comprises Time during URL address (if message type information is character " 0 "), then judge message content does not comprise URL address.
S13: if it is, obtain the web page digest information corresponding with described URL address, and according to described URL address and institute State web page digest information described message packets is modified, obtain amended message packets.
Wherein it is possible in web page digest information generation system, corresponding each URL address, obtain this URL address corresponding Web page digest information, concrete acquisition mode does not limits, and the most first obtains the webpage that this URL address is corresponding, then enters this webpage The summary info extraction that row is automatic or manual, thus obtain the web page digest information that each URL address is corresponding, and at web-page summarization Corresponding record URL address and web page digest information in information generating system.Therefore message content is determined when instant Communications service end In comprise URL address after, the URL address comprised can be obtained in message content corresponding from web page digest information generation system Web page digest information.
Wherein, web page digest information itself is a structural data, wherein comprises but is not limited only to following data:
A) figure
B) web page title
C) synopsis of web page body
After getting web page digest information, according to web page digest information and URL address, message content is modified, make Web page digest information must be shown at the second instant communication client.Concrete amendment mode has multiple.Such as include:
Generate picture according to described web page digest information, and generate picture chain letter according to described picture and described URL address Breath, and replace, with described picture chain information, the text or word chain information that described in described message packets, URL address is corresponding;Or Person,
Generate the code of corresponding rich text according to described URL address with described web page digest information, repair with described code Changing described message packets, wherein, described code includes: HTML (HyperText Markup Language, HTML) code or primary code.
Further, the image content that above-mentioned picture chain information is corresponding generates according to web page digest information, link Address is URL address.
Further, when IM bitcom is web edition, above-mentioned code is HTML code, when IM bitcom is former During raw (native) version, above-mentioned code is primary code, and primary code such as includes: Android system or ios system pair The primary code answered.
Further, when using code revision message packets, can by be use newly-increased in the way of, or use and replace Mode.
Such as, when original message packets includes word chain information corresponding to URL address, can be by web-page summarization Information is newly-increased by the way of code to be added in message packets, with the word chain corresponding in receiving terminal display URL address and Show picture and text etc. that web page digest information is corresponding.Or,
When original message packets includes text corresponding to URL address, can be according to URL address and web-page summarization Information generates the code of corresponding rich text, and replaces the text that URL address is corresponding, with corresponding in receiving terminal display URL address Word chain and display picture corresponding to web page digest information and text etc..
During it is, of course, understood that do not comprise URL address in message content, the process of common IM can be used Mode processes.
S14: amended message packets is sent to the second instant communication client, so that described second instant messaging Client shows described web page digest information.
Wherein, after amended message packets is sent to the second instant communication client by instant messaging service end, the After two instant communication clients receive above-mentioned amended message packets, can enter according to common Message Processing flow process Row display, owing to amended message packets includes picture chain information, therefore, at the second instant communication client display figure The picture that sheet chain information is corresponding, concrete, show the webpage thumbnail that above-mentioned URL address is corresponding.
It addition, above-mentioned picture chain information is also with URL address as chained address, thus when user clicks on above-mentioned webpage After thumbnail, the webpage that this URL address is corresponding can be shown.
In the present embodiment, by obtaining the web page digest information corresponding with described URL address, and according to described URL address With described web page digest information, described message packets is modified, URL ground can be shown at the second instant communication client The web page digest information that location is corresponding, owing to being directly shown to user by web page digest information, so that user is known intuitively The situation of the webpage that URL address is corresponding, user can open according to oneself needing selection or be not switched on corresponding webpage, thus can To reduce unnecessary running cost and time-consuming delay cost, and improve safety.
Fig. 2 is the processing method of the message comprising URL address in the instant messaging that another embodiment of the application proposes Schematic flow sheet.
The present embodiment is mutual with the first instant communication client, instant messaging service end and the second instant communication client As a example by flow process.
Seeing Fig. 2, the flow process of the present embodiment includes:
S21: the first instant communication client receives the message of user's input.
Wherein, the first instant communication client can display to the user that message session interface, message session interface include Message input frame, user can input message, to be sent to targeted customer in message input frame.
The message that S22: the first instant communication client inputs according to user, sends message data to instant messaging service end Bag.
Wherein, message packets includes data below:
The identification information of message content, message type information and targeted customer.
Concrete, message content for describing the message of user's input, typically organize in the way of structural data and Describe.Such as, maybe can expand with JavaScript object representation (JavaScript Object Notation, JSON) character string The mode of exhibition markup language (Extensible Markup Language, XML) character string is described.
As a example by JSON character string, when the message 31 that the message of user's input is as shown in Figure 3, corresponding with URL address As a example by word chain information, then this message JSON character string is described as follows:
Message type information is used for indicating in message content whether comprising URL address.Wherein, the first instant communication client When generating message packets, the message class of correspondence can be generated according to whether the message of user's input comprises URL address Type information.It is understood that owing to the URL address contents that user inputs can be turned by common first instant communication client Being changed to word chain information, therefore, the first instant communication client can recognize that whether comprise URL ground in the message that user inputs Location, such that it is able to generate corresponding message type information.
The identification information of targeted customer is for identifying the identity of the targeted customer receiving message.In point-to-point chat In, targeted customer is usually a user, now can use the UID identity as targeted customer of targeted customer.? In group chatting, targeted customer is the every other user in group, and group ID now can be used as the identity of targeted customer Mark.
S23: after instant messaging service end receives message packets, it is judged that in the message content in message packets whether Comprise URL address, if so, perform S24 and subsequent step thereof, otherwise, process according to general flow.
Wherein, instant messaging service end can judge according to the message type information in message packets No comprise URL address.
S24: instant messaging service end extracts URL address from message content, obtains the webpage corresponding with URL address and plucks Want information.
Wherein, instant messaging service end can obtain the net corresponding with URL address from web page digest information generation system Page summary info.
It is understood that instant messaging service end is when extracting URL address, can be to extract all of URL address, and The web page digest information that corresponding each URL address acquisition is corresponding.
Described message packets is entered by S25: instant messaging service end according to described URL address and described web page digest information Row amendment, obtains amended message packets.
Modification may include that
Generate picture according to described web page digest information, and generate picture chain letter according to described picture and described URL address Breath, and replace, with described picture chain information, the text or word chain information that described in described message packets, URL address is corresponding;Or Person,
Generate the code of corresponding rich text according to described URL address with described web page digest information, repair with described code Changing described message packets, wherein, described code includes: HTML (HyperText Markup Language, HTML) code or primary code.
Further, the scheme that corresponding picture chain information is replaced, for example, it is possible to first raw according to the web page digest information obtained Becoming picture, and preserve this picture, record preserves the picture address of this picture.
One of them value (value) in picture chain information is the picture address of image link, therefore, it can set this value It is set to the above-mentioned picture address determined.
Concrete, the corresponding above-mentioned message content comprising word chain information, after above-mentioned replacement processes, amended Message content is as follows:
Concrete, compared with word chain information, after replacing with picture chain information, the type (type) of appropriate section is from URL Replacing with image link (image_link), value (value) includes from only including that URL address replaces with: URL address and webpage are plucked Want the picture address that information is corresponding.
It is, of course, understood that amendment mode is not limited to the mode of above-mentioned picture chain, it is also possible to be to generate HTML generation Code or the mode of primary code, specifically may refer to the associated description in above-described embodiment.
S26: according to the identification information of the targeted customer in message packets, amended message packets is sent To the second instant communication client.
Wherein, instant messaging service end, when sending message, transmits the message to all of targeted customer.
Such as, when targeted customer is one, amended message packets is sent to a targeted customer, works as target When user is multiple, amended message packets is sent to multiple targeted customer.
S27: the second instant communication client presents the message to targeted customer according to the message packets received.
Wherein, the second instant communication client can use general Message Processing flow process, shows message in message meeting On words interface.
Concrete, as shown in Figure 4, if according to general handling process, it will the display a kind of message 41 shown in Fig. 4, This message comprises word chain 411.
And after using the above-mentioned flow processing of the present embodiment, it will the display another kind of message 42 shown in Fig. 4, in this message Comprise amended part 421.
This amended part can be picture chain, or rich text etc..
As a example by picture chain, after user clicks on this picture chain, can load and show corresponding URL address (such as http: // Bj.lianjia.com/ershoufang/BJHD91428565.html) corresponding webpage.
In the present embodiment, by obtaining the web page digest information corresponding with described URL address, and according to described URL address With described web page digest information, described message packets is modified, URL ground can be shown at the second instant communication client The web page digest information that location is corresponding, owing to being directly shown to user by web page digest information, so that user is known intuitively The situation of the webpage that URL address is corresponding, user can open according to oneself needing selection or be not switched on corresponding webpage, thus can To reduce unnecessary running cost and time-consuming delay cost, and improve safety.Further, by message packets Comprise message type information, in that context it may be convenient to judge whether message content comprises URL address.
Above-described embodiment comprises URL address in message content and just carries out as a example by above-mentioned amendment processes.Some embodiments In, it is also possible to comprise in message content and meet the URL address of certain condition and just carry out above-mentioned amendment and process, and for discontented The URL address of foot condition, can be similar to the message not comprising URL address, use general Message Processing flow process to process.
Fig. 5 is the processing method of the message comprising URL address in the instant messaging that another embodiment of the application proposes Schematic flow sheet.
The present embodiment is as a example by the execution of instant messaging service end.
Seeing Fig. 5, the flow process of the present embodiment includes:
S51: receive the message packets that the first instant communication client sends, in described message packets includes message Hold.
S52: judge whether to comprise in described message content URL address, if so, performs S53, otherwise performs S56.
S53: judge whether described URL address meets pre-conditioned, if so, performs S54, otherwise performs S56.
Unlike the embodiments above, in the present embodiment, when message content comprises URL address, it is also possible to judge Whether this URL address meets pre-conditioned.
Wherein, pre-conditioned can be configured according to actual needs.Such as include at least one in following item:
Corresponding URL address is provided for indicating the mark needing to carry out above-mentioned replacement process;
URL address is not by default functional unit input;
URL address belongs to default white list.
Such as, whether user, when the first instant communication client input comprises the message of URL address, can arrange and use Above-mentioned amendment processing scheme.First instant communication client, can being arranged on according to user when generating message packets The front end of URL address or rear end are correspondingly arranged corresponding mark, to indicate whether that needing to carry out above-mentioned replacement processes, thus work as The instruction of this mark modify process time, perform above-mentioned amendment and process, otherwise according to general Message Processing flow process at Reason.
The most such as, user, when the first instant communication client inputs URL address, can be entered by the functional unit preset Row input, the first instant communication client, when the functional unit input URL address that user passes through to preset being detected, can disappear Breath packet comprises the mark indicated by default functional unit input URL address, thus instant messaging service end according to This mark determines when URL address is to be inputted by default functional unit, does not carry out above-mentioned amendment and processes, and according to general Message Processing flow process processes.And when instant Communications service end be not detected by the above-mentioned mark corresponding with functional unit or When determining that URL address inputs URL address not by default functional unit according to this mark, then carry out at above-mentioned amendment Reason.
Again for example, it is possible to pre-set white list at instant Communications service end, this white list can specifically URL address set Close, thus when the URL address comprised in message content belongs to this URL address set, then carry out above-mentioned amendment and process, otherwise Process according to general Message Processing flow process.Or, this white list can also specifically set of domains, thus when in message When the URL address comprised in appearance belongs to URL address corresponding to any one domain name in set of domains, then carry out at above-mentioned amendment Reason, otherwise processes according to general Message Processing flow process.
S54: obtain the web page digest information corresponding with described URL address, and pluck according to described URL address and described webpage Want information that described message packets is modified, obtain amended message packets.
S55: amended message packets is sent to the second instant communication client, so that described second instant messaging Client shows described web page digest information.
S56: the message packets of the unmodified of reception is sent to the second instant communication client.
It is understood that the present embodiment does not does the part illustrated, may refer to being correlated with in above-described embodiment Describe, no longer describe in detail at this.
In the present embodiment, by obtaining the web page digest information corresponding with described URL address, and according to described URL address With described web page digest information, described message packets is modified, URL ground can be shown at the second instant communication client The web page digest information that location is corresponding, owing to being directly shown to user by web page digest information, so that user is known intuitively The situation of the webpage that URL address is corresponding, user can open according to oneself needing selection or be not switched on corresponding webpage, thus can To reduce unnecessary running cost and time-consuming delay cost, and improve safety.Further, by determining whether URL Whether meet pre-conditioned, different scene demand can be met.
Fig. 6 is the knot of the processing means of the message comprising URL address in the instant messaging that one embodiment of the application proposes Structure schematic diagram.
This device may be located at instant messaging service end.
Seeing Fig. 6, this device 60 includes: receiver module the 61, first judge module 62, modified module 63 and sending module 64。
Receiver module 61, for receiving the message packets that the first instant communication client sends, described message packets Include message content;
First judge module 62, is used for judging whether to comprise in described message content URL address;
Modified module 63, for when comprising URL address in described message content, obtains corresponding with described URL address Web page digest information, and according to described URL address and described web page digest information, described message packets is modified, To amended message packets;
Sending module 64, for amended message packets is sent to the second instant communication client, so that described Second instant communication client shows described web page digest information.
In some embodiments, modified module 63 specifically for:
Generate picture according to described web page digest information, and generate picture chain letter according to described picture and described URL address Breath, and replace, with described picture chain information, the text or word chain information that described in described message packets, URL address is corresponding;Or Person,
Generate the code of corresponding rich text according to described URL address with described web page digest information, repair with described code Changing described message packets, wherein, described code includes: HTML code or primary code.
In some embodiments, described message packets also including, message type information, described first judge module 62 have Body is used for:
According to described message type information, it is judged that whether described message content comprises URL address.
In some embodiments, seeing Fig. 7, this device 70 also includes:
Second judge module 65, is used for judging whether described URL address meets pre-conditioned, in order to pre-conditioned meeting Time, trigger described modified module and perform.
In some embodiments, described second judge module 65 use described pre-conditioned include in following item at least one :
Corresponding URL address is provided for indicating the mark needing to carry out above-mentioned replacement process;
URL address is not by default functional unit input;
URL address belongs to default white list.
In some embodiments, described message packets also includes the identification information of targeted customer, described transmission mould Block 64 specifically for:
According to the identification information of described targeted customer, amended message packets is sent to the second instant messaging Client.
It is understood that the device of the present embodiment is corresponding with said method embodiment, particular content may refer to method The associated description of embodiment, no longer describes in detail at this.
In the present embodiment, by obtaining the web page digest information corresponding with described URL address, and according to described URL address With described web page digest information, described message packets is modified, URL ground can be shown at the second instant communication client The web page digest information that location is corresponding, owing to being directly shown to user by web page digest information, so that user is known intuitively The situation of the webpage that URL address is corresponding, user can open according to oneself needing selection or be not switched on corresponding webpage, thus can To reduce unnecessary running cost and time-consuming delay cost, and improve safety.
It is understood that in the various embodiments described above same or similar part can mutually reference, in certain embodiments Unspecified content may refer to same or analogous content in other embodiments.
It should be noted that in the description of the present application, term " first ", " second " etc. are only used for describing purpose, and not It is understood that as instruction or hint relative importance.Additionally, in the description of the present application, except as otherwise noted, the implication of " multiple " Refer at least two.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process Point, and the scope of the preferred implementation of the application includes other realization, wherein can not by shown or discuss suitable Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the application Embodiment person of ordinary skill in the field understood.
Should be appreciated that each several part of the application can realize by hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the application can be integrated in a processing module, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy Point is contained at least one embodiment or the example of the application.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although above it has been shown and described that embodiments herein, it is to be understood that above-described embodiment is example Property, it is impossible to being interpreted as the restriction to the application, those of ordinary skill in the art can be to above-mentioned in scope of the present application Embodiment is changed, revises, replaces and modification.

Claims (12)

1. an instant messaging comprises the processing method of the message of URL address, it is characterised in that including:
Receiving the message packets that the first instant communication client sends, described message packets includes message content;
Judge whether described message content comprises URL address;
If it is, obtain the web page digest information corresponding with described URL address, and pluck according to described URL address and described webpage Want information that described message packets is modified, obtain amended message packets;
Amended message packets is sent to the second instant communication client, so that described second instant communication client shows Show described web page digest information.
Method the most according to claim 1, it is characterised in that described believe according to described URL address and described web-page summarization Described message packets is modified by breath, including:
Generate picture according to described web page digest information, and generate picture chain information according to described picture and described URL address, and The text or word chain information that described in described message packets, URL address is corresponding is replaced with described picture chain information;Or,
The code of corresponding rich text is generated with described web page digest information, with described code revision institute according to described URL address Stating message packets, wherein, described code includes: HTML code or primary code.
Method the most according to claim 1, it is characterised in that also include message type information in described message packets, Described message type information is used for indicating in described message content whether comprise URL address, in the described message content of described judgement Whether comprise URL address, including:
According to described message type information, it is judged that whether described message content comprises URL address.
Method the most according to claim 1, it is characterised in that after comprising URL address in described message content, described Method also includes:
Judge whether described URL address meets pre-conditioned, in order to when meeting pre-conditioned, obtain and described URL address pair The web page digest information answered, and according to described URL address and described web page digest information, described message packets is modified, Obtain amended message packets.
Method the most according to claim 4, it is characterised in that described at least one included in following item pre-conditioned:
Corresponding URL address is provided for indicating the mark needing to carry out above-mentioned replacement process;
URL address is not by default functional unit input;
URL address belongs to default white list.
Method the most according to claim 1, it is characterised in that also include the identity of targeted customer in described message packets Identification information, described is sent to the second instant communication client by amended message packets, including:
According to the identification information of described targeted customer, amended message packets is sent to the second instant messaging client End.
7. an instant messaging comprises the processing means of the message of URL address, it is characterised in that including:
Receiver module, for receiving the message packets that the first instant communication client sends, described message packets includes Message content;
First judge module, is used for judging whether to comprise in described message content URL address;
Modified module, in time comprising URL address in described message content, obtains the webpage corresponding with described URL address and plucks Want information, and described message packets is modified, after being revised according to described URL address and described web page digest information Message packets;
Sending module, for being sent to the second instant communication client by amended message packets, so that described second is Time telecommunication customer end show described web page digest information.
Device the most according to claim 7, it is characterised in that described modified module specifically for:
Generate picture according to described web page digest information, and generate picture chain information according to described picture and described URL address, and The text or word chain information that described in described message packets, URL address is corresponding is replaced with described picture chain information;Or,
The code of corresponding rich text is generated with described web page digest information, with described code revision institute according to described URL address Stating message packets, wherein, described code includes: HTML code or primary code.
Device the most according to claim 7, it is characterised in that also include message type information in described message packets, Described first judge module specifically for:
According to described message type information, it is judged that whether described message content comprises URL address.
Device the most according to claim 7, it is characterised in that also include:
Second judge module, is used for judging whether described URL address meets pre-conditioned, in order to when meeting pre-conditioned, touches Send out modified module described and perform.
11. devices according to claim 10, it is characterised in that it is described pre-conditioned that described second judge module uses Including at least one in following item:
Corresponding URL address is provided for indicating the mark needing to carry out above-mentioned replacement process;
URL address is not by default functional unit input;
URL address belongs to default white list.
12. devices according to claim 7, it is characterised in that also include the body of targeted customer in described message packets Part identification information, described sending module specifically for:
According to the identification information of described targeted customer, amended message packets is sent to the second instant messaging client End.
CN201610648950.4A 2016-08-09 2016-08-09 Instant messaging comprises the treating method and apparatus of the message of URL address Pending CN106254217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610648950.4A CN106254217A (en) 2016-08-09 2016-08-09 Instant messaging comprises the treating method and apparatus of the message of URL address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610648950.4A CN106254217A (en) 2016-08-09 2016-08-09 Instant messaging comprises the treating method and apparatus of the message of URL address

Publications (1)

Publication Number Publication Date
CN106254217A true CN106254217A (en) 2016-12-21

Family

ID=58078483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610648950.4A Pending CN106254217A (en) 2016-08-09 2016-08-09 Instant messaging comprises the treating method and apparatus of the message of URL address

Country Status (1)

Country Link
CN (1) CN106254217A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353108A (en) * 2020-02-26 2020-06-30 北京字节跳动网络技术有限公司 Information display method and device
CN111639282A (en) * 2020-05-29 2020-09-08 维沃移动通信有限公司 Information display method, display device and electronic equipment
CN112685022A (en) * 2020-12-30 2021-04-20 北京字节跳动网络技术有限公司 Picture processing interface generation method, device, equipment and storage medium
CN114327720A (en) * 2021-12-28 2022-04-12 深圳乐信软件技术有限公司 Picture loading method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102255A (en) * 2007-08-13 2008-01-09 腾讯科技(深圳)有限公司 Processing method and device for instant communication information including hyperlink
CN101741872A (en) * 2008-11-07 2010-06-16 华为软件技术有限公司 Method and device for acquiring information of target resources
CN104243273A (en) * 2013-06-09 2014-12-24 阿里巴巴集团控股有限公司 Method and device for displaying information on instant messaging client and information display system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102255A (en) * 2007-08-13 2008-01-09 腾讯科技(深圳)有限公司 Processing method and device for instant communication information including hyperlink
CN101741872A (en) * 2008-11-07 2010-06-16 华为软件技术有限公司 Method and device for acquiring information of target resources
CN104243273A (en) * 2013-06-09 2014-12-24 阿里巴巴集团控股有限公司 Method and device for displaying information on instant messaging client and information display system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
祝娟: "《电子商务实务》", 31 July 2011 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353108A (en) * 2020-02-26 2020-06-30 北京字节跳动网络技术有限公司 Information display method and device
CN111639282A (en) * 2020-05-29 2020-09-08 维沃移动通信有限公司 Information display method, display device and electronic equipment
CN112685022A (en) * 2020-12-30 2021-04-20 北京字节跳动网络技术有限公司 Picture processing interface generation method, device, equipment and storage medium
CN114327720A (en) * 2021-12-28 2022-04-12 深圳乐信软件技术有限公司 Picture loading method and device and storage medium

Similar Documents

Publication Publication Date Title
US10667101B2 (en) Contextual deep linking of applications
CA2695819C (en) Method and system to selectively secure the display of advertisements on web browsers
US10148681B2 (en) Automated identification of phishing, phony and malicious web sites
US20160330150A1 (en) Message service providing method for message service linked to search service and message server and user terminal to perform the method
CN106254217A (en) Instant messaging comprises the treating method and apparatus of the message of URL address
US20130055089A1 (en) Share Box for Endorsements
CN104766014A (en) Method and system used for detecting malicious website
CN106339407A (en) Processing method and device for message containing URL (uniform resource locator) address in IM (instant messaging)
KR100848319B1 (en) Harmful web site filtering method and apparatus using web structural information
CN105991398A (en) Instant message IM chatting records storage method and apparatus
US11301560B2 (en) Real-time detection and blocking of counterfeit websites
CN109451333B (en) Bullet screen display method, device, terminal and system
US9223884B2 (en) Resource identifier personalization
US20150302466A1 (en) Data determination method and device for a thermodynamic chart
CN102436455A (en) Method and system for browsing characters as well as client browser
WO2016188029A1 (en) Method and device for parsing two-dimensional code, computer readable storage medium, computer program product and terminal device
CN104731870A (en) Method and device for providing recommendation information
KR102550923B1 (en) System for blocking harmful site and method thereof
CN106649567A (en) Web crawler system based on browser kernel
CN104063455A (en) Method and device for acquiring counseling messages of disease based on searching
CN103458065B (en) The video address extracting method of sing on web kit kernel under a kind of HTML5 standard
CN103455587B (en) Obtain and push the method and device of content, receive the method and device for pushing content
CN105117434A (en) Webpage classification method and webpage classification system
CN106254216A (en) The control method of message and device in instant communication client
EP3482300A1 (en) Object identifier index

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161221