[go: up one dir, main page]

CN111488057A - Page content processing method and electronic equipment - Google Patents

Page content processing method and electronic equipment Download PDF

Info

Publication number
CN111488057A
CN111488057A CN202010239795.7A CN202010239795A CN111488057A CN 111488057 A CN111488057 A CN 111488057A CN 202010239795 A CN202010239795 A CN 202010239795A CN 111488057 A CN111488057 A CN 111488057A
Authority
CN
China
Prior art keywords
preset
area
user
target
preset 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
Application number
CN202010239795.7A
Other languages
Chinese (zh)
Other versions
CN111488057B (en
Inventor
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010239795.7A priority Critical patent/CN111488057B/en
Publication of CN111488057A publication Critical patent/CN111488057A/en
Application granted granted Critical
Publication of CN111488057B publication Critical patent/CN111488057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例提供了一种页面内容处理方法及电子设备,该方法包括:电子设备可以获取用户在页面上的多个注视位置信息,该页面包括至少两个预设区域,然后针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;之后根据目标区域中显示的内容,输出目标文件,该目标区域为目标参数信息满足预设条件的预设区域。本发明实施例通过用户视线的注视位置信息自动获取目标参数信息,无需用户手动操作,即可契合用户的实际喜好,可以降低收藏操作的复杂度,提高收藏效率;并且,可以避免收藏内容中包含用户不感兴趣的内容,实现了对用户感兴趣内容的自动、快速抽取和整合,冗长的信息被萃取精炼,进而提高了收藏效果。

Figure 202010239795

Embodiments of the present invention provide a method for processing page content and an electronic device. The method includes: the electronic device can acquire multiple gaze position information of a user on a page, the page includes at least two preset areas, and then for each In the preset area, obtain target parameter information according to the gaze position information located in the preset area; then output a target file according to the content displayed in the target area, where the target parameter information satisfies the preset condition Preset area. The embodiment of the present invention automatically obtains target parameter information through the gaze position information of the user's line of sight, and can fit the actual preferences of the user without manual operation by the user, which can reduce the complexity of the collection operation and improve the collection efficiency; The content that the user is not interested in realizes the automatic and rapid extraction and integration of the content that the user is interested in, and the lengthy information is extracted and refined, thereby improving the collection effect.

Figure 202010239795

Description

页面内容处理方法及电子设备Page content processing method and electronic device

技术领域technical field

本发明涉及电子设备技术领域,特别是涉及一种页面内容处理方法及电子设备。The present invention relates to the technical field of electronic devices, and in particular, to a method for processing page content and an electronic device.

背景技术Background technique

现代社会中,电子设备已经成为人们日常浏览资讯的重要媒介。用户在阅读新闻、小说时,对于感兴趣的内容,往往需要进行收藏。In modern society, electronic devices have become an important medium for people to browse information on a daily basis. When users read news and novels, they often need to collect the content they are interested in.

现有技术中,用户进行收藏时,往往采用的方式是用户手动选中、复制感兴趣的内容,接着对选中的内容进行保存,以完成收藏操作。这种手动收藏的方式,操作较为复杂,收藏效率较低。In the prior art, when a user collects, the user usually selects and copies the content of interest manually, and then saves the selected content to complete the collection operation. In this manual collection method, the operation is more complicated and the collection efficiency is low.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种页面内容处理方法及电子设备,以解决现有技术中用户手动收藏操作复杂、收藏效率低的问题。Embodiments of the present invention provide a method and an electronic device for processing page content, so as to solve the problems of complicated manual collection operations and low collection efficiency in the prior art.

为了解决上述问题,本发明实施例是这样实现的:In order to solve the above problems, the embodiments of the present invention are implemented as follows:

第一方面,本发明实施例公开了一种页面内容处理方法,应用于电子设备,包括:In a first aspect, an embodiment of the present invention discloses a method for processing page content, which is applied to an electronic device, including:

获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域;Acquire multiple gaze position information of the user on a page, where the page includes at least two preset areas;

针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;For each preset area, obtain target parameter information according to the gaze position information located in the preset area;

根据目标区域中显示的内容,输出目标文件,其中,所述目标区域为所述目标参数信息满足预设条件的预设区域。According to the content displayed in the target area, the target file is output, wherein the target area is a preset area where the target parameter information satisfies a preset condition.

第二方面,本发明实施例公开了一种电子设备,包括:In a second aspect, an embodiment of the present invention discloses an electronic device, including:

第一获取模块,用于获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域;a first acquiring module, configured to acquire multiple gaze position information of the user on a page, the page including at least two preset areas;

第二获取模块,用于针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;a second obtaining module, configured to obtain target parameter information for each of the preset areas according to the gaze position information located in the preset area;

输出模块,用于根据目标区域中显示的内容,输出目标文件,其中,所述目标区域为所述目标参数信息满足预设条件的预设区域。The output module is configured to output a target file according to the content displayed in the target area, wherein the target area is a preset area where the target parameter information satisfies a preset condition.

第三方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现第一方面所述的页面内容处理方法的步骤。In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor When executed, the steps of the page content processing method described in the first aspect are realized.

第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现第一方面所述的页面内容处理方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the page content processing described in the first aspect is implemented steps of the method.

在本发明实施例中,电子设备可以获取用户在页面上的多个注视位置信息,该页面包括至少两个预设区域,然后针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;之后根据目标区域中显示的内容,输出目标文件,该目标区域为目标参数信息满足预设条件的预设区域。本发明实施例通过用户视线的注视位置信息自动获取目标参数信息,并根据目标参数信息对目标区域,即,用户感兴趣的预设区域中的内容进行收藏,这样,无需用户手动操作,即可契合用户的实际喜好,实现收藏用户感兴趣的内容,进而可以降低收藏操作的复杂度,提高收藏效率。同时,相较于直接向电子设备发送收藏指令,电子设备直接对当前显示的整篇文章进行收藏的方式,本发明实施例中仅根据用户感兴趣的目标区域的显示内容输出目标文件,可以避免收藏内容中包含用户不感兴趣的内容,实现了对用户感兴趣内容的自动、快速抽取和整合,冗长的信息被萃取精炼,进而提高了收藏效果。In this embodiment of the present invention, the electronic device may acquire multiple gaze position information of the user on a page, where the page includes at least two preset areas, and then for each preset area, according to the location within the preset area The gaze position information is obtained, and target parameter information is obtained; then, according to the content displayed in the target area, the target file is output, and the target area is a preset area where the target parameter information satisfies a preset condition. In this embodiment of the present invention, target parameter information is automatically obtained through the gaze position information of the user's line of sight, and the target area, that is, the content in the preset area that the user is interested in, is bookmarked according to the target parameter information. It conforms to the actual preferences of users, and realizes the collection of content that users are interested in, thereby reducing the complexity of collection operations and improving collection efficiency. At the same time, compared with the way of directly sending the collection instruction to the electronic device, the electronic device directly collects the entire article currently displayed, in the embodiment of the present invention, the target file is output only according to the display content of the target area that the user is interested in, which can avoid The collection content contains the content that the user is not interested in, which realizes the automatic and rapid extraction and integration of the content that the user is interested in, and the lengthy information is extracted and refined, thereby improving the collection effect.

附图说明Description of drawings

图1示出了本发明的一种页面内容处理方法的步骤流程图;Fig. 1 shows the step flow chart of a kind of page content processing method of the present invention;

图2示出了本发明的另一种页面内容处理方法的步骤流程图;Fig. 2 shows a flow chart of the steps of another method for processing page content of the present invention;

图3示出了本发明的一种页面内容处理方法的示意图;3 shows a schematic diagram of a method for processing page content of the present invention;

图4示出了本发明的一种目标文件的示意图;Fig. 4 shows the schematic diagram of a kind of target file of the present invention;

图5示出了本发明的一种电子设备的结构框图;Fig. 5 shows a structural block diagram of an electronic device of the present invention;

图6示出了实现本发明各个实施例的一种电子设备的硬件结构示意图。FIG. 6 shows a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

参照图1,示出了本发明的一种页面内容处理方法的步骤流程图,所述方法应用于电子设备,所述电子设备可以具体为智能手机、笔记本、平板电脑、车载电脑等,该方法具体可以包括:Referring to FIG. 1, there is shown a flow chart of the steps of a method for processing page content of the present invention. The method is applied to an electronic device, and the electronic device may be a smartphone, a notebook, a tablet computer, a car computer, etc. Specifically, it can include:

步骤101、获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域。Step 101: Acquire multiple gaze position information of a user on a page, where the page includes at least two preset areas.

本发明实施例中,页面可以是电子设备屏幕的显示界面,其中显示的内容可以是文本、图片或视频等。注视位置信息可以是用于指示用户的视线投射到电子设备页面上的位置的信息,该注视位置信息可以以二维坐标的形式表示。预设区域可以是用户按照预设方式对页面进行划分得到的几何区域,示例的,预设区域可以是一段文字所在的区域或者一张图片所在的区域。页面中预设区域至少为两个,这样,能够基于多个预设区域确定用户对哪一部分内容感兴趣,可以提高对于用户感兴趣的内容判断的准确度。In this embodiment of the present invention, the page may be a display interface of the screen of the electronic device, and the displayed content may be text, pictures, or videos. The gaze position information may be information indicating a position where the user's gaze is projected on the page of the electronic device, and the gaze position information may be represented in the form of two-dimensional coordinates. The preset area may be a geometric area obtained by dividing a page by a user in a preset manner. For example, the preset area may be an area where a piece of text is located or an area where a picture is located. There are at least two preset areas on the page, so that which part of the content the user is interested in can be determined based on the multiple preset areas, and the accuracy of judging the content that the user is interested in can be improved.

本步骤中,电子设备检测到用户开启“智能收藏”功能后,可以在后台开启前置摄像头和眼球追踪模块。该前置摄像头可以用于采集用户的面部图像,眼球追踪模块可以用于通过图像处理确定用户的注视位置信息。In this step, after the electronic device detects that the user has turned on the "smart collection" function, it can turn on the front camera and the eye tracking module in the background. The front camera can be used to collect the face image of the user, and the eye tracking module can be used to determine the gaze position information of the user through image processing.

具体的,电子设备的前置摄像头采集用户的面部图像,并逐帧反馈至眼球追踪模块。眼球追踪模块可以基于面部图像,先定位出其中的人脸区域,之后截取出眼部图像,再将眼部图像转化为灰度图像,接着,基于灰度图像进行椭圆拟合,确定出瞳孔中心以及角膜反射点的中心位置。在提取出瞳孔中心以及角膜反射点中心位置等特征后,眼球追踪模块可以调用视线预估算法,例如瞳孔角膜反射法、交比不变法等,基于视线预估算法、瞳孔中心以及角膜反射点中心位置等特征,确定出用户在页面上的注视位置信息。这样,电子设备采集面部图像,并通过视线预估确定出用户的注视位置信息,在电子设备本地完成这一处理过程,可以缩短图像采集及处理过程耗费的时间,提高用户注视位置信息的确定速度。Specifically, the front camera of the electronic device collects the face image of the user, and feeds it back to the eye tracking module frame by frame. The eye tracking module can first locate the face area based on the facial image, then cut out the eye image, then convert the eye image into a grayscale image, and then perform ellipse fitting based on the grayscale image to determine the center of the exit pupil and the center position of the corneal reflection point. After extracting features such as the center of the pupil and the center of the corneal reflection point, the eye tracking module can call the line of sight estimation algorithm, such as the pupil corneal reflection method, the cross-ratio invariant method, etc., based on the line of sight estimation algorithm, the center of the pupil and the center of the corneal reflection point Location and other features to determine the user's gaze position information on the page. In this way, the electronic device collects the facial image, and determines the user's gaze position information through the line of sight estimation, and completes this processing process locally on the electronic device, which can shorten the time spent in the image acquisition and processing process, and improve the user's gaze position information determination speed. .

当然,也可以其他方式确定用户在页面上的注视位置信息,本发明实施例对此不作限定。Certainly, the gaze position information of the user on the page may also be determined in other ways, which is not limited in this embodiment of the present invention.

需要注意的是,用户在第一次使用该页面内容处理对应的“智能收藏”功能时,可以先对电子设备进行校正。具体的,电子设备可以在屏幕上不同位置依次显示一个标定点,相应地,用户可以凝视该标定点。接着,电子设备可以采集用户的面部图像,基于面部图像确定出用户视线的实际注视位置,根据视线实际注视位置和标定点的偏差,调整视线预估算法的参数,以此校准视线实际注视位置与标定点,最终使得视线实际注视位置与标定点重合。这样,通过用户的实际注视位置与标定点的偏差,不断优化调整视线预估算法的参数,能够尽可能地减小注视位置信息确定时的误差。It should be noted that, when the user uses the "smart collection" function corresponding to the content processing of the page for the first time, the user can first correct the electronic device. Specifically, the electronic device may sequentially display a calibration point at different positions on the screen, and correspondingly, the user may stare at the calibration point. Next, the electronic device can collect the user's facial image, determine the actual gaze position of the user's sight based on the facial image, and adjust the parameters of the gaze estimation algorithm according to the deviation between the actual gaze position of the gaze and the calibration point, so as to calibrate the actual gaze position of the gaze and the calibration point. The calibration point finally makes the actual gaze position of the line of sight coincide with the calibration point. In this way, through the deviation between the user's actual gaze position and the calibration point, the parameters of the gaze prediction algorithm are continuously optimized and adjusted, and the error in determining the gaze position information can be reduced as much as possible.

此外,本步骤中注视位置的确定过程不仅可以通过电子设备进行上述本地处理过程,也可以通过远程服务器进行远程处理。具体的,电子设备通过摄像头采集用户面部图像后,可以将该面部图像发送至远程服务器,由远程服务器完成上述依据面部图像确定视线位置的过程,之后,电子设备可以接收远程服务器返回的确定结果,进而得到注视位置。这样,通过远程处理,电子设备无需安装眼球追踪模块,简化了电子设备的结构,同时无需自己对图像进行处理,可以减轻电子设备的计算负担。In addition, the determination process of the gaze position in this step can not only perform the above-mentioned local processing process through an electronic device, but also can perform remote processing through a remote server. Specifically, after the electronic device collects the user's facial image through the camera, the facial image can be sent to a remote server, and the remote server can complete the above process of determining the line of sight position based on the facial image. After that, the electronic device can receive the determination result returned by the remote server. to get the gaze position. In this way, through remote processing, the electronic device does not need to install an eye tracking module, which simplifies the structure of the electronic device, and at the same time does not need to process images by itself, which can reduce the computational burden of the electronic device.

步骤102、针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息。Step 102: For each preset area, acquire target parameter information according to the gaze position information located in the preset area.

本发明实施例中,目标参数信息可以是用于判断用户是否对预设区域中显示的内容感兴趣的参数信息,例如可以是用户的兴趣值等。In this embodiment of the present invention, the target parameter information may be parameter information used to determine whether the user is interested in the content displayed in the preset area, for example, the user's interest value or the like.

具体的,用户在阅读页面中的内容时,视线会在页面上进行移动,相应的,注视位置也会随之移动。用户在阅读过程中,若对某个预设区域内显示的内容感兴趣,视线会更多的投射到该预设区域中,即用户在页面上的注视位置会更多地落在用户感兴趣的预设区域内。因此,可以根据位于预设区域内的注视位置信息,获取目标参数信息,并根据目标参数信息来判断用户是否对所述预设区域内显示的内容感兴趣,这样,无需用户手动选择感兴趣的内容,电子设备可以根据用户注视位置确定用户感兴趣的内容,即可确定出契合用户实际喜好的内容。Specifically, when the user reads the content on the page, the gaze will move on the page, and correspondingly, the gaze position will also move accordingly. During the reading process, if the user is interested in the content displayed in a certain preset area, the line of sight will be projected more into the preset area, that is, the user's gaze position on the page will fall more on the user's interest. within the preset area. Therefore, the target parameter information can be obtained according to the gaze position information located in the preset area, and whether the user is interested in the content displayed in the preset area can be determined according to the target parameter information, so that the user does not need to manually select the interesting content. content, the electronic device can determine the content that the user is interested in according to the user's gaze position, and can determine the content that conforms to the user's actual preference.

步骤103、根据目标区域中显示的内容,输出目标文件,其中,所述目标区域为所述目标参数信息满足预设条件的预设区域。Step 103: Output a target file according to the content displayed in the target area, where the target area is a preset area where the target parameter information satisfies a preset condition.

本发明实施例中,目标文件可以是存储有用户感兴趣的内容的文件,目标文件的类型可以是根据实际情况设置的,例如,可以是一个PDF格式的文件,也可以是文本格式的文件,等等。电子设备输出目标文件后,可以将该目标文件存储在预设位置,例如本地收藏文件夹中,完成收藏操作。In this embodiment of the present invention, the target file may be a file storing content that the user is interested in, and the type of the target file may be set according to the actual situation, for example, it may be a file in PDF format or a file in text format, and many more. After the electronic device outputs the target file, the target file may be stored in a preset location, such as a local favorite folder, to complete the favorite operation.

目标区域可以是用户感兴趣的预设区域。本步骤中可以在目标参数信息满足预设条件时,将预设区域确定为目标区域。示例的,当目标参数信息为兴趣值时,若预设区域的兴趣值大于预设的兴趣值阈值时,则判定用户对该预设区域显示的内容感兴趣,电子设备将该预设区域确定为目标区域。The target area may be a preset area of interest to the user. In this step, when the target parameter information satisfies the preset condition, the preset area may be determined as the target area. For example, when the target parameter information is the interest value, if the interest value of the preset area is greater than the preset interest value threshold, it is determined that the user is interested in the content displayed in the preset area, and the electronic device determines the preset area. for the target area.

综上所述,在本发明实施例中,电子设备可以获取用户在页面上的多个注视位置信息,该页面包括至少两个预设区域,然后针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;之后根据目标区域中显示的内容,输出目标文件,该目标区域为目标参数信息满足预设条件的预设区域。本发明实施例通过用户视线的注视位置信息自动获取目标参数值,并根据目标参数信息对目标区域,即,用户感兴趣的预设区域中的内容进行收藏,这样,无需用户手动操作,即可契合用户的实际喜好,实现收藏用户感兴趣的内容,进而可以降低收藏操作的复杂度,提高收藏效率。同时,相较于直接向电子设备发送收藏指令,电子设备直接对当前显示的整篇文章进行收藏的方式。本发明实施例中仅根据用户感兴趣的目标区域的显示内容输出目标文件,可以避免收藏内容中包含用户不感兴趣的内容,实现了对用户感兴趣内容的自动、快速抽取和整合,冗长的信息被萃取精炼,进而可以提高收藏效果。To sum up, in this embodiment of the present invention, the electronic device may acquire multiple gaze position information of the user on a page, where the page includes at least two preset areas, and then for each preset area, The gaze position information in the preset area is obtained, and target parameter information is obtained; then, according to the content displayed in the target area, a target file is output, and the target area is a preset area where the target parameter information meets a preset condition. In this embodiment of the present invention, the target parameter value is automatically obtained through the gaze position information of the user's line of sight, and the target area, that is, the content in the preset area that the user is interested in, is bookmarked according to the target parameter information, so that no manual operation by the user is required. It conforms to the actual preferences of users, and realizes the collection of content that users are interested in, thereby reducing the complexity of collection operations and improving collection efficiency. At the same time, compared to directly sending a bookmark instruction to the electronic device, the electronic device directly bookmarks the entire article currently displayed. In the embodiment of the present invention, the target file is only outputted according to the displayed content of the target area that the user is interested in, which can prevent the collection content from including the content that the user is not interested in, and realizes the automatic and rapid extraction and integration of the content of interest to the user. It is extracted and refined, which can improve the collection effect.

参照图2,示出了本发明另一种页面内容处理方法的步骤流程图,所述方法应用于电子设备,该方法具体可以包括:Referring to FIG. 2 , a flowchart of steps of another method for processing page content of the present invention is shown. The method is applied to an electronic device. Specifically, the method may include:

步骤201、获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域。Step 201: Acquire multiple gaze position information of a user on a page, where the page includes at least two preset areas.

具体的,本步骤的实现方式可以参照前述步骤101,本发明实施例在此不做赘述。Specifically, for an implementation manner of this step, reference may be made to the foregoing step 101, which is not repeated in this embodiment of the present invention.

可选的,在本步骤之前,电子设备可以通过以下步骤(1)~(2)在页面上实现预设区域的划分:Optionally, before this step, the electronic device may implement the division of the preset area on the page through the following steps (1) to (2):

步骤(1)、检测所述页面中第一预设量的图片所对应的图片区域,以及,检测所述页面中第二预设量的文本所对应的文本区域。Step (1): Detecting a picture area corresponding to a first preset amount of pictures in the page, and detecting a text area corresponding to a second preset amount of text in the page.

本步骤中,电子设备的页面上显示的内容类型可以有多种,可以是文本、图片或视频等。在判断用户是否对页面上的内容感兴趣之前,电子设备需要对页面进行区域划分,这样,能够基于几何区域确定用户对哪一部分内容感兴趣,可以提高对于用户感兴趣的内容判断的准确度。In this step, there may be various types of content displayed on the page of the electronic device, which may be text, pictures, or videos. Before judging whether the user is interested in the content on the page, the electronic device needs to divide the page into regions. In this way, which part of the content the user is interested in can be determined based on the geometric region, which can improve the accuracy of judging the content that the user is interested in.

具体的,第一预设量可以是页面中图片的数量,可以是一张或多张。当页面显示的内容为图片时,第一预设量为一张时,可以是将一张图片所在的区域划分为一个图片区域,第一预设量为多张时,可以是将多张图片所在的区域划分为一个图片区域。其中,该图片可以是静态图片、动态图片,或者也可以是视频包含的封面图片。Specifically, the first preset amount may be the number of pictures in the page, which may be one or more pictures. When the content displayed on the page is a picture, and the first preset amount is one piece, the area where one picture is located may be divided into one picture area, and when the first preset amount is multiple pictures, it may be to divide the multiple pictures The area is divided into a picture area. The picture may be a static picture, a dynamic picture, or a cover picture included in the video.

第二预设量可以是文本的一句、一行、一段或者预设数量个字数。当页面显示的内容为文本时,第二预设量为一个自然段时,可以是将一个文本段落所在的区域划分为一个文本区域,第二预设量为一句文本时、一行文本,或预设数量个字符时,也可以是将一句文本、一行文本或者预设数量个字符所在的区域划分为一个文本区域。上述区域划分过程可以根据实际需求确定,本发明实施例对此不作限定。The second preset amount may be a sentence, a line, a paragraph, or a preset number of words in a text. When the content displayed on the page is text, and the second preset amount is a natural paragraph, the area where a text paragraph is located can be divided into a text area, and when the second preset amount is a sentence of text, a line of text, or a preset When the number of characters is set, a sentence of text, a line of text, or an area where a preset number of characters are located may also be divided into a text area. The foregoing area division process may be determined according to actual requirements, which is not limited in this embodiment of the present invention.

步骤(2)、将一个所述图片区域确定为一个所述预设区域,以及,将一个所述文本区域确定为一个所述预设区域。In step (2), one of the picture regions is determined as one of the preset regions, and one of the text regions is determined as one of the preset regions.

本步骤中,将检测出的图片区域、文本区域分别确定为预设区域。这样。能够将电子设备的页面划分为多个预设区域,不同的预设区域内显示有对应的内容,方便后续对于用户感兴趣的目标区域的确定。In this step, the detected picture area and text area are respectively determined as preset areas. so. The page of the electronic device can be divided into a plurality of preset areas, and corresponding content is displayed in different preset areas, so as to facilitate the subsequent determination of the target area that the user is interested in.

本发明实施例中,通过对电子设备页面进行区域划分,得到多个预设区域,能够确保后续可以准确识别出用户感兴趣的内容,同时可以将用户感兴趣内容的识别粒度细化到段落、句子,可以提高对页面内容的萃取和整合的精度。In the embodiment of the present invention, by dividing the electronic device page into regions, a plurality of preset regions can be obtained, which can ensure that the content of interest to the user can be accurately identified in the future, and at the same time, the identification granularity of the content of interest to the user can be refined into paragraphs, Sentences can improve the precision of extraction and integration of page content.

步骤202、针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息。Step 202: For each preset area, acquire target parameter information according to the gaze position information located in the preset area.

可选的,本步骤中的目标参数信息为所述预设区域对应的的兴趣值。该兴趣值可以用于表示用户对预设区域中显示的内容的感兴趣程度。Optionally, the target parameter information in this step is the interest value corresponding to the preset area. The interest value may be used to indicate the user's interest in the content displayed in the preset area.

具体的,在获取预设区域对应的兴趣值时,本步骤202可以通过下述子步骤(3)~子步骤(5)组成的实现方式一或子步骤(6)~子步骤(8)组成的实现方式二实现:Specifically, when acquiring the interest value corresponding to the preset area, this step 202 can be composed of the following implementation mode 1 consisting of sub-steps (3) to (5) or sub-steps (6) to sub-steps (8) The implementation of the second implementation:

实现方式一:Implementation method one:

子步骤(3)、对于位于所述预设区域内的任一注视位置信息指示的注视位置,获取用户视线在所述注视位置停留的停留时长。Sub-step (3): For any gaze position indicated by the gaze position information located in the preset area, obtain the duration of the user's gaze staying at the gaze position.

本步骤中,用户在阅读过程中,注视位置会随着视线在页面上的多个预设区域内进行移动。用户在对某部分内容感兴趣时,用户会凝视该部分内容,即视线停留在该部分内容的注视位置上。因此,电子设备可以计算视线在该注视位置的停留时长,后续可以依据该停留时长确定用户的感兴趣程度。In this step, during the reading process of the user, the gaze position will move within a plurality of preset areas on the page along with the line of sight. When the user is interested in a certain part of the content, the user will stare at the part of the content, that is, the line of sight stays on the gaze position of the part of the content. Therefore, the electronic device can calculate the length of stay of the line of sight at the gaze position, and can subsequently determine the degree of interest of the user according to the stay time.

子步骤(4)、根据所述停留时长之和,获取用户在所述预设区域的凝视时长。Sub-step (4): Acquire the user's gaze time in the preset area according to the sum of the staying time.

本步骤中,在一个预设区域内,用户视线可以在多个注视位置停留,通过将不同注视位置的停留时长加和的方式,可以确定用户在该预设区域的凝视时长。In this step, in a preset area, the user's line of sight can stay at multiple gaze positions, and the user's gaze time in the preset area can be determined by summing the stay periods of different gaze positions.

以在预设区域1为例,可以在用户视线每次落入预设区域1,直到离开预设区域1的过程中,统计用户视线在各个注视位置的停留时长。当然假设在注视位置A点的停留了1秒,在注视位置B点停留了2秒,在注视位置C点停留了1秒,则用户在预设区域1的凝视时长为1+2+1=4秒。Taking the preset area 1 as an example, the duration of the user's gaze at each gaze position may be counted during the process of each time the user's sight falls into the preset area 1 until it leaves the preset area 1 . Of course, assuming that the user stays at the fixation position A for 1 second, at the fixation position B for 2 seconds, and at the fixation position C for 1 second, the user's gaze duration in the preset area 1 is 1+2+1= 4 seconds.

当然,由于在用户视线处于预设区域的期间,预设区域中必然存在用户视线对应的注视位置,即用户视线必然在属于该预设区域中的某个注视位置上停留着。因此,具体在确定凝视时长时,电子设备也可以在注视位置随着视线移动进入某个预设区域时开始统计凝视时长,注视位置随视线移出该预设区域时暂停,注视位置再次移动进入该预设区域时则继续统计凝视时长,取最终累计时间作为该预设区域的凝视时长,即,计算每次用户视线对应的注视位置落入预设区域至用户视线对应注视位置移出预设区域之间的时长之和,作为凝视时长。对于凝视时长的具体确定方式,本发明实施例对此不作限定。Of course, during the period when the user's line of sight is in the preset area, there must be a gaze position corresponding to the user's line of sight in the preset area, that is, the user's line of sight must stay at a certain gaze position belonging to the preset area. Therefore, when determining the gaze duration, the electronic device can also start counting the gaze duration when the gaze position moves into a preset area with the line of sight, pauses when the gaze position moves out of the preset area, and the gaze position moves into the preset area again. In the preset area, continue to count the gaze duration, and take the final accumulated time as the gaze duration of the preset area, that is, calculate the time between when the gaze position corresponding to the user's line of sight falls into the preset area until the gaze position corresponding to the user's gaze moves out of the preset area. The sum of the time durations is used as the gaze duration. The specific manner of determining the gaze duration is not limited in this embodiment of the present invention.

子步骤(5)、基于所述凝视时长与所述预设区域中显示的内容的类型,获取所述预设区域对应的兴趣值。In sub-step (5), the interest value corresponding to the preset area is acquired based on the gaze duration and the type of content displayed in the preset area.

本步骤中,兴趣值可以用于表示用户对预设区域中显示的内容的感兴趣程度,可以用一具体的数值表示,例如兴趣值p=2。In this step, the interest value may be used to indicate the user's interest in the content displayed in the preset area, which may be expressed by a specific numerical value, for example, the interest value p=2.

当预设区域中显示的内容类型不同时,确定预设区域兴趣值的方式也不相同,具体的,本步骤中可以通过以下步骤A1或A2确定出时间阈值,然后基于步骤B确定出兴趣值:When the types of content displayed in the preset area are different, the method of determining the interest value of the preset area is also different. Specifically, in this step, the time threshold can be determined through the following steps A1 or A2, and then the interest value can be determined based on step B. :

步骤A1、在所述预设区域中显示的内容为文本类型的情况下,根据所述预设区域中包含的文本字数以及预设文本阅读系数获取时间阈值。Step A1: When the content displayed in the preset area is a text type, obtain a time threshold according to the number of text characters contained in the preset area and a preset text reading coefficient.

本步骤中,时间阈值可以表征用户对于显示内容在正常阅读速度下所需要的阅读时间。具体的,当预设区域的显示内容为文本类型时,文本的时间阈值可以通过下述公式计算:In this step, the time threshold may represent the reading time required by the user for the displayed content at a normal reading speed. Specifically, when the display content of the preset area is a text type, the time threshold of the text can be calculated by the following formula:

v=n*s;v=n*s;

其中,n为预设区域中包含的文本字数,s为预设文本阅读系数,该预设文本阅读系数与用户的历史阅读速度相关,用户的历史阅读速度越大,预设文本阅读系数越小。例如,用户的历史阅读速度为每秒5个字符时,则预设文本阅读系数可以为0.2。Among them, n is the number of text words contained in the preset area, and s is the preset text reading coefficient. The preset text reading coefficient is related to the user's historical reading speed. The higher the user's historical reading speed, the smaller the preset text reading coefficient. . For example, when the user's historical reading speed is 5 characters per second, the preset text reading coefficient may be 0.2.

具体的,预设文本阅读系数的初始值可以依据大多数人文本阅读速度的平均值设置,之后在采集到用户的历史阅读速度时,电子设备可以根据用户的历史阅读速度,确定出当前用户历史阅读速度的平均值,以此确定预设文本阅读系数。这样,根据用户的历史阅读速度与预设区域中文本包含的字数确定时间阈值,能够结合用户个人的实际阅读习惯,准确判断出用户对哪些文本内容感兴趣。Specifically, the initial value of the preset text reading coefficient can be set according to the average value of the text reading speed of most people, and then when the user's historical reading speed is collected, the electronic device can determine the current user history according to the user's historical reading speed. The average reading speed is used to determine the preset text reading coefficient. In this way, the time threshold is determined according to the user's historical reading speed and the number of words contained in the text in the preset area, which can accurately determine which text content the user is interested in based on the user's actual reading habits.

步骤A2、在所述预设区域中显示的内容为图片类型的情况下,根据所述预设区域中包含图片的像素数量及预设图片查看系数获取时间阈值。Step A2: In the case that the content displayed in the preset area is a picture type, obtain a time threshold according to the number of pixels of the picture included in the preset area and a preset picture viewing coefficient.

本步骤中,当预设区域的显示内容为图片类型时,图片的时间阈值可以通过下述公式计算:In this step, when the display content of the preset area is a picture type, the time threshold of the picture can be calculated by the following formula:

vp=np*sp;vp=np*sp;

其中,np为预设区域中包含的图片的像素数量,例如图片的像素数量可以是1080*720;Among them, np is the number of pixels of the picture contained in the preset area, for example, the number of pixels of the picture can be 1080*720;

sp为预设图片查看系数,该预设图片查看系数与用户的历史图片查看速度相关,用户的历史图片查看速度越大,预设图片查看系数越小。例如用户的历史图片查看速度为每秒5000个像素值时,则预设图片查看系数可以为0.0002。sp is a preset picture viewing coefficient, and the preset picture viewing coefficient is related to the user's historical picture viewing speed. The higher the user's historical picture viewing speed is, the smaller the preset picture viewing coefficient is. For example, when the user's historical picture viewing speed is 5000 pixels per second, the preset picture viewing coefficient may be 0.0002.

具体的,预设图片查看系数的初始值可以依据大多数人图片查看速度的平均值设置,之后在采集到用户的历史图片查看速度时,电子设备可以根据用户的历史图片查看速度,确定出当前用户历史图片查看速度的平均值,以此确定预设图片查看系数。这样,根据用户的历史图片查看速度与预设区域中图片的像素数量确定时间阈值,能够结合用户个人的实际图片查看速度,准确判断出用户对哪些图片感兴趣。Specifically, the initial value of the preset picture viewing coefficient can be set according to the average value of the picture viewing speed of most people. After that, when the user's historical picture viewing speed is collected, the electronic device can determine the current picture viewing speed according to the user's historical picture viewing speed. The average value of the user's historical picture viewing speed to determine the preset picture viewing coefficient. In this way, the time threshold is determined according to the user's historical picture viewing speed and the number of pixels in the picture in the preset area, which can accurately determine which pictures the user is interested in in combination with the user's actual picture viewing speed.

步骤B、根据所述凝视时长和所述时间阈值,确定所述预设区域对应的兴趣值。Step B: Determine the interest value corresponding to the preset area according to the gaze duration and the time threshold.

本步骤中,计算得到凝视时长和时间阈值后,可以将凝视时间t与时间阈值v或vp的比值作为兴趣值,例如兴趣值p=t/v或者p=t/vp。In this step, after the gaze duration and time threshold are calculated, the ratio of the gaze time t to the time threshold v or vp can be used as the interest value, for example, the interest value p=t/v or p=t/vp.

需要注意的是,本步骤中也可以采用其他方式计算兴趣值,例如采用凝视时长和时间阈值的差值作为兴趣值,即兴趣值p=t-v或者p=t-vp;本步骤中根据用户实际的凝视时长和时间阈值计算时,计算结果能够体现两者之间的差距程度即可,对于兴趣值的具体计算方式,本发明实施例对此不作限定。It should be noted that other methods can also be used to calculate the interest value in this step, for example, the difference between the gaze duration and the time threshold is used as the interest value, that is, the interest value p=t-v or p=t-vp; When calculating the gaze duration and the time threshold, the calculation result only needs to reflect the difference between the two, and the specific calculation method of the interest value is not limited in this embodiment of the present invention.

本发明实施例中,通过按照文本、图片两种类型对预设区域进行兴趣值的确定,能够基于文本类型,结合用户的实际情况,准确地识别出用户感兴趣的内容,更能契合用户自身的实际喜好。In the embodiment of the present invention, by determining the interest value of the preset area according to two types of text and pictures, it is possible to accurately identify the content that the user is interested in based on the text type and the actual situation of the user, which is more suitable for the user himself. actual preference.

本发明实施例中,通过确定用户对于不同预设区域的凝视时长,进而得到预设区域的兴趣值,这样,可以根据用户阅读时的视线移动确定出用户感兴趣的内容,无需用户手动进行选择,既能符合用户的实际喜好,也能简化用户的操作,提高了用户的使用体验。In this embodiment of the present invention, the user's gaze duration on different preset areas is determined, and then the interest value of the preset area is obtained. In this way, the content of interest to the user can be determined according to the user's gaze movement during reading, and the user does not need to manually select , which not only conforms to the user's actual preference, but also simplifies the user's operation and improves the user's use experience.

实现方式二、Implementation method two,

子步骤(6)、根据位于所述预设区域内的注视位置信息指示的注视位置,获取用户在所述预设区域内对应的视线轨迹。Sub-step (6), according to the gaze position indicated by the gaze position information located in the preset area, acquire the line of sight track corresponding to the user in the preset area.

本步骤中,视线轨迹可以是用户的注视位置依次连线所形成的轨迹。用户在阅读过程中,视线会随着文字方向进行移动,进而形成对应的视线轨迹。In this step, the line of sight track may be a track formed by connecting the user's gaze positions in sequence. During the reading process, the user's eyes will move with the direction of the text, thereby forming a corresponding line of sight.

子步骤(7)、根据各个所述视线轨迹在预设方向上的投影长度,获取所述预设方向上的投影总长度。Sub-step (7): Acquire the total projected length in the preset direction according to the projected length of each line of sight track in the preset direction.

本步骤中,一般来说,用户阅读时的视线轨迹是略有弯曲的水平线,因此,在计算时,可以取其在预设方向上的投影总长度参与计算。需要说明的是,用户在预设区域内的视线可能是反复游弋的,视线轨迹也可能存在重叠的部分,此时的投影总长度为多个视线轨迹在预设方向上的长度之和。In this step, generally speaking, the line of sight trace of the user when reading is a slightly curved horizontal line. Therefore, in the calculation, the total projected length of the line in the preset direction can be used to participate in the calculation. It should be noted that the user's line of sight in the preset area may be cruising repeatedly, and there may be overlapping parts of the line of sight trajectories. The total projected length at this time is the sum of the lengths of multiple line of sight trajectories in the preset direction.

子步骤(8)、根据所述投影总长度以及所述预设区域在所述预设方向上的总长度,获取用户对所述预设区域的兴趣值。In sub-step (8), the user's interest value in the preset area is acquired according to the total length of the projection and the total length of the preset area in the preset direction.

本步骤中,预设区域在预设方向上的总长度可以是预设区域在预设方向上显示内容的总长度。例如,预设方向为水平方向,预设区域中水平方向上显示的内容为文本段落,该段落有5行,每行有900像素,则总长度可以表示为:len=900*5=4500像素。In this step, the total length of the preset area in the preset direction may be the total length of the content displayed in the preset area in the preset direction. For example, if the preset direction is the horizontal direction, the content displayed in the horizontal direction in the preset area is a text paragraph, the paragraph has 5 lines, and each line has 900 pixels, then the total length can be expressed as: len=900*5=4500 pixels .

预设方向可以是水平方向,也可以是垂直方向。当预设区域中文字的显示方向为水平方向时,例如是从左到右时,可以确定视线轨迹在水平方向的轨迹长度,并计算预设区域在水平方向的总长度。当预设区域中文字的显示方向为垂直方向时,例如是从上到下时,可以确定视线轨迹在垂直方向的轨迹长度,并计算预设区域在垂直方向的总长度。The preset direction can be horizontal or vertical. When the display direction of the text in the preset area is horizontal, for example, from left to right, the track length of the line of sight track in the horizontal direction can be determined, and the total length of the preset area in the horizontal direction can be calculated. When the display direction of the text in the preset area is the vertical direction, for example, from top to bottom, the track length of the line of sight track in the vertical direction can be determined, and the total length of the preset area in the vertical direction can be calculated.

具体的,计算得到投影总长度和预设区域在预设方向的总长度后,可以将投影总长度l与总长度len的比值作为兴趣值,例如兴趣值p=l/len。当然,本步骤中也可以采用其他方式计算兴趣值,例如采用投影总长度和总长度的差值作为兴趣值,即兴趣值p=l-len;本步骤中根据用户视线轨迹实际的投影总长度和预设区域在预设方向的总长度计算时,计算结果能够体现两者之间的差距程度即可,对于兴趣值的具体计算方式,本发明实施例对此不作限定。Specifically, after calculating the total projected length and the total length of the preset area in the preset direction, the ratio of the total projected length l to the total length len can be used as the interest value, for example, the interest value p=l/len. Of course, other methods can also be used to calculate the interest value in this step, for example, the difference between the total projected length and the total length is used as the interest value, that is, the interest value p=l-len; When calculating the total length of the preset area and the preset area in the preset direction, the calculation result only needs to reflect the difference between the two, and the specific calculation method of the interest value is not limited in this embodiment of the present invention.

本发明实施例中,通过确定用户的视线轨迹在预设方向的投影总长度,进而计算得到预设区域的兴趣值,这样,可以根据用户阅读时的视线移动确定出用户感兴趣的内容,无需用户手动进行选择,既能符合用户的实际喜好,也能简化用户的操作,提高了用户的使用体验。并且,本步骤中采用视线轨迹的投影总长度计算兴趣值,由于投影总长度可以体现视线轨迹在预设方向上的真实长度,因此,相较于直接采用视线轨迹的实际长度进行计算的方式,采用投影总长度参与计算,可以提高兴趣值计算的准确度。In this embodiment of the present invention, the total projected length of the user's line of sight trajectory in the preset direction is determined, and then the interest value of the preset area is calculated. In this way, the content of interest to the user can be determined according to the movement of the user's line of sight during reading, without the need for The manual selection by the user not only conforms to the actual preference of the user, but also simplifies the user's operation and improves the user's use experience. In addition, in this step, the total projected length of the line of sight trajectory is used to calculate the interest value. Since the total projected length of the line of sight can reflect the actual length of the line of sight trajectory in the preset direction, compared with the method of directly using the actual length of the line of sight trajectory for calculation, Using the total length of projection to participate in the calculation can improve the accuracy of the calculation of the interest value.

步骤203、根据目标区域对应的兴趣值,按照与所述兴趣值对应的显示方式显示所述目标区域;其中,所述目标区域为所述目标参数信息满足预设条件的预设区域。Step 203: Display the target area in a display manner corresponding to the interest value according to the interest value corresponding to the target area; wherein the target area is a preset area where the target parameter information meets a preset condition.

本步骤中,显示方式可以是预设的对于目标区域中内容的突出显示方式,例如,该显示方式可以是基于不同的背景颜色进行高亮显示、放大字号、改变文字颜色、改变字体或者其他突出显示方式,本发明实施例对此不作限定。In this step, the display mode may be a preset highlighting mode for the content in the target area, for example, the display mode may be highlighting based on different background colors, enlarging the font size, changing the text color, changing the font or other highlighting The display mode is not limited in this embodiment of the present invention.

具体的,当显示方式为基于不同的背景颜色进行高亮显示时,本步骤203可以通过以下步骤C~D实现:Specifically, when the display mode is to perform highlight display based on different background colors, this step 203 can be implemented by the following steps C to D:

步骤C、根据所述目标区域对应的兴趣值,确定所述目标区域对应的背景颜色。Step C: Determine the background color corresponding to the target area according to the interest value corresponding to the target area.

本步骤中,背景颜色可以是与用户兴趣值相关的冷暖色。具体的,冷色调的背景颜色可以为为绿色、青色、蓝色、紫色;中性色调的背景颜色可以为黑色、灰色、白色;暖色调的背景颜色可以为红色、橙色、黄色、棕色。In this step, the background color may be a cool or warm color related to the user's interest value. Specifically, the background colors of cool tones can be green, cyan, blue, and purple; the background colors of neutral tones can be black, gray, and white; the background colors of warm tones can be red, orange, yellow, and brown.

具体的,兴趣值越高颜色越暖,否则越冷。具体的,用户可以预设兴趣值与背景颜色的对应关系,例如兴趣值为0~2时为棕色,2~4时为黄色,4~6时为橙色,以此类推,本发明实施例对此不作限定。采用冷暖色的背景颜色,能够直观展示了感兴趣兴趣程度,可以辅助用户筛选。Specifically, the higher the interest value, the warmer the color, otherwise the cooler. Specifically, the user can preset the corresponding relationship between the interest value and the background color, for example, when the interest value is 0-2, it is brown, when the interest value is 2-4, it is yellow, and when it is 4-6, it is orange, and so on. This is not limited. The use of cool and warm background colors can intuitively show the level of interest and can assist users in screening.

步骤D、基于所述背景颜色,对所述目标区域中显示的内容进行高亮显示。Step D. Based on the background color, highlight the content displayed in the target area.

本步骤中,示例的,假设用户对目标区域的兴趣值为2,在预设的对应关系中,兴趣值为2时对应的背景颜色为棕色,则对目标区域中显示的内容以棕色为背景颜色进行高亮显示。本发明实施例中,通过按背景颜色高亮显示目标区域中显示内容,可以使用户能够直观便捷的确定出哪些内容会被收藏,进而方便用户做出判断。In this step, for example, it is assumed that the user's interest value in the target area is 2. In the preset corresponding relationship, when the interest value is 2, the corresponding background color is brown, and the content displayed in the target area is taken as the background in brown. Color is highlighted. In the embodiment of the present invention, by highlighting the content displayed in the target area according to the background color, the user can intuitively and conveniently determine which content will be favorited, thereby facilitating the user to make judgment.

具体的,电子设备可以检测用户是否阅读完毕;在检测到用户阅读完毕时,再执行高亮显示的操作。示例的,以显示内容为文章为例,电子设备可以通过检测用户视线是否移动到文章的最后一个字符,实现检测用户是否阅读完毕。这样,可以避免在用户阅读文章的过程中,对显示的内容进行高亮显示,进而可以避免影响用户在阅读过程中的阅读效果。Specifically, the electronic device can detect whether the user has finished reading; when it is detected that the user has finished reading, the highlighted operation is performed. For example, taking the displayed content as an article as an example, the electronic device can detect whether the user has finished reading by detecting whether the user's sight moves to the last character of the article. In this way, it can be avoided that the displayed content is highlighted during the user's reading of the article, thereby avoiding affecting the user's reading effect during the reading process.

本发明实施例中,通过按照预设的显示方式显示目标区域中显示的内容,方便用户进行排序、筛选等操作,能够满足用户的实际需求。In the embodiment of the present invention, by displaying the content displayed in the target area according to a preset display mode, it is convenient for the user to perform operations such as sorting and filtering, and the actual needs of the user can be met.

步骤204、根据每个所述目标区域在所述页面中所处位置的前后顺序,依次对各个所述目标区域中显示的内容进行排序;或者,根据各个所述目标区域对应的兴趣值的大小,依次对各个所述目标区域中显示的内容进行排序。Step 204: Sort the content displayed in each of the target areas in turn according to the order of the positions of each of the target areas on the page; or, according to the size of the interest value corresponding to each of the target areas , and sequentially sorts the contents displayed in each of the target areas.

可选的,所述目标区域的个数为至少两个,即页面中根据目标参数信息确定出的目标区域数量至少为两个,以方便电子设备后续的排序操作。Optionally, the number of the target areas is at least two, that is, the number of target areas determined according to the target parameter information in the page is at least two, so as to facilitate subsequent sorting operations of the electronic device.

本步骤中,确定出用户感兴趣的目标区域后,电子设备可以按照各目标区域在页面上的前后顺序对目标区域中显示的内容进行排序。这样,按照显示内容在页面上出现的前后顺序进行排序,符合页面中文章的前后逻辑。In this step, after determining the target areas that the user is interested in, the electronic device can sort the contents displayed in the target areas according to the order of each target area on the page. In this way, sorting is performed according to the order in which the displayed content appears on the page, which conforms to the front and rear logic of the articles on the page.

或者,电子设备也可以根据各目标区域的兴趣值对目标区域中显示的内容进行排序。具体的,电子设备可以接受用户的选择输入操作,例如,该选择输入操作可以是用户对于电子设备显示的“按兴趣值排序”按钮的点击操作;电子设备基于该输入选择操作,可以按照兴趣值从大到小或者从小到大的顺序,对目标区域显示的内容进行排序。这样,通过按照兴趣值对显示内容进行排序,更能符合用户的喜好程度,贴合用户的实际需求。Alternatively, the electronic device may also sort the content displayed in the target area according to the interest value of each target area. Specifically, the electronic device may accept a user's selection input operation. For example, the selection input operation may be the user's click operation on the "sort by interest value" button displayed on the electronic device; Sorts the content displayed in the target area from large to small or from small to large. In this way, by sorting the displayed content according to the interest value, it can better meet the user's preference and fit the actual needs of the user.

步骤205、按照排序后的内容输出所述目标文件。Step 205: Output the target file according to the sorted content.

本步骤中,电子设备可以将该内容按顺序聚合为一个目标文件,输出预设格式的目标文件并进行收藏。并保存至预设文件夹中。这样,可以使得目标文件中的各部分内容有序排列,进而方便用户查看。In this step, the electronic device may aggregate the content into a target file in sequence, output the target file in a preset format and collect it. and save it to the preset folder. In this way, the content of each part in the target file can be arranged in an orderly manner, which is convenient for the user to view.

本发明实施例中,通过将目标区域显示的内容输出目标文件并收藏,相较于用户直接收藏整篇文章的方式,本发明实施例中仅收藏用户感兴趣显示内容,实现了对页面内容的提取和整合,也能够方便用户后续快速高效地查找。In the embodiment of the present invention, by outputting the content displayed in the target area to the target file and bookmarking it, compared with the way that the user directly bookmarks the entire article, in the embodiment of the present invention, only the displayed content that the user is interested in is bookmarked, which realizes the content of the page. Extraction and integration can also facilitate users to search quickly and efficiently.

此外,可选的,在步骤205之前,该页面内容处理方法还可以包括以下步骤E~F:In addition, optionally, before step 205, the page content processing method may further include the following steps E to F:

步骤E、接收用户的第一输入。Step E: Receive the first input from the user.

本步骤中,第一输入可以是用户需要保存目标区域中显示内容的输入操作,具体的,该输入操作可以是用户对电子设备展示的保存按钮的点击操作。In this step, the first input may be an input operation by which the user needs to save the content displayed in the target area. Specifically, the input operation may be a user's clicking operation on a save button displayed by the electronic device.

步骤F:响应于所述第一输入,执行所述根据所述目标区域中显示的内容输出目标文件的步骤。Step F: In response to the first input, executing the step of outputting the target file according to the content displayed in the target area.

本步骤中,电子设备只有当接收到用户点击保存按钮后,才将目标区域的显示内容生成目标文件并收藏。需要注意的是,用户阅读完当前页面的文章后,也可以不点击保存按钮或者点击“继续”按钮,电子设备可以在页面展示下一篇文章,或者切换至另一个应用程序继续阅读其他文章,电子设备仍执行前述页面内容处理过程,并将后续确定的显示内容添加到目标文件中。In this step, the electronic device generates a target file and collects the displayed content of the target area only after receiving that the user clicks the save button. It should be noted that after reading the article on the current page, the user does not need to click the save button or click the "Continue" button. The electronic device can display the next article on the page, or switch to another application to continue reading other articles. The electronic device still executes the foregoing page content processing process, and adds the subsequently determined display content to the target file.

本发明实施例中,在用户在用户选择保存的情况下,才执行收藏操作,这样,用户可以在选择保存之前的期间,继续下一篇文章的页面内容处理,或者是使用其他应用继续浏览内容时,相应地,电子设备可以基于用户浏览时的注视位置信息,继续获取目标参数信息,最终在用户选择保存时,即可将不同文档,或不同应用中的内容,收藏至同一目标文件中,进而实现跨文档、跨应用的信息整合,提高了用户的使用体验。In this embodiment of the present invention, the collection operation is performed only when the user chooses to save, so that the user can continue to process the page content of the next article, or use other applications to continue browsing the content during the period before the user chooses to save. Correspondingly, the electronic device can continue to obtain target parameter information based on the gaze position information of the user when browsing, and finally when the user chooses to save, it can save the content of different documents or different applications to the same target file, Further, the information integration across documents and applications is realized, and the user experience is improved.

示例的,图3示出了本发明实施例一种页面内容处理方法的示意图。如图3所示,301、302及303分别表示确定出的3个目标区域。电子设备可以根据这些目标区域对应的兴趣值,确定出对应的显示方式,并根据具体的显示方式对这3个目标区域进行显示。用户点击保存按钮304后,电子设备可以基于目标区域301~303中显示的内容生成目标文件并保存该目标文件。另外,电子设备在每个目标区域分别显示有删除按钮305、306、307,用户可以基于实际需求对显示的内容进行筛选,例如,用户可以在不需要301中的内容时,点击301中的删除按钮305。Exemplarily, FIG. 3 shows a schematic diagram of a method for processing page content according to an embodiment of the present invention. As shown in FIG. 3 , 301 , 302 and 303 respectively represent the three determined target areas. The electronic device can determine the corresponding display mode according to the interest values corresponding to these target areas, and display the three target areas according to the specific display mode. After the user clicks the save button 304, the electronic device can generate a target file based on the contents displayed in the target areas 301-303 and save the target file. In addition, the electronic device displays delete buttons 305, 306, and 307 in each target area respectively, and the user can filter the displayed content based on actual needs. For example, the user can click delete in 301 when the content in 301 is not needed. button 305.

相应的,图4示出了本发明实施例一种目标文件的示意图。如图4所示,用户点击保存按钮后,可以生成目标文件40,可以看出目标文件40中包括有目标区域301~303中显示的内容,并且,显示内容按照目标区域301~303在文章中出现的前后顺序进行排序。Correspondingly, FIG. 4 shows a schematic diagram of an object file according to an embodiment of the present invention. As shown in FIG. 4, after the user clicks the save button, the target file 40 can be generated. It can be seen that the target file 40 includes the content displayed in the target areas 301-303, and the displayed content is in the article according to the target areas 301-303. The order of appearance is sorted.

综上所述,本发明实施例提供的一种页面内容处理方法,电子设备可以获取用户在页面上的多个注视位置信息,该页面包括至少两个预设区域,然后针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;然后根据目标区域的兴趣值对应的显示方式显示目标区域,该目标区域为目标参数信息满足预设条件的预设区域;再根据目标区域在页面中前后顺序或者根据目标区域兴趣值大小,对目标区域显示的内容进行排序,最后将排序后的内容输出目标文件。本发明实施例通过用户视线的注视位置信息自动获取目标参数信息,并根据目标参数信息对目标区域,即,用户感兴趣的预设区域中的内容进行收藏,这样,无需用户手动操作,即可契合用户的实际喜好,实现收藏用户感兴趣的内容,进而可以降低收藏操作的复杂度,提高收藏效率。同时,相较于直接向电子设备发送收藏指令,电子设备直接对当前显示的整篇文章进行收藏的方式,本发明实施例中仅根据用户感兴趣的目标区域的显示内容输出目标文件,可以避免收藏内容中包含用户不感兴趣的内容,实现了对用户感兴趣内容的自动、快速抽取和整合,冗长的信息被萃取精炼,进而提高了收藏效果。To sum up, in a method for processing page content provided by the embodiments of the present invention, an electronic device can acquire multiple gaze position information of a user on a page, the page includes at least two preset areas, and then for each preset area Set an area, obtain target parameter information according to the gaze position information located in the preset area; then display the target area according to the display mode corresponding to the interest value of the target area, and the target area is the target parameter information that satisfies the preset condition Preset area; then sort the content displayed in the target area according to the order of the target area on the page or according to the size of the interest value of the target area, and finally output the sorted content to the target file. In this embodiment of the present invention, target parameter information is automatically obtained through the gaze position information of the user's line of sight, and the target area, that is, the content in the preset area that the user is interested in, is bookmarked according to the target parameter information. It conforms to the actual preferences of users, and realizes the collection of content that users are interested in, thereby reducing the complexity of collection operations and improving collection efficiency. At the same time, compared with the way of directly sending the collection instruction to the electronic device, the electronic device directly collects the entire article currently displayed, in this embodiment of the present invention, the target file is only output according to the display content of the target area that the user is interested in, which can avoid The collection content contains the content that the user is not interested in, which realizes the automatic and rapid extraction and integration of the content that the user is interested in, and the lengthy information is extracted and refined, thereby improving the collection effect.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the sake of simple description, the method embodiments are described as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequences, because According to embodiments of the present invention, certain steps may be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

参照图5,示出了本发明的一种电子设备的结构框图,具体,该电子设备50可以包括如下模块:Referring to FIG. 5, a structural block diagram of an electronic device of the present invention is shown. Specifically, the electronic device 50 may include the following modules:

第一获取模块501,用于获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域。The first acquiring module 501 is configured to acquire multiple gaze position information of a user on a page, where the page includes at least two preset areas.

第二获取模块502,用于获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域。The second acquiring module 502 is configured to acquire multiple gaze position information of the user on a page, where the page includes at least two preset areas.

输出模块503,用于根据目标区域中显示的内容,输出目标文件,其中,所述目标区域为所述目标参数信息满足预设条件的预设区域。The output module 503 is configured to output a target file according to the content displayed in the target area, wherein the target area is a preset area where the target parameter information satisfies a preset condition.

可选的,所述第二获取模块502,包括:Optionally, the second obtaining module 502 includes:

第一获取子模块,用于对于位于所述预设区域内的任一注视位置信息指示的注视位置,获取用户视线在所述注视位置停留的停留时长。The first acquiring submodule is configured to acquire, for any gaze position indicated by the gaze position information located in the preset area, the duration that the user's line of sight stays at the gaze position.

第二获取子模块,用于根据所述停留时长之和,获取用户在所述预设区域的凝视时长。The second obtaining sub-module is configured to obtain the gaze duration of the user in the preset area according to the sum of the stay durations.

第三获取子模块,用于基于所述凝视时长与所述预设区域中显示的内容的类型,获取所述预设区域对应的兴趣值。A third obtaining sub-module is configured to obtain the interest value corresponding to the preset area based on the gaze duration and the type of content displayed in the preset area.

可选的,所述第三获取子模块,用于:Optionally, the third acquisition submodule is used for:

在所述预设区域中显示的内容为文本类型的情况下,则根据所述预设区域中包含的文本字数以及预设文本阅读系数获取时间阈值;在所述预设区域中显示的内容为图片类型的情况下,则根据所述预设区域中包含图片的像素数量及预设图片查看系数获取时间阈值;When the content displayed in the preset area is of text type, the time threshold is obtained according to the number of text words contained in the preset area and the preset text reading coefficient; the content displayed in the preset area is In the case of a picture type, the time threshold is obtained according to the number of pixels included in the picture in the preset area and the preset picture viewing coefficient;

根据所述凝视时长和所述时间阈值,获取所述预设区域对应的兴趣值。The interest value corresponding to the preset area is acquired according to the gaze duration and the time threshold.

可选的,所述第二获取模块502,用于:Optionally, the second obtaining module 502 is used for:

根据位于所述预设区域内的注视位置信息指示的注视位置,获取用户在所述预设区域内对应的视线轨迹;According to the gaze position indicated by the gaze position information located in the preset area, acquire the line of sight track corresponding to the user in the preset area;

根据各个所述视线轨迹在预设方向上的投影长度,获取所述预设方向上的投影总长度;Acquire the total projected length in the preset direction according to the projected length of each of the line-of-sight trajectories in the preset direction;

根据所述投影总长度以及所述预设区域在所述预设方向上的总长度,获取用户对所述预设区域的兴趣值。According to the total length of the projection and the total length of the preset area in the preset direction, the user's interest value in the preset area is acquired.

可选的,所述电子设备50还包括:Optionally, the electronic device 50 further includes:

显示模块,用于根据所述目标区域对应的兴趣值,按照与所述兴趣值对应的显示方式显示所述目标区域。The display module is configured to display the target area in a display manner corresponding to the interest value according to the interest value corresponding to the target area.

可选的,所述目标区域的个数为至少两个,所述输出模块504,用于:Optionally, the number of the target areas is at least two, and the output module 504 is used for:

根据每个所述目标区域在所述页面中所处位置的前后顺序,依次对各个所述目标区域中显示的内容进行排序;或者,根据各个所述目标区域对应的兴趣值的大小,依次对各个所述目标区域中显示的内容进行排序;According to the order of the position of each target area on the page, the content displayed in each target area is sorted in sequence; Sort the content displayed in each of the target areas;

按照排序后的内容生成所述目标文件。The object file is generated according to the sorted contents.

可选的,所述电子设备50还包括:Optionally, the electronic device 50 further includes:

检测模块,用于检测所述页面中第一预设量的图片所对应的图片区域,以及,检测所述页面中第二预设量的文本所对应的文本区域;a detection module, configured to detect a picture area corresponding to a first preset amount of pictures in the page, and to detect a text area corresponding to a second preset amount of text in the page;

区域确定模块,用于将一个所述图片区域确定为一个所述预设区域,以及,将一个所述文本区域确定为一个所述预设区域。A region determination module, configured to determine one of the picture regions as one of the preset regions, and to determine one of the text regions as one of the preset regions.

综上所述,本发明实施例提供的电子设备,可以获取用户在页面上的多个注视位置信息,该页面包括至少两个预设区域,然后针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;之后根据目标区域中显示的内容,输出目标文件,该目标区域为目标参数信息满足预设条件的预设区域。本发明实施例通过用户视线的注视位置信息自动获取目标参数信息,并根据目标参数信息对目标区域,即,用户感兴趣的预设区域中的内容进行收藏,这样,无需用户手动操作,即可契合用户的实际喜好,实现收藏用户感兴趣的内容,进而可以降低收藏操作的复杂度,提高收藏效率。同时,相较于直接向电子设备发送收藏指令,电子设备直接对当前显示的整篇文章进行收藏的方式,本发明实施例中仅根据用户感兴趣的目标区域的显示内容输出目标文件,可以避免收藏内容中包含用户不感兴趣的内容,实现了对用户感兴趣内容的自动、快速抽取和整合,冗长的信息被萃取精炼,进而提高了收藏效果。To sum up, the electronic device provided by the embodiment of the present invention can acquire multiple gaze position information of a user on a page, the page includes at least two preset areas, and then for each preset area, The gaze position information in the preset area is obtained, and target parameter information is obtained; then, according to the content displayed in the target area, a target file is output, and the target area is a preset area where the target parameter information meets a preset condition. In this embodiment of the present invention, target parameter information is automatically obtained through the gaze position information of the user's line of sight, and the target area, that is, the content in the preset area that the user is interested in, is bookmarked according to the target parameter information. It conforms to the actual preferences of users, and realizes the collection of content that users are interested in, thereby reducing the complexity of collection operations and improving collection efficiency. At the same time, compared with the way of directly sending the collection instruction to the electronic device, the electronic device directly collects the entire article currently displayed, in the embodiment of the present invention, the target file is output only according to the display content of the target area that the user is interested in, which can avoid The collection content contains the content that the user is not interested in, which realizes the automatic and rapid extraction and integration of the content that the user is interested in, and the lengthy information is extracted and refined, thereby improving the collection effect.

图6是本发明是实现本发明各个实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention.

该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and Power supply 611 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or different components layout. In the embodiment of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.

其中,处理器610,用于获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域。The processor 610 is configured to acquire multiple gaze position information of the user on a page, where the page includes at least two preset areas.

处理器610,用于针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息。The processor 610 is configured to, for each preset area, acquire target parameter information according to the gaze position information located in the preset area.

处理器610,用于根据目标区域中显示的内容,输出目标文件,其中,所述目标区域为所述目标参数信息满足预设条件的预设区域。The processor 610 is configured to output a target file according to the content displayed in the target area, wherein the target area is a preset area where the target parameter information satisfies a preset condition.

本发明实施例中,电子设备获取用户在页面上的多个注视位置信息,该页面包括至少两个预设区域,然后针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;之后根据目标区域中显示的内容,输出目标文件,该目标区域为目标参数信息满足预设条件的预设区域。本发明实施例通过用户视线的注视位置信息自动获取目标参数信息,并根据目标参数信息对目标区域,即,用户感兴趣的预设区域中的内容进行收藏,这样,无需用户手动操作,即可契合用户的实际喜好,实现收藏用户感兴趣的内容,进而可以降低收藏操作的复杂度,提高收藏效率。同时,相较于直接向电子设备发送收藏指令,电子设备直接对当前显示的整篇文章进行收藏的方式,本发明实施例中仅根据用户感兴趣的目标区域的显示内容输出目标文件,可以避免收藏内容中包含用户不感兴趣的内容,实现了对用户感兴趣内容的自动、快速抽取和整合,冗长的信息被萃取精炼,进而提高了收藏效果。In this embodiment of the present invention, the electronic device acquires multiple gaze position information of the user on a page, where the page includes at least two preset areas, and then for each preset area, according to all the information located in the preset area The gaze position information is described, and the target parameter information is obtained; then, according to the content displayed in the target area, the target file is output, and the target area is a preset area where the target parameter information satisfies the preset condition. In this embodiment of the present invention, target parameter information is automatically obtained through the gaze position information of the user's line of sight, and the target area, that is, the content in the preset area that the user is interested in, is bookmarked according to the target parameter information. It conforms to the actual preferences of users, and realizes the collection of content that users are interested in, thereby reducing the complexity of collection operations and improving collection efficiency. At the same time, compared with the way of directly sending the collection instruction to the electronic device, the electronic device directly collects the entire article currently displayed, in the embodiment of the present invention, the target file is output only according to the display content of the target area that the user is interested in, which can avoid The collection content contains the content that the user is not interested in, which realizes the automatic and rapid extraction and integration of the content that the user is interested in, and the lengthy information is extracted and refined, thereby improving the collection effect.

应理解的是,本发明实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 610; The uplink data is sent to the base station. Generally, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.

电子设备通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the network module 602, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与电子设备600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic device 600 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.

输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。The input unit 604 is used to receive audio or video signals. The input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processor 6041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 606 . The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602 . The microphone 6042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 601 for output in the case of a telephone call mode.

电子设备600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在电子设备600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 6061 and the display panel 6061 when the electronic device 600 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 605 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。The display unit 606 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元607可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 607 may be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072 . The touch panel 6071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 6071). operate). The touch panel 6071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 610, the command sent by the processor 610 is received and executed. In addition, the touch panel 6071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 6071 , the user input unit 607 may also include other input devices 6072 . Specifically, other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.

进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图5中,触控面板6071与显示面板6061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 6071 can be covered on the display panel 6061. When the touch panel 6071 detects a touch operation on or near it, it transmits it to the processor 610 to determine the type of the touch event, and then the processor 610 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on the display panel 6061. Although in FIG. 5, the touch panel 6071 and the display panel 6061 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.

接口单元608为外部装置与电子设备600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备600内的一个或多个元件或者可以用于在电子设备600和外部装置之间传输数据。The interface unit 608 is an interface for connecting an external device to the electronic device 600 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 608 may be used to receive input (eg, data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used between the electronic device 600 and external Transfer data between devices.

存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 609 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器610是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The processor 610 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing the software programs and/or modules stored in the memory 609, and calling the data stored in the memory 609. , perform various functions of electronic equipment and process data, so as to monitor electronic equipment as a whole. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 610.

电子设备600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 600 may also include a power supply 611 (such as a battery) for supplying power to various components. Preferably, the power supply 611 may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system and other functions.

另外,电子设备600包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 600 includes some functional modules not shown, which will not be repeated here.

可选的,本发明实施例还提供一种电子设备,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述页面内容处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides an electronic device, including a processor 610, a memory 609, a computer program stored in the memory 609 and executable on the processor 610, the computer program being executed by the processor 610 Each process of the above-mentioned embodiments of the method for processing page content can be achieved at the same time, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

可选的,本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述页面内容处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。Optionally, this embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process of the foregoing page content processing method embodiment is implemented, and The same technical effect can be achieved, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (14)

1.一种页面内容处理方法,应用于电子设备,其特征在于,包括:1. a page content processing method, applied to electronic equipment, is characterized in that, comprises: 获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域;Acquire multiple gaze position information of the user on a page, where the page includes at least two preset areas; 针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;For each preset area, obtain target parameter information according to the gaze position information located in the preset area; 根据目标区域中显示的内容,输出目标文件,其中,所述目标区域为所述目标参数信息满足预设条件的预设区域。According to the content displayed in the target area, the target file is output, wherein the target area is a preset area where the target parameter information satisfies a preset condition. 2.根据权利要求1所述的方法,其特征在于,所述目标参数信息为所述预设区域对应的兴趣值;所述根据位于所述预设区域内的所述注视位置信息,获取目标参数信息,包括:2 . The method according to claim 1 , wherein the target parameter information is an interest value corresponding to the preset area; the target is acquired according to the gaze position information located in the preset area. 3 . Parameter information, including: 对于位于所述预设区域内的任一注视位置信息指示的注视位置,获取用户视线在所述注视位置停留的停留时长;For any gaze position indicated by the gaze position information located in the preset area, obtain the duration that the user's gaze stays at the gaze position; 根据所述停留时长之和,获取用户在所述预设区域的凝视时长;Obtain the user's gaze time in the preset area according to the sum of the staying time; 基于所述凝视时长与所述预设区域中显示的内容的类型,获取所述预设区域对应的兴趣值。The interest value corresponding to the preset area is acquired based on the gaze duration and the type of content displayed in the preset area. 3.根据权利要求2所述的方法,其特征在于,所述基于所述凝视时长与所述预设区域中显示的内容的类型,获取所述预设区域对应的兴趣值,包括:3 . The method according to claim 2 , wherein the acquiring the interest value corresponding to the preset area based on the gaze duration and the type of content displayed in the preset area comprises: 3 . 在所述预设区域中显示的内容为文本类型的情况下,根据所述预设区域中包含的文本字数以及预设文本阅读系数获取时间阈值;In the case where the content displayed in the preset area is a text type, obtain a time threshold according to the number of text characters contained in the preset area and a preset text reading coefficient; 在所述预设区域中显示的内容为图片类型的情况下,根据所述预设区域中包含图片的像素数量及预设图片查看系数获取时间阈值;In the case where the content displayed in the preset area is a picture type, obtain a time threshold according to the number of pixels of the picture included in the preset area and a preset picture viewing coefficient; 根据所述凝视时长和所述时间阈值,获取所述预设区域对应的兴趣值。The interest value corresponding to the preset area is acquired according to the gaze duration and the time threshold. 4.根据权利要求1所述的方法,其特征在于,所述目标参数信息为所述预设区域对应的兴趣值;所述根据位于所述预设区域内的所述注视位置信息,获取目标参数信息,包括:4 . The method according to claim 1 , wherein the target parameter information is an interest value corresponding to the preset area; the target is acquired according to the gaze position information located in the preset area. 5 . Parameter information, including: 根据位于所述预设区域内的注视位置信息指示的注视位置,获取用户在所述预设区域内对应的视线轨迹;According to the gaze position indicated by the gaze position information located in the preset area, acquire the line of sight track corresponding to the user in the preset area; 根据各个所述视线轨迹在预设方向上的投影长度,获取所述预设方向上的投影总长度;Acquire the total projected length in the preset direction according to the projected length of each of the line-of-sight trajectories in the preset direction; 根据所述投影总长度以及所述预设区域在所述预设方向上的总长度,获取用户对所述预设区域的兴趣值。According to the total length of the projection and the total length of the preset area in the preset direction, the user's interest value in the preset area is acquired. 5.根据权利要求2-4任一项所述的方法,其特征在于,在所述根据目标区域中显示的内容,输出目标文件之前,所述方法还包括:5. The method according to any one of claims 2-4, wherein, before outputting the target file according to the content displayed in the target area, the method further comprises: 根据所述目标区域对应的兴趣值,按照与所述兴趣值对应的显示方式显示所述目标区域。According to the interest value corresponding to the target area, the target area is displayed in a display manner corresponding to the interest value. 6.根据权利要求2-4任一项所述的方法,其特征在于,所述目标区域的个数为至少两个,所述根据目标区域中显示的内容,输出目标文件,包括:6. The method according to any one of claims 2-4, wherein the number of the target area is at least two, and the output target file according to the content displayed in the target area includes: 根据每个所述目标区域在所述页面中所处位置的前后顺序,依次对各个所述目标区域中显示的内容进行排序;或者,根据各个所述目标区域对应的兴趣值的大小,依次对各个所述目标区域中显示的内容进行排序;According to the order of the position of each target area on the page, the content displayed in each target area is sorted in sequence; Sort the content displayed in each of the target areas; 按照排序后的内容输出所述目标文件。The object files are output according to the sorted contents. 7.根据权利要求1所述的方法,其特征在于,在所述获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域之前,所述方法还包括:7 . The method according to claim 1 , wherein, before the acquiring multiple gaze position information of the user on a page, and the page includes at least two preset regions, the method further comprises: 8 . 检测所述页面中第一预设量的图片所对应的图片区域,以及,检测所述页面中第二预设量的文本所对应的文本区域;Detecting a picture area corresponding to a first preset amount of pictures in the page, and detecting a text area corresponding to a second preset amount of text in the page; 将一个所述图片区域确定为一个所述预设区域,以及,将一个所述文本区域确定为一个所述预设区域。One of the picture regions is determined as one of the preset regions, and one of the text regions is determined as one of the preset regions. 8.一种电子设备,其特征在于,包括:8. An electronic device, characterized in that, comprising: 第一获取模块,用于获取用户在页面上的多个注视位置信息,所述页面包括至少两个预设区域;a first acquiring module, configured to acquire multiple gaze position information of the user on a page, the page including at least two preset areas; 第二获取模块,用于针对每个所述预设区域,根据位于所述预设区域内的所述注视位置信息,获取目标参数信息;a second obtaining module, configured to obtain target parameter information for each of the preset areas according to the gaze position information located in the preset area; 输出模块,用于根据目标区域中显示的内容,输出目标文件,其中,所述目标区域为所述目标参数信息满足预设条件的预设区域。The output module is configured to output a target file according to the content displayed in the target area, wherein the target area is a preset area where the target parameter information satisfies a preset condition. 9.根据权利要求8所述的电子设备,其特征在于,所述目标参数信息为所述预设区域对应的兴趣值;所述第二获取模块,包括:9 . The electronic device according to claim 8 , wherein the target parameter information is an interest value corresponding to the preset area; the second acquisition module comprises: 第一获取子模块,用于对于位于所述预设区域内的任一注视位置信息指示的注视位置,获取用户视线在所述注视位置停留的停留时长;a first acquisition submodule, configured to acquire, for the gaze position indicated by any gaze position information located in the preset area, the duration of the user's gaze staying at the gaze position; 第二获取子模块,用于根据所述停留时长之和,获取用户在所述预设区域的凝视时长;a second acquisition sub-module, configured to acquire the user's gaze duration in the preset area according to the sum of the stay durations; 第三获取子模块,用于基于所述凝视时长与所述预设区域中显示的内容的类型,获取所述预设区域对应的兴趣值。A third obtaining sub-module is configured to obtain the interest value corresponding to the preset area based on the gaze duration and the type of content displayed in the preset area. 10.根据权利要求9所述的电子设备,其特征在于,所述第三获取子模块,用于:10. The electronic device according to claim 9, wherein the third acquisition submodule is used for: 在所述预设区域中显示的内容为文本类型的情况下,根据所述预设区域中包含的文本字数以及预设文本阅读系数获取时间阈值;In the case where the content displayed in the preset area is a text type, obtain a time threshold according to the number of text characters contained in the preset area and a preset text reading coefficient; 在所述预设区域中显示的内容为图片类型的情况下,根据所述预设区域中包含图片的像素数量及预设图片查看系数获取时间阈值;In the case where the content displayed in the preset area is a picture type, obtain a time threshold according to the number of pixels of the picture included in the preset area and a preset picture viewing coefficient; 根据所述凝视时长和所述时间阈值,获取所述预设区域对应的兴趣值。The interest value corresponding to the preset area is acquired according to the gaze duration and the time threshold. 11.根据权利要求8所述的电子设备,其特征在于,所述目标参数信息为所述预设区域对应的兴趣值;所述第二获取模块,用于:11. The electronic device according to claim 8, wherein the target parameter information is an interest value corresponding to the preset area; the second acquisition module is used for: 根据位于所述预设区域内的注视位置信息指示的注视位置,获取用户在所述预设区域内对应的视线轨迹;According to the gaze position indicated by the gaze position information located in the preset area, acquire the line of sight track corresponding to the user in the preset area; 根据各个所述视线轨迹在预设方向上的投影长度,获取所述预设方向上的投影总长度;Acquire the total projected length in the preset direction according to the projected length of each of the line-of-sight trajectories in the preset direction; 根据所述投影总长度以及所述预设区域在所述预设方向上的总长度,获取用户对所述预设区域的兴趣值。According to the total length of the projection and the total length of the preset area in the preset direction, the user's interest value in the preset area is acquired. 12.根据权利要求9-11任一项所述的电子设备,其特征在于,所述电子设备还包括:12. The electronic device according to any one of claims 9-11, wherein the electronic device further comprises: 显示模块,用于根据所述目标区域对应的兴趣值,按照与所述兴趣值对应的显示方式显示所述目标区域。The display module is configured to display the target area in a display manner corresponding to the interest value according to the interest value corresponding to the target area. 13.根据权利要求9-11任一项所述的电子设备,其特征在于,所述目标区域的个数为至少两个,所述输出模块,用于:13. The electronic device according to any one of claims 9-11, wherein the number of the target areas is at least two, and the output module is used for: 根据每个所述目标区域在所述页面中所处位置的前后顺序,依次对各个所述目标区域中显示的内容进行排序;或者,根据各个所述目标区域对应的兴趣值的大小,依次对各个所述目标区域中显示的内容进行排序;According to the order of the position of each target area on the page, the content displayed in each target area is sorted in sequence; Sort the content displayed in each of the target areas; 按照排序后的内容输出所述目标文件。The object files are output according to the sorted contents. 14.根据权利要求8所述的电子设备,其特征在于,所述电子设备还包括:14. The electronic device according to claim 8, wherein the electronic device further comprises: 检测模块,用于检测所述页面中第一预设量的图片所对应的图片区域,以及,检测所述页面中第二预设量的文本所对应的文本区域;a detection module, configured to detect a picture area corresponding to a first preset amount of pictures in the page, and to detect a text area corresponding to a second preset amount of text in the page; 区域确定模块,用于将一个所述图片区域确定为一个所述预设区域,以及,将一个所述文本区域确定为一个所述预设区域。A region determination module, configured to determine one of the picture regions as one of the preset regions, and to determine one of the text regions as one of the preset regions.
CN202010239795.7A 2020-03-30 2020-03-30 Page content processing method and electronic equipment Active CN111488057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010239795.7A CN111488057B (en) 2020-03-30 2020-03-30 Page content processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010239795.7A CN111488057B (en) 2020-03-30 2020-03-30 Page content processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111488057A true CN111488057A (en) 2020-08-04
CN111488057B CN111488057B (en) 2022-08-09

Family

ID=71794459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010239795.7A Active CN111488057B (en) 2020-03-30 2020-03-30 Page content processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111488057B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111914173A (en) * 2020-08-06 2020-11-10 北京百度网讯科技有限公司 Content processing method, apparatus, computer system and storage medium
CN112528107A (en) * 2020-12-07 2021-03-19 支付宝(杭州)信息技术有限公司 Content data display method and device and server
CN112764855A (en) * 2021-01-20 2021-05-07 恒瑞通(福建)信息技术有限公司 Block chain based government affair information automatic display method, equipment and medium
CN114185906A (en) * 2021-12-09 2022-03-15 维沃移动通信有限公司 Content updating method and content updating device
CN114296627A (en) * 2021-10-22 2022-04-08 腾讯科技(深圳)有限公司 Content display method, device, equipment and storage medium
CN115082111A (en) * 2022-06-21 2022-09-20 京东方科技集团股份有限公司 Content display method, device and storage medium
CN116137003A (en) * 2023-04-04 2023-05-19 深圳柯赛标识智能科技有限公司 Intelligent advertisement terminal based on big data and advertisement publishing method
CN117011902A (en) * 2022-05-07 2023-11-07 腾讯科技(深圳)有限公司 Data display method, device, equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205101A (en) * 2012-04-23 2014-12-10 英特尔公司 System, method, and computer program product for using eye movement tracking for retrieval of observed information and of related specific context
US20150277554A1 (en) * 2014-03-28 2015-10-01 McKesson Fiancial Holdings Method and computing device for window leveling based upon a gaze location
US9256784B1 (en) * 2013-03-11 2016-02-09 Amazon Technologies, Inc. Eye event detection
CN110908513A (en) * 2019-11-18 2020-03-24 维沃移动通信有限公司 Data processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205101A (en) * 2012-04-23 2014-12-10 英特尔公司 System, method, and computer program product for using eye movement tracking for retrieval of observed information and of related specific context
US9256784B1 (en) * 2013-03-11 2016-02-09 Amazon Technologies, Inc. Eye event detection
US20150277554A1 (en) * 2014-03-28 2015-10-01 McKesson Fiancial Holdings Method and computing device for window leveling based upon a gaze location
CN110908513A (en) * 2019-11-18 2020-03-24 维沃移动通信有限公司 Data processing method and electronic equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111914173A (en) * 2020-08-06 2020-11-10 北京百度网讯科技有限公司 Content processing method, apparatus, computer system and storage medium
CN111914173B (en) * 2020-08-06 2024-02-23 北京百度网讯科技有限公司 Content processing method, device, computer system and storage medium
CN112528107A (en) * 2020-12-07 2021-03-19 支付宝(杭州)信息技术有限公司 Content data display method and device and server
CN112764855A (en) * 2021-01-20 2021-05-07 恒瑞通(福建)信息技术有限公司 Block chain based government affair information automatic display method, equipment and medium
CN114296627A (en) * 2021-10-22 2022-04-08 腾讯科技(深圳)有限公司 Content display method, device, equipment and storage medium
CN114296627B (en) * 2021-10-22 2023-06-23 腾讯科技(深圳)有限公司 Content display method, device, equipment and storage medium
CN114185906A (en) * 2021-12-09 2022-03-15 维沃移动通信有限公司 Content updating method and content updating device
CN117011902A (en) * 2022-05-07 2023-11-07 腾讯科技(深圳)有限公司 Data display method, device, equipment and readable storage medium
CN115082111A (en) * 2022-06-21 2022-09-20 京东方科技集团股份有限公司 Content display method, device and storage medium
CN116137003A (en) * 2023-04-04 2023-05-19 深圳柯赛标识智能科技有限公司 Intelligent advertisement terminal based on big data and advertisement publishing method

Also Published As

Publication number Publication date
CN111488057B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN111488057A (en) Page content processing method and electronic equipment
CN110989847B (en) Information recommendation method, device, terminal equipment and storage medium
CN107835364A (en) One kind is taken pictures householder method and mobile terminal
CN107908382B (en) A split-screen display method and mobile terminal
CN107734251A (en) A kind of photographic method and mobile terminal
CN108182271B (en) Photographing method, terminal and computer readable storage medium
CN112689201B (en) Barrage information identification method, barrage information display method, server and electronic equipment
CN110557683A (en) A video playback control method and electronic device
CN107864353B (en) A video recording method and mobile terminal
CN108628985B (en) Photo album processing method and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN110855839A (en) Message display method and electronic equipment
CN110113636A (en) Barrage display methods, barrage method for pushing, terminal device and server
CN108494665A (en) One population message display method and mobile terminal
CN108616448A (en) A kind of the path recommendation method and mobile terminal of Information Sharing
CN108289151A (en) A kind of operating method and mobile terminal of application program
CN110533651A (en) An image processing method and device
CN108460817A (en) A kind of pattern splicing method and mobile terminal
CN110308769B (en) Information display method and terminal
CN107728877B (en) Application recommendation method and mobile terminal
CN109670105B (en) Searching method and mobile terminal
CN109669710B (en) Note processing method and terminal
CN111143614A (en) Video display method and electronic device
CN107643923A (en) The processing method and mobile terminal of Copy Info
CN108345657B (en) Picture screening method and mobile terminal

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