CN102236676B - Method and device for acquiring picture information by session window - Google Patents

Method and device for acquiring picture information by session window Download PDF

Info

Publication number
CN102236676B
CN102236676B CN201010165772.2A CN201010165772A CN102236676B CN 102236676 B CN102236676 B CN 102236676B CN 201010165772 A CN201010165772 A CN 201010165772A CN 102236676 B CN102236676 B CN 102236676B
Authority
CN
China
Prior art keywords
picture
expression
session window
webpage
search
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.)
Active
Application number
CN201010165772.2A
Other languages
Chinese (zh)
Other versions
CN102236676A (en
Inventor
栾涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201010165772.2A priority Critical patent/CN102236676B/en
Publication of CN102236676A publication Critical patent/CN102236676A/en
Application granted granted Critical
Publication of CN102236676B publication Critical patent/CN102236676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method and a device for acquiring picture information by a session window. The method comprises the following steps of: calling an expression searching webpage in the session window, selecting a picture from the called expression searching webpage, and transmitting the selected picture; and acquiring the selected picture by using the session window calling the expression searching webpage. By the method provided by the invention, a user can transmit the picture to a given chat window by directly clicking a related button of the picture in the webpage, so convenience is brought to the operations of the user, and user experiences are greatly improved.

Description

A kind of method and device of acquiring picture information by session window
Technical field
The present invention relates to instant messaging (IM, Instant Messaging, also referred to as real-time communication) technology, espespecially a kind of The method and device of the acquiring picture information by session window in IM.
Background technology
Network plug-and-play is received by most netizen, and has become the requisite software work of user Tool.IM instruments are widely used in a variety of applications not only in amusement and recreation at ordinary times in the work of user.Therefore, use The aspects such as ease for use of the family to IM instruments, stability, safety can also propose higher requirement.
In the session window of IM, exchanged using dynamic picture, be a kind of friendly warm communication meanses.At present, User searches after picture interested on webpage, be sent to after the session window of IM instruments is obtained the method for good friend compared with For complexity, user must be replicated to picture using browser, then be found manually after corresponding session window, then be pasted In the session window.
The content of the invention
In view of this, present invention is primarily targeted at providing a kind of method and dress of acquiring picture information by session window Put, be capable of the process of simple realization transmission after the session window acquisition picture of IM instruments, user friendly operation is improved and used Experience at family.
To reach above-mentioned purpose, the technical scheme is that what is be achieved in that:
A kind of method of acquiring picture information by session window, including:
Arouse expression search and webpage in session window;
Fixed picture of concurrently sending to be elected is selected in the expression search and webpage for arousing;
The session window for arousing expression search and webpage obtains selected picture.
The session window is previously provided with globally unique session window mark;The session window arouses expression search Webpage includes:
Search in the little page in the expression of the session window, the expression search and webpage is jumped to by clickthrough In.
The method also includes:ActiveX plug-in units are embedded in web browser, for arranging the side for sending expression picture Method, and it is supplied to the script that web browser is supported to call embedded ActiveX plug-in units.
The picture selected that sends includes:
The selected picture receives transmission order, activates the web browser for calling the ActiveX plug-in units The script of support, and uniform resource position mark URL and the session window mark of selected expression picture is passed as parameter Enter;
The ActiveX plug-in units find road of the expression picture in local cache according to the URL of selected expression picture Footpath and filename, and the expression picture is copied to into process call the calling in form of support;
The ActiveX plug-in units are called by striding course, notice instant messaging IM instruments expression picture transmission event, and It is in notice that session window mark is incoming as parameter.
The session window obtains selected picture to be included:
The IM instruments are received after expression picture transmission event, are found expression according to the session window mark for obtaining and are searched The corresponding session window of rope webpage, and notify that the session window calls to call for support copy in form what is selected from the process Picture is to session window.
The process calls the form of calling of support to include:Operating system shear plate, or shared file, or shared storage sky Between.
A kind of device of acquiring picture information by session window, it is main to include arousing module, select sending module and obtain mould Block, wherein,
Arouse module, for arousing expression search and webpage in session window;
Sending module is selected, for the fixed picture that selects concurrently to send to be elected in the expression search and webpage for currently arousing to arousing The session window of expression search and webpage;
Acquisition module, for obtaining selected picture.
The session window is previously provided with globally unique session window mark;It is described to arouse module, specifically for The expression of the session window is searched in the little page, is jumped in the expression search and webpage by clickthrough.
The device also includes web browser, wherein embedded ActiveX plug-in units, for arranging the side for sending expression picture Method, and it is supplied to the script that web browser is supported to call embedded ActiveX plug-in units;
The selection sending module, specifically for when the selected picture receives transmission order, for calling State the script that the web browser of ActiveX plug-in units is supported, and by the uniform resource position mark URL of selected expression picture and institute State session window mark incoming as parameter;The ActiveX plug-in units find the expression according to the URL of selected expression picture Path and filename of the picture in local cache, and the expression picture is copied to into process call the calling in form of support; The ActiveX plug-in units are called by striding course, and to the acquisition module notice that expression picture sends event is sent, and logical Know middle that session window mark is incoming as parameter.
Acquisition module, specifically for receiving expression picture event is sent, and is found according to the session window mark for obtaining The corresponding session window of expression search and webpage, and notify that the session window calls calling in form for support to copy from the process Selected picture is to session window.
The technical scheme provided from the invention described above can be seen that and be included in session window and arouse expression search and webpage, Fixed picture of concurrently sending to be elected is selected in the expression search and webpage for arousing;The session window for arousing expression search and webpage obtains what is selected Picture.By the inventive method, the associated button that user clicks directly on picture in webpage is realized, you can send picture to finger Fixed chat window, facilitates the operation of user, is greatly improved Consumer's Experience.
Description of the drawings
Fig. 1 is the flow chart of the method for acquiring picture information by session window of the present invention;
Fig. 2 is the composition structural representation of the device of acquiring picture information by session window of the present invention;
Fig. 3 is the schematic flow sheet of the embodiment of acquiring picture information by session window of the present invention.
Specific embodiment
Fig. 1 is the flow chart of the method for acquiring picture information by session window of the present invention, as shown in figure 1, including:
Step 100:Arouse expression search and webpage in session window.
Each session window pre-sets globally unique session window mark ID (CLT_ID).Session window is called out When playing expression search and webpage, URL (URL, the Uniform/ of the expression search and webpage by needing to arouse Universal Resource Locator), CLT_ID is passed to the expression search and webpage for currently arousing as parameter.Wherein, Arouse and refer to that the expression in session window is searched in the little page, some (needing what is clicked on by user) links are clicked on, to jump to Process in the big page (search and webpage of expressing one's feelings) of expression search.
Step 101:Fixed picture of concurrently sending to be elected is selected in the expression search and webpage for arousing.
In expression search and webpage during search expression, remain that CLT_ID is effective.This step is specifically included:
First, newly-increased ActiveX plug-in units are embedded in web browser (IE), herein referred as express one's feelings assistant (FaceHelper).FaceHelper is used to arrange the method for a transmission expression picture, and is supplied to the script of IE supports such as JavaScript scripts etc. are called.Wherein, the ActiveX plug-in units of IE are a technical standards of Microsoft, increase ActiveX plug-in units newly Substantially step be:Write ActiveX control;Registration ActiveX control is to operating system;The JavaScript scripts wound of webpage Build ActiveX object;The JavaScript scripts of webpage call ActiveX object function etc., implement and belong to this area skill Art personnel's conventional techniques, I will not elaborate, without in restriction protection scope of the present invention.
So, when selected picture is received from outside transmission order (as the selected picture of user's click is corresponding Sending function key) when, one section of JavaScript script, the transmission table that this section of script will call FaceHelper to provide can be activated The method of feelings picture, and the URL and CLT_ID of selected expression picture is incoming as parameter;FaceHelper is according to expression figure The URL of piece, finds path and filename of the expression picture in local cache (cache), and the expression picture is copied to Operating system shear plate (needs before copy to empty shear plate here), or shared file, or shared memory space etc. enters Journey calls the calling in form of support;FaceHelper is called by striding course, notifies that IM instruments expression picture sends event, and It is incoming using CLT_ID as parameter in the notification.Wherein, it is a kind of general mechanism of inter-process calling that striding course is called, and belongs to this Art personnel's conventional techniques, I will not elaborate.
Step 102:The session window for arousing expression search and webpage obtains selected picture.
After receiving expression picture transmission event, IM instruments find the corresponding conversation window of expression search and webpage according to CLT_ID Mouthful, and notify that the session window calls the tune of support from operating system shear plate or the process such as shared file or shared memory space With selected picture is copied in form to session window.
By the inventive method, the associated button that user clicks directly on picture in webpage is realized, you can send picture To the chat window specified, the operation of user is facilitated, be greatly improved Consumer's Experience.
Correspondence the inventive method, also provides a kind of device, and Fig. 2 is the device of acquiring picture information by session window of the present invention Composition structural representation, as shown in Fig. 2 main include arousing module, selects sending module and acquisition module, wherein,
Arouse module, for arousing expression search and webpage in session window.
Sending module is selected, for the fixed picture that selects concurrently to send to be elected in the expression search and webpage for currently arousing to arousing The session window of expression search and webpage.
Acquisition module, for obtaining selected picture.
The session window is previously provided with globally unique session window mark;It is described to arouse module, specifically for The expression of the session window is searched in the little page, clickthrough, in jumping to the expression search and webpage.
The device also includes web browser IE, wherein embedded newly-increased ActiveX plug-in units, for arranging one expression is sent The method of picture, and it is supplied to JavaScript scripts to call;Wherein,
Sending module is selected, the method specifically for providing a transmission expression picture is called to JavaScript scripts; Selected picture receive from outside transmission order (as when user clicks on the corresponding sending function key of picture selected) when, One section of activation is used for the JavaScript scripts of the method for calling the transmission expression picture provided by newly-increased FaceHelper, and Using the URL of selected expression picture and incoming as parameter for identifying the globally unique CLT_ID of session window; FaceHelper finds path and filename of the expression picture in local cache according to the URL of expression picture, and by the table Feelings picture reproduction is to operating system shear plate (needing before copy to empty shear plate here) or shared file or shared deposits Storage space etc. process calls the calling in form of support;FaceHelper is called by striding course, is sent to acquisition module and is expressed one's feelings Picture sends event, and incoming using CLT_ID as parameter in the notice time.
Acquisition module, specifically for receiving expression picture event is sent, and according to CLT_ID expression search and webpage correspondence is found Session window, and notify that the session window is called from operating system shear plate or the process such as shared file or shared memory space Calling for supporting copies selected picture to session window in form.
Fig. 3 is the schematic flow sheet of the embodiment of acquiring picture information by session window of the present invention, as shown in figure 3, concrete bag Include following steps:
Step 300:Arouse expression search and webpage in session window.
Each session window generates globally unique mark ID, herein referred as CLT_ID.Session window arouses table During feelings search and webpage, by the URL (URL, Uniform/UniversalResource Locator) of webpage, CLT_ID is passed to the expression search and webpage for currently arousing as parameter.
Step 301:Expression picture is searched in the expression search and webpage for arousing.
In expression search and webpage during search expression, remain that CLT_ID is effective.It is embedded in IE newly-increased ActiveX plug-in units, herein referred as FaceHelper.FaceHelper be used for provide one transmission expression picture method to JavaScript scripts are called.
Step 302:Selected picture is received from outside transmission order.
When selected picture is received from outside transmission order (as user clicks on the selected corresponding transmission work(of picture Energy key) when, one section of JavaScript script, the transmission expression picture that this section of script will call FaceHelper to provide can be activated Method, it is and the URL and CLT_ID of selected expression picture is incoming as parameter;FaceHelper is according to expression picture URL, finds path and filename of the expression picture in local cache (cache), and the expression picture is copied to into operation In system shear plate;FaceHelper is called by striding course, notifies that IM instruments expression picture sends event, and in the notification will CLT_ID is incoming as parameter.
Step 303:Selected expression picture shows in the session window for arousing expression search and webpage.
After receiving expression picture transmission event, IM instruments find the corresponding conversation window of expression search and webpage according to CLT_ID Mouthful, and notify that the session window copies selected picture to session window from operating system shear plate.
The above, only presently preferred embodiments of the present invention is not intended to limit protection scope of the present invention, it is all Any modification, equivalent and improvement for being made within the spirit and principles in the present invention etc., should be included in the protection of the present invention Within the scope of.

Claims (7)

1. a kind of method of acquiring picture information by session window, it is characterised in that include:
Search in the little page in the expression of session window, need the chain clicked on to fetch trigger point by user and hit linked operation, to jump The big page of expression search is gone to, the expression searches for the big page for expression search and webpage;The session window is previously provided with entirely The unique session window mark CLT_ID of office;CLT_ID is remained during search expression in the expression search and webpage Effectively;
It is embedded in for arranging the ActiveX plug-in units for sending expression picture in web browser, embedded ActiveX plug-in units is provided The script supported to web browser is called;
Picture is selected in the expression search and webpage for arousing, is sent when selected picture is received from outside transmission order Selected picture;
The corresponding session window of expression search and webpage is found according to CLT_ID, the session window for arousing expression search and webpage is obtained Selected picture.
2. method according to claim 1, it is characterised in that the selected picture of the transmission includes:
The selected picture receives transmission order, activates for calling the web browser of the ActiveX plug-in units to support Script, it is and uniform resource position mark URL and the session window mark of selected expression picture is incoming as parameter;
The ActiveX plug-in units according to the URL of selected expression picture, find path of the expression picture in local cache and Filename, and the expression picture is copied to into process call the calling in form of support;
The ActiveX plug-in units are called by striding course, notify that instant messaging IM instruments expression picture sends event, and are being notified It is middle that session window mark is incoming as parameter.
3. method according to claim 2, it is characterised in that the session window obtains selected picture to be included:
The IM instruments are received after expression picture transmission event, and according to the session window mark for obtaining expression dragnet is found The corresponding session window of page, and notify that the session window calls calling for support that selected picture is copied in form from the process To session window.
4. according to the method in claim 2 or 3, it is characterised in that the process calls the form of calling of support to include:Behaviour Make system shear plate, or shared file, or shared memory space.
5. a kind of device of acquiring picture information by session window, it is characterised in that main to include arousing module, selects sending module And acquisition module, wherein,
Arouse module, for searching in the little page in the expression of session window, need the chain clicked on to fetch trigger point by user and hit Linked operation, to jump to the big page of expression search, the expression searches for the big page to arouse to trigger in expression search and webpage Expression search and webpage;The session window is previously provided with globally unique session window mark CLT_ID, searches in the expression Rope netpage search remains CLT_ID effectively during expressing one's feelings,
Web browser, for being embedded in the ActiveX plug-in units for sending expression picture are arranged, and embedded ActiveX plug-in units are provided The script supported to web browser is called;
Sending module is selected, for selecting picture in the expression search and webpage for currently arousing, is come when selected picture is received When outside transmission order selected picture is sent to the session window for arousing expression search and webpage;
Acquisition module, for finding the corresponding session window of expression search and webpage, the picture for making acquisition selected according to CLT_ID.
6. device according to claim 5, it is characterised in that the selection sending module, specifically for selecting described Picture when receiving transmission order, the script that the web browser for calling the ActiveX plug-in units is supported, and will be selected Expression picture uniform resource position mark URL and the session window mark it is incoming as parameter;The ActiveX plug-in units root According to the URL of selected expression picture, path and filename of the expression picture in local cache is found, and by the expression picture The process of copying to calls the calling in form of support;The ActiveX plug-in units are called by striding course, are sent out to the acquisition module Expression picture is sent to send the notice of event, and it is in the notification that session window mark is incoming as parameter.
7. device according to claim 6, it is characterised in that
Acquisition module, specifically for receiving expression picture event is sent, and according to the session window mark for obtaining expression is found The corresponding session window of search and webpage, and notify that the session window calls the copy in form that calls of support to select from the process Picture to session window.
CN201010165772.2A 2010-05-06 2010-05-06 Method and device for acquiring picture information by session window Active CN102236676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010165772.2A CN102236676B (en) 2010-05-06 2010-05-06 Method and device for acquiring picture information by session window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010165772.2A CN102236676B (en) 2010-05-06 2010-05-06 Method and device for acquiring picture information by session window

Publications (2)

Publication Number Publication Date
CN102236676A CN102236676A (en) 2011-11-09
CN102236676B true CN102236676B (en) 2017-04-12

Family

ID=44887332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010165772.2A Active CN102236676B (en) 2010-05-06 2010-05-06 Method and device for acquiring picture information by session window

Country Status (1)

Country Link
CN (1) CN102236676B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780093B (en) * 2014-01-15 2018-05-01 阿里巴巴集团控股有限公司 Expression information processing method and processing device during instant messaging
CN104935491B (en) 2014-03-17 2018-08-07 腾讯科技(深圳)有限公司 A kind of method and device sending facial expression image
CN106682037A (en) * 2015-11-11 2017-05-17 百度在线网络技术(北京)有限公司 Method and device for operating pictures in pages
CN105975100B (en) * 2016-04-28 2019-07-30 百度在线网络技术(北京)有限公司 The expanding method and device of expression packet in input method
CN106354847A (en) * 2016-08-31 2017-01-25 张北江 Application method and system of image scheduling in instant messaging
CN107315488A (en) * 2017-05-31 2017-11-03 北京安云世纪科技有限公司 A kind of searching method of expression information, device and mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808439A (en) * 2006-02-21 2006-07-26 西安迪戈科技有限责任公司 Method of adding searchable deep labels in web pages in conjunction with browser plug-ins and scripts
CN1965314A (en) * 2004-04-19 2007-05-16 雅虎公司 Techniques for inline searching in an instant messenger environment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7133900B1 (en) * 2001-07-06 2006-11-07 Yahoo! Inc. Sharing and implementing instant messaging environments
CN100371888C (en) * 2004-07-08 2008-02-27 腾讯科技(深圳)有限公司 Method of making network page picture directly apply to instant communication tool
CN1783850A (en) * 2004-12-03 2006-06-07 腾讯科技(深圳)有限公司 Searching method and system based on immediate communication platform
CN101610163A (en) * 2009-07-03 2009-12-23 腾讯科技(北京)有限公司 The implementation method of multi-conference, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1965314A (en) * 2004-04-19 2007-05-16 雅虎公司 Techniques for inline searching in an instant messenger environment
CN1808439A (en) * 2006-02-21 2006-07-26 西安迪戈科技有限责任公司 Method of adding searchable deep labels in web pages in conjunction with browser plug-ins and scripts

Also Published As

Publication number Publication date
CN102236676A (en) 2011-11-09

Similar Documents

Publication Publication Date Title
CN102236676B (en) Method and device for acquiring picture information by session window
CN1084498C (en) Communication interconnected network
KR101145066B1 (en) System for providing advertisements across multiple channels
CN201298231Y (en) Multilingual communication and application system capable of automatically identifying multilanguage
CN103078881A (en) Sharing control system and method for network resource downloading information
US8977642B2 (en) Recommending relevant and personalized content accessing keywords for users of a text messaging service based global textsite platform
TW200917145A (en) Mobile contextual SMS advertising
CN103699553B (en) Control method and device for displaying of dynamic data
CN101183396A (en) Advertisement display process, system and device
CN102779137A (en) Method and device for treating personalized feedback information of users about webpages
CN102054040A (en) Knowledge information interaction service method and site and questioning and answering interaction platform
CN106933839A (en) A kind of method for page jump and device
CN106372982A (en) Electronic gift display control method and device of live streaming room, and terminal equipment
US20140074954A1 (en) Method, system and device for implementing reposting to microblog
JP2009151811A (en) Hot site presentation system
CN109224455A (en) Interactive approach, device and the server of virtual pet
CN106790915B (en) Number Reorganization control method, device and corresponding server and mobile terminal
US20050268172A1 (en) System, apparatus, method and program for evaluating usability to content
CN105975601A (en) Webpage document online preview method
CN105279156B (en) Network information communication means and network information browsing apparatus
CN108140037A (en) Native application is instantiated in advance on backstage
CN101499977A (en) Instant communication system and implementing method
CN110633443A (en) Method, device, equipment and medium for in-page data communication
CN103365845B (en) A kind of searching method in microblogging and system
CN116070052A (en) Interface data transmission method, device, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant