CN107436869A - A kind of impression comment generation method and device - Google Patents
A kind of impression comment generation method and device Download PDFInfo
- Publication number
- CN107436869A CN107436869A CN201610353924.9A CN201610353924A CN107436869A CN 107436869 A CN107436869 A CN 107436869A CN 201610353924 A CN201610353924 A CN 201610353924A CN 107436869 A CN107436869 A CN 107436869A
- Authority
- CN
- China
- Prior art keywords
- comment
- user
- impression
- display area
- area
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0623—Item investigation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/972—Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例提供一种印象评论生成方法及装置。其中,所述方法包括:监听用户的界面操作;当监听到用户对预置交互标签的预置操作时,确定印象评论对象;根据所述交互标签生成对所述对象的印象评论。采用本发明实施例提供的技术方案,第一个方面,用户无需手动输入评论内容,只需通过鼠标或触控的方式即能完成评论,方便了用户的使用;第二个方面,印象评论较为直观,提高了用户的评论阅读效率,在用户不看完所有评论也能较为全面的了解到所需的信息;第三个方面,当用户想查找具有某一印象评论的产品或网页内容时,可基于印象评论进行检索,方便用户查找具有相同印象评论特征的产品或网页内容。
Embodiments of the present invention provide a method and device for generating impression comments. Wherein, the method includes: monitoring the user's interface operation; when the user's preset operation on the preset interaction tag is detected, determining the impression comment object; and generating the impression comment on the object according to the interaction tag. Adopting the technical solution provided by the embodiment of the present invention, in the first aspect, the user does not need to manually input the comment content, and only needs to use the mouse or touch to complete the comment, which is convenient for the user; in the second aspect, the impression comment is relatively Intuitive, which improves the user's review reading efficiency, and the user can understand the required information more comprehensively without reading all the reviews; the third aspect, when the user wants to find a product or web page content with a certain impression of the review, Retrieval can be performed based on impression reviews, making it easy for users to find products or webpage content with the same impression and review features.
Description
技术领域technical field
本发明实施例涉及计算机应用技术领域,尤其涉及一种印象评论生成方法及装置。The embodiments of the present invention relate to the technical field of computer applications, and in particular to a method and device for generating impression comments.
背景技术Background technique
目前,网络已成为人们现代生活中不可缺少的组成部分,例如购物、信息查询、网络交友、游戏等。人们已经逐渐习惯了从网络上获得所需要的信息或通过网络发表信息。现有技术已经可以通过用户互动评论等方式,让用户可以发表对网页或网页内容的评论。例如,用户在电商网站购物且收到产品后,可以对购买的产品进行评论,以方便其他用户对该产品的质量或使用方便度等有一个基本的认知。At present, the Internet has become an indispensable part of people's modern life, such as shopping, information inquiry, online dating, games and so on. People have gradually become accustomed to obtaining the information they need from the Internet or publishing information through the Internet. In the prior art, it is already possible to allow users to post comments on web pages or web page content through user interactive comments and the like. For example, after a user purchases a product on an e-commerce website and receives a product, he or she can comment on the purchased product, so that other users can have a basic understanding of the product's quality or ease of use.
现有技术中,当某一些产品或网页内容的评论非常的多的时候,用户若想要了解该产品的质量或了解其他用户对该网页内容的理解,需要花很长的时间才能浏览完,费时且费力,很多用户可能仅看了一部分评论就不再看了,致使这些用户不能全面的了解该产品或其他用户对该网页内容的理解。In the prior art, when there are a lot of comments on a certain product or webpage content, if the user wants to know the quality of the product or understand other users' understanding of the webpage content, it will take a long time to browse through. Time-consuming and labor-intensive, many users may stop reading after only reading a part of the comments, so that these users cannot fully understand the product or other users' understanding of the content of the web page.
发明内容Contents of the invention
本发明实施例提供一种印象评论生成方法及装置,用以解决现有技术中因评论过多需要用户花很长时间浏览才能全面了解的问题。Embodiments of the present invention provide a method and device for generating impression comments, which are used to solve the problem in the prior art that it takes a long time for users to browse through too many comments to fully understand them.
本发明实施例提供一种印象评论生成方法,包括:An embodiment of the present invention provides a method for generating impression comments, including:
监听用户的界面操作;Monitor user interface operations;
当监听到用户对预置交互标签的预置操作时,确定印象评论对象;When listening to the user's preset operation on the preset interaction tag, determine the object of the impression comment;
根据所述交互标签生成对所述对象的印象评论。An impression comment on the object is generated according to the interaction label.
可选的,上述的方法,还包括:Optionally, the above method also includes:
获取评论显示区;Get the comment display area;
将所述印象评论展现在所述评论显示区内。The impression comments are displayed in the comment display area.
可选地,上述的所述方法中,所述评论显示区为欲评论内容对应的评论展示区、评论输入区或内容索引区。Optionally, in the above method, the comment display area is a comment display area, comment input area or content index area corresponding to the content to be commented on.
可选地,上述的方法,所述获取评论显示区,包括:Optionally, the above-mentioned method, the acquisition of the comment display area, includes:
若监听到用户对预置交互标签的预置操作为拖动操作,则获取拖动轨迹的终点,当所述终点所在的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述终点所在的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区;If it is detected that the user's preset operation on the preset interactive label is a drag operation, then the end point of the drag track is obtained, and when the position of the end point is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the location of the end point is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则获取最后一次点击的位置,当所述最后一次点击的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述最后一次点击的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, the position of the last click is obtained, and when the position of the last click is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the position of the last click is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area.
可选地,上述的方法中,所述将所述印象评论展现在所述评论显示区内,包括:Optionally, in the above method, displaying the impression comments in the comment display area includes:
若监听到用户对预置交互标签的预置操作为拖动操作,则当监听到用户拖动所述交互标签的松开信号时,将所述印象评论展现在所述评论显示区;If it is detected that the user's preset operation on the preset interactive label is a drag operation, then when the release signal of the user dragging the interactive label is detected, the impression comment is displayed in the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则当监听到用户点击欲评论内容、评论输入区或内容索引区的触发信号时,将所述印象评论展现在所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, then when the trigger signal of the user clicking on the content to be commented, the comment input area or the content index area is detected, the impression comment will be displayed on the comment display Area.
可选地,上述的方法,所述监听用户的界面操作,具体为:Optionally, in the above method, the monitoring of user interface operations is specifically:
监听用户的触控操作;和/或Listen for user touch actions; and/or
监听用户的鼠标操作;和/或Listen for user mouse actions; and/or
监听用户的键盘操作。Listen to the user's keystrokes.
可选地,上述的方法中,所述根据所述交互标签生成对所述对象的印象评论,包括:Optionally, in the above method, the generating impression comments on the object according to the interaction tag includes:
获取所述交互标签的标识;Obtain the identifier of the interaction tag;
根据预设的交互标签标识及印象评论的对应关系,获取所述标识对应的印象评论,其中,获取到的所述印象评论即为对所述对象的印象评论。According to the preset correspondence between the interaction tag identifier and the impression comment, the impression comment corresponding to the identifier is acquired, wherein the acquired impression comment is an impression comment on the object.
可选地,上述的方法,还包括:Optionally, the above method also includes:
接收用户输入的标签设置指令,所述标签设置指令中携带有自定义交互标签、标识及对应的印象评论;Receive a label setting instruction input by the user, the label setting instruction carries a custom interactive label, logo and corresponding impression comment;
根据所述标签设置指令,在所述界面上部署所述自定义交互标签;Deploying the custom interactive label on the interface according to the label setting instruction;
将所述标识及所述印象评论进行本地存储。The identifier and the impression comment are stored locally.
可选地,上述的方法,还包括:Optionally, the above method also includes:
接收用户输入的评论内容;Receive comments entered by users;
相应的,根据所述交互标签生成对所述对象的印象评论,具体为:Correspondingly, an impression comment on the object is generated according to the interaction tag, specifically:
按照预设评论生成策略,基于所述交互标签和所述评论内容生成对所述对象的印象评论。According to a preset comment generation strategy, an impression comment on the object is generated based on the interaction label and the comment content.
本发明实施例提供一种印象评论生成装置,包括:An embodiment of the present invention provides an impression comment generation device, including:
监听模块,用于监听用户的界面操作;A monitoring module, configured to monitor user interface operations;
确定模块,用于当监听到用户对预置交互标签的预置操作时,确定印象评论对象;A determination module, configured to determine the impression comment object when the user's preset operation on the preset interaction tag is monitored;
生成模块,用于根据所述交互标签生成对所述对象的印象评论。A generating module, configured to generate impression comments on the object according to the interaction tags.
可选的,上述的装置,还包括:Optionally, the above-mentioned device also includes:
获取模块,用于获取评论显示区;Get the module, used to get the comment display area;
展现模块,用于将所述印象评论展现在所述评论显示区内。A display module, configured to display the impression comments in the comment display area.
可选地,上述的装置中,所述评论显示区为欲评论内容对应的评论展示区、评论输入区或内容索引区。Optionally, in the above device, the comment display area is a comment display area, comment input area or content index area corresponding to the content to be commented on.
可选地,上述的装置中,所述获取模块,具体用于:Optionally, in the above-mentioned device, the acquisition module is specifically used for:
若监听到用户对预置交互标签的预置操作为拖动操作,则获取拖动轨迹的终点,当所述终点所在的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述终点所在的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区;If it is detected that the user's preset operation on the preset interactive label is a drag operation, then the end point of the drag track is obtained, and when the position of the end point is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the location of the end point is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则获取最后一次点击的位置,当所述最后一次点击的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述最后一次点击的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, the position of the last click is obtained, and when the position of the last click is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the position of the last click is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area.
可选地,上述的装置中,所述展现模块,具体用于:Optionally, in the above-mentioned device, the presentation module is specifically used for:
若监听到用户对预置交互标签的预置操作为拖动操作,则当监听到用户拖动所述交互标签的松开信号时,将所述印象评论展现在所述评论显示区;If it is detected that the user's preset operation on the preset interactive label is a drag operation, then when the release signal of the user dragging the interactive label is detected, the impression comment is displayed in the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则当监听到用户点击欲评论内容、评论输入区或内容索引区的触发信号时,将所述印象评论展现在所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, then when the trigger signal of the user clicking on the content to be commented, the comment input area or the content index area is detected, the impression comment will be displayed on the comment display Area.
可选地,上述的装置中,所述监听模块,具体用于:Optionally, in the above device, the monitoring module is specifically used for:
监听用户的触控操作;和/或Listen for user touch actions; and/or
监听用户的鼠标操作;和/或Listen for user mouse actions; and/or
监听用户的键盘操作。Listen to the user's keystrokes.
可选的,上述的装置中,所述生成模块,包括:Optionally, in the above-mentioned device, the generating module includes:
第一获取单元,用于获取所述交互标签的标识;a first acquiring unit, configured to acquire the identifier of the interactive tag;
第二获取单元,用于根据预设的交互标签标识及印象评论的对应关系,获取所述标识对应的印象评论,其中,获取到的所述印象评论即为对所述对象的印象评论。The second acquiring unit is configured to acquire the impression comment corresponding to the identifier according to the preset correspondence between the interaction tag identifier and the impression comment, wherein the acquired impression comment is the impression comment on the object.
可选地,上述装置,还包括:Optionally, the above-mentioned device also includes:
接收模块,用于接收用户输入的标签设置指令,所述标签设置指令中携带有自定义交互标签、标识及对应的印象评论;The receiving module is used to receive the label setting instruction input by the user, and the label setting instruction carries a custom interactive label, a logo and a corresponding impression comment;
标签部署模块,用于根据所述标签设置指令,在所述界面上部署所述自定义交互标签;A label deployment module, configured to deploy the custom interactive label on the interface according to the label setting instruction;
存储模块,用于将所述标识及所述印象评论进行本地存储。A storage module, configured to store the identification and the impression comment locally.
可选地,上述装置,还包括:Optionally, the above-mentioned device also includes:
接收模块,用于接收用户输入的评论内容;The receiving module is used to receive the comment content input by the user;
相应的,所述生成模块,具体用于按照预设评论生成策略,基于所述交互标签和所述评论内容生成对所述对象的印象评论。Correspondingly, the generation module is specifically configured to generate an impression comment on the object based on the interaction label and the comment content according to a preset comment generation strategy.
本发明实施例是基于预置交互标签的预设动作,即通过监听用户对预置交互标签的预置操作,当监听到时根据交互标签来自动生成印象评论;第一个方面,用户无需手动输入评论内容,只需通过鼠标或触控的方式即能完成评论,方便了用户的使用;第二个方面,印象评论较为直观,提高了用户的评论阅读效率,在用户不看完所有评论也能较为全面的了解到所需的信息;第三个方面,当用户想查找具有某一印象评论的产品或网页内容时,可基于印象评论进行检索,方便用户查找具有相同印象评论特征的产品或网页内容。The embodiment of the present invention is based on the preset action of the preset interaction tag, that is, by listening to the preset operation of the user on the preset interaction tag, when the monitoring is detected, impression comments are automatically generated according to the interaction tag; in the first aspect, the user does not need to manually Enter the comment content, and the comment can be completed only by mouse or touch, which is convenient for the user; the second aspect, the impression comment is more intuitive, which improves the efficiency of the user's comment reading. In the third aspect, when a user wants to find a product or web page content with a certain impression comment, he can search based on the impression comment, which is convenient for the user to find products or web pages with the same impression comment feature web content.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例一提供的一种印象评论生成方法的流程示意图;FIG. 1 is a schematic flow diagram of a method for generating impression comments provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种印象评论生成装置的结构示意图。Fig. 2 is a schematic structural diagram of an impression and comment generating device provided in Embodiment 2 of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例中所指的印象标签可以是用户在使用或看到某一产品的印象或对网页文字的印象,可以用一个词或短句形容。The impression tag referred to in the embodiment of the present invention can be the user's impression of using or seeing a certain product or the impression of the text on the webpage, which can be described by a word or short sentence.
图1为本发明实施例一提供的一种印象评论生成方法的流程示意图。如图1所示,所述方法包括:FIG. 1 is a schematic flowchart of a method for generating impression comments provided by Embodiment 1 of the present invention. As shown in Figure 1, the method includes:
步骤101、监听用户的界面操作。Step 101, monitor user interface operations.
在具体实施时,对于具有触控屏的智能设备(如笔记本电脑、智能手机或平板电脑等)而言,用户可使用触控屏幕进行操作,智能设备可通过触控屏幕监听用户的操作;若智能设备连接有鼠标,则用户可使用鼠标进行操作,智能设备可通过鼠标在界面上的光标监听用户的操作;若智能设备连接有物理键盘,则用户也可使用物理键盘进行操作,智能设备可通过键盘来监听用户的操作。即本步骤可具体为:During specific implementation, for a smart device (such as a notebook computer, a smart phone or a tablet computer, etc.) with a touch screen, the user can use the touch screen to operate, and the smart device can monitor the user's operation through the touch screen; if If the smart device is connected with a mouse, the user can use the mouse to operate, and the smart device can monitor the user's operation through the mouse cursor on the interface; if the smart device is connected to a physical keyboard, the user can also use the physical keyboard to operate, and the smart device can Monitor user operations through the keyboard. That is, this step can be specifically:
监听用户的触控操作;和/或Listen for user touch actions; and/or
监听用户的鼠标操作;和/或Listen for user mouse actions; and/or
监听用户的键盘操作。Listen to the user's keystrokes.
步骤102、当监听到用户对预置交互标签的预置操作时,确定印象评论对象。Step 102, when the user's preset operation on the preset interaction tag is detected, determine the impression comment object.
其中,所述预置操作可以是用户拖动预置交互标签的拖动操作,也可以是用户点击触发预置交互标签的点出操作,本发明实施例对此不作具体限定。具体的,用户对预置交互标签的预置操作可以是通过鼠标实现的点击操作或拖动操作,或者对于触控屏智能设备而言,用户对预置交互标签的预置操作也可以是用户手指在触控屏幕上触发的点击操作或拖动操作。例如:用户拖动选定的交互标签至想要评论的内容区域,该内容区域内的内容即为所述印象评论对象;也可以是用户先点击选定的交互标签、然后移动手指或鼠标到想要评论的内容区域,该内容区域内的内容即为所述印象评论对象。即本步骤可具体实施为:Wherein, the preset operation may be a drag operation in which a user drags a preset interactive label, or a click operation in which a user clicks to trigger a preset interactive label, which is not specifically limited in this embodiment of the present invention. Specifically, the user's preset operation on the preset interactive label can be a click operation or a drag operation through a mouse, or for a touch screen smart device, the user's preset operation on the preset interactive label can also be the user's A tap or drag operation triggered by a finger on a touch screen. For example: the user drags the selected interaction label to the content area to be commented on, and the content in the content area is the object of the impression comment; it can also be that the user first clicks on the selected interaction label, and then moves the finger or mouse to The content area that you want to comment on, and the content in this content area is the object of the impression comment. That is, this step can be specifically implemented as:
当监听到用户对预置交互标签的预置操作为拖动操作时,该拖动操作的拖动轨迹终点所指向的对象即为所述印象评论对象;When it is detected that the user's preset operation on the preset interactive label is a drag operation, the object pointed to by the end point of the drag track of the drag operation is the impression comment object;
当监听到用户对预置交互标签的预置操作为点击操作时,获取该点击操作的最后一次点击所指向的对象即为所述印象评论对象。When it is detected that the user's preset operation on the preset interaction label is a click operation, the object pointed to by the last click of the click operation is the impression comment object.
步骤103、根据所述交互标签生成对所述对象的印象评论。Step 103, generating an impression comment on the object according to the interaction tag.
其中,预置交互标签可以是存储在本地的系统提供的交互标签,也可以是存储在本地的用户自定义的交互标签。该预置交互标签在用户界面上可以采用图标的方式呈现。具体的,本步骤中根据所述交互标签生成相应的印象评论,可采用如下方法实现:Wherein, the preset interaction label may be an interaction label provided by the system stored locally, or may be a user-defined interaction label stored locally. The preset interaction label may be presented in the form of an icon on the user interface. Specifically, in this step, corresponding impression comments are generated according to the interaction tags, which can be realized by the following methods:
首先,获取所述交互标签的标识。First, the identifier of the interaction tag is acquired.
然后,根据预设的交互标签标识及印象评论的对应关系,获取所述标识对应的印象评论。Then, according to the preset correspondence between the interaction tag identifier and the impression comment, the impression comment corresponding to the identifier is acquired.
其中,获取到的所述印象评论即为对所述对象的印象评论。在具体实施例时,交互标签标识及印象评论可采用列表的方式存储在本地,即交互标签标识及其印象评论对应存储。在需要根据交互标签生成印象评论时,可通过查表的方式查找与该交互标签标识对应存储的印象评论,该印象评论即为对所述印象评论对象的印象评论。Wherein, the obtained impression comments are impression comments on the object. In a specific embodiment, the interaction tag identifier and impression comment can be stored locally in a list, that is, the interaction tag identifier and its impression comment are stored correspondingly. When an impression comment needs to be generated according to an interaction tag, the impression comment stored corresponding to the interaction tag identifier can be searched through a table lookup, and the impression comment is an impression comment on the impression comment object.
本实施例是基于预置交互标签的预设动作,即通过监听用户对预置交互标签的操作,当监听到时根据交互标签来自动生成印象评论;第一个方面,用户无需手动输入评论内容,只需通过鼠标或触控的方式即能完成评论,方便了用户的使用;第二个方面,印象评论较为直观,提高了用户的评论阅读效率,在用户不看完所有评论也能较为全面的了解到所需的信息;第三个方面,当用户想查找具有某一印象评论的产品或网页内容时,可基于印象评论进行检索,方便用户查找具有相同印象评论特征的产品或网页内容。This embodiment is based on the preset actions of the preset interactive tags, that is, by listening to the user's operation on the preset interactive tags, when the monitoring is detected, impression comments are automatically generated according to the interactive tags; in the first aspect, the user does not need to manually input the comment content , just use the mouse or touch to complete the comment, which is convenient for users to use; the second aspect, the impression comment is more intuitive, which improves the user's comment reading efficiency, and can be more comprehensive even if the user does not read all the comments In the third aspect, when a user wants to find a product or webpage content with a certain impression comment, he can search based on the impression comment, which is convenient for the user to find a product or webpage content with the same impression comment feature.
这里需要说明的是:本发明实施例提供的所述方法中,生成的印象评论可以直接展示,也可用于数量统计。其中,在向用户展示交互标签统计结果的场景下,用于数量统计。What needs to be explained here is: in the method provided by the embodiment of the present invention, the generated impression comments can be directly displayed, and can also be used for quantitative statistics. Among them, it is used for quantity statistics in the scenario where the statistical results of interactive tags are displayed to the user.
进一步的,若生成的印象评论用于展示,则本实施例提供的所述方法,还可包括如下步骤:Further, if the generated impression comments are used for display, the method provided in this embodiment may further include the following steps:
步骤104、获取评论显示区。Step 104, acquire the comment display area.
在具体实施时,所述评论显示区可以为欲评论内容对应的评论展示区、评论输入区或内容索引区。这里需要说明的是:本实施例中的评论显示区也可以是内容索引区,其目的是为了实现:当用户想查找具有某一印象评论的产品或网页内容时,可通过将印象评论输入该内容索引区进行检索,方便用户查找具有相同印象评论特征的产品或网页内容。In a specific implementation, the comment display area may be a comment display area, a comment input area or a content index area corresponding to the content to be commented on. What needs to be explained here is: the comment display area in this embodiment can also be a content index area, and its purpose is to realize: when the user wants to find a product or webpage content with a certain impression comment, he can input the impression comment into the Search in the content index area, which is convenient for users to find products or web content with the same impression and comment characteristics.
其中,如上述内容中已提到的:用户对预置交互标签的操作可以是通过鼠标实现的点击操作或拖动操作,或者对于触控屏智能设备而言,用户对预置交互标签的操作也可以是用户手指在触控屏幕上触发的点击操作或拖动操作。例如:用户拖动选定的交互标签至想要评论的内容区域、内容显示区域或内容索引区域,松开后自动生成该交互标签相应的印象评论。也可以是用户先点击选定的交互标签、然后移动手指或鼠标到想要评论的内容区域、内容显示区域或内容索引区域,再点击一次即生成该交互标签相应的印象评论。Among them, as mentioned in the above content: the user's operation on the preset interactive label can be a click operation or a drag operation through the mouse, or for a touch screen smart device, the user's operation on the preset interactive label It may also be a click operation or a drag operation triggered by the user's finger on the touch screen. For example: the user drags the selected interaction label to the content area, content display area or content index area where the user wants to comment, and after releasing it, the corresponding impression comment of the interaction label is automatically generated. It may also be that the user first clicks on the selected interaction tag, then moves the finger or the mouse to the content area, content display area or content index area to be commented on, and then clicks once to generate an impression comment corresponding to the interaction tag.
具体的,本步骤可以是:Specifically, this step can be:
若监听到用户对预置交互标签的预置操作为拖动操作,则获取拖动轨迹的终点,当所述终点所在的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述终点所在的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区;If it is detected that the user's preset operation on the preset interactive label is a drag operation, then the end point of the drag track is obtained, and when the position of the end point is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the location of the end point is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则获取最后一次点击的位置,当所述最后一次点击的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述最后一次点击的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, the position of the last click is obtained, and when the position of the last click is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the position of the last click is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area.
步骤105、将所述印象评论展现在所述评论显示区内。Step 105, displaying the impression comments in the comment display area.
在本发明的一具体实施例中,本步骤可具体为:In a specific embodiment of the present invention, this step may specifically be:
若监听到用户对预置交互标签的操作为拖动操作,则当监听到用户拖动所述交互标签的松开信号时,将所述印象评论展现在所述评论显示区;If it is detected that the user's operation on the preset interactive label is a drag operation, then when the release signal of the user dragging the interactive label is detected, the impression comment is displayed in the comment display area;
若监听到用户对预置交互标签的操作为点击操作,则当监听到用户点击欲评论内容、评论输入区或内容索引区的触发信号时,将所述印象评论展现在所述评论显示区。If it is detected that the user's operation on the preset interactive label is a click operation, then when a trigger signal is detected that the user clicks on the content to be commented, the comment input area or the content index area, the impression comment is displayed in the comment display area.
进一步的,本实施例提供的所述预置交互标签除了系统提供的交互标签外,用户还可以自定义交互标签。即上述实施例提供的所述方法,还可包括如下步骤:Further, besides the interactive tags provided by the system, the preset interactive tags provided by this embodiment can also be customized by the user. That is, the method provided in the foregoing embodiments may further include the following steps:
步骤106、接收用户输入的标签设置指令,所述标签设置指令中携带有自定义交互标签、标识及对应的印象评论。Step 106: Receive a label setting instruction input by the user, and the label setting instruction carries a custom interaction label, logo and corresponding impression comment.
步骤107、根据所述标签设置指令,在所述界面上部署所述自定义交互标签。Step 107: Deploy the custom interaction label on the interface according to the label setting instruction.
步骤108、将所述标识及所述印象评论进行本地存储。Step 108, store the identifier and the impression comment locally.
在某些时候,用户仅使用已有的交互标签并不能充分表达出用户想要表达的意思,为此本发明实施例提供了如下方法,可结合用户输入的评论内容生成印象评论,即上述实施例提供的所述方法,还可包括:At some point, the user cannot fully express what the user wants to express by only using the existing interactive tags. For this reason, the embodiment of the present invention provides the following method, which can generate impression comments in combination with the comment content input by the user, that is, the above-mentioned implementation The method provided by example may also include:
步骤109、接收用户输入的评论内容。Step 109, receiving the comment content input by the user.
相应的,上述步骤103根据所述交互标签生成对所述对象的印象评论,具体为:Correspondingly, the above step 103 generates an impression comment on the object according to the interaction tag, specifically:
按照预设评论生成策略,基于所述交互标签和所述评论内容生成对所述对象的印象评论。According to a preset comment generation strategy, an impression comment on the object is generated based on the interaction label and the comment content.
其中,所述预设评论生成策略可基于现有的语义识别技术,即提取用户输入的评论内容的语义,将用户输入的评论内容的语义以及交互标签对应的印象评论的语义进行融合,查找符合融合后的语义对应的词或短句等作为印象评论。Wherein, the preset comment generation strategy can be based on the existing semantic recognition technology, that is, to extract the semantics of the comment content input by the user, integrate the semantics of the comment content input by the user and the semantics of the impression comment corresponding to the interactive label, and find the corresponding The fused semantically corresponding words or short sentences are used as impression comments.
采用本发明实施例提供的技术方案,用户评论的方式更多样化,不局限于在网络页面上的输入框进行文字输入,还可以通过触发交互标签自动生成印象评论,更方便用户评论,让评论内容更直观、全面;本实施例中所涉及到的印象评论不局限于文字,还包括图形(譬如笑脸、赞赏手势等)以及语音评论。By adopting the technical solution provided by the embodiment of the present invention, the ways of user comments are more diversified, not limited to text input in the input box on the network page, but also can automatically generate impression comments by triggering interactive tags, which is more convenient for users to comment, so that The comment content is more intuitive and comprehensive; the impression comments involved in this embodiment are not limited to text, but also include graphics (such as smiling faces, gestures of appreciation, etc.) and voice comments.
上述步骤的执行主体可以为评论生成装置,该装置可以位于本地终端的应用,或者还可以为位于本地终端的应用中的插件或软件开发工具包(Software DevelopmentKit,SDK)等功能单元,本发明实施例对此不进行特别限定。可以理解的是:所述应用可以是安装在终端上的应用程序(nativeApp),或者还可以是终端上的浏览器的一个网页程序(webApp),本发明实施例对此不进行限定。The execution subject of the above steps can be a comment generation device, which can be located in the application of the local terminal, or can also be a functional unit such as a plug-in or a software development kit (Software Development Kit, SDK) located in the application of the local terminal. Examples are not particularly limited. It can be understood that: the application may be an application program (nativeApp) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, which is not limited in this embodiment of the present invention.
需要说明的是:对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
图2为本发明实施例二提供的一种印象评论生成装置的结构示意图。如图2所示,所述印象评论生成装置包括:监听模块10、确定模块20和生成模块30。其中,监听模块10用于监听用户的界面操作。确定模块20用于当监听到用户对预置交互标签的预置操作时,确定印象评论对象。生成模块30用于根据所述交互标签生成对所述对象的印象评论。Fig. 2 is a schematic structural diagram of an impression and comment generating device provided in Embodiment 2 of the present invention. As shown in FIG. 2 , the apparatus for generating impressions and comments includes: a listening module 10 , a determining module 20 and a generating module 30 . Wherein, the monitoring module 10 is used for monitoring user interface operations. The determination module 20 is configured to determine the impression comment object when the user's preset operation on the preset interaction tag is detected. The generating module 30 is configured to generate impression comments on the object according to the interaction tags.
本实施例提供的所述装置可实现上述实施例一提供的所述方法,具体的实现原理可参见上述对应的部分的内容,此次不再赘述。The device provided in this embodiment can implement the method provided in the first embodiment above. For specific implementation principles, please refer to the content of the corresponding part above, which will not be repeated this time.
本实施例是基于预置交互标签的预设动作,即通过监听用户对预置交互标签的操作,当监听到时根据交互标签来自动生成印象评论;第一个方面,用户无需手动输入评论内容,只需通过鼠标或触控的方式即能完成评论,方便了用户的使用;第二个方面,印象评论较为直观,提高了用户的评论阅读效率,在用户不看完所有评论也能较为全面的了解到所需的信息;第三个方面,当用户想查找具有某一印象评论的产品或网页内容时,可基于印象评论进行检索,方便用户查找具有相同印象评论特征的产品或网页内容。This embodiment is based on the preset actions of the preset interactive tags, that is, by listening to the user's operation on the preset interactive tags, when the monitoring is detected, impression comments are automatically generated according to the interactive tags; in the first aspect, the user does not need to manually input the comment content , just use the mouse or touch to complete the comment, which is convenient for users to use; the second aspect, the impression comment is more intuitive, which improves the user's comment reading efficiency, and can be more comprehensive even if the user does not read all the comments In the third aspect, when a user wants to find a product or webpage content with a certain impression comment, he can search based on the impression comment, which is convenient for the user to find a product or webpage content with the same impression comment feature.
进一步的,本发明实施例提供的所述装置还可包括:获取模块和展现模块。其中,Further, the device provided in the embodiment of the present invention may further include: an acquisition module and a presentation module. in,
获取模块,用于获取评论显示区;Get the module, used to get the comment display area;
展现模块,用于将所述印象评论展现在所述评论显示区内。A display module, configured to display the impression comments in the comment display area.
其中,上述实施例中的提到的评论显示区可以为欲评论内容对应的评论展示区、评论输入区或内容索引区。进一步的,上述实施例提供的所述获取模块具体用于若当监听到用户对预置交互标签的预置操作为拖动操作,则获取拖动轨迹的终点,当所述终点所在的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述终点所在的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区;若监听到用户对预置交互标签的预置操作为点击操作,则获取最后一次点击的位置,当所述最后一次点击的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述最后一次点击的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区。Wherein, the comment display area mentioned in the above embodiment may be a comment display area, a comment input area or a content index area corresponding to the content to be commented on. Further, the acquisition module provided in the above embodiment is specifically configured to acquire the end point of the drag track when it is detected that the preset operation of the user on the preset interactive label is a drag operation, and when the position of the end point is at When the comment input area or the content index area is used, the comment input area or the content index area is used as the comment display area, and when the position of the end point is in the area where the content to be commented is located, the content to be commented is obtained The corresponding comment display area and use it as the comment display area; if it is detected that the preset operation of the user on the preset interactive label is a click operation, the position of the last click is obtained, and when the position of the last click is in the comment When the input area or the content index area is used, the comment input area or the content index area is used as the comment display area, and when the position of the last click is in the area where the content to be commented is located, the content to be commented is obtained The corresponding comment display area is used as the comment display area.
进一步的,上述实施例中所述的展现模块,具体用于:若监听到用户对预置交互标签的预置操作为拖动操作,则当监听到用户拖动所述交互标签的松开信号时,将所述印象评论展现在所述评论显示区;Further, the display module described in the above-mentioned embodiment is specifically used for: if it is detected that the preset operation of the user on the preset interactive label is a drag operation, then when the release signal of the user dragging the interactive label is detected, , display the impression comment in the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则当监听到用户点击欲评论内容、评论输入区或内容索引区的触发信号时,将所述印象评论展现在所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, then when the trigger signal of the user clicking on the content to be commented, the comment input area or the content index area is detected, the impression comment will be displayed on the comment display Area.
进一步的,所述监听模块具体用于:Further, the monitoring module is specifically used for:
监听用户的触控操作;和/或Listen for user touch actions; and/or
监听用户的鼠标操作;和/或Listen for user mouse actions; and/or
监听用户的键盘操作。Listen to the user's keystrokes.
进一步的,所述生成模块包括:第一获取单元和第二获取单元。其中,第一获取单元用于获取所述交互标签的标识;第二获取单元用于根据预设的交互标签标识及印象评论的对应关系,获取所述标识对应的印象评论,其中,获取到的所述印象评论即为对所述对象的印象评论。Further, the generation module includes: a first acquisition unit and a second acquisition unit. Wherein, the first obtaining unit is used to obtain the identification of the interactive label; the second obtaining unit is used to obtain the impression comment corresponding to the identification according to the preset correspondence between the interactive label identification and the impression comment, wherein the acquired The impression comments are impression comments on the object.
进一步的,本实施例提供的印象评论生成装置还可包括:接收模块、标签部署模块以及存储模块。其中,接收模块用于接收用户输入的标签设置指令,所述标签设置指令中携带有自定义交互标签、标识及对应的印象评论。标签部署模块用于根据所述标签设置指令,在所述界面上部署所述自定义交互标签。存储模块,用于将所述标识及所述印象评论进行本地存储。Further, the apparatus for generating impressions and comments provided in this embodiment may further include: a receiving module, a label deployment module, and a storage module. Wherein, the receiving module is used to receive a label setting instruction input by a user, and the label setting instruction carries a custom interactive label, a logo and a corresponding impression comment. The label deployment module is configured to deploy the custom interaction label on the interface according to the label setting instruction. A storage module, configured to store the identification and the impression comment locally.
进一步的,本实施例提供的印象评论生成装置还可包括:接收模块。接收模块用于接收用户输入的评论内容。相应的,所述生成模块,具体用于按照预设评论生成策略,基于所述交互标签和所述评论内容生成相应的印象评论。Further, the apparatus for generating impressions and comments provided in this embodiment may further include: a receiving module. The receiving module is used to receive comments input by users. Correspondingly, the generation module is specifically configured to generate corresponding impression comments based on the interaction label and the comment content according to a preset comment generation strategy.
其中,所述预设评论生成策略可基于语义识别技术,即提取用户输入的评论内容的语义,将用户输入的评论内容的语义以及交互标签对应的印象评论的语义进行融合得出结合用户输入评论内容的印象评论。Wherein, the preset comment generation strategy can be based on semantic recognition technology, that is, to extract the semantics of the comment content input by the user, and fuse the semantics of the comment content input by the user and the semantics of the impression comment corresponding to the interactive label to obtain a combined user input comment Impressions of content reviews.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。可以理解的是,上述方法及装置中的相关特征可以相互参考。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments. It can be understood that related features in the above methods and devices can refer to each other. Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
本发明公开了A1、一种印象评论生成方法,包括:The invention discloses A1. A method for generating impression comments, including:
监听用户的界面操作;Monitor user interface operations;
当监听到用户对预置交互标签的预置操作时,确定印象评论对象;When listening to the user's preset operation on the preset interaction tag, determine the object of the impression comment;
根据所述交互标签生成对所述对象的印象评论。An impression comment on the object is generated according to the interaction tag.
A2、根据权利要求A1所述的方法,还包括:A2. The method according to claim A1, further comprising:
获取评论显示区;Get the comment display area;
将所述印象评论展现在所述评论显示区内。The impression comments are displayed in the comment display area.
A3、根据权利要求A2所述的方法,所述评论显示区为欲评论内容对应的评论展示区、评论输入区或内容索引区。A3. The method according to claim A2, wherein the comment display area is a comment display area, a comment input area or a content index area corresponding to the content to be commented on.
A4、根据权利要求A2所述的方法,所述获取评论显示区,包括:A4. The method according to claim A2, said obtaining the comment display area, comprising:
若监听到用户对预置交互标签的预置操作为拖动操作,则获取拖动轨迹的终点,当所述终点所在的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述终点所在的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区;If it is detected that the user's preset operation on the preset interactive label is a drag operation, then the end point of the drag track is obtained, and when the position of the end point is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the location of the end point is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则获取最后一次点击的位置,当所述最后一次点击的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述最后一次点击的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, the position of the last click is obtained, and when the position of the last click is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the position of the last click is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area.
A5、根据权利要求A2~A4中任一项所述的方法,所述将所述印象评论展现在所述评论显示区内,包括:A5. The method according to any one of claims A2-A4, the displaying the impression comments in the comment display area includes:
若监听到用户对预置交互标签的预置操作为拖动操作,则当监听到用户拖动所述交互标签的松开信号时,将所述印象评论展现在所述评论显示区;If it is detected that the user's preset operation on the preset interactive label is a drag operation, then when the release signal of the user dragging the interactive label is detected, the impression comment is displayed in the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则当监听到用户点击欲评论内容、评论输入区或内容索引区的触发信号时,将所述印象评论展现在所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, then when the trigger signal of the user clicking on the content to be commented, the comment input area or the content index area is detected, the impression comment will be displayed on the comment display Area.
A6、根据权利要求A1~A4中任一项所述的方法,所述监听用户的界面操作,具体为:A6. According to the method according to any one of claims A1 to A4, the interface operation of the monitoring user is specifically:
监听用户的触控操作;和/或Listen for user touch actions; and/or
监听用户的鼠标操作;和/或Listen for user mouse actions; and/or
监听用户的键盘操作。Listen to the user's keystrokes.
A7、根据权利要求A1~A4中任一项所述的方法,所述根据所述交互标签生成对所述对象的印象评论,包括:A7. The method according to any one of claims A1-A4, said generating an impression comment on said object according to said interaction label, comprising:
获取所述交互标签的标识;Obtain the identifier of the interaction tag;
根据预设的交互标签标识及印象评论的对应关系,获取所述标识对应的印象评论,其中,获取到的所述印象评论即为对所述对象的印象评论。According to the preset correspondence between the interaction tag identifier and the impression comment, the impression comment corresponding to the identifier is acquired, wherein the acquired impression comment is an impression comment on the object.
A8、根据权利要求A1~A4中任一项所述的方法,还包括:A8. The method according to any one of claims A1-A4, further comprising:
接收用户输入的标签设置指令,所述标签设置指令中携带有自定义交互标签、标识及对应的印象评论;Receive a label setting instruction input by the user, the label setting instruction carries a custom interactive label, logo and corresponding impression comment;
根据所述标签设置指令,在所述界面上部署所述自定义交互标签;Deploying the custom interactive label on the interface according to the label setting instruction;
将所述标识及所述印象评论进行本地存储。The identifier and the impression comment are stored locally.
A9、根据权利要求A1~A4中任一项所述的方法,还包括:A9. The method according to any one of claims A1-A4, further comprising:
接收用户输入的评论内容;Receive comments entered by users;
相应的,根据所述交互标签生成对所述对象的印象评论,具体为:Correspondingly, an impression comment on the object is generated according to the interaction tag, specifically:
按照预设评论生成策略,基于所述交互标签和所述评论内容生成对所述对象的印象评论。According to a preset comment generation strategy, an impression comment on the object is generated based on the interaction label and the comment content.
本发明还公开了B10、一种印象评论生成装置,包括:The present invention also discloses B10, an impression comment generation device, including:
监听模块,用于监听用户的界面操作;A monitoring module, configured to monitor user interface operations;
确定模块,用于当监听到用户对预置交互标签的预置操作时,确定印象评论对象;A determination module, configured to determine the impression comment object when the user's preset operation on the preset interaction tag is monitored;
生成模块,用于根据所述交互标签生成对所述对象的印象评论。A generating module, configured to generate impression comments on the object according to the interaction tags.
B11、根据权利要求B10所述的装置,还包括:B11. The device according to claim B10, further comprising:
获取模块,用于获取评论显示区;Get the module, used to get the comment display area;
展现模块,用于将所述印象评论展现在所述评论显示区内。A display module, configured to display the impression comments in the comment display area.
B12、根据权利要求B11所述的装置,其特征在于,所述评论显示区为欲评论内容对应的评论展示区、评论输入区或内容索引区。B12. The device according to claim B11, wherein the comment display area is a comment display area, a comment input area or a content index area corresponding to the content to be commented on.
B13、根据权利要求B11所述的装置,B13. The device according to claim B11,
所述获取模块,具体用于:The acquisition module is specifically used for:
若监听到用户对预置交互标签的预置操作为拖动操作,则获取拖动轨迹的终点,当所述终点所在的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述终点所在的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区;If it is detected that the user's preset operation on the preset interactive label is a drag operation, then the end point of the drag track is obtained, and when the position of the end point is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the location of the end point is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则获取最后一次点击的位置,当所述最后一次点击的位置在评论输入区或内容索引区时,将所述评论输入区或所述内容索引区作为所述评论显示区,当所述最后一次点击的位置在欲评论内容所在的区域时,获取所述欲评论内容对应的评论展示区并将其作为所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, the position of the last click is obtained, and when the position of the last click is in the comment input area or the content index area, the comment input area or The content index area is used as the comment display area, and when the position of the last click is in the area where the content to be commented is located, the comment display area corresponding to the content to be commented is obtained and used as the comment display area.
B14、根据权利要求B11~B13中任一项所述的装置,B14. The device according to any one of claims B11 to B13,
所述展现模块,具体用于:The presentation module is specifically used for:
若监听到用户对预置交互标签的预置操作为拖动操作,则当监听到用户拖动所述交互标签的松开信号时,将所述印象评论展现在所述评论显示区;If it is detected that the user's preset operation on the preset interactive label is a drag operation, then when the release signal of the user dragging the interactive label is detected, the impression comment is displayed in the comment display area;
若监听到用户对预置交互标签的预置操作为点击操作,则当监听到用户点击欲评论内容、评论输入区或内容索引区的触发信号时,将所述印象评论展现在所述评论显示区。If it is detected that the user's preset operation on the preset interactive label is a click operation, then when the trigger signal of the user clicking on the content to be commented, the comment input area or the content index area is detected, the impression comment will be displayed on the comment display Area.
B15、根据权利要求B10~B13中任一项所述的装置,B15. The device according to any one of claims B10 to B13,
所述监听模块,具体用于:The monitoring module is specifically used for:
监听用户的触控操作;和/或Listen for user touch actions; and/or
监听用户的鼠标操作;和/或Listen for user mouse actions; and/or
监听用户的键盘操作。Listen to the user's keystrokes.
B16、根据权利要求B10~B13中任一项所述的装置,所述生成模块,包括:B16. The device according to any one of claims B10 to B13, the generating module includes:
第一获取单元,用于获取所述交互标签的标识;a first acquiring unit, configured to acquire the identifier of the interactive label;
第二获取单元,用于根据预设的交互标签标识及印象评论的对应关系,获取所述标识对应的印象评论,其中,获取到的所述印象评论即为对所述对象的印象评论。The second acquiring unit is configured to acquire the impression comment corresponding to the identifier according to the preset correspondence between the interaction tag identifier and the impression comment, wherein the acquired impression comment is the impression comment on the object.
B17、根据权利要求B10~B13所述的装置,还包括:B17. The device according to claims B10-B13, further comprising:
接收模块,用于接收用户输入的标签设置指令,所述标签设置指令中携带有自定义交互标签、标识及对应的印象评论;The receiving module is used to receive the label setting instruction input by the user, and the label setting instruction carries a custom interactive label, a logo and a corresponding impression comment;
标签部署模块,用于根据所述标签设置指令,在所述界面上部署所述自定义交互标签;A label deployment module, configured to deploy the custom interactive label on the interface according to the label setting instruction;
存储模块,用于将所述标识及所述印象评论进行本地存储。A storage module, configured to store the identification and the impression comment locally.
B18、根据权利要求B10~B13所述的装置,还包括:B18. The device according to claims B10-B13, further comprising:
接收模块,用于接收用户输入的评论内容;The receiving module is used to receive the comment content input by the user;
相应的,所述生成模块,具体用于按照预设评论生成策略,基于所述交互标签和所述评论内容生成对所述对象的印象评论。Correspondingly, the generation module is specifically configured to generate an impression comment on the object based on the interaction label and the comment content according to a preset comment generation strategy.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610353924.9A CN107436869B (en) | 2016-05-25 | 2016-05-25 | A method and device for generating impression comments |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610353924.9A CN107436869B (en) | 2016-05-25 | 2016-05-25 | A method and device for generating impression comments |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107436869A true CN107436869A (en) | 2017-12-05 |
CN107436869B CN107436869B (en) | 2021-06-29 |
Family
ID=60452949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610353924.9A Active CN107436869B (en) | 2016-05-25 | 2016-05-25 | A method and device for generating impression comments |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107436869B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108495184A (en) * | 2018-02-06 | 2018-09-04 | 北京奇虎科技有限公司 | A kind of method and apparatus for adding barrage for video |
CN110889076A (en) * | 2019-11-29 | 2020-03-17 | 北京达佳互联信息技术有限公司 | Comment information publishing method, device, client, server and system |
CN110990700A (en) * | 2019-11-29 | 2020-04-10 | 北京达佳互联信息技术有限公司 | Comment information display method, device, client, server and system |
CN114519154A (en) * | 2022-02-21 | 2022-05-20 | 北京字节跳动网络技术有限公司 | Page content display method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012092063A1 (en) * | 2010-12-29 | 2012-07-05 | Google Inc. | Creating, displaying and interacting with comments on computing devices |
CN102841975A (en) * | 2011-05-06 | 2012-12-26 | 索尼公司 | Information processing apparatus and information processing method |
CN102891897A (en) * | 2012-10-30 | 2013-01-23 | 北京奇虎科技有限公司 | Webpage sharing method, server and clients |
US20130325954A1 (en) * | 2012-06-01 | 2013-12-05 | Microsoft Corporation | Syncronization Of Media Interactions Using Context |
CN103853761A (en) * | 2012-12-03 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Method and device for displaying and adding comments of webpage content |
CN104504131A (en) * | 2014-12-31 | 2015-04-08 | 广州爱书旗信息技术有限公司 | Method and device for realizing user comments based on lineation as well as terminal device and system |
US20150135049A1 (en) * | 2012-09-26 | 2015-05-14 | Timothy Micheal Murphy | Dynamic multimedia pairing |
CN104731554A (en) * | 2015-03-30 | 2015-06-24 | 北京奇艺世纪科技有限公司 | Comment information issuing method and device |
CN105511735A (en) * | 2015-12-02 | 2016-04-20 | 康佳集团股份有限公司 | Reading note processing method and system based on social contact |
-
2016
- 2016-05-25 CN CN201610353924.9A patent/CN107436869B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012092063A1 (en) * | 2010-12-29 | 2012-07-05 | Google Inc. | Creating, displaying and interacting with comments on computing devices |
CN102841975A (en) * | 2011-05-06 | 2012-12-26 | 索尼公司 | Information processing apparatus and information processing method |
US20130325954A1 (en) * | 2012-06-01 | 2013-12-05 | Microsoft Corporation | Syncronization Of Media Interactions Using Context |
US20150135049A1 (en) * | 2012-09-26 | 2015-05-14 | Timothy Micheal Murphy | Dynamic multimedia pairing |
CN102891897A (en) * | 2012-10-30 | 2013-01-23 | 北京奇虎科技有限公司 | Webpage sharing method, server and clients |
CN103853761A (en) * | 2012-12-03 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Method and device for displaying and adding comments of webpage content |
CN104504131A (en) * | 2014-12-31 | 2015-04-08 | 广州爱书旗信息技术有限公司 | Method and device for realizing user comments based on lineation as well as terminal device and system |
CN104731554A (en) * | 2015-03-30 | 2015-06-24 | 北京奇艺世纪科技有限公司 | Comment information issuing method and device |
CN105511735A (en) * | 2015-12-02 | 2016-04-20 | 康佳集团股份有限公司 | Reading note processing method and system based on social contact |
Non-Patent Citations (2)
Title |
---|
扈维等: "基于社会化标注的用户兴趣挖掘", 《清华大学学报(自然科学版)》 * |
王悦: "基于大数据的新闻客户端运营模式分析", 《青年记者》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108495184A (en) * | 2018-02-06 | 2018-09-04 | 北京奇虎科技有限公司 | A kind of method and apparatus for adding barrage for video |
CN110889076A (en) * | 2019-11-29 | 2020-03-17 | 北京达佳互联信息技术有限公司 | Comment information publishing method, device, client, server and system |
CN110990700A (en) * | 2019-11-29 | 2020-04-10 | 北京达佳互联信息技术有限公司 | Comment information display method, device, client, server and system |
CN114519154A (en) * | 2022-02-21 | 2022-05-20 | 北京字节跳动网络技术有限公司 | Page content display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107436869B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10140314B2 (en) | Previews for contextual searches | |
JP7283067B2 (en) | A system and method for detangling interrupted conversations in a communication platform, a method, a program, and a computer device for parsing unstructured messages | |
US10776501B2 (en) | Automatic augmentation of content through augmentation services | |
CN107729475B (en) | Webpage element acquisition method, device, terminal and computer-readable storage medium | |
US10169374B2 (en) | Image searches using image frame context | |
CN107368511B (en) | Information display method and device | |
US9760551B2 (en) | Generating regular expression | |
WO2021082484A1 (en) | Awr report automatic acquisition method and apparatus, electronic device, and storage medium | |
CN107436869B (en) | A method and device for generating impression comments | |
US9465881B2 (en) | User displays using N-way paginated merge of information from diverse sources | |
CN107679217A (en) | Association method for extracting content and device based on data mining | |
CN109739974B (en) | Method and device for obtaining recommendation information, and storage medium | |
CN110532159A (en) | Data decryptor method, apparatus, equipment and computer readable storage medium | |
CN106569860A (en) | Application management method and terminal | |
WO2016184052A1 (en) | Card addition method, device, and apparatus and computer storage medium | |
WO2016058416A1 (en) | Push information processing method and device, browser, browser plug-in and non-volatile computer storage medium | |
CN111310044A (en) | Method, device, device and storage medium for extracting page element information | |
TWI528186B (en) | System and method for distributing messages via audio | |
CN110333853A (en) | Activity card application method, device, equipment and readable storage medium | |
CN117742538A (en) | Message display method, device, electronic equipment and readable storage medium | |
CN115309487A (en) | Display method, display device, electronic equipment and readable storage medium | |
CN103020277A (en) | Method and device for suggesting search term | |
CN106897291A (en) | Searching method and device based on screenshotss operation | |
US10380669B2 (en) | Product browsing system and method | |
WO2022166811A1 (en) | Information processing method and apparatus, electronic device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee after: Beijing Qizhi Business Consulting Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240116 Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Beijing Qizhi Business Consulting Co.,Ltd. |