WO2014086194A1 - 网络的信息展示方法和系统、终端和信息展示处理装置 - Google Patents

网络的信息展示方法和系统、终端和信息展示处理装置 Download PDF

Info

Publication number
WO2014086194A1
WO2014086194A1 PCT/CN2013/083926 CN2013083926W WO2014086194A1 WO 2014086194 A1 WO2014086194 A1 WO 2014086194A1 CN 2013083926 W CN2013083926 W CN 2013083926W WO 2014086194 A1 WO2014086194 A1 WO 2014086194A1
Authority
WO
WIPO (PCT)
Prior art keywords
website
selected content
terminal
information display
matching
Prior art date
Application number
PCT/CN2013/083926
Other languages
English (en)
French (fr)
Inventor
唐元海
周彬
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to US14/648,492 priority Critical patent/US20150317321A1/en
Publication of WO2014086194A1 publication Critical patent/WO2014086194A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Definitions

  • the present invention relates to the field of Internet information transmission technologies, and in particular, to a network information display method and system, a terminal, and an information display processing device. Background technique
  • the embodiments of the present invention provide a network information display method and system, a terminal, and an information display processing device, so as to implement a new form of network information transmission and display, transmit and display more network information, and improve the website. Information capacity.
  • An embodiment of the present invention provides a method for displaying information on a network, the method comprising: obtaining content selected on a website page, and searching a website material database according to the selected content to obtain a material that matches the selected content;
  • the obtained material is pushed to the terminal, and is displayed through a specific area i in the right-click menu of the website of the terminal.
  • the embodiment of the invention further provides a method for displaying information of a network, the method comprising: collecting content selected on a website page, and sending the selected content after obtaining the right button instruction;
  • the material When a material that matches the selected content is received, the material is displayed through a specific area in the context menu of the website.
  • the embodiment of the invention further provides an information display processing device, including:
  • the matching module is configured to obtain the selected content on the website page, and search the website material database according to the selected content to obtain the material that matches the selected content;
  • the pushing module is configured to push the obtained material to the terminal, and display the specific area in the right-click menu of the terminal of the terminal.
  • the invention also provides a terminal, comprising:
  • the collection and sending module is configured to collect the selected content on the website page, and after the right button is obtained, send the selected content;
  • the presentation module is configured to display the material through a specific area in the right-click menu of the website when receiving the material that matches the selected content.
  • the embodiment of the present invention further provides a network information display system, including the information display processing device of the present invention, and the terminal according to the present invention.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer executable instructions are stored, and the computer executable instructions are used to execute the information display method according to the embodiment of the present invention.
  • the information display method and system, the terminal and the information display processing device of the network provided by the embodiment of the present invention reduce the occupation of the website page area by saving the right-click menu as the display area of the material, thereby saving the website page.
  • Space has expanded the new form of network information transmission and display, and can transmit and display more network information, improving the information capacity of the website.
  • FIG. 1 is a flowchart 1 of a method for displaying information of a network according to an embodiment of the present invention
  • FIG. 2 is a flowchart 2 of a method for displaying information of a network according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram showing material presentation according to selected text on a website page according to an embodiment of the present invention. detailed description
  • the embodiment of the invention provides a method for displaying information of a network executed by a background server of a website. As shown in FIG. 1 , the method mainly includes the following steps:
  • Step 101 Obtain the selected content on the website page, and search the website material database according to the selected content to obtain the material that matches the selected content.
  • the selected content on the website page includes at least one of the following: text, picture.
  • the material refers to various types of information such as text, pictures, video, audio, and the like.
  • the website material database is pre-built, and each material is indexed by corresponding keywords, thereby constructing a mapping relationship between the materials and the keywords, and matching the keywords, that is, the calling of the corresponding materials can be realized. That is to say, the material is classified by keywords, which are used for subsequent material matching and precise orientation.
  • the website material database may be stored by a website server of the website, or may be stored by a dedicated data storage server, which may be called by a background server of the website.
  • Txt window. getSelection()
  • Txt document. getSelection()
  • Txt document, selection. createRange(). text
  • renderBuffer Apply(window, load— area— id);
  • Var timeout_handle setTimeout(callback, crystal— args. lview— time—out* 1000);
  • Var importScript function(url, callback, charset) ⁇
  • the selected word when the selected content on the website page is text, after obtaining the selected text on the website page, the selected word may be subjected to word segmentation to obtain at least one morpheme (ie, the smallest unit for word segmentation) And matching the obtained morphemes with the keywords in the material database, and selecting at least one material with the highest degree of matching between the morphemes and the keywords from the material database.
  • word segmentation ie, the smallest unit for word segmentation
  • the selected content on the website page is an image
  • the selected image is scanned and analyzed, and at least one material with the highest matching degree is extracted from the website material database according to the result of the scan analysis ( Picture or text);
  • extracting text corresponding to the selected picture on the website page for example, Descriptive text or picture title text of the picture on the website page, performing word segmentation processing on the extracted text to obtain at least one morpheme, matching the obtained morpheme with the keyword in the material database, and from the Select at least one material with the highest morpheme and keyword matching in the material database.
  • the material matching in the embodiment of the present invention may adopt an exact matching or a fuzzy matching, which needs to be set according to an actual application, for example: when there are many materials that can be matched, an exact matching may be selected, when the matching material can be selected. When there are few, you can choose fuzzy matching.
  • exact matching means that the keywords corresponding to the material are included in the morphemes of the selected words on the page for word segmentation; the so-called fuzzy matching means that the keyword part corresponding to the material contains the morphemes after the words selected on the page are segmented.
  • Step 102 Push the obtained material to the terminal, and display it through a specific area in the right-click menu of the website of the terminal.
  • the embodiment of the present invention needs to invoke the public interface of the website, and modify the website space to open a specific area in the right-click menu of the website.
  • the specific area may be a display area occupying at least one content item in the right-click menu of the website, or may be a background of the right-click menu of the website. region.
  • the background server of the website pushes the obtained material to a specific area in the right-click menu of the website of the terminal for display.
  • the obtained material is pushed to a specific area in the right-click menu for display, and the relevant execution code is as follows:
  • the terminal is notified to display the default right-click menu of the website.
  • the embodiment of the present invention can also open a calling interface of the third-party platform of the user in the right-click menu of the website by calling the public interface of the website, and prompting the user to share the displayed material to the third-party platform of the user (such as the user's Space, microblog, etc.); Then, when the background server of the website receives the terminal indication, the material displayed in the specific area in the website right-click menu may be sent to the third-party platform of the user to share with the user's friend. .
  • the embodiment of the present invention further provides a method for displaying information of a network executed by a terminal, as shown in FIG. 2, which mainly includes the following steps:
  • Step 201 collecting the selected content on the website page, and after obtaining the right button instruction, The selected content is sent.
  • the selected content on the website page includes at least one of the following: text, picture.
  • the terminal After the user selects the content on the website page, when the user clicks the right mouse button, the terminal sends the selected content to the background server for the background server to match the material.
  • Step 202 When receiving the material that matches the selected content, the material is displayed through a specific area in the right-click menu of the website.
  • the material When receiving the material provided by the background server that matches the selected content, the material is displayed through a specific area in the right-click menu of the website;
  • the default right-click menu of the website is displayed according to the notification of the background server.
  • the background server prefferably, after obtaining the third-party sharing instruction initiated by the user, instructing the background server to send the material displayed in the specific area in the right-click menu to the third-party platform of the user according to the user instruction obtained from the website page.
  • the closing instruction of the right-click menu of the website is obtained (for example, the user clicks on the area other than the right-click menu of the website)
  • the right-click menu of the website is closed, and the relevant execution code is as follows: function document— MouseDown(e) ⁇
  • Event. srcElement e. target;
  • Element element.parentNode
  • the embodiment of the present invention further provides an information display processing device, which can be applied to a background server.
  • the device mainly includes: a matching module 10 and a push module 20 . .
  • the matching module 10 is configured to obtain the selected content on the website page, and search the website material database according to the selected content to obtain the material that matches the selected content;
  • the pushing module 20 is configured to push the obtained material to the terminal, and display it through a specific area in the right-click menu of the terminal of the terminal.
  • the material database stores a mapping relationship between the material and the keyword
  • the matching module 10 is further configured to: when the selected content on the website page is text, perform word segmentation processing on the selected text to obtain at least one morpheme, and obtain the morpheme and the keyword in the material database. Performing a match, and selecting at least one material having the highest degree of morpheme matching with the keyword from the material database;
  • the selected content on the website page is a picture
  • scan and analyze the selected picture and extract at least one material with the highest matching degree from the website material database according to the result of the scan analysis; or, extract the website page Text corresponding to the selected picture, word-dividing the extracted words to obtain at least one morpheme, matching the obtained morphemes with keywords in the material database, and selecting morphemes and keywords from the material database Match at least one of the most material.
  • the device further includes: a notification module 30 configured to search for the number of materials on the website According to the library, when the material that matches the selected content is not obtained, the terminal is notified to display the default right-click menu of the website.
  • a notification module 30 configured to search for the number of materials on the website According to the library, when the material that matches the selected content is not obtained, the terminal is notified to display the default right-click menu of the website.
  • the pushing module 20 is further configured to: send the material displayed in the specific area in the right-click menu to the third-party platform of the end user according to the indication of the terminal.
  • the matching module 10 of the embodiment of the present invention may be implemented by a central processing unit (CPU) of a data display processing device, a microprocessor (MPU, a Micro Processing Unit), or a digital signal processor ( The DSP, Digital Signal Processor, etc. are implemented; the push module 20 and the notification module 30 can be implemented by a chip having a communication function in the information display processing device.
  • CPU central processing unit
  • MPU Microprocessor
  • MSP Digital Signal Processor
  • the push module 20 and the notification module 30 can be implemented by a chip having a communication function in the information display processing device.
  • the embodiment of the present invention further provides a terminal, as shown in FIG. 4, which mainly includes: an acquisition and transmission module 40 and a display module 50.
  • the collection and delivery module 40 is configured to collect the selected content on the website page, and send the selected content after obtaining the right button instruction;
  • the presentation module 50 is configured to display the material through a specific area in the right-click menu of the website when receiving the material that matches the selected content.
  • the display module 50 is further configured to display a default right-click menu of the website when the material matching the selected content is not received.
  • the terminal further includes an indication module 60 configured to instruct the background server to send the material displayed in the specific area of the right-click menu to the third-party platform of the user according to the user instruction obtained from the website page.
  • the collection and transmission module 40 and the indication module 60 of the embodiment of the present invention may be implemented by a chip having a communication function in the terminal, and the display module 50 may be implemented by a central processing unit (CPU, Central Processing Unit) in the terminal. It is implemented by a microprocessor (MPU, Micro Processing Unit) or a digital signal processor (DSP).
  • CPU Central Processing Unit
  • DSP digital signal processor
  • An embodiment of the present invention further provides an information display processing apparatus including the above FIG. 3 and FIG. An information presentation system for the network of terminals shown.
  • a text is selected on the webpage by mouse dragging (as shown in the shaded part in FIG. 5), and when the mouse clicks the right button, the terminal sends the selected text to the background of the website.
  • the server, the background server of the website searches the website material database according to the text sent by the terminal, obtains the material matching the selected text (the matching material in FIG. 5 is a picture), and pushes the obtained material to the terminal to notify the terminal.
  • the material is displayed through a specific area in the right-click menu; after receiving the notification from the background server, the terminal displays the material through a specific area (pre-planned) in the right-click menu of the A website.
  • the terminal instructs the background server to send the material displayed in the specific area in the right-click menu to the space of the user. Or a microblog; the background server sends the material displayed in the specific area in the right-click menu to the space or microblog of the user according to the terminal indication. Then, when the user clicks on the area outside the right-click menu, the terminal closes the right-click menu and no longer displays.
  • the embodiment of the present invention expands the right-click menu as the display area of the material, thereby reducing the occupation of the material on the website page area, saving the space of the website page, expanding the new form of network information transmission and display, and capable of Send and display more network information, improve the information capacity of the website; through the interface on the right-click menu, the material displayed in the right-click menu can be sent to the user's space or microblog, thus achieving the wide spread of the material.
  • the integrated modules described in the embodiments of the present invention may also be stored in a computer readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product.
  • the computer software product is stored in a storage medium and includes a plurality of instructions. Make a computer device (can be a personal computing A machine, server, or network device, etc.) performs all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk and the like, which can store program codes.
  • the embodiment of the present invention further provides a computer storage medium, wherein a computer program is stored, and the computer program is used to execute the information display method of the embodiment of the present invention.

Abstract

本发明公开了一种网络的信息展示方法和系统、终端和信息展示处理装置,方法包括:获取网站页面上选中的内容,并根据选中的内容查找网站素材数据库,得到与所选中的内容相匹配的素材;将得到的所述素材推送到终端,通过所述终端的网站右键菜单中的特定区域进行展示。方法还包括:采集网站页面上选中的内容,并在获取到右键指令后,对所述选中的内容进行发送;在接收与所选中的内容相匹配的素材时,通过网站右键菜单中的特定区域进行所述素材的展示。通过本发明,拓展了网络信息传送和展示的新形式,能够传送和展示更多的网络信息,提高了网站的信息容量。

Description

网络的信息展示方法和系统、 终端和信息展示处理装置 技术领域
本发明涉及互联网信息传送技术领域, 尤其涉及一种网络的信息展示 方法和系统、 终端和信息展示处理装置。 背景技术
随着互联网技术的成熟发展, 网络中的信息传送数量急剧增加; 网络 的信息传送拥有声 (即声音)、 像(即视频)、 图 (即图片)、 文(即文字) 的传播元素, 并且兼顾了视觉、 听觉、 互动的视觉来传达交互信息。 然而, 由于受网站页面的空间大小限制, 有限的网络信息载体并不能满足与日倶 增的信息传送数量要求, 从而造成技术瓶颈。 因此, 如何拓展网络信息传 送和展示的新形式, 利用有限的网络信息载体来传送和展示更多的网络信 息, 提高网站的信息容量, 是目前亟待解决的技术问题。 发明内容
有鉴于此, 本发明实施例提供一种网络的信息展示方法和系统、 终端 和信息展示处理装置, 以实现拓展网络信息传送和展示的新形式, 传送和 展示更多的网络信息, 提高网站的信息容量。
本发明的技术方案是这样实现的:
本发明实施例提供了一种网络的信息展示方法, 该方法包括: 获取网站页面上选中的内容, 并根据选中的内容查找网站素材数据库, 得到与所选中的内容相匹配的素材;
将得到的所述素材推送到终端, 通过所述终端的网站右键菜单中的特 定区 i或进行展示。 本发明实施例还提供了一种网络的信息展示方法, 该方法包括: 采集网站页面上选中的内容, 并在获取到右键指令后, 对所述选中的 内容进行发送;
在接收到与所选中的内容相匹配的素材时, 通过网站右键菜单中的特 定区域进行所述素材的展示。
本发明实施例还提供了一种信息展示处理装置, 包括:
匹配模块, 配置为获取网站页面上选中的内容, 并根据选中的内容查 找网站素材数据库, 得到与所选中的内容相匹配的素材;
推送模块, 配置为将得到的所述素材推送到终端, 通过所述终端的网 站右键菜单中的特定区域进行展示。
本发明还提供一种终端, 包括:
采集发送模块, 配置为采集网站页面上选中的内容, 并在获取到右键 指令后, 对所述选中的内容进行发送;
展示模块, 配置为在接收到与所选中的内容相匹配的素材时, 通过网 站右键菜单中的特定区域进行所述素材的展示。
本发明实施例还提供了一种网络的信息展示系统, 包括本发明所述的 信息展示处理装置、 以及本发明所述的终端。
本发明实施例还提供了一种计算机存储介质, 其中存储有计算机可执 行指令, 该计算机可执行指令用于执行本发明实施例所述的信息展示方法。
本发明实施例所提供的一种网络的信息展示方法和系统、 终端和信息 展示处理装置, 通过扩展右键菜单作为素材的展示区域, 从而减少了素材 对网站页面区域的占用, 节省了网站页面的空间, 拓展了网络信息传送和 展示的新形式, 且能够传送和展示更多的网络信息, 提高了网站的信息容 量。 附图说明
图 1为本发明实施例所提供的一种网络的信息展示方法的流程图一; 图 2为本发明实施例所提供的一种网络的信息展示方法的流程图二; 图 3为本发明实施例所提供的一种信息展示处理装置的结构示意图; 图 4为本发明实施例所提供的一种终端的结构示意图;
图 5 为本发明实施例中根据网站页面上选中的文字进行素材展示的示 意图。 具体实施方式
下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。 本发明实施例提供一种由网站的后台服务器执行的网络的信息展示方 法, 如图 1所示, 主要包括以下步骤:
步骤 101, 获取网站页面上选中的内容, 并根据选中的内容查找网站素 材数据库, 得到与所选中的内容相匹配的素材。
所述网站页面上选中的内容包括以下至少之一: 文字、 图片。
所述素材是指文字、 图片、 视频、 音频等各种类型的信息。
预先构建网站素材数据库, 对每个素材采用对应的关键字进行索引, 从而构建素材与关键字的映射关系, 匹配到了关键字, 即能实现对相应素 材的调用。 也就是说, 所述素材是以关键字进行分类的, 所述关键字是为 后续素材匹配和精准定向所用。 所述网站素材数据库可以由网站的后台服 务器来进行存储, 也可以由专门的数据存储服务器来进行存储, 该数据存 储服务器可供网站的后台服务器调用。
以选中的内容为文字为例, 获取网站页面上选中的文字, 其相关执行 代码如下:
function getSelText() {
var txt = "; if (window. getSelection) {
txt = window. getSelection();
} else if (document. getSelection) {
txt = document. getSelection();
} else if (document, selection) {
txt = document, selection. createRange(). text;
} else {
return;
}
}
根据选中的文字查找网站素材数据库, 得到与所选中的文字相匹配的 素材, 其相关执行代码如下:
function request— lview(lview—url, load— area— id) {
var callback = function() {
clearTimeout(timeout handle);
renderBuffer. apply(window, load— area— id);
each(load_area_id , function(area id) {
delete in reqeusting ids [area id];
});
};
importScript(lview_url , callback, crystal args . charset) ;
rot = ";
var timeout_handle=setTimeout(callback, crystal— args. lview— time— out* 1000);
}
var importScript = function(url, callback, charset) {
var script = document. createElement('script'); script, src = url;
if (charset) {
script, charset = charset;
}
if (callback) {
if (ua.ie) {
script, onreadystatechange = function() {
var rs = this.readyState;
if ("loaded" === rs || "complete" === rs)
callbackQ;
else {
script, onload = callback;
document. getElementsByTagName('head')[0].appendChild(script);
};
较佳的, 当所述网站页面上选中的内容为文字时, 在获取网站页面上 选中的文字后, 可以对选中的文字进行分词处理得到至少一个语素 (即对 文字进行分词处理的最小单元), 将得到的语素与所述素材数据库中的关键 字进行匹配, 并从所述素材数据库中选取语素与关键字匹配程度最高的至 少一个素材。
当网站页面上选中的内容为图片时, 在获取网站页面上选中的图片后, 对选中的图片进行扫描分析, 根据扫描分析的结果从所述网站素材数据库 中提取匹配程度最高的至少一个素材(图片或文字);
或者, 提取所述网站页面上与所选中的图片相对应的文字 (例如所述 网站页面上对所述图片的说明性文字或图片标题文字等), 对提取的文字进 行分词处理得到至少一个语素, 将得到的语素与所述素材数据库中的关键 字进行匹配, 并从所述素材数据库中选取语素与关键字匹配程度最高的至 少一个素材。
本发明实施例中的素材匹配可以采用精确匹配, 也可以采用模糊匹配, 这需要根据实际应用来进行设置, 例如: 当能够匹配到的素材较多时, 可 以选择精确匹配, 当能够匹配到的素材很少时, 可以选择模糊匹配。 所谓 精确匹配, 是指素材对应的关键字都包含在页面上选中的文字进行分词后 的语素内; 所谓模糊匹配, 是指素材对应的关键字部分包含在页面上选中 的文字进行分词后的语素内。
步骤 102, 将得到的素材推送到终端, 通过所述终端的网站右键菜单中 的特定区域进行展示。
本发明实施例需要调用网站的公开接口, 修改网站空间以开辟网站右 键菜单中的特定区域, 该特定区域可以是占用网站右键菜单中至少一个内 容项的展示区域, 也可以是网站右键菜单的背景区域。
用户在网站页面上选中内容后, 当用户点击鼠标右键时, 网站的后台 服务器将得到的素材推送到终端的网站右键菜单中的特定区域进行展示。
以选中内容为文字为例, 将得到的所述素材推送到右键菜单中的特定 区域进行展示, 其相关执行代码如下:
function Click(obj){
obj . onmousedown=new_menu;
document. getElementById('h').innerHTML=obj . id;
} function new menu(e) {
addEventHandler(document , "mousedown" , document— MouseDown); var e=e I (window. event;
var value = e.button;
var createDiv=document.getElementById('createDiv');
if(value==2) {
createDiv. style. display='block';
createDiv.style.left=e.clientX+'px';
createD iv. style . top=e . client Y+'px';
createDiv. innerHTML=document. getElementById('h').innerHTML; document. oncontextmenu=function() {
return false;
}
return false;
}else{
createDiv.style.display="none";
}
}
还需要说明的是, 在通过查找网站素材数据库, 没有得到与所选中的 内容相匹配的素材时, 通知所述终端展示网站默认的右键菜单。
较佳的, 本发明实施例还可以通过调用网站的公开接口, 在网站右键 菜单中开辟用户的第三方平台的调用接口, 提示用户可以将展示的素材分 享到用户的第三方平台 (如用户的空间、 微博等); 那么, 当网站的后台服 务器接收到终端指示时, 可以将网站右键菜单中的特定区域内展示的素材 发送到所述用户的第三方平台, 以分享给该用户的好友。
本发明实施例还提供一种由终端执行的网络的信息展示方法, 如图 2 所示, 主要包括以下步骤:
步骤 201, 采集网站页面上选中的内容, 并在获取到右键指令后, 对所 述选中的内容进行发送。
所述网站页面上选中的内容包括以下至少之一: 文字、 图片。
用户在网站页面上选中内容后, 当用户点击鼠标右键时, 终端将所述 选中的内容发送给后台服务器, 以供后台服务器进行素材匹配。
步骤 202, 在接收与所选中的内容相匹配的素材时, 通过网站右键菜单 中的特定区域进行所述素材的展示。
在接收后台服务器提供的与所选中的内容相匹配的素材时, 通过网站 右键菜单中的特定区域进行所述素材的展示;
在没有接收到后台服务器提供的与所选中的内容相匹配的素材时, 根 据后台服务器的通知展示网站默认的右键菜单。
较佳的, 在获取到用户发起的第三方分享指令后, 根据从网站页面获 取的用户指令, 指示后台服务器将所述右键菜单中的特定区域内展示的素 材发送到所述用户的第三方平台。
较佳的, 当获取到网站右键菜单的关闭指令时 (如用户鼠标点击到网 站右键菜单之外的区域), 关闭所述网站右键菜单, 其相关执行代码如下: function document— MouseDown(e) {
var element = typeof event != "undefined" ? event. srcElement : e. target;
var downPanel = false;
while (element) {
downPanel = element = document. getElementById(document. getElementByld('h'). innerHTML);
if (downPanel) break;
element = element.parentNode;
}
if (! downPanel) { removeEventHandler(document, "mousedown", document— MouseDown); document. getElementByld('createDiv'). style. display = "none";
document. oncontextmenu=function() {
return true;
Figure imgf000011_0001
对应图 1 所示的信息展示方法, 本发明实施例还提供一种信息展示处 理装置, 该装置可应用于后台服务器中, 如图 3 所示, 该装置主要包括: 匹配模块 10、 推送模块 20。
其中, 匹配模块 10, 配置为获取网站页面上选中的内容, 并根据选中 的内容查找网站素材数据库, 得到与所选中的内容相匹配的素材;
推送模块 20, 配置为将得到的所述素材推送到终端, 通过所述终端的 网站右键菜单中的特定区域进行展示。
所述素材数据库中存储素材与关键字的映射关系,
相应的, 所述匹配模块 10还配置为, 当所述网站页面上选中的内容为 文字时, 对选中的文字进行分词处理得到至少一个语素, 将得到的语素与 所述素材数据库中的关键字进行匹配, 并从所述素材数据库中选取语素与 关键字匹配程度最高的至少一个素材;
当所述网站页面上选中的内容为图片时, 对选中的图片进行扫描分析, 根据扫描分析的结果从所述网站素材数据库中提取匹配程度最高的至少一 个素材; 或者, 提取所述网站页面上与所选中的图片相对应的文字, 对提 取的文字进行分词处理得到至少一个语素, 将得到的语素与所述素材数据 库中的关键字进行匹配, 并从所述素材数据库中选取语素与关键字匹配程 度最高的至少一个素材。
较佳的, 该装置还包括: 通知模块 30, 配置为在通过查找网站素材数 据库, 没有得到与所选中的内容相匹配的素材时, 通知所述终端展示网站 默认的右键菜单。
较佳的, 所述推送模块 20还配置为, 根据终端指示, 将所述右键菜单 中的特定区域内展示的素材发送到终端用户的第三方平台。
需要说明的是, 本发明实施例的所述匹配模块 10可由所述信息展示处 理装置的中央处理器(CPU, Central Processing Unit ), 微处理器(MPU, Micro Processing Unit )或数字信号处理器 ( DSP, Digital Signal Processor ) 等来实现; 所述推送模块 20、通知模块 30可由信息展示处理装置中具备通 信功能的芯片来实现。
对应图 2所示的信息展示方法, 本发明实施例还提供一种终端, 如图 4 所示, 主要包括: 采集发送模块 40、 展示模块 50。
其中, 采集发送模块 40, 配置为采集网站页面上选中的内容, 并在获 取到右键指令后, 对所述选中的内容进行发送;
展示模块 50, 配置为在接收到与所选中的内容相匹配的素材时, 通过 网站右键菜单中的特定区域进行所述素材的展示。
较佳的, 所述展示模块 50还配置为, 在没有接收到所述与所选中的内 容相匹配的素材时, 展示网站默认的右键菜单。
该终端还包括指示模块 60, 配置为根据从网站页面获取的用户指令, 指示后台服务器将所述右键菜单中的特定区域内展示的素材发送到所述用 户的第三方平台。
需要说明的是, 本发明实施例的所述采集发送模块 40、指示模块 60可 由终端内具备通信功能的芯片来实现, 所述展示模块 50可由终端内的中央 处理器(CPU, Central Processing Unit ),微处理器(MPU, Micro Processing Unit )或数字信号处理器(DSP, Digital Signal Processor )等来实现。
本发明实施例还提供一种包括上述图 3 所示信息展示处理装置和图 4 所示终端的网络的信息展示系统。
下面再结合图 5 所示的示意图, 以根据网站页面上选中的文字进行素 材展示为例, 对本发明实施例的信息展示方法和系统进一步详细说明。
当用户浏览某 A网站的页面时, 通过鼠标拖动在该网页上选中一段文 字(如图 5中阴影部分所示), 当鼠标点击右键时, 终端将选中的该段文字 发送给网站的后台服务器, 网站的后台服务器根据终端发送的文字查找网 站素材数据库, 得到与所选中的文字相匹配的素材(图 5 中的匹配素材为 图片), 并将得到的素材推送到所述终端, 通知终端通过右键菜单中的特定 区域进行素材展示; 终端接收到后台服务器的通知后, 通过 A网站的右键 菜单中的特定区域(预先已经规划好) 进行所述素材的展示。 随后, 当用 户点击右键菜单中的 "分享到空间" 或 "转播到微博" 选项时, 所述终端 指示后台服务器将所述右键菜单中的特定区域内展示的素材发送到所述用 户的空间或微博; 后台服务器根据终端指示, 将所述右键菜单中的特定区 域内展示的素材发送到所述用户的空间或微博。 随后, 当用户鼠标点击右 键菜单外的区域时, 终端关闭所述右键菜单, 不再展示。
综上所述, 本发明实施例通过扩展右键菜单作为素材的展示区域, 从 而减少了素材对网站页面区域的占用, 节省了网站页面的空间, 拓展了网 络信息传送和展示的新形式, 且能够传送和展示更多的网络信息, 提高了 网站的信息容量; 通过右键菜单上的接口, 可以将右键菜单中展示的素材 发送到用户的空间或微博, 从而实现了素材的广泛传播。
本发明实施例所述集成的模块如果以软件功能模块的形式实现并作为 独立的产品销售或使用时, 也可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明实施例的技术方案本质上或者说对现有技术做出 贡献的部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一 个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机、 服务器、 或者网络设备等)执行本发明各个实施例所述方法的全部或 部分。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (ROM, Read-Only Memory )、 随机存取存储器 ( RAM, Random Access Memory )、 磁碟或者光盘等各种可以存储程序代码的介质。 这样, 本发明实施例不限 制于任何特定的硬件和软件结合。
相应的, 本发明实施例还提供一种计算机存储介质, 其中存储有计算 机程序, 该计算机程序用于执行本发明实施例的信息展示方法。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。

Claims

权利要求书
1、 一种网络的信息展示方法, 该方法包括:
获取网站页面上选中的内容, 并根据选中的内容查找网站素材数据 库, 得到与所选中的内容相匹配的素材;
将得到的所述素材推送到终端, 通过所述终端的网站右键菜单中的 特定区域进行展示。
2、 根据权利要求 1所述网络的信息展示方法, 其中, 所述素材数据 库中存储素材与关键字的映射关系,
相应的, 所述网站页面上选中的内容为文字时, 所述根据选中的内 容查找网站素材数据库, 得到与所选中的内容相匹配的素材, 包括: 对选中的文字进行分词处理得到至少一个语素, 将得到的语素与所 述素材数据库中的关键字进行匹配, 并从所述素材数据库中选取语素与 关键字匹配程度最高的至少一个素材;
所述网站页面上选中的内容为图片时, 所述根据选中的内容查找网 站素材数据库, 得到与所选中的内容相匹配的素材, 包括:
对选中的图片进行扫描分析, 根据扫描分析的结果从所述网站素材 数据库中提取匹配程度最高的至少一个素材;
或者, 提取所述网站页面上与所选中的图片相对应的文字, 对提取 的文字进行分词处理得到至少一个语素, 将得到的语素与所述素材数据 库中的关键字进行匹配, 并从所述素材数据库中选取语素与关键字匹配 程度最高的至少一个素材。
3、 根据权利要求 1或 2所述网络的信息展示方法, 其中, 该方法还 包括:
在通过查找网站素材数据库, 没有得到与所选中的内容相匹配的素 材时, 通知所述终端展示网站默认的右键菜单。
4、 根据权利要求 1或 2所述网络的信息展示方法, 其中, 该方法还 包括:
根据终端指示, 将所述右键菜单中的特定区域内展示的素材发送到 终端用户的第三方平台。
5、 一种网络的信息展示方法, 该方法包括:
采集网站页面上选中的内容, 并在获取到右键指令后, 对所述选中 的内容进行发送;
在接收到与所选中的内容相匹配的素材时, 通过网站右键菜单中的 特定区域进行所述素材的展示。
6、根据权利要求 5所述网络的信息展示方法, 其中, 该方法还包括: 在没有接收到所述与所选中的内容相匹配的素材时, 展示网站默认 的右键菜单。
7、 根据权利要求 5或 6所述网络的信息展示方法, 其中, 该方法还 包括:
根据从网站页面获取的用户指令, 指示后台服务器将所述右键菜单 中的特定区域内展示的素材发送到所述用户的第三方平台。
8、 一种信息展示处理装置, 包括:
匹配模块, 配置为获取网站页面上选中的内容, 并根据选中的内容 查找网站素材数据库, 得到与所选中的内容相匹配的素材;
推送模块, 配置为将得到的所述素材推送到终端, 通过所述终端的 网站右键菜单中的特定区域进行展示。
9、 根据权利要求 8所述信息展示处理装置, 其中, 所述素材数据库 中存储素材与关键字的映射关系,
相应的, 所述匹配模块还配置为, 当所述网站页面上选中的内容为 文字时, 对选中的文字进行分词处理得到至少一个语素, 将得到的语素 与所述素材数据库中的关键字进行匹配, 并从所述素材数据库中选取语 素与关键字匹配程度最高的至少一个素材;
当所述网站页面上选中的内容为图片时, 对选中的图片进行扫描分 析, 根据扫描分析的结果从所述网站素材数据库中提取匹配程度最高的 至少一个素材; 或者, 提取所述网站页面上与所选中的图片相对应的文 字, 对提取的文字进行分词处理得到至少一个语素, 将得到的语素与所 述素材数据库中的关键字进行匹配, 并从所述素材数据库中选取语素与 关键字匹配程度最高的至少一个素材。
10、 根据权利要求 8或 9所述信息展示处理装置, 其中, 该装置还 包括: 通知模块, 还配置为在通过查找网站素材数据库, 没有得到与所 选中的内容相匹配的素材时, 通知所述终端展示网站默认的右键菜单。
11、根据权利要求 8或 9所述信息展示处理装置, 其中, 所述推送模 块还配置为, 根据终端指示, 将所述右键菜单中的特定区域内展示的素 材发送到终端用户的第三方平台。
12、 一种终端, 包括:
采集发送模块, 配置为采集网站页面上选中的内容, 并在获取到右 键指令后, 对所述选中的内容进行发送;
展示模块, 配置为在接收到与所选中的内容相匹配的素材时, 通过 网站右键菜单中的特定区域进行所述素材的展示。
13、 根据权利要求 12所述终端, 其中, 所述展示模块还配置为, 在 没有接收到所述与所选中的内容相匹配的素材时, 展示网站默认的右键 菜单。
14、 根据权利要求 12或 13所述终端, 其中, 该终端还包括指示模 块, 配置为根据从网站页面获取的用户指令, 指示后台服务器将所述右 键菜单中的特定区域内展示的素材发送到所述用户的第三方平台。
15、 一种网络的信息展示系统, 包括权利要求 8-11任一项所述的信 息展示处理装置、 以及权利要求 12-14任一项所述的终端。
16、 一种计算机存储介质, 其特征在于, 其中存储有计算机可执行 指令, 该计算机可执行指令用于执行所述权利要求 1至 4任一项所述的 方法。
17、 一种计算机存储介质, 其特征在于, 其中存储有计算机可执行 指令, 该计算机可执行指令用于执行所述权利要求 5至 7任一项所述的 方法。
PCT/CN2013/083926 2012-12-03 2013-09-22 网络的信息展示方法和系统、终端和信息展示处理装置 WO2014086194A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/648,492 US20150317321A1 (en) 2012-12-03 2013-09-22 Network information display method, system and terminal, and information display processing device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210507840.8A CN103853757B (zh) 2012-12-03 2012-12-03 网络的信息展示方法和系统、终端和信息展示处理装置
CN201210507840.8 2012-12-03

Publications (1)

Publication Number Publication Date
WO2014086194A1 true WO2014086194A1 (zh) 2014-06-12

Family

ID=50861424

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083926 WO2014086194A1 (zh) 2012-12-03 2013-09-22 网络的信息展示方法和系统、终端和信息展示处理装置

Country Status (4)

Country Link
US (1) US20150317321A1 (zh)
CN (1) CN103853757B (zh)
MY (1) MY177362A (zh)
WO (1) WO2014086194A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325170A (zh) * 2018-08-06 2019-02-12 江西清华泰豪三波电机有限公司 素材推送方法及装置

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150346959A1 (en) * 2014-05-28 2015-12-03 Facebook, Inc. Systems and methods for providing responses to and drawings for media content
CN106294527A (zh) * 2015-06-26 2017-01-04 阿里巴巴集团控股有限公司 一种信息推荐方法和设备
CN105824523A (zh) * 2015-10-20 2016-08-03 维沃移动通信有限公司 一种下载应用软件的方法及移动终端
CN108205405B (zh) * 2016-12-20 2021-06-01 夏普株式会社 显示装置、显示装置的显示方法及存储介质
CN108268577A (zh) * 2017-01-13 2018-07-10 优视科技有限公司 图集内容承载页生成方法和装置
JP7183600B2 (ja) * 2018-07-20 2022-12-06 株式会社リコー 情報処理装置、システム、方法およびプログラム
CN109254653B (zh) * 2018-08-15 2021-09-07 厦门美图之家科技有限公司 一种素材匹配方法、计算设备及存储介质
CN110532459A (zh) * 2019-09-02 2019-12-03 深圳传音控股股份有限公司 检索方法
CN111241452A (zh) * 2020-01-16 2020-06-05 大汉软件股份有限公司 一种政府网站设计元素标准化系统及其构建方法
CN112528207B (zh) * 2021-02-05 2021-05-25 北京淇瑀信息科技有限公司 活动页面生成方法、装置和电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071361A (zh) * 2007-05-31 2007-11-14 腾讯科技(深圳)有限公司 一种自定义右键菜单的方法及系统
CN102024061A (zh) * 2010-12-30 2011-04-20 魏新成 通过单击鼠标右键进行屏幕取词搜索的方法
US20110202879A1 (en) * 2010-02-15 2011-08-18 Research In Motion Limited Graphical context short menu
CN102651016A (zh) * 2012-03-30 2012-08-29 北京英富森信息技术有限公司 一种基于用户计算机终端的桌面信息采集系统及采集方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8732614B2 (en) * 2005-12-30 2014-05-20 Google Inc. Toolbar document content sharing
US8725729B2 (en) * 2006-04-03 2014-05-13 Steven G. Lisa System, methods and applications for embedded internet searching and result display
JP4810469B2 (ja) * 2007-03-02 2011-11-09 株式会社東芝 検索支援装置、プログラム及び検索支援システム
US20090132542A1 (en) * 2007-11-20 2009-05-21 Arcsoft, Inc. Peer-to-Peer Sharing in Media Management Software
JP2011070412A (ja) * 2009-09-25 2011-04-07 Seiko Epson Corp 画像検索装置および画像検索方法
US8682879B2 (en) * 2010-04-16 2014-03-25 Bizmodeline Co., Ltd. Marker search system for augmented reality service
US20120117051A1 (en) * 2010-11-05 2012-05-10 Microsoft Corporation Multi-modal approach to search query input
US20120136941A1 (en) * 2010-11-30 2012-05-31 Timothy Howes User specific sharing feature
CN102708174B (zh) * 2012-05-04 2014-08-13 北京奇虎科技有限公司 一种浏览器中的富媒体信息的展示方法和装置
US9164658B2 (en) * 2012-10-12 2015-10-20 Cellco Partnership Flexible selection tool for mobile devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071361A (zh) * 2007-05-31 2007-11-14 腾讯科技(深圳)有限公司 一种自定义右键菜单的方法及系统
US20110202879A1 (en) * 2010-02-15 2011-08-18 Research In Motion Limited Graphical context short menu
CN102024061A (zh) * 2010-12-30 2011-04-20 魏新成 通过单击鼠标右键进行屏幕取词搜索的方法
CN102651016A (zh) * 2012-03-30 2012-08-29 北京英富森信息技术有限公司 一种基于用户计算机终端的桌面信息采集系统及采集方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325170A (zh) * 2018-08-06 2019-02-12 江西清华泰豪三波电机有限公司 素材推送方法及装置

Also Published As

Publication number Publication date
CN103853757B (zh) 2018-07-27
MY177362A (en) 2020-09-14
CN103853757A (zh) 2014-06-11
US20150317321A1 (en) 2015-11-05

Similar Documents

Publication Publication Date Title
WO2014086194A1 (zh) 网络的信息展示方法和系统、终端和信息展示处理装置
US10353947B2 (en) Relevancy evaluation for image search results
US10515142B2 (en) Method and apparatus for extracting webpage information
US10713324B2 (en) Search results for native applications
US8996711B2 (en) Controlling web page advertisement through incentives and restrictions
JP6665191B2 (ja) インスタントメッセージングのチャットレコードを保存する方法及び装置
US20140344707A1 (en) Information Distribution Method and Device
EP3529714B1 (en) Animated snippets for search results
US20090313100A1 (en) System and method for previewing search results
US8806000B1 (en) Identifying viral videos
US10572561B1 (en) Performing multiple related searches
US20150310116A1 (en) Providing search results corresponding to displayed content
US20130159920A1 (en) Scenario-adaptive input method editor
WO2016138767A1 (zh) 一种用于提供推荐信息的方法与设备
JP6500086B2 (ja) 二次元コードの解析方法および装置、コンピュータ読み取り可能な記憶媒体、コンピュータプログラムおよび端末機器
US20160026858A1 (en) Image based search to identify objects in documents
JP2010073114A6 (ja) 画像情報検索装置、画像情報検索方法およびそのコンピュータプログラム
JP2013517556A (ja) 高められたブラウジング速度のためのプレビュー機能性
US20100057695A1 (en) Post-processing search results on a client computer
CN108763244B (zh) 在图像内搜索和注释
CN109428877B (zh) 一种用于通过用户设备访问业务系统的方法和装置
EP3839785A1 (en) Characterizing malware files for similarity searching
WO2013060065A1 (zh) 一种根据用户设备的终端属性提供目标信息的方法与设备
US20120254797A1 (en) Information processor and computer program product
JP2014219974A (ja) ウェブページの部分コンテンツを取得するための方法及び装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13861381

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14648492

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.10.2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13861381

Country of ref document: EP

Kind code of ref document: A1