CN106254216A - The control method of message and device in instant communication client - Google Patents
The control method of message and device in instant communication client Download PDFInfo
- Publication number
- CN106254216A CN106254216A CN201610648946.8A CN201610648946A CN106254216A CN 106254216 A CN106254216 A CN 106254216A CN 201610648946 A CN201610648946 A CN 201610648946A CN 106254216 A CN106254216 A CN 106254216A
- Authority
- CN
- China
- Prior art keywords
- url address
- message
- message content
- webpage
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses control method and the device of message in a kind of instant communication client.Wherein method includes: receives the message content that message sending end sends, and judges whether to exist in message content URL address;If message content exists URL address, then according to the web page digest information of webpage corresponding to URL address acquisition;Represent template according to web page digest information, URL address and default message content to be represented on message session interface by message content.Achieve and enable to message sink end subscriber and can recognize the rough idea of each URL correspondence web page contents in message content in advance with intuitive and convenient, making message sink end subscriber can be made whether that the decision-making being necessary to access the webpage corresponding to this URL provides auxiliary foundation according to the rough idea of this web page contents, the chat improving user is experienced.
Description
Technical field
The present invention relates to communication technical field, particularly relate to message in a kind of instant communication client control method and
Control device.
Background technology
Along with the fast development of communication technology, increasing instant messaging (Instant Messaging, referred to as IM)
Application program arises at the historic moment.At present, user is using instant messaging application program (such as QQ application program, wechat program, Baidu Hi
Program etc.) give other users when sending message, often send to targeted customer and comprise URL (Uniform Resource
Locator, uniform resource locator) message of address so that this user wishes that the targeted customer receiving message can pass through
This URL address is gone to access this webpage corresponding to URL address.Targeted customer to access the webpage that this URL address is corresponding, typically needs
This URL address is manually entered in the address input field of corresponding browser, or by answering that instant messaging application program carries
Function processed, first copies to Clipboard this URL address, and the address the most again this URL address being pasted corresponding browser is defeated
In lairage.Obviously, the cost of aforesaid operations mode is higher, and Consumer's Experience is the most very poor.
In correlation technique, so that user accesses the webpage that this URL address is corresponding, most of instant messagings more easily
URL address text in message content all can be replaced with one on instant communication client by application program
Link text, the word chain with URL address as chained address, after such targeted customer sees message in message session window,
Just can clicking directly on the word chain corresponding to URL address contents in message content, quickly to access this URL address corresponding
Webpage.
But there is problems of, targeted customer itself is only to predict the webpage that this URL address is corresponding with URL address
The substantially situation of content, click on Text Link corresponding to this URL address hastily to access corresponding webpage, once this webpage
Content is not the most that interested to targeted customer, even targeted customer is detested, then for targeted customer, and should
During the cost paid be wasted completely, such as time-consumingly waiting in the running cost of clickthrough, web page loading process
Basis, webpage load the data traffic cost etc. consumed, and the most also can bring the biggest security risk to targeted customer, as met with
Fishing webpage or comprise the webpage etc. of trojan horse.
Summary of the invention
One of technical problem that the purpose of the present invention is intended to solve in correlation technique the most to a certain extent.
To this end, the first of the present invention purpose is to propose the control method of message in a kind of instant communication client.Should
Method enables to message sink end subscriber and can recognize in message content in each URL correspondence webpage in advance with intuitive and convenient
The rough idea held so that message sink end subscriber can be made whether to be necessary according to the rough idea of this web page contents
The decision-making accessing the webpage corresponding to this URL provides auxiliary foundation, improves the interactive experience of user.
Second object of the present invention is to propose the control device of message in a kind of instant communication client.
To achieve these goals, the controlling party of message in the instant communication client of first aspect present invention embodiment
Method, including: receive the message content that message sending end sends, and judge whether described message content exists URL address;If
Described message content exists described URL address, then according to the web page digest information of webpage corresponding to described URL address acquisition;
Represent template according to described web page digest information, described URL address and default message content disappeared by described message content
Breath represents on session interface.
The control method of message in the instant communication client of the embodiment of the present invention, can receive disappearing of message sending end transmission
Breath content, and judges whether to exist in message content URL address, if existing, then according to the net of webpage corresponding to URL address acquisition
Page summary info, and represent template according to web page digest information, URL address and default message content message content is being disappeared
Breath represents on session interface.I.e. by message sink end when receiving the message content that message sending end sends, should
URL address in message content replaces with the web page digest information of correspondence, and represents template according to default message content and will replace
Message content after changing is presented in message session interface so that message sink end subscriber can be recognized in advance with intuitive and convenient
The rough idea of each URL correspondence web page contents in message content so that message sink end subscriber can be according to this web page contents
Rough idea be made whether to be necessary that the decision-making accessing the webpage corresponding to this URL provides auxiliary foundation, auxiliary by this
Help according to running cost and time-consuming delay cost, the Yi Jiqian that user can be helped to reduce even avoid unnecessary clickthrough
In security risk etc., improve the interactive experience of user.
To achieve these goals, the control dress of message in the instant communication client of second aspect present invention embodiment
Put, including: receiver module, for receiving the message content that message sending end sends;Judge module, in being used for judging described message
Whether appearance exists URL address;Acquisition module, in time there is described URL address in described message content, according to described
The web page digest information of the webpage that URL address acquisition is corresponding;Represent module, for according to described web page digest information, described URL
Address and default message content represent template and are represented on message session interface by described message content.
The control device of message in the instant communication client of the embodiment of the present invention, can receive message by receiver module and send out
The message content that sending end sends, it is judged that module judges whether to exist in message content URL address, if existing, acquisition module then root
According to the web page digest information of webpage corresponding to URL address acquisition, represent module according to web page digest information, URL address and pre-
If message content represent template message content represented on message session interface.I.e. received by message sink end
To message sending end send message content time, the URL address in this message content is replaced with correspondence web page digest information,
And according to default message content represent template will replace after message content be presented in message session interface so that message connects
Terminating subscriber can recognize the rough idea of each URL correspondence web page contents in message content in advance with intuitive and convenient so that
Message sink end subscriber can be made whether to be necessary to access corresponding to this URL according to the rough idea of this web page contents
The decision-making of webpage provides auxiliary foundation, user can be helped to reduce even by this auxiliary foundation and avoid unnecessary clickthrough
Running cost and time-consuming delay cost and potential security risk etc., improve the interactive experience of user.
Aspect and advantage that the present invention 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 present invention.
Accompanying drawing explanation
The present invention 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 flow chart of the control method of message in instant communication client according to an embodiment of the invention;
Fig. 2 is to be carried out on the message session interface of message sink end by message content according to an embodiment of the invention
The flow chart of the handling process represented.
Fig. 3 is that message content is being shown on the message session interface of message sink end according to an embodiment of the invention
Effect schematic diagram;
Fig. 4 is the structured flowchart controlling device of message in instant communication client according to an embodiment of the invention;
Fig. 5 is the structured flowchart of acquisition module according to an embodiment of the invention;
Fig. 6 is the structured flowchart representing module according to an embodiment of the invention.
Detailed description of the invention
Embodiments of the invention are 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 element or has the element of same or like function.Below with reference to attached
The embodiment that figure describes is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings control method and the control of message in the instant communication client of the embodiment of the present invention are described
Device.
Fig. 1 is the flow chart of the control method of message in instant communication client according to an embodiment of the invention.Need
It is noted that in the instant communication client of the embodiment of the present invention that the control method of message can be applicable to instant communication client
The control device of middle message, this control device can be configured in instant communication client.It is appreciated that this instant messaging client
End can include message sending end and message sink end.The chat of user uses for convenience, and instant communication client is also user
Providing message session interface, user can be sent by this message session interface and check message etc..
Also, it should be noted the control method of message can be from IMU in the instant communication client of the embodiment of the present invention
The message sink end side of news client is described.
As it is shown in figure 1, the control method of message may include that in this instant communication client
S101, receives the message content that message sending end sends, and judges whether to exist in message content URL address.
It is appreciated that instant communication client can provide the user message session interface, the user Ke Tong of message sending end
Cross the input message content of the message input frame on message session interface and trigger message transmission.When monitoring or detecting that user is disappearing
When having input in breath input frame and trigger message transmission behavior, instant communication client can receive message sending end user in message
The message content inputted in session interface, and this message content is sent to the server corresponding to instant communication client.
Server, after receiving the message content that instant communication client sends, is transmitted to the instant messaging of the targeted customer of correspondence
Client, thus the message sink end of instant communication client can receive the message sent by message sending end that server forwards
Content.
It should be noted that so that server can normally and exactly transmit the message to targeted customer, at this
In inventive embodiment, server is input in obtaining message sending end user message session interface on message sending end
While message content, also need to obtain the identification information of target terminal user, the most also need to obtain the mark of message sink end
Information.Wherein, this identification information can be ID (IDentity, identity number) number or message sink of message sink end
Terminal unit number etc. corresponding to end.It will further be understood that above-mentioned message sink end can be one or more, namely
Saying, message sending end user can carry out instant messaging with one or more targeted customers simultaneously.
Receive message sending end send message content after, can determine whether whether message content exists meet default
The URL address of rule.Wherein, the above-mentioned URL address meeting preset rules can include a variety of mode, and such as, this meets default
The URL address of rule may include but be not limited to domain name belonging to URL address in default domain name white list, or, URL address
The static resource type etc. that the resource type that path is identified in plain text is non-multimedia resource type and non-auxiliary webpage represents.On
State non-multimedia resource type and can be regarded as not being the resources such as picture, video, audio frequency, the static resource class that non-auxiliary webpage represents
Type can be regarded as not being the static resource that represents of the auxiliary webpage such as CSS, JS.
Specifically, the content of text in this message content can be resolved, it is judged that whether this message content exists symbol
Close the URL address of preset rules, such as, if there is the URL under default white list domain name, or whether exist non-picture,
The URL address etc. of the static resource that the auxiliary webpage such as the multimedia resource such as video, audio frequency and non-CSS, JS represents, if it does,
Then can determine that and this message content exists URL address.
It should be noted that in an embodiment of the present invention, when judging message content does not exist URL address, can be straight
Connect in the message session interface that this message content is presented in message sink end.
, if there is URL address in message content, then according to the web-page summarization of webpage corresponding to URL address acquisition in S102
Information.
Specifically, when judging message content exists URL address, all of URL ground can be extracted from message content
Location, and for each URL address, according to the webpage that this URL address acquisition is corresponding, and obtain according to the web page content information of webpage
The title of webpage, main figure and subject content summary, afterwards, can according to the title of webpage, main figure, subject content summary,
And this URL address generates the web page digest information of webpage.
It should be noted that in one embodiment of the invention, the instant messaging clothes corresponding to instant communication client
Business end there is also web page digest information and generated system, and the acquisition mode of web page digest information can also be believed by this web-page summarization
Breath generation system obtains, and can generate system according to URL address to the web page digest information of instant messaging service end and send net
Page summary info obtains request.This web page digest information generates URL address acquisition entrained during system is asked according to this acquisition
The summary info of corresponding web page, and the web page digest information got is fed back to this instant communication client.
S103, represents template according to web page digest information, URL address and default message content and is being disappeared by message content
Breath represents on session interface.
Specifically, each URL address in message content can be replaced with the web page digest information of correspondence, and according to presetting
Message content represent template amended message content be presented on the message session interface of message sink end.As one
Example, exists message content as in figure 2 it is shown, represent template according to web page digest information, URL address and default message content
The process that implements carrying out on message session interface representing can comprise the following steps that
S201, represents template generation URL ground according to web page digest information, URL address and default web page digest information
Rich text corresponding to location represents code.
Wherein, this web page digest information preset represents template can be in advance according to necessarily representing style setting, example
As, this web page digest information represents template can include the typesetting pattern of web page digest information and the size of the main figure of webpage
And grayness, Web page subject and subject content the summary size of font, color, fineness etc..It is appreciated that above-mentioned webpage
Summary info represents template and can be made up of one section of code, the typesetting pattern of web page digest information defined in this code, with
And the size of the main figure of webpage and grayness, Web page subject and subject content the summary size of font, color, fineness
Deng.
Specifically, can be by the title of the webpage in web page digest information, main figure, subject content summary and correspondence
The information contenies such as URL address, corresponding is filled into the relevant position that this web page digest information preset represents in template, to generate
This rich text corresponding to URL address represents code.Wherein, the content that this rich text is represented can be picture and text mixing, and
The content that this rich text represents can corresponding corresponding URL address.
S202, determines the information of non-URL address part in message content according to URL address.
S203, represents code according to rich text corresponding to the information of non-URL address part, URL address and presets
Message content shows the displaying code of template generation message content.
Wherein, this message content preset shows that template can be in advance according to necessarily representing style setting.Such as, should
Message content represents masterplate and can include between the rich text that in message content, the content of text such as word or character is corresponding with URL address
Rich text corresponding to typesetting pattern and the size of content of text font, color, fineness, URL address to represent frame big
Little etc..It is appreciated that this message content represents masterplate and can be made up of one section of code, in message content defined in this code
Typesetting pattern between the rich text that content of text is corresponding with URL address and the size of content of text font, color, thickness
The rich text that degree, URL address are corresponding represent frame size etc..
Specifically, can be by the data (letter of the most non-URL address part of the non-web page digest information part in message content
Breath), rich text corresponding to each URL address represent code, corresponding this message content preset that is filled into represents in template
Relevant position, completely represents code with generate this message content.
S204, renders message content on message session interface according to the displaying code of message content, and by wash with watercolours
Message content after dye represents.
For example, the message sink with instant communication client terminates the message content received for " you can look at
The present room rate of this http://bj.lianjia.com/ershoufang/BJHD91428565.html rises out of my mind " as a example by, can
First extract URL address " the http://bj.lianjia.com/ershoufang/ in this message content
BJHD91428565.html ", and according to the web page digest information of this URL address acquisition to corresponding webpage, such as the title of webpage
" two little school districts rare three occupy full five unique hard-cover the commercial houses ", subject content summary " three Room two Room 94m2North and south 5,800,000 " etc., it
After, template can be represented according to web page digest information, this URL address and the default web page digest information that this URL address is corresponding
Generate this rich text corresponding to URL address and represent code, then, according to the data of the non-URL address part in message content,
This rich text corresponding to URL address represents code and default message content represents the complete of template generation message content
Represent code, finally, completely represent code according to this and render on the message session interface of message sink end and represent this message
Content, as it is shown on figure 3, the ways of presentation of the message content on the message session interface of message sink end can as shown in Figure 3
Form.It is appreciated that when detecting that targeted customer clicks on position corresponding to the rich text of this message content, can be according to this richness literary composition
URL address corresponding to Ben loads this webpage corresponding to URL address.
The control method of message in the instant communication client of the embodiment of the present invention, can receive disappearing of message sending end transmission
Breath content, and judges whether to exist in message content URL address, if existing, then according to the net of webpage corresponding to URL address acquisition
Page summary info, and represent template according to web page digest information, URL address and default message content message content is being disappeared
Breath represents on session interface.I.e. by message sink end when receiving the message content that message sending end sends, should
URL address in message content replaces with the web page digest information of correspondence, and represents template according to default message content and will replace
Message content after changing is presented in message session interface so that message sink end subscriber can be recognized in advance with intuitive and convenient
The rough idea of each URL correspondence web page contents in message content so that message sink end subscriber can be according to this web page contents
Rough idea be made whether to be necessary that the decision-making accessing the webpage corresponding to this URL provides auxiliary foundation, auxiliary by this
Help according to running cost and time-consuming delay cost, the Yi Jiqian that user can be helped to reduce even avoid unnecessary clickthrough
In security risk etc., improve the interactive experience of user.
Corresponding with the control method of message in the instant communication client that above-mentioned several embodiments provide, the one of the present invention
Plant embodiment and also provide for the control device of message in a kind of instant communication client, the IMU provided due to the embodiment of the present invention
In news client, message controls device and the control method of message in the instant communication client of above-mentioned several embodiments offer
Corresponding, therefore in aforementioned instant communication client, the embodiment of the control method of message is also applied for the present embodiment offer
Instant communication client in the control device of message, be not described in detail in the present embodiment.Fig. 4 is according to the present invention one
The structured flowchart controlling device of message in the instant communication client of embodiment.As shown in Figure 4, in this instant communication client
The control device of message may include that receiver module 100, judge module 200, acquisition module 300 and represents module 400.
Specifically, receiver module 100 can be used for receiving the message content that message sending end sends.
Judge module 200 can be used for judging whether to exist in message content URL address.Specifically, in the reality of the present invention
Execute in example, it is judged that module 200 can determine whether whether there is the URL address meeting preset rules in message content.Wherein, this meets pre-
If the URL address of rule may include but be not limited to domain name belonging to URL address in default domain name white list, or, URL address
The static resource type etc. that the resource type that identified of plaintext path is non-multimedia resource type and non-auxiliary webpage represents.
When acquisition module 300 can be used for existing URL address in message content, according to the webpage that URL address acquisition is corresponding
Web page digest information.Specifically, in one embodiment of the invention, as it is shown in figure 5, this acquisition module 300 can wrap
Include: acquiring unit 310 and signal generating unit 320.Wherein, acquiring unit 310 can be used for the webpage corresponding according to URL address acquisition,
And obtain the title of webpage, main figure and subject content summary according to the web page content information of webpage.Signal generating unit 320 is used for
Title according to webpage, main figure, subject content summary and URL address generate the web page digest information of webpage.
Represent module 400 to can be used for representing template general according to web page digest information, URL address and default message content
Message content represents on message session interface.
As a kind of example, as shown in Figure 6, this represents module 400 and comprises the steps that the first signal generating unit 410, determines unit
420, the second signal generating unit 430 and represent unit 440.
Wherein, the first signal generating unit 410 can be used for according to web page digest information, URL address and default web-page summarization
The rich text that information represents corresponding to template generation URL address represents code.
First signal generating unit 420 can be used for determining the information of non-URL address part in message content according to URL address.
Second signal generating unit 430 can be used for the rich text exhibition corresponding to the information according to non-URL address part, URL address
Modern code and the message content preset show the displaying code of template generation message content.
Represent the displaying code that unit 440 can be used for according to message content on message session interface, message content to be carried out
Render, and the message content after rendering represents.
The control device of message in the instant communication client of the embodiment of the present invention, can receive message by receiver module and send out
The message content that sending end sends, it is judged that module judges whether to exist in message content URL address, if existing, acquisition module then root
According to the web page digest information of webpage corresponding to URL address acquisition, represent module according to web page digest information, URL address and pre-
If message content represent template message content represented on message session interface.I.e. received by message sink end
To message sending end send message content time, the URL address in this message content is replaced with correspondence web page digest information,
And according to default message content represent template will replace after message content be presented in message session interface so that message connects
Terminating subscriber can recognize the rough idea of each URL correspondence web page contents in message content in advance with intuitive and convenient so that
Message sink end subscriber can be made whether to be necessary to access corresponding to this URL according to the rough idea of this web page contents
The decision-making of webpage provides auxiliary foundation, user can be helped to reduce even by this auxiliary foundation and avoid unnecessary clickthrough
Running cost and time-consuming delay cost and potential security risk etc., improve the interactive experience of user.
In describing the invention, it is to be understood that term " first ", " second " are only used for describing purpose, and can not
It is interpreted as instruction or hint relative importance or the implicit quantity indicating indicated technical characteristic.Thus, define " the
One ", the feature of " second " can express or implicitly include at least one this feature.In describing the invention, " multiple "
It is meant that at least two, such as two, three etc., unless otherwise expressly limited specifically.
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 present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.And, the specific features of description or feature can be with in office one or more
Embodiment or example combine in an appropriate manner.Additionally, in the case of the most conflicting, those skilled in the art is permissible
The feature of the different embodiments described in this specification or example and different embodiment or example is combined and combines.
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 embodiment of the present invention 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 present invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use
In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction
Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set
Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory
(ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits
Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable
Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning
His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention 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 present invention 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..Although having shown that above and retouching
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, above-described embodiment can be changed, revise, replace and become by those of ordinary skill in the art within the scope of the invention
Type.
Claims (10)
1. the control method of message in an instant communication client, it is characterised in that comprise the following steps:
Receive the message content that message sending end sends, and judge whether described message content exists URL address;
If described message content exists described URL address, then pluck according to the webpage of webpage corresponding to described URL address acquisition
Want information;
Template is represented by described message content according to described web page digest information, described URL address and default message content
Message session interface represents.
2. the method for claim 1, it is characterised in that the net of the described webpage corresponding according to described URL address acquisition
Page summary info, including:
According to the webpage that described URL address acquisition is corresponding, and obtain described webpage according to the web page content information of described webpage
Title, main figure and subject content summary;
Title according to described webpage, main figure, subject content summary and described URL address generate the webpage of described webpage
Summary info.
3. the method for claim 1, it is characterised in that described according to described web page digest information, described URL address with
And the message content preset represents template and is represented on message session interface by described message content, including:
URL described in template generation is represented according to described web page digest information, described URL address and default web page digest information
Rich text corresponding to address represents code;
The information of non-URL address part in described message content is determined according to described URL address;
Rich text corresponding to information according to described non-URL address part, described URL address represents code and described pre-
If message content show the displaying code of message content described in template generation;
Described message content is rendered on described message session interface by the displaying code according to described message content, and will
Described message content after rendering represents.
4. the method for claim 1, it is characterised in that described judge whether to exist in described message content URL address,
Including:
Judge whether described message content exists the URL address meeting preset rules.
5. method as claimed in claim 4, it is characterised in that described in meet the URL address of preset rules and include:
Belonging to described URL address, domain name is in default domain name white list;Or;
The resource type that the plaintext path of described URL address is identified is non-multimedia resource type and non-auxiliary webpage represents
Static resource type.
6. the control device of message in an instant communication client, it is characterised in that including:
Receiver module, for receiving the message content that message sending end sends;
Judge module, is used for judging whether to exist in described message content URL address;
Acquisition module is in time there is described URL address in described message content, corresponding according to described URL address acquisition
The web page digest information of webpage;
Representing module, being used for representing template according to described web page digest information, described URL address and default message content will
Described message content represents on message session interface.
7. device as claimed in claim 6, it is characterised in that described acquisition module includes:
Acquiring unit, for the webpage corresponding according to described URL address acquisition, and obtains according to the web page content information of described webpage
Take the title of described webpage, main figure and subject content summary;
Signal generating unit, for generating institute according to the title of described webpage, main figure, subject content summary and described URL address
State the web page digest information of webpage.
8. device as claimed in claim 6, it is characterised in that described in represent module and include:
First signal generating unit, for according to described web page digest information, described URL address and default web page digest information exhibition
Described in existing template generation, the rich text corresponding to URL address represents code;
Determine unit, for determining the information of the non-URL address part in described message content according to described URL address;
Second signal generating unit, for according to the rich text exhibition corresponding to the information of described non-URL address part, described URL address
Modern code and described default message content show the displaying code of message content described in template generation;
Represent unit, be used for the displaying code according to described message content on described message session interface to described message content
Render, and the described message content after rendering represents.
9. device as claimed in claim 6, it is characterised in that described judge module specifically for:
Judge whether described message content exists the URL address meeting preset rules.
10. device as claimed in claim 9, it is characterised in that described in meet the URL address of preset rules and include:
Belonging to described URL address, domain name is in default domain name white list;Or;
The resource type that the plaintext path of described URL address is identified is non-multimedia resource type and non-auxiliary webpage represents
Static resource type.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610648946.8A CN106254216A (en) | 2016-08-09 | 2016-08-09 | The control method of message and device in instant communication client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610648946.8A CN106254216A (en) | 2016-08-09 | 2016-08-09 | The control method of message and device in instant communication client |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106254216A true CN106254216A (en) | 2016-12-21 |
Family
ID=58078619
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610648946.8A Pending CN106254216A (en) | 2016-08-09 | 2016-08-09 | The control method of message and device in instant communication client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254216A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110708235A (en) * | 2019-10-12 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Message generation method and device, storage medium and computer equipment |
CN110727434A (en) * | 2019-10-21 | 2020-01-24 | 百度在线网络技术(北京)有限公司 | Rendering method, rendering device, electronic equipment and storage medium |
CN113630399A (en) * | 2021-07-28 | 2021-11-09 | 上海纽盾网安科技有限公司 | Anti-phishing method, device and system based on gateway |
CN113656572A (en) * | 2021-08-26 | 2021-11-16 | 支付宝(杭州)信息技术有限公司 | Conversation processing method and system |
CN114168869A (en) * | 2021-11-25 | 2022-03-11 | 北京字跳网络技术有限公司 | Information display method, device, system and storage medium |
WO2023186130A1 (en) * | 2022-03-31 | 2023-10-05 | 北京字跳网络技术有限公司 | Information display method and apparatus, information sending method and apparatus, device, medium, and product |
Citations (4)
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 |
US20150288781A1 (en) * | 2014-04-04 | 2015-10-08 | International Business Machines Corporation | Validation of a location resource based on recipient access |
-
2016
- 2016-08-09 CN CN201610648946.8A patent/CN106254216A/en active Pending
Patent Citations (4)
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 |
US20150288781A1 (en) * | 2014-04-04 | 2015-10-08 | International Business Machines Corporation | Validation of a location resource based on recipient access |
Non-Patent Citations (2)
Title |
---|
张娜: "《QWB开发技术(Java)教程》", 28 February 2011 * |
霍亚飞: "《Qt Creator快速入门》", 31 May 2012 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110708235A (en) * | 2019-10-12 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Message generation method and device, storage medium and computer equipment |
CN110727434A (en) * | 2019-10-21 | 2020-01-24 | 百度在线网络技术(北京)有限公司 | Rendering method, rendering device, electronic equipment and storage medium |
CN113630399A (en) * | 2021-07-28 | 2021-11-09 | 上海纽盾网安科技有限公司 | Anti-phishing method, device and system based on gateway |
CN113630399B (en) * | 2021-07-28 | 2023-04-28 | 上海纽盾网安科技有限公司 | Anti-phishing method, device and system based on gateway |
CN113656572A (en) * | 2021-08-26 | 2021-11-16 | 支付宝(杭州)信息技术有限公司 | Conversation processing method and system |
CN114168869A (en) * | 2021-11-25 | 2022-03-11 | 北京字跳网络技术有限公司 | Information display method, device, system and storage medium |
WO2023186130A1 (en) * | 2022-03-31 | 2023-10-05 | 北京字跳网络技术有限公司 | Information display method and apparatus, information sending method and apparatus, device, medium, and product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106254216A (en) | The control method of message and device in instant communication client | |
US9509644B2 (en) | System and method for sharing content in an instant messaging application | |
US7216290B2 (en) | System, method and apparatus for selecting, displaying, managing, tracking and transferring access to content of web pages and other sources | |
US7278092B2 (en) | System, method and apparatus for selecting, displaying, managing, tracking and transferring access to content of web pages and other sources | |
US20150200885A1 (en) | Uniform display of linked files and attachments in e-mail messages | |
US20100099441A1 (en) | Mobile Device Advertising | |
US8984412B2 (en) | Advertising-driven theme preview and selection | |
CN109815430B (en) | Request processing method and device, data processing server and readable storage medium | |
US8903931B1 (en) | Methods for generating e-mail message interfaces | |
WO2010005684A1 (en) | Video overlay advertisement creator | |
US11356496B2 (en) | Systems and methods of publishing a design | |
JP2007233659A (en) | Information distribution system for network service | |
US20070101278A1 (en) | Web site theme designer | |
US20100318596A1 (en) | Systems and methods for providing readily updatable media content | |
US11140234B2 (en) | Controlling usages of channels of a user experience ecosystem | |
CN109523304B (en) | Advertisement previewing method and device | |
US20150012354A1 (en) | Method and System for Placing and Presenting Advertisements | |
US11907639B2 (en) | Electronic publishing platform | |
CN102314468A (en) | Synchronous browse method | |
CN107656935B (en) | Webpage display method and device | |
US10311489B2 (en) | System and method for creation of visual job advertisements | |
US10628860B2 (en) | System and method for creation of visual job advertisements | |
US20160259850A1 (en) | Datastructure generation and application | |
CN106302115A (en) | The control method of message and device in instant communication client | |
US20210287258A1 (en) | In-feed frame to display ads or other externally-hosted content |
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 |
Application publication date: 20161221 |
|
RJ01 | Rejection of invention patent application after publication |