CN102236676A - Method and device for acquiring picture information by session window - Google Patents
Method and device for acquiring picture information by session window Download PDFInfo
- Publication number
- CN102236676A CN102236676A CN2010101657722A CN201010165772A CN102236676A CN 102236676 A CN102236676 A CN 102236676A CN 2010101657722 A CN2010101657722 A CN 2010101657722A CN 201010165772 A CN201010165772 A CN 201010165772A CN 102236676 A CN102236676 A CN 102236676A
- Authority
- CN
- China
- Prior art keywords
- session window
- expression
- picture
- 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.)
- Granted
Links
Images
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
Technical field
The present invention relates to instant messaging (IM, Instant Messaging is also referred to as real-time communication) technology, refer to that especially the session window among a kind of IM obtains the method and the device of pictorial information.
Background technology
The network instant communication instrument is accepted by most netizen, and has become the requisite Software tool of user.The IM instrument and has obtained using widely in user's work not only in amusement and recreation at ordinary times.Therefore, the user is to the ease for use of IM instrument, stability, and aspects such as security also can propose higher requirement.
In the session window of IM, utilize dynamic picture to exchange, be a kind of friendly warm communication means.At present, the user is after searching interested picture on the webpage, the method that sends to the good friend after obtaining by the session window of IM instrument is comparatively complicated, and the user must utilize browser that picture is duplicated, after manually finding corresponding session window then, paste again in this session window.
Summary of the invention
In view of this, fundamental purpose of the present invention is the method and the device that provide a kind of session window to obtain pictorial information can simple realization obtain the process that sends behind the picture by the session window of IM instrument, and user friendly operation improves user experience.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of session window is obtained the method for pictorial information, comprising:
Arouse the expression search and webpage in session window;
In the expression search and webpage that arouses, select the concurrent picture selected of sending;
Arouse the session window of expression search and webpage and obtain picture selected.
Described session window sets in advance the unique session window sign of the overall situation; Described session window is aroused the expression search and webpage and is comprised:
Search in the little page in the expression of described session window, jump in the described expression search and webpage by clickthrough.
This method also comprises: embed the ActiveX plug-in unit in web browser, be used to be provided with the method that sends expression picture, and the script that the ActiveX plug-in unit that embeds offers the web browser support is called.
Described transmission picture selected comprises:
Described picture selected receives and sends order, activates the script that the web browser that is used to call described ActiveX plug-in unit is supported, and the uniform resource position mark URL and the described session window sign of selected expression picture are imported into as parameter;
Described ActiveX plug-in unit finds path and the filename of this expression picture in local cache, and this expression picture is copied to calling in the form of process transfer support according to the URL of selected expression picture;
Described ActiveX plug-in unit calls by striding course, and notice instant messaging IM instrument expression picture sends incident, and in notice described session window sign is imported into as parameter.
Described session window is obtained picture selected and is comprised:
After described IM instrument is received expression picture transmission incident, find the session window of expression search and webpage correspondence according to the described session window sign that obtains, and notify this session window to copy picture selected the form to the session window from calling of described process transfer support.
The form of calling of described process transfer support comprises: operating system shear plate, or shared file, or shared storage space.
A kind of session window is obtained the device of pictorial information, mainly comprises arousing module, selects sending module and acquisition module, wherein,
Arouse module, be used for arousing the expression search and webpage in session window;
Select sending module, be used for selecting the concurrent session window of sending picture selected to give to arouse the expression search and webpage at the current expression search and webpage that arouses;
Acquisition module is used to obtain picture selected.
Described session window sets in advance the unique session window sign of the overall situation; The described module of arousing specifically is used for searching for the little page in the expression of described session window, jumps in the described expression search and webpage by clickthrough.
This device also comprises web browser, wherein embeds the ActiveX plug-in unit, is used to be provided with the method that sends expression picture, and the script that the ActiveX plug-in unit that embeds offers the web browser support is called;
Described selection sending module, specifically be used for when described picture selected receives the transmission order, be used to call the script that the web browser of described ActiveX plug-in unit is supported, and the uniform resource position mark URL and the described session window sign of selected expression picture are imported into as parameter; Described ActiveX plug-in unit finds path and the filename of this expression picture in local cache, and this expression picture is copied to calling in the form of process transfer support according to the URL of selected expression picture; Described ActiveX plug-in unit calls by striding course, sends the notice that expression picture sends incident to described acquisition module, and in notice described session window sign is imported into as parameter.
Acquisition module, be used to specifically receive that expression picture sends incident, find the session window of expression search and webpage correspondence according to the described session window sign that obtains, and notify this session window to copy picture selected the form to the session window from calling of described process transfer support.
The technical scheme that provides from the invention described above is included in session window and arouses the expression search and webpage as can be seen, selects the concurrent picture selected of sending in the expression search and webpage that arouses; Arouse the session window of expression search and webpage and obtain picture selected.By the inventive method, realized that the user directly clicks the associated button of picture in webpage, can send the chat window of picture to appointment, convenient user's operation has promoted user experience greatly.
Description of drawings
Fig. 1 obtains the process flow diagram of the method for pictorial information for session window of the present invention;
Fig. 2 obtains the composition structural representation of the device of pictorial information for session window of the present invention;
Fig. 3 obtains the schematic flow sheet of the embodiment of pictorial information for session window of the present invention.
Embodiment
Fig. 1 obtains the process flow diagram of the method for pictorial information for session window of the present invention, as shown in Figure 1, comprising:
Step 100: arouse the expression search and webpage in session window.
Each session window sets in advance a session window sign ID (CLT_ID) that the overall situation is unique.Session window is aroused expression during search and webpage, and the URL(uniform resource locator) (URL, Uniform/Universal Resource Locator) of the expression search and webpage that arouses by needs is passed to the current expression search and webpage that arouses with CLT_ID as parameter.Wherein, arouse being meant in the expression of session window and searching in the little page, click some (need click) link, to jump to the process in the expression big page of search (search and webpage of promptly expressing one's feelings) by the user.
Step 101: in the expression search and webpage that arouses, select the concurrent picture selected of sending.
In the process of search expression, it is effective to remain CLT_ID in the expression search and webpage.This step specifically comprises:
At first, embed newly-increased ActiveX plug-in unit in web browser (IE), this paper is called expression assistant (FaceHelper).FaceHelper is used to be provided with a method that sends expression picture, and offers script that IE supports such as JavaScript script etc. and call.Wherein, the ActiveX plug-in unit of IE is a technical standard of Microsoft, and the roughly step of newly-increased ActiveX plug-in unit is: write ActiveX control; The registration ActiveX control is to operating system; The JavaScript script of webpage is created ActiveX object; The JavaScript script of webpage calls ActiveX object function etc., and specific implementation belongs to those skilled in the art's conventional techniques means, no longer describes in detail here, also is not intended to limit the scope of the invention.
Like this, when picture selected receives transmission order (clicking the sending function key of picture selected correspondence as the user) from the outside, can activate one section JavaScript script, this section script just can call the method for the transmission expression picture that FaceHelper provides, and the URL and the CLT_ID of selected expression picture imported into as parameter; FaceHelper is according to the URL of expression picture, find path and the filename of this expression picture in local cache (cache), and this expression picture copied to operating system shear plate (needing shear plate is emptied) here before duplicating, or shared file, or the calling in the form of process transfer support such as shared storage space; FaceHelper calls by striding course, and notice IM instrument expression picture sends incident, and in notice CLT_ID is imported into as parameter.Wherein, it is a kind of general mechanism of inter-process calling that striding course calls, and belongs to those skilled in the art's conventional techniques means, no longer describes in detail here.
Step 102: the session window of arousing the expression search and webpage is obtained picture selected.
After receiving expression picture transmission incident, the IM instrument finds the session window of expression search and webpage correspondence according to CLT_ID, and notifies this session window to copy picture selected the form to the session window from calling of operating system shear plate or process transfer supports such as shared file or shared storage space.
By the inventive method, realized that the user directly clicks the associated button of picture in webpage, can send the chat window of picture to appointment, convenient user's operation has promoted user experience greatly.
Corresponding the inventive method also provides a kind of device, and Fig. 2 obtains the composition structural representation of the device of pictorial information for session window of the present invention, as shown in Figure 2, mainly comprises and arouses module, selects sending module and acquisition module, wherein,
Arouse module, be used for arousing the expression search and webpage in session window.
Select sending module, be used for selecting the concurrent session window of sending picture selected to give to arouse the expression search and webpage at the current expression search and webpage that arouses.
Acquisition module is used to obtain picture selected.
Described session window sets in advance the unique session window sign of the overall situation; The described module of arousing specifically is used for searching for the little page in the expression of described session window, and clickthrough jumps in the described expression search and webpage.
This device also comprises web browser IE, wherein embeds newly-increased ActiveX plug-in unit, is used to be provided with a method that sends expression picture, and offers the JavaScript script and call; Wherein,
Select sending module, specifically be used to provide a method that sends expression picture to call to the JavaScript script; Picture selected receives transmission order from the outside when (as click the sending function key of picture selected correspondence as the user), activate one section JavaScript script that is used to call the method for the transmission expression picture that provides by newly-increased FaceHelper, and with the URL of selected expression picture and the overall unique CLT_ID that is used to identify session window import into as parameter; FaceHelper is according to the URL of expression picture, find path and the filename of this expression picture in local cache, and this expression picture is copied to calling in the form of operating system shear plate (needing shear plate is emptied) or process transfer supports such as shared file or shared storage space here before duplicating; FaceHelper calls by striding course, sends expression picture to acquisition module and sends incident, and CLT_ID is imported into as parameter in the time in this notice.
Acquisition module, be used to specifically receive that expression picture sends incident, find the session window of expression search and webpage correspondence according to CLT_ID, and notify this session window to copy picture selected the form to the session window from calling of operating system shear plate or process transfer supports such as shared file or shared storage space.
Fig. 3 obtains the schematic flow sheet of the embodiment of pictorial information for session window of the present invention, as shown in Figure 3, specifically may further comprise the steps:
Step 300: arouse the expression search and webpage in session window.
Each session window generates the sign ID that the overall situation is unique, and this paper is called CLT_ID.When session window is aroused the expression search and webpage,, CLT_ID is passed to the current expression search and webpage that arouses as parameter by the URL(uniform resource locator) (URL, Uniform/UniversalResource Locator) of webpage.
Step 301: in the expression search and webpage that arouses, search for expression picture.
In the process of search expression, it is effective to remain CLT_ID in the expression search and webpage.Embed newly-increased ActiveX plug-in unit in IE, this paper is called FaceHelper.FaceHelper is used to provide a method that sends expression picture to call to the JavaScript script.
Step 302: picture selected receives the transmission order from the outside.
When picture selected receives transmission order (clicking the sending function key of picture selected correspondence as the user) from the outside, can activate one section JavaScript script, this section script just can call the method for the transmission expression picture that FaceHelper provides, and the URL and the CLT_ID of selected expression picture imported into as parameter; FaceHelper finds path and the filename of this expression picture in local cache (cache) according to the URL of expression picture, and this expression picture is copied in the operating system shear plate; FaceHelper calls by striding course, and notice IM instrument expression picture sends incident, and in notice CLT_ID is imported into as parameter.
Step 303: selected expression picture shows in the session window of arousing the expression search and webpage.
After receiving expression picture transmission incident, the IM instrument finds the session window of expression search and webpage correspondence according to CLT_ID, and notifies this session window to copy picture selected to the session window from the operating system shear plate.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a session window is obtained the method for pictorial information, it is characterized in that, comprising:
Arouse the expression search and webpage in session window;
In the expression search and webpage that arouses, select the concurrent picture selected of sending;
Arouse the session window of expression search and webpage and obtain picture selected.
2. method according to claim 1 is characterized in that, described session window sets in advance the unique session window sign of the overall situation; Described session window is aroused the expression search and webpage and is comprised:
Search in the little page in the expression of described session window, jump in the described expression search and webpage by clickthrough.
3. method according to claim 2, it is characterized in that, this method also comprises: embed the ActiveX plug-in unit in web browser, be used to be provided with the method that sends expression picture, and the script that the ActiveX plug-in unit that embeds offers the web browser support is called.
4. method according to claim 3 is characterized in that, described transmission picture selected comprises:
Described picture selected receives and sends order, activates the script that the web browser that is used to call described ActiveX plug-in unit is supported, and the uniform resource position mark URL and the described session window sign of selected expression picture are imported into as parameter;
Described ActiveX plug-in unit finds path and the filename of this expression picture in local cache, and this expression picture is copied to calling in the form of process transfer support according to the URL of selected expression picture;
Described ActiveX plug-in unit calls by striding course, and notice instant messaging IM instrument expression picture sends incident, and in notice described session window sign is imported into as parameter.
5. method according to claim 4 is characterized in that, described session window is obtained picture selected and comprised:
After described IM instrument is received expression picture transmission incident, find the session window of expression search and webpage correspondence according to the described session window sign that obtains, and notify this session window to copy picture selected the form to the session window from calling of described process transfer support.
6. according to claim 4 or 5 described methods, it is characterized in that the form of calling of described process transfer support comprises: operating system shear plate, or shared file, or shared storage space.
7. a session window is obtained the device of pictorial information, it is characterized in that, mainly comprises and arouses module, selects sending module and acquisition module, wherein,
Arouse module, be used for arousing the expression search and webpage in session window;
Select sending module, be used for selecting the concurrent session window of sending picture selected to give to arouse the expression search and webpage at the current expression search and webpage that arouses;
Acquisition module is used to obtain picture selected.
8. device according to claim 7 is characterized in that, described session window sets in advance the unique session window sign of the overall situation; The described module of arousing specifically is used for searching for the little page in the expression of described session window, jumps in the described expression search and webpage by clickthrough.
9. device according to claim 8, it is characterized in that this device also comprises web browser, wherein embed the ActiveX plug-in unit, be used to be provided with the method that sends expression picture, and the script that the ActiveX plug-in unit that embeds offers the web browser support is called;
Described selection sending module, specifically be used for when described picture selected receives the transmission order, be used to call the script that the web browser of described ActiveX plug-in unit is supported, and the uniform resource position mark URL and the described session window sign of selected expression picture are imported into as parameter; Described ActiveX plug-in unit finds path and the filename of this expression picture in local cache, and this expression picture is copied to calling in the form of process transfer support according to the URL of selected expression picture; Described ActiveX plug-in unit calls by striding course, sends the notice that expression picture sends incident to described acquisition module, and in notice described session window sign is imported into as parameter.
10. device according to claim 9 is characterized in that,
Acquisition module, be used to specifically receive that expression picture sends incident, find the session window of expression search and webpage correspondence according to the described session window sign that obtains, and notify this session window to copy picture selected the form to the session window from calling of described process transfer support.
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 true CN102236676A (en) | 2011-11-09 |
CN102236676B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780093A (en) * | 2014-01-15 | 2015-07-15 | 阿里巴巴集团控股有限公司 | Method and device for processing expression information in instant messaging process |
CN104935491A (en) * | 2014-03-17 | 2015-09-23 | 腾讯科技(深圳)有限公司 | Method and device for transmitting expression image |
CN105975100A (en) * | 2016-04-28 | 2016-09-28 | 百度在线网络技术(北京)有限公司 | Method and device for expanding expression package in input method |
CN106354847A (en) * | 2016-08-31 | 2017-01-25 | 张北江 | Application method and system of image scheduling in instant messaging |
CN106682037A (en) * | 2015-11-11 | 2017-05-17 | 百度在线网络技术(北京)有限公司 | Method and device for operating pictures in pages |
CN107315488A (en) * | 2017-05-31 | 2017-11-03 | 北京安云世纪科技有限公司 | A kind of searching method of expression information, device and mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1719403A (en) * | 2004-07-08 | 2006-01-11 | 腾讯科技(深圳)有限公司 | 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 |
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 |
US20070005719A1 (en) * | 2001-07-06 | 2007-01-04 | Yahoo! Inc. | Processing user interface commands in an instant messaging environment |
CN1965314A (en) * | 2004-04-19 | 2007-05-16 | 雅虎公司 | Techniques for inline searching in an instant messenger environment |
CN101610163A (en) * | 2009-07-03 | 2009-12-23 | 腾讯科技(北京)有限公司 | The implementation method of multi-conference, device and system |
-
2010
- 2010-05-06 CN CN201010165772.2A patent/CN102236676B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070005719A1 (en) * | 2001-07-06 | 2007-01-04 | Yahoo! Inc. | Processing user interface commands in an instant messaging environment |
CN1965314A (en) * | 2004-04-19 | 2007-05-16 | 雅虎公司 | Techniques for inline searching in an instant messenger environment |
CN1719403A (en) * | 2004-07-08 | 2006-01-11 | 腾讯科技(深圳)有限公司 | 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 |
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 |
CN101610163A (en) * | 2009-07-03 | 2009-12-23 | 腾讯科技(北京)有限公司 | The implementation method of multi-conference, device and system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780093A (en) * | 2014-01-15 | 2015-07-15 | 阿里巴巴集团控股有限公司 | Method and device for processing expression information in instant messaging process |
CN104780093B (en) * | 2014-01-15 | 2018-05-01 | 阿里巴巴集团控股有限公司 | Expression information processing method and processing device during instant messaging |
CN104935491A (en) * | 2014-03-17 | 2015-09-23 | 腾讯科技(深圳)有限公司 | Method and device for transmitting expression image |
WO2015139528A1 (en) * | 2014-03-17 | 2015-09-24 | Tencent Technology (Shenzhen) Company Limited | Method and device for sending emoticons |
CN104935491B (en) * | 2014-03-17 | 2018-08-07 | 腾讯科技(深圳)有限公司 | A kind of method and device sending facial expression image |
US10554600B2 (en) | 2014-03-17 | 2020-02-04 | Tencent Technology (Shenzhen) Company Limited | Method and device for sending emoticons |
CN106682037A (en) * | 2015-11-11 | 2017-05-17 | 百度在线网络技术(北京)有限公司 | Method and device for operating pictures in pages |
CN105975100A (en) * | 2016-04-28 | 2016-09-28 | 百度在线网络技术(北京)有限公司 | Method and device for expanding expression package in input method |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN102236676B (en) | 2017-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5562977B2 (en) | Technology for automatically syndicating content over the network | |
US7716281B2 (en) | Method and system for transferring content from the web to mobile devices | |
US8024400B2 (en) | Method and system for transferring content from the web to mobile devices | |
CN104915398B (en) | A kind of webpage buries method and device a little | |
CN102236676A (en) | Method and device for acquiring picture information by session window | |
CN104144198B (en) | Multimedia information sharing method, system and device | |
CA2440776A1 (en) | A system and process for network collaboration through embedded annotation and rendering instructions | |
CN102130844B (en) | Method and system for acquiring Web chat logs | |
CN101888608A (en) | Remote control method, device and system | |
US20080059584A1 (en) | Method and apparatus for sharing resource addresses | |
CN104050287A (en) | Method and system for replying messages during instant chat | |
US20140074954A1 (en) | Method, system and device for implementing reposting to microblog | |
CN103051513B (en) | A kind of information real-time interaction method and system | |
CN101645855A (en) | System and method for reminding events of Web platform in enterprise instant messaging | |
US20140157290A1 (en) | Method, system, and device for switching between network applications, and computer storage medium | |
CN102436509A (en) | Method and system for browsing webpage at mobile terminal | |
CN104298416B (en) | The generation method and device of message are automatically replied in instant messaging | |
CN110633443B (en) | Method, device, equipment and medium for intra-page data communication | |
CN102647366A (en) | Method for realizing propagation of microblog list, terminal and system | |
CN112306591B (en) | Remote debugging method and device based on page | |
KR101699066B1 (en) | Message based on html5 sending method | |
US9467413B2 (en) | Method and system for replying to website update event | |
CN101188581A (en) | A method for identifying user in instant communication tool | |
CN101499977A (en) | Instant communication system and implementing method | |
CN102957749B (en) | A kind of for providing the method for information, device and equipment |
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 |