CN100371888C - Method of making network page picture directly apply to instant communication tool - Google Patents

Method of making network page picture directly apply to instant communication tool Download PDF

Info

Publication number
CN100371888C
CN100371888C CNB2004100280282A CN200410028028A CN100371888C CN 100371888 C CN100371888 C CN 100371888C CN B2004100280282 A CNB2004100280282 A CN B2004100280282A CN 200410028028 A CN200410028028 A CN 200410028028A CN 100371888 C CN100371888 C CN 100371888C
Authority
CN
China
Prior art keywords
web page
picture
jicq
page picture
option
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
CNB2004100280282A
Other languages
Chinese (zh)
Other versions
CN1719403A (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 CNB2004100280282A priority Critical patent/CN100371888C/en
Publication of CN1719403A publication Critical patent/CN1719403A/en
Application granted granted Critical
Publication of CN100371888C publication Critical patent/CN100371888C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a method for directly applying web page pictures to an instant communication tool which comprises a picture application script program. The method comprises the following steps: step 1, an option for applying the web page pictures to the instant communication tool is configured in menu items of a registry of an operating system. Step 2, the picture application script program of the instant communication tool is called so as to obtain the URL address information of the web page pictures and create an OLE object. Step 3, the OLE object calls an application program interface of the operating system for translating the URL address information of the web page pictures, obtaining paths and filenames which the web pages pictures stored in the Cache of a surfing computer, and creating a subjective object. Step 4, the subjective object calls an interface of the instant communication tool, uses the paths and the filenames of the web pages pictures stored in the Cache of the surfing computer as parameters, and directly applies the web page pictures to the instant communication tool.

Description

A kind of Web page picture is applied directly to method in the JICQ
Technical field
The present invention relates to JICQ, especially relate to and a kind of Web page picture is applied directly to method in the JICQ.
Background technology
Instantaneous communication system is a kind of communication service based on the internet, and the user can realize that the instant messaging of literal or image information is with mutual by JICQ.Tencent QQ is exactly a kind of JICQ based on the internet.
The user is in the webpage that surfs the web; see static state or the dynamic picture that some are interesting through regular meeting; they wish by immediate communication tool these pictures to be issued friend, perhaps send to friend by the multimedia message mode, thereby share these interesting pictures with friend.The way that solves is these pictures to be downloaded to preserve earlier at present, adds to then in the immediate communication tool, just can send these pictures.
The operating process more complicated, inconvenience be difficult to realize directly collect interest figure by immediate communication tool quickly and easily, thereby the surfing on the net of sharing various interesting figure with the good friend is experienced.
Summary of the invention
The objective of the invention is to solve the problem that directly the network picture to be added in the prior art in the JICQ, and a kind of easy to operate method that directly the network picture is applied in the JICQ is provided.
The object of the present invention is achieved like this, and a kind of method that directly Web page picture is applied in the JICQ is characterized in that described JICQ comprises a picture application scenarios program, said method comprising the steps of:
(1) under the menu item of the registration table of computer operating system, sets up one Web page picture is applied to option in the JICQ; (2) call the picture application scenarios program of described JICQ, obtain URL (the Uniform Resource Locator) address information of the picture in the webpage, and create an OLE (Object Link and Embed) object;
(3) ole object calls the application programming interfaces of computer operating system, the URL address information of the picture in the described webpage is translated, the acquisition Web page picture is stored in path and the filename among the online computer Cache (buffer storage), and creates a MainCreator object;
(4) the JICQ api interface of the JICQ of the described operation of chief creating object reference, described Web page picture in online computer Cache the path and filename as parameter, described Web page picture is applied directly in the described JICQ.
According to the method that directly Web page picture is applied in the JICQ of the present invention, it is characterized in that in step (1), the described option that Web page picture is applied in the JICQ is to add the expression option; Defined when mouse is arranged in the picture position of webpage, the right button of clicking the mouse will the option of expression tabulation occur Web page picture is added in the menu that ejects.
According to the method that directly Web page picture is applied in the JICQ of the present invention, it is characterized in that, after the user has selected the option that Web page picture is added to the expression tabulation in the popup menu, call the picture application scenarios program of described JICQ.
According to the method that directly Web page picture is applied in the JICQ of the present invention, it is characterized in that in step (1), the described option that Web page picture is applied in the JICQ is the multimedia message delivery option; Defined when mouse is arranged in the picture position of webpage, the option that Web page picture is sent by multimedia message will appear in the right button of clicking the mouse in the menu that ejects.
According to the method that directly Web page picture is applied in the JICQ of the present invention, it is characterized in that, after the user has selected the option that Web page picture is sent by multimedia message in the popup menu, call the picture application scenarios program of described JICQ.
According to the method that directly Web page picture is applied in the JICQ of the present invention, it is characterized in that, in step (2), described picture application scenarios program is at first judged the object of the position in the webpage at mouse place, if to liking picture, then obtain the URL address information of the picture in the webpage, and create an ole object.
According to the method that directly Web page picture is applied in the JICQ of the present invention, it is characterized in that, in step (3), the application program that described chief creating object enumeration is moved on the online computer, if the immediate communication tool program is moved, then call the corresponding application programs interface of described JICQ; If the immediate communication tool program is operation not, then stop the program implementation of picture application scenarios.
According to the method that directly Web page picture is applied in the JICQ of the present invention, it is characterized in that, in step (4), described application programming interfaces are emoticon application programming interfaces, by calling the emoticon application programming interfaces of described JICQ, described Web page picture in online computer Cache the path and filename as parameter, add described Web page picture to the expression tabulation.
According to the method that directly Web page picture is applied in the JICQ of the present invention, it is characterized in that, in step (4), described application programming interfaces are that multimedia message sends application programming interfaces, send application programming interfaces by the multimedia message of calling described JICQ, described Web page picture in online computer Cache the path and filename as parameter, described Web page picture is sent to other user with the multimedia message form.
Implement the method that directly Web page picture is applied in the JICQ of the present invention, the user can be quickly and easily by the right-click menu of clicking the mouse, Web page picture is added to the self-defined expression of JICQ or sends to the cellphone subscriber by JICQ in the multimedia message mode, give the user experience of better surfing the web.
Description of drawings
Fig. 1 is in one embodiment of the present of invention, utilizes the inventive method, Web page picture is directly added the process flow diagram of the self-defined expression tabulation of JICQ.
Embodiment
In one embodiment of the invention, Web page picture directly can be imported the self-defined expression tabulation of immediate communication tool.
At first under the menu item of the registration table of computer operating system, set up the option that a name is called " adding the self-defined expression of immediate communication tool to "; Need to add two list items in the next stage catalogue of adding the immediate communication tool expression to, first list item name is called acquiescence.It has indicated a catalogue: " D: Program Files Tencent8 AddEmotion.htm ", the picture application scenarios program AddEmotion.htm in the catalogue is actually one section VBScript script, i.e. one section program.This section program has defined as the user and has selected to add to the incident that is triggered after the immediate communication tool expression at right button on the webpage.The IE browser can be carried out this section script, thereby realizes a series of click action.Second list item is that Contexts is a double byte value.Define (for example, picture, text, control) click on what object of webpage, can occur adding to the list item of immediate communication tool expression in the right-click menu option.Here Ding Yi 0x00000002 meaning is added the option ejection of immediate communication tool expression to for the right button of clicking the mouse has on the object picture on the webpage.
Then, execution flow process as shown in Figure 1:
Step 301 on the IE browser, judges whether the user has selected " add to immediate communication tool expression ", if execution in step 302 then, otherwise process ends.
Step 302 judges whether the webpage click zone is picture, and the words that are are then obtained its chained address.
Step 303 is created an object linking and embedding (abbreviating OLE as) Automation object.
Above-mentioned steps is to be realized by above-mentioned picture application scenarios program AddEmotion.htm, and wherein step 303 is by calling the AddEmotion method, creates OLE Automation objects by AddEmotion, and the chained address of picture is sent to this ole object.
Step 304, ole object is created a chief creating object that is used to manage in the DLL (dynamic link library) of the immediate communication tool of this machine operation, the immediate communication tool api interface that immediate communication tool exposed by chief creating Object Query and acquisition startup, and can be by calling the communication of this interface realization and immediate communication tool, monitor according to this interface of inquiry and acquisition whether the immediate communication tool operation is arranged on this machine, if have then execution in step 305, otherwise process ends.
Step 305, the ole object immediate communication tool api interface by the immediate communication tool of the operation that obtains obtains being responsible in this immediate communication tool and extraneous program is transmitted the object of parameter, i.e. parameter object in batches.
Step 306, ole object obtain picture in path and name information that this machine cache deposits by picture chained address and Windows api function, and thrust parameter object these information.
Step 307, ole object calls an interface function of being responsible for importing self-defined expression in the HyperLinkObj interface object of being responsible for a series of specific functions in the immediate communication tool, and the parameter of parameter object as this immediate communication tool api function is delivered in the immediate communication tool.
Step 308, immediate communication tool begin to carry out the method for being responsible for importing self-defined expression, parameter object are reduced to this machine path of picture.
Step 309, immediate communication tool is filled into the relevant position that the interpolation self-defining image is released dialog box with picture path and title.
Step 310 shows that adding self-defining image releases dialog box.
Step 311 judges whether the user confirms, if then execution in step 312, otherwise process ends.
Step 312 is added picture in the self-defined expression tabulation of AllInOne window.
By above flow process, the user just can add the Web page picture of being paid close attention to immediate communication tool extremely easily
For the mode of Web page picture with multimedia message being sent by immediate communication tool, with add to self-defined expression different only be to need to write " sending multimedia message " in first registration table by immediate communication tool.Need a same script, what just call when calling the method for OLE Automation objects is the interface that sends multimedia message.And OLE Automation objects calls also is to be responsible for the interface that multimedia message sends among the immediate communication tool API.

Claims (9)

1. method that directly Web page picture is applied in the JICQ is characterized in that described JICQ comprises a picture application scenarios program, said method comprising the steps of:
(1) under the menu item of the registration table of computer operating system, sets up one Web page picture is applied to option in the JICQ;
(2) call the picture application scenarios program of described JICQ, obtain the URL address information of the picture in the webpage, and create an object linking and embedding (OLE) object;
(3) ole object calls the application programming interfaces of computer operating system, and the URL address information of the picture in the described webpage is translated, and the acquisition Web page picture is stored in path and the filename among the computer Cache, and creates a chief creating object;
(4) the JICQ api interface of the JICQ of the described operation of chief creating object reference, described Web page picture in online computer Cache the path and filename as parameter, described Web page picture is applied directly in the described JICQ.
2. a kind of method that directly Web page picture is applied in the JICQ according to claim 1 is characterized in that, in step (1), the described option that Web page picture is applied in the JICQ is to add the expression option; Defined when mouse is arranged in the picture position of webpage, the right button of clicking the mouse will the option of expression tabulation occur Web page picture is added in the menu that ejects.
3. a kind of method that directly Web page picture is applied in the JICQ according to claim 2, it is characterized in that, after the user has selected the option that Web page picture is added to the expression tabulation in the popup menu, call the picture application scenarios program of described JICQ.
4. a kind of method that directly Web page picture is applied in the JICQ according to claim 1 is characterized in that in step (1), the described option that Web page picture is applied in the JICQ is the multimedia message delivery option; Defined when mouse is arranged in the picture position of webpage, the option that Web page picture is sent by multimedia message will appear in the right button of clicking the mouse in the menu that ejects.
5. a kind of method that directly Web page picture is applied in the JICQ according to claim 4, it is characterized in that, after the user has selected the option that Web page picture is sent by multimedia message in the popup menu, call the picture application scenarios program of described JICQ.
6. a kind of method that directly Web page picture is applied in the JICQ according to claim 1, it is characterized in that, in step (2), described picture application scenarios program is at first judged the object of the position in the webpage at mouse place, if to liking picture, then obtain the URL address information of the picture in the webpage, and create an ole object.
7. the method that directly Web page picture is applied in the JICQ according to claim 1, it is characterized in that, in step (3), whether described chief creating is monitored according to the interface of inquiry and acquisition has the immediate communication tool program to move on this machine, if the immediate communication tool program is moved, then call the corresponding application programs interface of described JICQ; If the immediate communication tool program is operation not, then stop the program implementation of picture application scenarios.
8. a kind of method that directly Web page picture is applied in the JICQ according to claim 1, it is characterized in that, in step (4), described application programming interfaces are emoticon application programming interfaces, by calling the emoticon application programming interfaces of described JICQ, described Web page picture in online computer Cache the path and filename as parameter, add described Web page picture to the expression tabulation.
9. a kind of method that directly Web page picture is applied in the JICQ according to claim 1, it is characterized in that, in step (4), described application programming interfaces are that multimedia message sends application programming interfaces, send application programming interfaces by the multimedia message of calling described JICQ, described Web page picture in online computer Cache the path and filename as parameter, described Web page picture is sent to other user with the multimedia message form.
CNB2004100280282A 2004-07-08 2004-07-08 Method of making network page picture directly apply to instant communication tool Active CN100371888C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100280282A CN100371888C (en) 2004-07-08 2004-07-08 Method of making network page picture directly apply to instant communication tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100280282A CN100371888C (en) 2004-07-08 2004-07-08 Method of making network page picture directly apply to instant communication tool

Publications (2)

Publication Number Publication Date
CN1719403A CN1719403A (en) 2006-01-11
CN100371888C true CN100371888C (en) 2008-02-27

Family

ID=35931246

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100280282A Active CN100371888C (en) 2004-07-08 2004-07-08 Method of making network page picture directly apply to instant communication tool

Country Status (1)

Country Link
CN (1) CN100371888C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100505706C (en) * 2006-09-25 2009-06-24 钱晓东 Method for providing and using WEB service on instant communication platform
CN101470729B (en) * 2007-12-25 2012-10-10 百度在线网络技术(北京)有限公司 Web page picture displaying method and device
CN102236676B (en) * 2010-05-06 2017-04-12 腾讯科技(深圳)有限公司 Method and device for acquiring picture information by session window
CN102360508A (en) * 2011-10-26 2012-02-22 深圳天源迪科信息技术股份有限公司 Multimedia message picture generating method and system
CN102811184B (en) * 2012-08-28 2015-04-01 腾讯科技(深圳)有限公司 Sharing method, terminal, server and system for custom emoticons
CN103914859B (en) * 2012-12-31 2017-12-05 北京新媒传信科技有限公司 Input word is changed into the information processing method and device of picture
CN108363536A (en) * 2018-02-27 2018-08-03 维沃移动通信有限公司 A kind of expression packet application method and terminal device
CN110990018B (en) * 2019-10-29 2023-03-24 北京全路通信信号研究设计院集团有限公司 Compiling method and compiling system of embedded system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1447937A (en) * 2000-08-14 2003-10-08 国际商业机器公司 Accessing legacy applications from internet
CN1468019A (en) * 2003-06-06 2004-01-14 腾讯科技(深圳)有限公司 Method and system for implementing application of cell phone picture and ring in instant communication tools

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1447937A (en) * 2000-08-14 2003-10-08 国际商业机器公司 Accessing legacy applications from internet
CN1468019A (en) * 2003-06-06 2004-01-14 腾讯科技(深圳)有限公司 Method and system for implementing application of cell phone picture and ring in instant communication tools

Also Published As

Publication number Publication date
CN1719403A (en) 2006-01-11

Similar Documents

Publication Publication Date Title
US8341531B2 (en) Content formatting and installation techniques
US9721030B2 (en) Codeless sharing of spreadsheet objects
KR101505234B1 (en) Xml-based web feed for web access of remote resources
RU2430405C2 (en) Dragging and dropping objects between local and remote modules
US8352573B2 (en) Method and apparatus for automatically embedding and emailing user-generated highlights
JP5562977B2 (en) Technology for automatically syndicating content over the network
US20140189493A1 (en) Method and apparatus for selecting a content portion of an internet document for collaboration and subsequent retrieval
CN102541852B (en) A kind of client software implementation method of web application
WO2011040849A1 (en) A method and arrangement for managing persistent rich internet applications
CN102508843A (en) Screen capture method and system with microblogging function
US8245221B2 (en) Content formatting and installation techniques
EP2664998A1 (en) Microblog message processing method and device thereof
CN106487662B (en) Information sharing method and device
CN100371888C (en) Method of making network page picture directly apply to instant communication tool
US20140143681A1 (en) Method and apparatus for sharing user-selected content
CN112764746B (en) Data processing method, device, electronic equipment and storage medium
US8201098B1 (en) Sending application captures in personal communication
KR20160070254A (en) Providing system, method for real time canvas, program and recording medium thereof
KR101699066B1 (en) Message based on html5 sending method
CN102137166A (en) Webpage-based webpage synchronously browsing method and system
Deinert et al. Introducing widget-based ims client applications
KR100587578B1 (en) Communication method for message made by messenger
US20230171295A1 (en) Internet (over the top) worldwide public chat capabilities matched to specified ("URL") streaming content and non specified ("prenamed & hardcoded") streaming content rooms
Chen et al. Applying SOA and Web 2.0 to Telecom: Legacy and IMS next-generation architectures
US20210090122A1 (en) SaaS for Content Curation without a browser add-on

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Chen Dan

Document name: Notification of registration; notice of patent for invention

C14 Grant of patent or utility model
GR01 Patent grant