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; CALCULATING OR 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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

The embodiment of the invention provides a page content processing method and electronic equipment, wherein the method comprises the following steps: the electronic equipment can acquire a plurality of gaze position information of a user on a page, wherein the page comprises at least two preset areas, and then target parameter information is acquired according to the gaze position information in the preset areas aiming at each preset area; and then outputting a target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets the preset conditions. According to the embodiment of the invention, the target parameter information is automatically acquired through the gaze location information of the sight of the user, the actual preference of the user can be met without manual operation of the user, the complexity of collection operation can be reduced, and the collection efficiency is improved; moreover, the content which is not interested by the user can be prevented from being contained in the collected content, the content which is interested by the user can be automatically and quickly extracted and integrated, the redundant information is extracted and refined, and the collection effect is further improved.

Description

Page content processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a page content processing method and an electronic device.
Background
In modern society, electronic devices have become an important medium for people to browse information on a daily basis. When reading news and novels, users often need to collect interested contents.
In the prior art, when a user collects content, the user often selects and copies interested content manually, and then stores the selected content to complete the collection operation. The manual collection mode is complex in operation and low in collection efficiency.
Disclosure of Invention
The embodiment of the invention provides a page content processing method and electronic equipment, and aims to solve the problems that in the prior art, manual collection operation of a user is complex and collection efficiency is low.
In order to solve the above problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention discloses a page content processing method, which is applied to an electronic device, and includes:
acquiring a plurality of fixation position information of a user on a page, wherein the page comprises at least two preset areas;
for each preset area, acquiring target parameter information according to the gaze position information located in the preset area;
and outputting a target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets preset conditions.
In a second aspect, an embodiment of the present invention discloses an electronic device, including:
the system comprises a first acquisition module, a second acquisition module and a display module, wherein the first acquisition module is used for acquiring a plurality of fixation position information of a user on a page, and the page comprises at least two preset areas;
the second acquisition module is used for acquiring target parameter information according to the gaze position information in the preset area aiming at each preset area;
and the output module is used for outputting the target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets preset conditions.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the page content processing method according to the first aspect.
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 executed by a processor, the computer program implements the steps of the page content processing method according to the first aspect.
In the embodiment of the invention, the electronic equipment can acquire a plurality of gaze position information of a user on a page, the page comprises at least two preset areas, and then target parameter information is acquired according to the gaze position information in the preset areas aiming at each preset area; and then outputting a target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets the preset conditions. According to the embodiment of the invention, the target parameter information is automatically acquired through the gaze location information of the sight of the user, and the target area, namely the content in the preset area which is interested by the user, is collected according to the target parameter information, so that the actual preference of the user can be met without manual operation of the user, the content which is interested by the user is collected, the complexity of the collection operation is reduced, and the collection efficiency is improved. Meanwhile, compared with a mode that a collection instruction is directly sent to the electronic equipment and the electronic equipment directly collects the whole article displayed currently, the method and the device can output the target file only according to the display content of the target area interested by the user, so that the situation that the collected content contains the content not interested by the user can be avoided, the content interested by the user can be automatically and quickly extracted and integrated, the redundant information is extracted and refined, and the collection effect is improved.
Drawings
FIG. 1 is a flow chart illustrating the steps of a page content processing method of the present invention;
FIG. 2 is a flow chart illustrating the steps of another page content processing method of the present invention;
FIG. 3 is a diagram illustrating a page content processing method of the present invention;
FIG. 4 is a schematic diagram of an object file of the present invention;
FIG. 5 shows a block diagram of an electronic device of the present invention;
fig. 6 shows a hardware structure diagram of an electronic device implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart illustrating steps of a page content processing method according to the present invention is shown, where the method is applied to an electronic device, where the electronic device may specifically be a smart phone, a notebook, a tablet computer, a vehicle-mounted computer, and the method may specifically include:
step 101, obtaining a plurality of fixation position information of a user on a page, wherein the page comprises at least two preset areas.
In the embodiment of the present invention, the page may be a display interface of a screen of the electronic device, where the displayed content may be text, pictures, videos, or the like. The gaze location information may be information indicating a location at which a user's gaze is projected onto a page of the electronic device, which may be represented in the form of two-dimensional coordinates. The preset area may be a geometric area obtained by dividing the page by the user according to a preset manner, for example, the preset area may be an area where a segment of text is located or an area where a picture is located. At least two preset areas are arranged in the page, so that which part of the content is interested by the user can be determined based on the plurality of preset areas, and the accuracy of judging the content interested by the user can be improved.
In this step, after the electronic device detects that the user starts the "intelligent collection" function, the front camera and the eyeball tracking module can be started at the background. The front camera can be used for collecting facial images of a user, and the eyeball tracking module can be used for determining the fixation position information of the user through image processing.
Specifically, a front camera of the electronic device collects facial images of a user and feeds the facial images back to the eyeball tracking module frame by frame. The eyeball tracking module can firstly locate a face area in the face image based on the face image, then intercept an eye image, convert the eye image into a gray image, and then perform ellipse fitting based on the gray image to determine the center of the pupil and the center position of a cornea reflection point. After extracting features such as the pupil center and the corneal reflection point center position, the eyeball tracking module may invoke a gaze estimation algorithm, such as a pupil corneal reflection method, an intersection ratio invariant method, and the like, and determine gaze location information of the user on the page based on the features such as the gaze estimation algorithm, the pupil center, the corneal reflection point center position, and the like. Therefore, the electronic equipment collects the facial images, the gaze position information of the user is determined through sight line estimation, the processing process is completed locally on the electronic equipment, the time consumed in the image collection and processing process can be shortened, and the determination speed of the gaze position information of the user is improved.
Of course, the gaze location information of the user on the page may also be determined in other manners, which is not limited in the embodiment of the present invention.
It should be noted that, when the user uses the page content to process the corresponding "smart collection" function for the first time, the user may first correct the electronic device. Specifically, the electronic device may sequentially display a pointing point at different positions on the screen, and accordingly, the user may gaze at the pointing point. Then, the electronic equipment can acquire a facial image of the user, determine the actual fixation position of the sight line of the user based on the facial image, and adjust parameters of a sight line estimation algorithm according to the deviation between the actual fixation position of the sight line and the calibration point, so that the actual fixation position of the sight line and the calibration point are calibrated, and finally the actual fixation position of the sight line is coincided with the calibration point. Therefore, the parameters of the sight line estimation algorithm are continuously optimized and adjusted through the deviation of the actual watching position of the user and the calibration point, and the error of the watching position information in the determination process can be reduced as much as possible.
In addition, the process of determining the gaze location in this step may be performed not only by the electronic device but also remotely by a remote server. Specifically, after the electronic device collects the facial image of the user through the camera, the facial image can be sent to the remote server, the remote server completes the process of determining the sight position according to the facial image, and then the electronic device can receive the determination result returned by the remote server, so that the sight position is obtained. Therefore, through remote processing, the electronic equipment does not need to be provided with an eyeball tracking module, the structure of the electronic equipment is simplified, meanwhile, the image does not need to be processed by the electronic equipment, and the calculation burden of the electronic equipment can be reduced.
And 102, acquiring target parameter information according to the fixation position information in the preset area aiming at each preset area.
In the embodiment of the present invention, the target parameter information may be parameter information used for determining whether the user is interested in the content displayed in the preset area, for example, the target parameter information may be an interest value of the user.
Specifically, when the user reads the content in the page, the sight line moves on the page, and accordingly, the watching position moves along with the sight line. In the reading process of the user, if the content displayed in a certain preset area is interested, the sight line can be projected into the preset area more, namely the watching position of the user on the page can fall into the preset area which is interested by the user more. Therefore, the target parameter information can be acquired according to the gaze position information in the preset area, and whether the user is interested in the content displayed in the preset area or not can be judged according to the target parameter information, so that the user does not need to manually select the interested content, the electronic equipment can determine the content interested by the user according to the gaze position of the user, and the content which is in accordance with the actual preference of the user can be determined.
And 103, outputting a target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets preset conditions.
In the embodiment of the present invention, the target file may be a file storing content that is of interest to the user, and the type of the target file may be set according to actual situations, for example, the target file may be a file in a PDF format, or a file in a text format, and so on. After the electronic device outputs the target file, the target file may be stored in a preset location, for example, 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, the preset area may be determined as the target area when the target parameter information satisfies the preset condition. For example, when the target parameter information is an interest value, if the interest value of the preset region is greater than a preset interest value threshold, it is determined that the content displayed in the preset region is interested by the user, and the electronic device determines the preset region as the target region.
In summary, in the embodiment of the present invention, an electronic device may acquire a plurality of gaze location information of a user on a page, where the page includes at least two preset regions, and then acquire target parameter information according to the gaze location information located in the preset regions for each preset region; and then outputting a target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets the preset conditions. According to the embodiment of the invention, the target parameter value is automatically obtained through the gaze location information of the user sight, and the target area, namely the content in the preset area which is interested by the user, is collected according to the target parameter information, so that the actual preference of the user can be matched without manual operation of the user, the content which is interested by the user is collected, the complexity of the collection operation is reduced, and the collection efficiency is improved. Meanwhile, compared with the mode of directly sending a collection instruction to the electronic equipment, the electronic equipment directly collects the whole article displayed currently. According to the embodiment of the invention, the target file is output only according to the display content of the target area which is interested by the user, so that the collection content can be prevented from containing the content which is not interested by the user, the content which is interested by the user can be automatically and quickly extracted and integrated, the redundant information is extracted and refined, and the collection effect can be further improved.
Referring to fig. 2, a flowchart illustrating steps of another page content processing method according to the present invention is shown, where the method is applied to an electronic device, and the method may specifically include:
step 201, obtaining a plurality of gazing position information of a user on a page, where the page includes at least two preset areas.
Specifically, the implementation manner of this step may refer to step 101, which is not described herein again in this embodiment of the present invention.
Optionally, before this step, the electronic device may implement division of the preset area on the page through the following steps (1) to (2):
the method comprises the following steps of (1) detecting picture areas corresponding to a first preset amount of pictures in the page, and detecting text areas corresponding to a second preset amount of texts in the page.
In this step, the content types displayed on the page of the electronic device may be various, and may be text, pictures, videos, or the like. Before judging whether the user is interested in the content on the page, the electronic device needs to perform region division on the page, so that which part of the content is interested in by the user can be determined based on the geometric region, and the accuracy of judging the content which is interested in the user can be improved.
Specifically, the first preset amount may be the number of pictures in the page, and may be one or more. When the content displayed on the page is a picture, the area where one picture is located may be divided into one picture area when the first preset amount is one picture, and the area where multiple pictures are located may be divided into one picture area when the first preset amount is multiple pictures. The picture may be a still picture, a moving picture, or a cover picture included in the video.
The second predetermined amount may be a sentence, a line, a segment of text, or a predetermined number of words. When the content displayed on the page is a text and the second preset amount is a natural segment, the area where a text segment is located may be divided into a text area, and when the second preset amount is a sentence of text, a line of text, or a preset number of characters, the area where a sentence of text, a line of text, or a preset number of characters is located may also be divided into a text area. The area division process may be determined according to actual requirements, which is not limited in the embodiment of the present invention.
And (2) determining one picture region as one preset region, and determining one text region as one preset region.
In this step, the detected picture region and text region are respectively determined as preset regions. This way. The page of the electronic equipment can be divided into a plurality of preset areas, corresponding contents are displayed in different preset areas, and the subsequent determination of the target area which is interested by the user is facilitated.
In the embodiment of the invention, the page of the electronic equipment is subjected to region division to obtain a plurality of preset regions, so that the content which is interested by the user can be accurately identified subsequently, meanwhile, the identification granularity of the content which is interested by the user can be refined to paragraphs and sentences, and the precision of extracting and integrating the page content can be improved.
Step 202, for each preset area, acquiring target parameter information according to the gaze position information located in the preset area.
Optionally, the target parameter information in this step is an interest value corresponding to the preset region. The interest value may be used to indicate a degree of interest of the user in the content displayed in the preset area.
Specifically, when obtaining the interest value corresponding to the preset region, the step 202 may be implemented by an implementation mode one composed of the following sub-steps (3) to (5) or an implementation mode two composed of the following sub-steps (6) to (8):
the implementation mode is as follows:
and (3) acquiring the stay time of the sight of the user at the gazing position for the gazing position indicated by any gazing position information in the preset area.
In this step, the user moves the gaze position along with the line of sight in a plurality of preset areas on the page during reading. When a user is interested in a certain part of content, the user can gaze at the part of content, namely, the sight line stays at the gazing position of the part of content. Therefore, the electronic device can calculate the stay time of the sight line at the gazing position, and then can determine the interest degree of the user according to the stay time.
And (4) acquiring the gaze duration of the user in the preset area according to the sum of the stay durations.
In this step, in a preset area, the line of sight of the user may stay at a plurality of gaze positions, and the gaze duration of the user in the preset area may be determined by summing the stay durations of the different gaze positions.
Taking the preset area 1 as an example, the stay time of the sight of the user at each gazing position may be counted in the process that the sight of the user falls into the preset area 1 each time until the sight of the user leaves the preset area 1. Of course, assuming that the gaze stays at the gaze position a for 1 second, the gaze stays at the gaze position B for 2 seconds, and the gaze stays at the gaze position C for 1 second, the gaze duration of the user in the preset area 1 is 1+2+1 — 4 seconds.
Of course, during the period that the sight line of the user is in the preset area, the gaze position corresponding to the sight line of the user necessarily exists in the preset area, that is, the sight line of the user necessarily stays at a certain gaze position belonging to the preset area. Therefore, specifically, when the gaze duration is determined, the electronic device may start to count the gaze duration when the gaze position enters a certain preset region along with the movement of the line of sight, pause when the gaze position moves out of the preset region along with the line of sight, continue to count the gaze duration when the gaze position moves into the preset region again, and take the final accumulated time as the gaze duration of the preset region, that is, calculate the sum of the durations from when the gaze position corresponding to the line of sight of the user falls into the preset region to when the gaze position corresponding to the line of sight of the user moves out of the preset region every time, and take the sum as the gaze duration. The embodiment of the present invention does not limit the specific determination manner of the gaze duration.
And (5) acquiring an interest value corresponding to the preset area based on the gaze duration and the type of the content displayed in the preset area.
In this step, the interest value may be used to indicate the user's interest level in the content displayed in the preset area, and may be represented by a specific numerical value, for example, the interest value p is 2.
When the types of the content displayed in the preset areas are different, the manner of determining the interest value of the preset area is also different, specifically, the time threshold may be determined through the following steps a1 or a2, and then the interest value is determined based on step B:
step A1, when the content displayed in the preset area is a text type, acquiring a time threshold according to the number of text words and a preset text reading coefficient contained in the preset area.
In this step, the time threshold may represent a reading time required by the user at a normal reading speed for the display content. Specifically, when the display content of the preset area is a text type, the time threshold of the text may be calculated by the following formula:
v=n*s;
wherein n is the number of text words contained in the preset region, s is a preset text reading coefficient, the preset text reading coefficient is related to the historical reading speed of the user, and the larger the historical reading speed of the user is, the smaller the preset text reading coefficient is. For example, if 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 may be set according to an average value of the text reading speeds of most people, and then when the historical reading speed of the user is acquired, the electronic device may determine the average value of the current historical reading speed of the user according to the historical reading speed of the user, so as to determine the preset text reading coefficient. Therefore, the time threshold is determined according to the historical reading speed of the user and the number of words contained in the text in the preset area, and the user can accurately judge which text contents are interested by the user by combining the personal actual reading habit of the user.
And A2, under the condition that the content displayed in the preset area is the picture type, acquiring a time threshold according to the number of pixels of the picture contained 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 may be calculated by the following formula:
vp=np*sp;
np is the number of pixels of the picture contained in the preset region, for example, the number of pixels of the picture may be 1080 × 720;
sp is a preset picture viewing coefficient, the preset picture viewing coefficient is related to the historical picture viewing speed of the user, and the larger the historical picture viewing speed of the user is, the smaller the preset picture viewing coefficient is. For example, when the historical picture viewing speed of the user is 5000 pixel values 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 speeds of most people, and then when the historical picture viewing speed of the user is acquired, the electronic device can determine the average value of the current historical picture viewing speed of the user according to the historical picture viewing speed of the user, so that the preset picture viewing coefficient is determined. Therefore, the time threshold is determined according to the historical picture viewing speed of the user and the pixel number of the picture in the preset area, and the picture which the user is interested in can be accurately judged by combining the personal actual picture viewing speed of the user.
And B, determining an interest value corresponding to the preset area according to the staring duration and the time threshold.
In this step, after the gaze duration and the time threshold are calculated, a ratio of the gaze time t to the time threshold v or vp may be used as an interest value, for example, the interest value p is t/v or p is t/vp.
It should be noted that the interest value may also be calculated in other manners, for example, a difference between the gaze duration and the time threshold is used as the interest value, i.e., the interest value p is t-v or p is t-vp; in this step, when calculating according to the actual gaze duration of the user and the time threshold, the calculation result may reflect the difference degree between the two, and the specific calculation manner of the interest value is not limited in the embodiment of the present invention.
In the embodiment of the invention, the interest value of the preset area is determined according to the text type and the picture type, so that the content which is interested by the user can be accurately identified based on the text type and by combining the actual situation of the user, and the actual preference of the user can be better matched.
In the embodiment of the invention, the interest values of the preset areas are obtained by determining the gaze durations of the user to the different preset areas, so that the content which is interested by the user can be determined according to the sight line movement of the user during reading, manual selection by the user is not needed, the actual preference of the user can be met, the operation of the user can be simplified, and the use experience of the user is improved.
The second implementation mode,
And (6) acquiring a sight line track corresponding to the user in the preset area according to the gaze position indicated by the gaze position information in the preset area.
In this step, the sight line trajectory may be a trajectory formed by connecting the gaze positions of the user in sequence. In the reading process of a user, the sight line moves along with the character direction, and then a corresponding sight line track is formed.
And (7) acquiring the total length of the projection in the preset direction according to the projection length of each sight line track in the preset direction.
In this step, generally, the trajectory of the line of sight when the user reads is a slightly curved horizontal line, so that the total length of the projection of the trajectory in the preset direction can be taken to participate in the calculation. It should be noted that the line of sight of the user in the preset area may be repeatedly cruising, and the total length of the projection may be the sum of the lengths of the plurality of line of sight tracks in the preset direction.
And a substep (8) of acquiring the interest value of the user in the preset region according to the total length of the projection and the total length of the preset region in the preset direction.
In this step, the total length of the preset region in the preset direction may be the total length of the preset region displaying the content in the preset direction. For example, if the preset direction is a 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 may be a horizontal direction or a vertical direction. When the display direction of the characters in the preset area is a horizontal direction, for example, from left to right, the track length of the sight line track in the horizontal direction may be determined, and the total length of the preset area in the horizontal direction may be calculated. When the display direction of the characters in the preset area is the vertical direction, for example, from top to bottom, the track length of the sight line track in the vertical direction may be determined, and the total length of the preset area in the vertical direction may be calculated.
Specifically, after the total length of the projection and the total length of the preset region in the preset direction are calculated, a ratio of the total length of the projection l to the total length len may be used as an interest value, for example, the interest value p ═ l/len. Of course, the interest value may also be calculated in other manners in this step, for example, a difference between the total length of the projection and the total length is used as the interest value, that is, the interest value p is l-len; in this step, when the actual total length of the projection of the user sight line trajectory and the total length of the preset region in the preset direction are calculated, the calculation result may reflect the difference between the actual total length of the projection of the user sight line trajectory and the total length of the preset region in the preset direction.
In the embodiment of the invention, the interest value of the preset area is calculated by determining the total projection length of the sight line track of the user in the preset direction, so that the content which is interested by the user can be determined according to the sight line movement of the user during reading, manual selection by the user is not needed, the actual preference of the user can be met, the operation of the user can be simplified, and the use experience of the user is improved. In addition, the interest value is calculated by adopting the total projection length of the sight line track in the step, and the real length of the sight line track in the preset direction can be reflected by the total projection length, so that the accuracy of calculating the interest value can be improved by adopting the total projection length to participate in calculation compared with a mode of directly adopting the actual length of the sight line track to calculate.
Step 203, displaying the target area according to the interest value corresponding to the target area and the display mode corresponding to the interest value; 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 a font size, changing a color of a character, changing a font, or other highlighting modes, which is not limited in the embodiment of the present invention.
Specifically, when the display mode is highlighting based on different background colors, this step 203 can be implemented by the following steps C to D:
and step C, determining 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-warm color related to the user interest value. Specifically, the background color of the cool tone can be green, cyan, blue, purple; the background color of the neutral tone can be black, gray and white; the background color of the warm tone may be red, orange, yellow, brown.
Specifically, the higher the interest value, the warmer the color, and otherwise the cooler. Specifically, the user may preset a corresponding relationship between the interest value and the background color, for example, the interest value is brown when 0-2, yellow when 2-4, and orange when 4-6, and so on, which is not limited in the embodiment of the present invention. The background color of the cold and warm colors is adopted, the interest degree can be visually displayed, and the user screening can be assisted.
And D, highlighting the content displayed in the target area based on the background color.
In this step, as an example, assuming that the interest value of the user in the target region is 2, and in the preset corresponding relationship, if the corresponding background color is brown when the interest value is 2, highlighting the content displayed in the target region with brown as the background color. In the embodiment of the invention, the content displayed in the target area is highlighted according to the background color, so that the user can intuitively and conveniently determine which content is collected, and the user can conveniently make a judgment.
Specifically, the electronic device can detect whether the user finishes reading; and when the fact that the reading of the user is finished is detected, the highlighting operation is executed. For example, taking the display content as an article as an example, the electronic device may detect whether the user has finished reading by detecting whether the line of sight of the user moves to the last character of the article. Therefore, the displayed content can be prevented from being highlighted in the process of reading the article by the user, and the influence on the reading effect of the user in the reading process can be further avoided.
In the embodiment of the invention, the content displayed in the target area is displayed according to the preset display mode, so that the user can conveniently perform sorting, screening and other operations, and the actual requirements of the user can be met.
Step 204, sequencing the contents displayed in each target area in sequence according to the front and back sequence of the position of each target area in the page; or sequencing the contents displayed in the target areas in sequence according to the interest values corresponding to the target areas.
Optionally, the number of the target areas is at least two, that is, the number of the target areas determined according to the target parameter information in the page is at least two, so as to facilitate subsequent sorting operation of the electronic device.
In this step, after the target area in which the user is interested is determined, the electronic device may sort the contents displayed in the target area according to the front-back sequence of each target area on the page. Therefore, the displayed contents are sequenced according to the front-back sequence of the contents on the page, and the front-back logic of the articles in the page is met.
Alternatively, the electronic device may sort the contents displayed in the target regions according to the interest values of the target regions. Specifically, the electronic device may accept a selection input operation by the user, for example, the selection input operation may be a click operation of the "sort by interest value" button displayed by the electronic device by the user; the electronic device may sort the contents displayed in the target area in order of the interest value from large to small or from small to large based on the input selection operation. Therefore, the displayed contents are sequenced according to the interest values, so that the preference degree of the user can be better met, and the actual requirements of the user are met.
And step 205, outputting the target file according to the sorted content.
In this step, the electronic device may aggregate the content into one target file in sequence, output the target file in the preset format, and collect the target file. And saving the file into a preset folder. Therefore, the contents of all parts in the target file can be orderly arranged, and the user can conveniently check the contents.
In the embodiment of the invention, the content displayed in the target area is output to the target file and collected, compared with the mode that the user directly collects the whole article, the content which the user is interested in displaying is collected, the extraction and integration of the page content are realized, and the user can conveniently, quickly and efficiently search in the follow-up process.
In addition, optionally, before step 205, the page content processing method may further include the following steps E to F:
and E, receiving a first input of a user.
In this step, the first input may be an input operation that the user needs to save the display content in the target area, and specifically, the input operation may be a click operation of the user on a save button displayed on the electronic device.
Step F: in response to the first input, performing the step of outputting a target file according to the content displayed in the target area.
In this step, the electronic device generates and collects the display content of the target area into a target file only after receiving that the user clicks the save button. It should be noted that, after the user finishes reading the article on the current page, the user may not click the save button or click the "continue" button, the electronic device may display the next article on the page, or switch to another application program to continue reading other articles, the electronic device still performs the foregoing page content processing procedure, and adds the subsequently determined display content to the target file.
In the embodiment of the invention, the collection operation is executed only when the user selects to save, so that the user can continue to process the page content of the next article during the period before selecting to save, or continuously browse the content by using other applications, correspondingly, the electronic equipment can continue to acquire the target parameter information based on the watching position information when the user browses, and finally, when the user selects to save, different documents or contents in different applications can be collected into the same target file, thereby realizing the information integration of cross-document and cross-application, and improving the use experience of the user.
For example, fig. 3 is a schematic diagram illustrating a page content processing method according to an embodiment of the present invention. As shown in fig. 3, 301, 302, and 303 respectively represent the determined 3 target regions. The electronic device can determine the corresponding display mode according to the interest values corresponding to the target areas, and display the 3 target areas according to the specific display mode. After the user clicks the save button 304, the electronic device may generate an object file based on the content displayed in the object areas 301 to 303 and save the object file. In addition, the electronic device displays a delete button 305, 306, 307 in each target area, and the user can filter the displayed content based on actual needs, for example, the user can click the delete button 305 in 301 when the content in 301 is not needed.
Correspondingly, fig. 4 is a schematic diagram illustrating 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, and it can be seen that the target file 40 includes the contents displayed in the target areas 301 to 303, and the displayed contents are sorted in the front-back order of the appearance of the target areas 301 to 303 in the article.
In summary, according to the page content processing method provided by the embodiment of the present invention, an electronic device may obtain a plurality of gaze location information of a user on a page, where the page includes at least two preset regions, and then obtain target parameter information according to the gaze location information located in the preset regions for each preset region; then, displaying the target area according to a display mode corresponding to the interest value of the target area, wherein the target area is a preset area of which the target parameter information meets preset conditions; and sequencing the contents displayed in the target area according to the front-back sequence of the target area in the page or according to the interest value of the target area, and finally outputting the sequenced contents to a target file. According to the embodiment of the invention, the target parameter information is automatically acquired through the gaze location information of the sight of the user, and the target area, namely the content in the preset area which is interested by the user, is collected according to the target parameter information, so that the actual preference of the user can be met without manual operation of the user, the content which is interested by the user is collected, the complexity of the collection operation is reduced, and the collection efficiency is improved. Meanwhile, compared with a mode that a collection instruction is directly sent to the electronic equipment and the electronic equipment directly collects the whole article displayed currently, the method and the device can output the target file only according to the display content of the target area interested by the user, so that the situation that the collected content contains the content not interested by the user can be avoided, the content interested by the user can be automatically and quickly extracted and integrated, the redundant information is extracted and refined, and the collection effect is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of an electronic device according to the present invention is shown, and specifically, the electronic device 50 may include the following modules:
the first obtaining module 501 is configured to obtain information of a plurality of gazing positions of a user on a page, where the page includes at least two preset regions.
The second obtaining module 502 is configured to obtain information of a plurality of gaze locations of a user on a page, where the page includes at least two preset regions.
An output module 503, configured to output a target file according to content displayed in a target area, where the target area is a preset area where the target parameter information meets a preset condition.
Optionally, the second obtaining module 502 includes:
and the first acquisition submodule is used for acquiring the stay time of the sight of the user at the gazing position for the gazing position indicated by any gazing position information in the preset area.
And the second acquisition submodule is used for acquiring the gazing time of the user in the preset area according to the sum of the staying time.
And the third obtaining sub-module is used for obtaining the interest value corresponding to the preset area based on the staring duration and the type of the content displayed in the preset area.
Optionally, the third obtaining sub-module is configured to:
under the condition that the content displayed in the preset area is of a text type, acquiring a time threshold value according to the number of text words and a preset text reading coefficient contained in the preset area; under the condition that the content displayed in the preset area is of a picture type, acquiring a time threshold according to the number of pixels of the picture contained in the preset area and a preset picture viewing coefficient;
and acquiring an interest value corresponding to the preset area according to the staring duration and the time threshold.
Optionally, the second obtaining module 502 is configured to:
acquiring a sight line track corresponding to the user in the preset area according to the gaze position indicated by the gaze position information in the preset area;
acquiring the total length of the projection in the preset direction according to the projection length of each sight line track in the preset direction;
and acquiring an interest value of a user in the preset area according to the total length of the projection and the total length of the preset area in the preset direction.
Optionally, the electronic device 50 further includes:
and the display module is used for displaying the target area according to the interest value corresponding to the target area and the display mode corresponding to the interest value.
Optionally, the number of the target areas is at least two, and the output module 504 is configured to:
sequencing the contents displayed in the target areas in sequence according to the front and back sequence of the positions of the target areas in the page; or sequencing the contents displayed in each target area in sequence according to the size of the interest value corresponding to each target area;
and generating the target file according to the sequenced content.
Optionally, the electronic device 50 further includes:
the detection module is used for detecting picture areas corresponding to a first preset amount of pictures in the page and detecting text areas corresponding to a second preset amount of texts in the page;
and the area determining module is used for determining one picture area as one preset area and determining one text area as one preset area.
In summary, the electronic device provided in the embodiment of the present invention may acquire a plurality of gaze location information of a user on a page, where the page includes at least two preset regions, and then acquire target parameter information according to the gaze location information located in the preset regions for each preset region; and then outputting a target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets the preset conditions. According to the embodiment of the invention, the target parameter information is automatically acquired through the gaze location information of the sight of the user, and the target area, namely the content in the preset area which is interested by the user, is collected according to the target parameter information, so that the actual preference of the user can be met without manual operation of the user, the content which is interested by the user is collected, the complexity of the collection operation is reduced, and the collection efficiency is improved. Meanwhile, compared with a mode that a collection instruction is directly sent to the electronic equipment and the electronic equipment directly collects the whole article displayed currently, the method and the device can output the target file only according to the display content of the target area interested by the user, so that the situation that the collected content contains the content not interested by the user can be avoided, the content interested by the user can be automatically and quickly extracted and integrated, the redundant information is extracted and refined, and the collection effect is improved.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
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 a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. 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 palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to obtain information of a plurality of gaze locations of a user on a page, where the page includes at least two preset regions.
And the processor 610 is configured to, for each preset region, obtain target parameter information according to the gaze location information located in the preset region.
The processor 610 is configured to output a target file according to content displayed in a target area, where the target area is a preset area where the target parameter information meets a preset condition.
In the embodiment of the invention, the electronic equipment acquires a plurality of gaze position information of a user on a page, the page comprises at least two preset areas, and then target parameter information is acquired according to the gaze position information in the preset areas aiming at each preset area; and then outputting a target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets the preset conditions. According to the embodiment of the invention, the target parameter information is automatically acquired through the gaze location information of the sight of the user, and the target area, namely the content in the preset area which is interested by the user, is collected according to the target parameter information, so that the actual preference of the user can be met without manual operation of the user, the content which is interested by the user is collected, the complexity of the collection operation is reduced, and the collection efficiency is improved. Meanwhile, compared with a mode that a collection instruction is directly sent to the electronic equipment and the electronic equipment directly collects the whole article displayed currently, the method and the device can output the target file only according to the display content of the target area interested by the user, so that the situation that the collected content contains the content not interested by the user can be avoided, the content interested by the user can be automatically and quickly extracted and integrated, the redundant information is extracted and refined, and the collection effect is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, 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. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
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 an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic 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 may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
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 (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 5 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., 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 to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the 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.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program that is stored in the memory 609 and can be run on the processor 610, and when being executed by the processor 610, the computer program implements each process of the above-mentioned page content processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Optionally, 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 computer program implements each process of the above-mentioned page content processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A page content processing method is applied to electronic equipment and is characterized by comprising the following steps:
acquiring a plurality of fixation position information of a user on a page, wherein the page comprises at least two preset areas;
for each preset area, acquiring target parameter information according to the gaze position information located in the preset area;
and outputting a target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets preset conditions.
2. The method according to claim 1, wherein the target parameter information is an interest value corresponding to the preset area; the acquiring target parameter information according to the gaze location information located in the preset region includes:
for the gaze position indicated by any gaze position information located in the preset area, acquiring the stay time of the user sight line staying at the gaze position;
acquiring the staring time of the user in the preset area according to the sum of the staying time;
and acquiring an interest value corresponding to the preset area based on the gaze duration and the type of the content displayed in the preset area.
3. The method according to claim 2, wherein the obtaining of the interest value corresponding to the preset area based on the gaze duration and the type of content displayed in the preset area comprises:
under the condition that the content displayed in the preset area is of a text type, acquiring a time threshold according to the number of text words and a preset text reading coefficient contained in the preset area;
under the condition that the content displayed in the preset area is of a picture type, acquiring a time threshold according to the number of pixels of the picture contained in the preset area and a preset picture viewing coefficient;
and acquiring an interest value corresponding to the preset area according to the staring duration and the time threshold.
4. The method according to claim 1, wherein the target parameter information is an interest value corresponding to the preset area; the acquiring target parameter information according to the gaze location information located in the preset region includes:
acquiring a sight line track corresponding to the user in the preset area according to the gaze position indicated by the gaze position information in the preset area;
acquiring the total length of the projection in the preset direction according to the projection length of each sight line track in the preset direction;
and acquiring an interest value of a user in the preset area according to the total length of the projection and the total length of the preset area in the preset direction.
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:
and displaying the target area according to the interest value corresponding to the target area and a display mode corresponding to the interest value.
6. The method according to any one of claims 2 to 4, wherein the number of the target areas is at least two, and the outputting the target file according to the content displayed in the target area comprises:
sequencing the contents displayed in the target areas in sequence according to the front and back sequence of the positions of the target areas in the page; or sequencing the contents displayed in each target area in sequence according to the size of the interest value corresponding to each target area;
and outputting the target file according to the sorted content.
7. The method according to claim 1, wherein before the obtaining of the plurality of gaze location information of the user on the page, the page comprising at least two preset regions, the method further comprises:
detecting picture areas corresponding to a first preset amount of pictures in the page, and detecting text areas corresponding to a second preset amount of texts in the page;
and determining one picture region as one preset region, and determining one text region as one preset region.
8. An electronic device, comprising:
the system comprises a first acquisition module, a second acquisition module and a display module, wherein the first acquisition module is used for acquiring a plurality of fixation position information of a user on a page, and the page comprises at least two preset areas;
the second acquisition module is used for acquiring target parameter information according to the gaze position information in the preset area aiming at each preset area;
and the output module is used for outputting the target file according to the content displayed in the target area, wherein the target area is a preset area of which the target parameter information meets preset conditions.
9. The electronic device according to claim 8, wherein the target parameter information is an interest value corresponding to the preset area; the second obtaining module includes:
the first acquisition submodule is used for acquiring the stay time of the sight of the user at the watching position for the watching position indicated by any piece of watching position information in the preset area;
the second obtaining submodule is used for obtaining the staring time of the user in the preset area according to the sum of the staying time;
and the third obtaining sub-module is used for obtaining the interest value corresponding to the preset area based on the staring duration and the type of the content displayed in the preset area.
10. The electronic device of claim 9, wherein the third acquisition submodule is configured to:
under the condition that the content displayed in the preset area is of a text type, acquiring a time threshold according to the number of text words and a preset text reading coefficient contained in the preset area;
under the condition that the content displayed in the preset area is of a picture type, acquiring a time threshold according to the number of pixels of the picture contained in the preset area and a preset picture viewing coefficient;
and acquiring an interest value corresponding to the preset area according to the staring duration and the time threshold.
11. The electronic device according to claim 8, wherein the target parameter information is an interest value corresponding to the preset area; the second obtaining module is configured to:
acquiring a sight line track corresponding to the user in the preset area according to the gaze position indicated by the gaze position information in the preset area;
acquiring the total length of the projection in the preset direction according to the projection length of each sight line track in the preset direction;
and acquiring an interest value of a user in the preset area according to the total length of the projection and the total length of the preset area in the preset direction.
12. The electronic device of any of claims 9-11, further comprising:
and the display module is used for displaying the target area according to the interest value corresponding to the target area and the display mode corresponding to the interest value.
13. The electronic device according to any of claims 9-11, wherein the number of target regions is at least two, and the output module is configured to:
sequencing the contents displayed in the target areas in sequence according to the front and back sequence of the positions of the target areas in the page; or sequencing the contents displayed in each target area in sequence according to the size of the interest value corresponding to each target area;
and outputting the target file according to the sorted content.
14. The electronic device of claim 8, further comprising:
the detection module is used for detecting picture areas corresponding to a first preset amount of pictures in the page and detecting text areas corresponding to a second preset amount of texts in the page;
and the area determining module is used for determining one picture area as one preset area and determining one text area as one preset area.
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 (5)

* 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, 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
CN116137003A (en) * 2023-04-04 2023-05-19 深圳柯赛标识智能科技有限公司 Intelligent advertisement terminal based on big data and advertisement publishing method

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 (7)

* 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, device, 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
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
CN111488057B (en) Page content processing method and electronic equipment
CN109361865B (en) Shooting method and terminal
CN109151180B (en) Object identification method and mobile terminal
CN108632658B (en) Bullet screen display method and terminal
CN109381165B (en) Skin detection method and mobile terminal
CN108712603B (en) Image processing method and mobile terminal
CN108076290B (en) Image processing method and mobile terminal
CN110557683B (en) Video playing control method and electronic equipment
CN108182271B (en) Photographing method, terminal and computer readable storage medium
CN110970003A (en) Screen brightness adjusting method and device, electronic equipment and storage medium
CN112689201B (en) Barrage information identification method, barrage information display method, server and electronic equipment
CN108962187B (en) Screen brightness adjusting method and mobile terminal
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN110533651B (en) Image processing method and device
CN108459788B (en) Picture display method and terminal
CN109656636B (en) Application starting method and device
CN111432123A (en) Image processing method and device
CN110308769B (en) Information display method and terminal
CN109669710B (en) Note processing method and terminal
CN108924413B (en) Shooting method and mobile terminal
CN108345657B (en) Picture screening method and mobile terminal
CN107809515B (en) Display control method and mobile terminal
CN107563353B (en) Image processing method and device and mobile terminal
CN107920272B (en) Bullet screen screening method and device and mobile terminal
CN111556358B (en) Display method and device and electronic equipment

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