WO2020078054A1 - 网页处理方法、装置、电子设备及存储介质 - Google Patents

网页处理方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2020078054A1
WO2020078054A1 PCT/CN2019/095566 CN2019095566W WO2020078054A1 WO 2020078054 A1 WO2020078054 A1 WO 2020078054A1 CN 2019095566 W CN2019095566 W CN 2019095566W WO 2020078054 A1 WO2020078054 A1 WO 2020078054A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
webpage
page area
adjusted
sliding operation
Prior art date
Application number
PCT/CN2019/095566
Other languages
English (en)
French (fr)
Inventor
易潇
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2020078054A1 publication Critical patent/WO2020078054A1/zh

Links

Images

Classifications

    • 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

Definitions

  • the embodiments of the present disclosure relate to the technical field of webpage operation data processing, for example, to a webpage processing method, device, electronic device, and storage medium.
  • the product display page is a web page that is opened for the user to view after the user clicks on the product-related information published by social media or uses a search engine to search for the product-related information.
  • the general product display page will display extended content related to the product.
  • the publisher of the product display page will want to know the user's attention distribution data on the published product display page in time, so that the product display page can be evaluated and modified based on user feedback.
  • the publisher of the product display page can obtain the user's feedback information on the published webpage according to the user's attention distribution map. For example, the publisher of the product display page can know the user's focus on the product display page.
  • the present disclosure provides a webpage processing method, device, electronic equipment, and storage medium, so as to obtain a user attention distribution map according to the interaction data between each user and the webpage in real time.
  • An embodiment of the present disclosure provides a webpage processing method, including:
  • the target webpage includes at least two partial page areas, and at least one partial page area of the at least two partial page areas is the The area of the partial page to be adjusted;
  • the target display form adjust the display form of the local page area to be adjusted in the target webpage.
  • An embodiment of the present disclosure also provides a webpage processing device, including:
  • the time acquisition module is configured to separately acquire the residence time of at least two users for the local page area to be adjusted in the target webpage, wherein the target webpage includes at least two local page areas, and at least one of the at least two local page areas The local page area is the local page area to be adjusted;
  • the time accumulation module is configured to accumulate the stay time of at least two users corresponding to the local page area to be adjusted to obtain the total stay time corresponding to the local page area to be adjusted;
  • the display form determination module is set to determine the target display form corresponding to the local page area to be adjusted according to the total stay time and the preset display form correspondence rules;
  • the display form adjustment module is set to adjust the display form of the local page area to be adjusted in the target webpage according to the target display form.
  • An embodiment of the present disclosure also provides an electronic device, including:
  • One or more processors are One or more processors;
  • Storage device set to store one or more programs
  • the one or more processors implement the webpage processing method described in the embodiments of the present disclosure.
  • an embodiment of the present disclosure also provides a computer-readable storage medium that stores a computer program, which when executed by a processor implements the webpage processing method described in the embodiments of the present disclosure.
  • FIG. 1 is a flowchart of a webpage processing method according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of another webpage processing method provided by an embodiment of the present disclosure.
  • FIG. 3 is a flowchart of another webpage processing method provided by an embodiment of the present disclosure.
  • FIG. 5 is a flowchart of another webpage processing method provided by an embodiment of the present disclosure.
  • FIG. 6 is a flowchart of another webpage processing method provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a webpage processing device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a webpage processing method provided by an embodiment of the present disclosure. This embodiment can be applied to a case of processing a webpage.
  • the method can be executed by a webpage processing apparatus, which can use software and / or hardware
  • the device can be configured in an electronic device, for example, a terminal device or a server. As shown in FIG. 1, the method may include the following steps:
  • Step 1010 Obtain the residence time of at least two users for the local page area to be adjusted in the target webpage, respectively.
  • the target webpage includes at least two partial page areas.
  • the target webpage is a webpage that the user can access and browse.
  • the target webpage may be a webpage that is opened for the user to view after the user clicks on the product-related information published by social media or uses a search engine to search for the product-related information.
  • the target webpage includes at least two partial page areas.
  • the partial page area is a page area obtained by dividing and labeling the target webpage according to a preset method. For example, the target web page is divided into 1000 partial page areas in the vertical direction, and sequentially numbered from top to bottom.
  • the residence time of at least one local page area to be adjusted by at least two users for the target webpage is obtained respectively.
  • the residence time of each user for at least one local page area to be adjusted in the target web page is obtained.
  • the partial page area to be adjusted is a partial page area in the target web page that needs to be adjusted in display form according to the user's stay time.
  • multiple partial page areas in the target webpage may all be partial page areas to be adjusted. Obtaining the residence time of at least two users for at least one partial page area to be adjusted in the target webpage respectively, that is, separately acquiring the residence time of at least two users for each partial page area in the target webpage.
  • the local page area to be adjusted may be a local page area specified in the target webpage according to business requirements.
  • the local page area to be adjusted is an advertisement area or entertainment news area in the target webpage.
  • the user's sliding operation is monitored to obtain sliding operation data generated during the user's browsing of the target webpage.
  • the at least one target partial page area associated with the sliding operation data is determined according to the content position of the first line of the target webpage and all the sliding operation data of the user during this visit. Then, based on the target partial page area and the operation association time matched with the sliding operation data, the user's residence time for the partial page area to be adjusted in the target web page is calculated.
  • the sliding operation may be a behavior of a user sliding on a screen of a mobile terminal by moving a finger or a stylus, or a behavior of switching a screen on a computer (Personal Computer, PC) side by using a sliding of a mouse.
  • the sliding operation data may include the user's touch position of the web page in the target web page.
  • the webpage touch position is the touch position of the user's finger, stylus, or mouse on the target webpage when the user performs a sliding operation on the display screen of the electronic device.
  • Step 1020 Accumulate the stay time of at least two users corresponding to the local page area to be adjusted to obtain a total stay time corresponding to the local page area to be adjusted.
  • the stay time of at least two users corresponding to each partial page area is accumulated to obtain the corresponding Total stay time.
  • the local page area to be adjusted may be a local page area specified in the target webpage according to business requirements, and the residence time of at least two users corresponding to each designated local page area is accumulated to obtain the The total stay time corresponding to each specified partial page area.
  • Step 1030 Determine the target display form corresponding to the local page area to be adjusted according to the total stay time and the corresponding rule of the preset display form.
  • the target display form is a display form corresponding to the local page area to be adjusted.
  • the display form can be color, font, typesetting or animation.
  • the corresponding rule of the preset display form is the corresponding rule of the total stay time and the display form.
  • the display format is color.
  • Color is the background color of the target web page.
  • the corresponding rule of the preset display form is the preset color corresponding rule: the total residence time corresponds to the color value of the color in the hue bar. Different total residence time corresponds to different color values.
  • the color corresponding to the total stay time is determined according to the color value corresponding to the total stay time. Since the total stay time corresponds to a partial page area to be adjusted, the color is the target color corresponding to the partial page area to be adjusted. Therefore, according to the total stay time and the preset color correspondence rule, the target color corresponding to the partial page area to be adjusted can be determined.
  • the target color corresponding to the partial page area to be adjusted is the target display form corresponding to the partial page area to be adjusted.
  • the multiple partial page areas in the target webpage are all partial page areas to be adjusted.
  • the preset color correspondence rule is that the color value of the color in the hue bar corresponds to the value in the standard data range. In one embodiment, the standard data range is 0-100%. After obtaining the total stay time corresponding to each partial page area, first adjust the total stay time corresponding to each partial page area to the data range of 0-100% according to the preset data processing rules, and then correspond to the preset color The rule and the adjusted total residence time determine the target color corresponding to each partial page area. For example, the target color corresponding to the partial page area after the adjusted total stay time is 100% is red. The target color corresponding to the total stay time of the partial page area after the adjusted total stay time is 0 is blue.
  • Step 1040 Adjust the display form of the local page area to be adjusted in the target webpage according to the target display form.
  • the display form of the local page area to be adjusted in the target web page is adjusted according to the target display form, and the local page area to be adjusted in the target web page is adjusted.
  • the display format is adjusted to the corresponding target display format.
  • the target display format is the target color.
  • the multiple partial page areas in the target web page are all partial page areas to be adjusted.
  • the page background color of each partial page area in the target webpage is adjusted to the corresponding target color. For example, the target color corresponding to the partial page area after the adjusted total stay time is 100% is red.
  • the page background color of the partial page area is adjusted to the corresponding red.
  • the area where the background color of the page is red is the user's focus area on the target webpage.
  • the target webpage is processed according to the webpage operation data, and then the adjusted target webpage is used as a user attention distribution map.
  • the user can know the distribution of attention of all users based on the adjusted target webpage.
  • FIG. 2 is a flowchart of a webpage processing method according to an embodiment of the present disclosure. This embodiment can be combined with the optional solution in one or more of the above embodiments.
  • determining the target display form corresponding to the partial page area to be adjusted may include: adjusting the total stay time corresponding to the partial page area to be adjusted to the standard data range according to the preset data processing rule; And the adjusted total stay time to determine the target color corresponding to the local page area to be adjusted.
  • the method may include the following steps:
  • Step 2010 Obtain the residence time of at least two users for the local page area to be adjusted in the target webpage, respectively.
  • the target webpage includes at least two partial page areas.
  • multiple partial page areas in the target web page are all partial page areas to be adjusted.
  • Step 2020 Accumulate the stay time of at least two users corresponding to the local page area to be adjusted to obtain a total stay time corresponding to the local page area to be adjusted.
  • Step 2030 Adjust the total stay time corresponding to the partial page area to be adjusted to the standard data range according to the preset data processing rule.
  • the standard data range is a data range of 0-100%. After the total stay time corresponding to each partial page area is obtained, the value of the total stay time corresponding to each partial page area is calculated according to the preset data processing rule, and the total stay time corresponding to each partial page area is adjusted to 0 -100% data range.
  • calculating the value of the total stay time corresponding to each partial page area according to a preset data processing rule includes: calculating the adjusted total stay time according to the following formula:
  • T 1 is the total stay time before adjustment
  • T 2 is the adjusted total stay time
  • T min is the total stay time with the smallest value among the total stay times corresponding to all partial page areas
  • T max is the total stay time corresponding to all partial page areas The total residence time with the largest value in the residence time.
  • Step 2040 Determine the target color corresponding to the partial page area to be adjusted according to the preset color correspondence rule and the adjusted total stay time.
  • the preset color correspondence rule is that the color value of the color in the hue bar corresponds to the value in the standard data range.
  • the target color corresponding to each partial page area is determined. For example, the target color corresponding to the partial page area to be adjusted after the adjusted total stay time is 100% is red.
  • the target color corresponding to the total stay time of the partial page area to be adjusted after the adjusted total stay time is 0 is blue.
  • Step 2050 Adjust the display form of the local page area to be adjusted in the target webpage according to the target display form.
  • the target display format is the target color.
  • the multiple partial page areas in the target web page are all partial page areas to be adjusted. After determining the target color corresponding to each partial page area, the page background color of each partial page area in the target webpage is adjusted to the corresponding target color.
  • the total stay time corresponding to the partial page area to be adjusted is adjusted to the standard data range according to the preset data processing rule; and then the partial to be adjusted is determined according to the preset color correspondence rule and the adjusted total stay time
  • the target color corresponding to the page area can be adjusted according to the page operation data of different users on the page background color of each partial page area to be adjusted in the target webpage, and the adjusted target webpage is provided to the user as a user attention distribution map. In this way, the user can intuitively know the distribution of attention of all users according to the background color of the target web page.
  • FIG. 3 is a flowchart of a webpage processing method provided by an embodiment of the present disclosure. This embodiment can be combined with the optional solution in one or more of the above embodiments.
  • at least two users are acquired for the target
  • the stay time of the partial page area to be adjusted in the web page includes: obtaining the sliding operation data generated during the process of each user browsing the target web page; in the target web page, obtaining the target partial page area associated with the sliding operation data; according to the target The partial page area, and the operation association duration matched with the sliding operation data, calculate the residence time of each user for the partial page area to be adjusted in the target webpage.
  • this embodiment further includes: dividing and labeling the target webpage according to a preset manner to obtain at least two partial page areas corresponding to the target webpage.
  • the method may include the following steps:
  • Step 3010 Divide and label the target webpage according to a preset manner to obtain at least two partial page areas corresponding to the target webpage.
  • the partial page area is a page area obtained by dividing and labeling the target webpage according to a preset method.
  • the preset method is to divide the target webpage into 1000 partial page areas in the vertical direction, and sequentially mark the sequence numbers 1-1000 from top to bottom.
  • Step 3020 Obtain sliding operation data generated during the process of each user browsing the target webpage.
  • the user's sliding operation is monitored to obtain the sliding operation data generated during the user's browsing of the target webpage.
  • the sliding operation can be a behavior that a user slides on the screen of the mobile terminal by moving a finger or a touch pen, or can control the screen switching behavior of the PC end of the computer by the user sliding with a mouse.
  • the sliding operation data may include the user's touch position of the web page in the target web page.
  • the webpage touch position is the touch position of the user's finger, stylus, or mouse on the target webpage when the user performs a sliding operation on the display screen of the electronic device.
  • the sliding operation data generated during the process of browsing the target webpage by the user may be obtained according to the set interval duration.
  • the generated sliding operation data may be acquired.
  • Step 3030 In the target webpage, obtain a target partial page area associated with the sliding operation data.
  • At least one target partial page area associated with each sliding operation data is determined according to the content position of the first line of the target webpage and all sliding operation data of the user during the current visit.
  • the first page content position is the location of the first page content of the target page.
  • the reference webpage comparison position is the last slide operation data corresponding to the current slide operation data.
  • the position of the content of the first-line webpage is determined as the reference webpage comparison position.
  • one target sliding operation data is sequentially obtained from the multiple sliding operation data corresponding to the user as the comparison webpage touch position. Then obtain the partial page area included between the touch position of the comparison webpage and the reference webpage comparison position, that is, obtain the partial page area included between the touch position of the comparison webpage and the content position of the first line of webpage, and use the obtained partial page area as The target partial page area associated with the target sliding operation data.
  • the target sliding operation data is determined as the new reference webpage comparison position. Then return to perform the operation of comparing the touch position of the webpage with a new target slide operation data from the multiple slide operation data corresponding to the user according to the order from far to near of the slide operation data acquisition time.
  • the webpage content position of the first row is located in the local page area 1, and the webpage touch position included in the target sliding operation data is located in the local page area 3. That is, the reference webpage comparison position is located in the partial page area 1, and the comparison webpage touch position is located in the partial page area 3.
  • the partial page areas included between the touch position of the comparison webpage and the comparison position of the reference webpage are partial page area 1, partial page area 2, and partial page area 3.
  • the partial page area 1, the partial page area 2, and the partial page area 3 are taken as the target partial page area associated with the target sliding operation data. Then, the target sliding operation data is determined as the new reference webpage comparison position, that is, the new reference webpage comparison position is the partial page area 3.
  • the new comparison webpage touch position is a partial page area 4
  • the partial page areas included between the new comparison webpage touch position and the new reference webpage comparison position are a partial page area 3 and a partial page area 4.
  • the partial page area 3 and the partial page area 4 are used as the target partial page area associated with the new target sliding operation data.
  • Step 3040 Calculate the residence time of each user for the to-be-adjusted partial page area in the target webpage according to the target partial page area and the operation association time matched with the sliding operation data, wherein the target webpage includes at least two partial pages region.
  • the user after completing the processing of all the sliding operation data, according to the at least one target partial page area associated with the sliding operation data and the operation association duration matched with the sliding operation data, the user is to adjust the partial to be adjusted in the target webpage The residence time of the page area.
  • the multiple partial page areas in the target webpage are all partial page areas to be adjusted.
  • the user's residence time for each partial page area in the target webpage is calculated according to at least one target partial page area associated with the sliding operation data and the operation association duration matched with the sliding operation data .
  • the local page area to be adjusted is a local page area specified in the target web page according to business requirements.
  • the set interval duration is used as the operation association duration that matches the sliding operation data.
  • the number of acquisitions corresponding to the partial page area to be adjusted in the target web page is counted, and then the number of acquisitions and operations of the partial page area to be adjusted
  • the product of the association time is used as the residence time of the user for the local page area to be adjusted in the target web page.
  • the generated data of the current sliding operation is obtained, and the duration from the previous sliding operation to the current sliding operation is detected, and the duration is regarded as the same as the current sliding operation.
  • the duration of the operation associated with the sliding operation data matching.
  • the operation association duration corresponding to the to-be-adjusted partial page area in the target webpage is determined, and then the corresponding partial page area to be adjusted corresponds
  • the operation association time is accumulated as the user's residence time for the local page area to be adjusted in the target web page.
  • Step 3050 Accumulate the stay time of at least two users corresponding to the local page area to be adjusted to obtain a total stay time corresponding to the local page area to be adjusted.
  • Step 3060 Determine the target display form corresponding to the local page area to be adjusted according to the total stay time and the corresponding rule of the preset display form.
  • Step 3070 Adjust the display form of the local page area to be adjusted in the target webpage according to the target display form.
  • the technical solution of this embodiment obtains at least one target partial page area associated with the slide operation data in the target web page by acquiring the sliding operation data generated during the user browsing the target web page, and according to the target partial page area, And the duration of the operation that matches the sliding operation data, calculates the user's stay time for the local page area to be adjusted in the target webpage, and can determine in real time each user's stay for the local page area to be adjusted in the webpage time.
  • FIG. 4 is a flowchart of a webpage processing method according to an embodiment of the present disclosure. This embodiment can be combined with the optional solution in one or more of the above embodiments.
  • the target webpage browsed by each user is obtained
  • the sliding operation data generated during the process may include: during the process of browsing the target webpage of each user, the data corresponding to the sliding operation of each user is acquired on the display screen displaying the target webpage according to the set interval duration Screen touch position; according to the current display content of the target webpage on the display screen, determine the webpage touch position matching the screen touch position as the sliding operation data.
  • the method may include the following steps:
  • Step 4010 During the process of browsing the target webpage by each user, obtain the screen touch position corresponding to the sliding operation of each user on the display screen displaying the target webpage according to the set interval duration.
  • the interval duration is set to a preset duration. For example, set the interval to 1 second.
  • the user's sliding operation is monitored, and the screen touch position corresponding to the user's sliding operation on the display screen displaying the target webpage is acquired every 1 second.
  • Step 4020 According to the current display content of the target webpage on the display screen, determine the webpage touch position matching the screen touch position as the sliding operation data.
  • the webpage touch position is the touch position of the user's finger, stylus, or mouse on the target webpage when the user performs a sliding operation on the display screen of the electronic device.
  • the display screen may not display the entire contents of the target webpage.
  • the user needs to switch the screen with a sliding operation to browse the entire content of the target webpage.
  • the currently displayed content is the webpage content of the target webpage currently displayed on the display screen. According to the screen touch position corresponding to the user's sliding operation on the display screen displaying the target webpage and the current display content of the target webpage on the display screen, the user's finger, stylus, or mouse, etc. on the target webpage can be determined Touch location, that is, the webpage touch location.
  • Step 4030 In the target webpage, obtain a target partial page area associated with the sliding operation data.
  • Step 4040 Calculate the residence time of each user for the to-be-adjusted local page area in the target webpage according to the target local page area and the operation association time matched with the sliding operation data, where the target webpage includes at least two partial pages region.
  • Step 4050 Accumulate the stay time of at least two users corresponding to the local page area to be adjusted to obtain a total stay time corresponding to the local page area to be adjusted.
  • Step 4060 Determine the target display form corresponding to the local page area to be adjusted according to the total stay time and the preset display form correspondence rule.
  • Step 4070 Adjust the display form of the local page area to be adjusted in the target webpage according to the target display form.
  • the technical solution of this embodiment obtains the screen touch position corresponding to the user's sliding operation on the display screen displaying the target webpage according to the set interval duration while each user browses the target webpage; according to the target webpage
  • the current display content on the display screen determine the webpage touch position that matches the screen touch position as the sliding operation data, and can determine the user ’s sliding operation on the display screen of the electronic device and the target webpage according to the user ’s webpage operation data in real time. Touch the location.
  • FIG. 5 is a flowchart of a webpage processing method according to an embodiment of the present disclosure. This embodiment can be combined with the optional solution in one or more of the above embodiments.
  • each user browses the target webpage.
  • it may further include: detecting that each user opens the target webpage Next, on the target webpage, determine the content of the first line of webpage content.
  • acquiring the target partial page area associated with the sliding operation data may include: determining the position of the first line of webpage content as the reference webpage comparison position; in order from the time when the sliding operation data is acquired from far to near, Sequentially obtain a target sliding operation data from the plurality of sliding operation data corresponding to each user as the comparison webpage touch position; in the target webpage, obtain a part included between the comparison webpage touch position and the reference webpage comparison position Page area, as the target partial page area associated with the target sliding operation data; determine the target sliding operation data as the new reference webpage comparison position, and return to the execution according to the order of the time of the sliding operation data acquisition from far to near, and then from the Obtaining one target sliding operation data from each of the corresponding multiple sliding operation data as an operation for comparing the touch position of the webpage until the processing of all the sliding operation data is completed.
  • the method may include the following steps:
  • Step 5010 In the case where it is detected that each user opens the target webpage, the target webpage content position is determined in the target webpage.
  • the position of the first-row webpage content is the position of the first-row webpage content of the target webpage.
  • a general user opens a target webpage, they will browse to the first page of the target webpage. For example, the title of the landing page.
  • Step 5020 During the process of browsing the target webpage for each user, the screen touch position corresponding to the sliding operation of each user on the display screen displaying the target webpage is acquired according to the set interval duration.
  • Step 5030 According to the current display content of the target webpage on the display screen, determine the webpage touch position matching the screen touch position as the sliding operation data.
  • Step 5040 Determine the webpage content position of the first line as the reference webpage comparison position.
  • the reference webpage comparison position is the last slide operation data corresponding to the current slide operation data.
  • the position of the content of the first-line webpage is determined as the reference webpage comparison position.
  • Step 5050 Acquire a target sliding operation data from the multiple sliding operation data corresponding to each user according to the order of acquiring the sliding operation data from far to near as the comparison webpage touch position.
  • the target sliding operation data is the current sliding operation data.
  • Step 5060 In the target webpage, obtain a partial page area included between the touch position of the comparison webpage and the reference webpage comparison position as the target partial page area associated with the target sliding operation data.
  • the partial page area included between the touch position of the comparison webpage and the reference webpage comparison position is acquired, which is the acquisition of the touch position of the comparison webpage and the first line Partial page area included between webpage content locations.
  • the content of the first row of webpage content is located in the partial page area 1
  • the position represented by the target sliding operation data is located in the partial page area 3.
  • the reference webpage comparison position is located in the partial page area 1
  • the comparison webpage touch position is located in the partial page area 3.
  • the partial page areas included between the touch position of the comparison webpage and the comparison position of the reference webpage are partial page area 1, partial page area 2, and partial page area 3.
  • the partial page area 1, the partial page area 2, and the partial page area 3 are taken as the target partial page area associated with the target sliding operation data.
  • Step 5070 After determining the target sliding operation data as the new reference webpage comparison position, return to execute the sequence of acquiring the sliding operation data from far to near, and sequentially select from the multiple sliding operation data corresponding to each user Obtain a target sliding operation data as an operation to compare the touch position of a webpage until the processing of all the sliding operation data is completed.
  • the target sliding operation data is determined as the new reference webpage comparison position. Then return to perform the operation of acquiring a new target sliding operation data from the multiple sliding operation data corresponding to each user in order of the time of acquiring the sliding operation data from far to near as the new comparison of the webpage touch position , In the target webpage, obtain the partial page area included between the new comparison webpage touch position and the new reference webpage comparison position, as the target partial page area associated with the new target sliding operation data, until all slidings are completed The processing of the operation data determines at least one target partial page area associated with each sliding operation data.
  • Step 5080 Calculate the residence time of each user for the to-be-adjusted local page area in the target webpage according to the target local page area and the operation association duration matched with the sliding operation data, wherein the target webpage includes at least two partial pages region.
  • Step 5090 Accumulate the stay time of at least two users corresponding to the local page area to be adjusted to obtain a total stay time corresponding to the local page area to be adjusted.
  • Step 5100 Determine the target display form corresponding to the local page area to be adjusted according to the total stay time and the preset display form correspondence rule.
  • Step 5110 Adjust the display form of the local page area to be adjusted in the target webpage according to the target display form.
  • a target is sequentially obtained from the multiple sliding operation data corresponding to the user
  • the sliding operation data is used as the comparison webpage touch position, and then in the target webpage, the partial page area included between the comparison webpage touch position and the reference webpage comparison position is acquired as the target partial page area associated with the target slide operation data, and After the target sliding operation data is determined as the new reference webpage comparison position, return to the execution to obtain one target sliding operation data from the multiple sliding operation data corresponding to the user in order from the time when the sliding operation data acquisition time is from far to near
  • the target corresponding to the user's sliding operation when the user performs the sliding operation on the display screen of the electronic device can be determined in real time according to the user's webpage operation data
  • FIG. 6 is a flowchart of a webpage processing method according to an embodiment of the present disclosure. This embodiment can be combined with the optional solution in one or more of the above embodiments.
  • the operation association duration of the sliding operation data matching, and calculating the residence time of each user for the local page area to be adjusted in the target web page may include: according to the obtained target local page area associated with each sliding operation data, statistics and The number of acquisitions corresponding to the partial page area to be adjusted in the target webpage; the set interval duration is taken as the operation association duration matching the sliding operation data, and the product of the number of acquisitions of the partial page area to be adjusted and the operation association duration is taken as the Users stayed in the target page area for the local page area to be adjusted.
  • the method may include the following steps:
  • Step 6010 During the process of browsing the target webpage by each user, obtain the screen touch position corresponding to the sliding operation of each user on the display screen displaying the target webpage according to the set interval duration.
  • Step 6020 According to the current display content of the target webpage on the display screen, determine the webpage touch position matching the screen touch position as the sliding operation data.
  • Step 6030 In the target webpage, obtain a target partial page area associated with the sliding operation data.
  • Step 6040 According to the obtained target partial page area associated with each sliding operation data, count the number of acquisitions corresponding to the partial page area to be adjusted in the target webpage.
  • the number of acquisitions corresponding to each partial page area to be adjusted in the target web page is counted.
  • the number of acquisitions is the number of times that each partial page area to be adjusted is associated with the sliding operation data.
  • the target partial page areas associated with the first slide operation data are: partial page area 1 and partial page area 2.
  • the target partial pages associated with the second slide operation data are: area partial page area 2 and partial page area 3.
  • the target partial page areas associated with the third slide operation data are: partial page area 2 and partial page area 3.
  • the number of acquisitions corresponding to each partial page area in the target web page is counted: the number of acquisitions of partial page area 1 is one; the number of acquisitions of partial page area 2 is three; the number of acquisitions of partial page area 3 is two.
  • Step 6050 The set interval duration is used as the operation association duration that matches the sliding operation data, and the product of the number of acquisitions of the local page area to be adjusted and the operation association duration is used as the local page to be adjusted in the target webpage for each user The residence time of the area, wherein the target webpage includes at least two partial page areas.
  • the interval duration is set to a preset duration. For example, set the interval to 1 second.
  • the number of acquisitions corresponding to each partial page area in the target webpage is counted: the number of acquisitions of the partial page area 1 is one; the number of acquisitions of the partial page area 2 is three; the number of acquisitions of the partial page area 3 is two.
  • the product of the number of times that each partial page area is acquired and the time associated with the operation is taken as the residence time of the user for each partial page area in the target webpage. That is, the residence time of the partial page area 1 is 1 second, the residence time of the partial page area 2 is 3 seconds, and the number of acquisitions of the partial page area 3 is 2 seconds.
  • Step 6060 Accumulate the stay time of at least two users corresponding to the local page area to be adjusted to obtain a total stay time corresponding to the local page area to be adjusted.
  • Step 6070 Determine the target display form corresponding to the local page area to be adjusted according to the total stay time and the corresponding rule of the preset display form.
  • Step 6080 Adjust the display form of the local page area to be adjusted in the target webpage according to the target display form.
  • the technical solution of this embodiment counts the number of acquisitions corresponding to the local page area to be adjusted in the target web page according to the target local page area associated with each sliding operation data; Matching operation association time, the product of the number of acquisitions of the local page area to be adjusted and the operation association time is used as the user ’s residence time for the local page area to be adjusted in the target webpage, and the local area associated with the user ’s sliding operation data
  • the user's residence time for the local page area to be adjusted in the target webpage can also be calculated as user attention distribution data.
  • FIG. 7 is a schematic structural diagram of a webpage processing apparatus according to an embodiment of the present disclosure. This embodiment can be applied to a case of processing a webpage.
  • the device may be implemented in software and / or hardware, and the device may be configured in an electronic device.
  • the apparatus may include: a time acquisition module 701, a time accumulation module 702, a display form determination module 703, and a display form adjustment module 704.
  • the time obtaining module 701 is configured to respectively obtain the residence time of at least two users for the local page area to be adjusted in the target webpage;
  • the time accumulation module 702 is configured to perform the residence time of at least two users corresponding to the local page area to be adjusted Accumulate to obtain the total stay time corresponding to the local page area to be adjusted;
  • the display form determination module 703 is set to determine the target display form corresponding to the local page area to be adjusted according to the total stay time and the preset display form correspondence rule;
  • the display form The adjustment module 704 is configured to adjust the display form of the local page area to be adjusted in the target webpage according to the target display form.
  • the target webpage includes at least two partial page areas
  • the target display form corresponding to the local page area to be adjusted is determined according to the total stay time and the corresponding rule of the preset display form, according to Target display form, adjust the display form of the local page area to be adjusted, which solves the problem that there is no effective measure in the related art to obtain the user attention distribution map based on the interaction data of each user and the web page in real time, and can be operated according to the web pages of different users
  • the data processes the target web page, and provides the processed target web page as a user attention distribution map to the user, so that the user can know the attention distribution situation of all users.
  • the display form determination module 704 may include: a time adjustment unit configured to adjust the total stay time corresponding to the partial page area to be adjusted to a standard data range according to a preset data processing rule; The color determination unit is set to determine the target color corresponding to the partial page area to be adjusted according to the preset color correspondence rule and the adjusted total residence time.
  • the time acquisition module 701 may include: a data acquisition unit configured to acquire the sliding operation data generated during the process of each user browsing the target webpage; an area acquisition unit configured to In the target webpage, the target partial page area associated with the sliding operation data is obtained; the time calculation unit is set to calculate the target webpage for each user according to the target partial page area and the operation association duration matched with the sliding operation data The residence time of each partial page area to be adjusted.
  • the data acquisition unit may include: a location acquisition subunit configured to acquire a display screen displaying the target webpage at a set interval duration during each user's browsing of the target webpage On the screen touch position corresponding to the sliding operation of each user; the data determination subunit is set to determine the webpage touch position matching the screen touch position as the slide operation according to the current display content of the target webpage on the display screen data.
  • the device further includes: a first determining subunit configured to determine the content of the first line of the webpage in the target webpage when it is detected that each user opens the target webpage Location;
  • the area acquisition unit may include: a second determination subunit, which is set to determine the position of the first line of webpage content as the reference webpage comparison position;
  • the area acquisition subunit is set to obtain the comparison webpage touch position and the reference webpage in the target webpage The partial page area included between the comparison positions is used as the target partial page area associated with the target sliding operation data;
  • the third determining subunit is set to determine the target sliding operation data as the new reference webpage comparison position, and return to execute according to The sequence of obtaining the sliding operation data from far to near, from each user in turn Sliding the plurality of operation data corresponding to the acquired operation data as a target slip ratio of the page operation on the touch position, the sliding operation processing on all data until completion.
  • the time calculation unit may include: a frequency counting subunit, which is set to calculate the target partial page area associated with each sliding operation data according to the acquired target local page area, and the statistics and the target webpage to be adjusted The number of acquisitions corresponding to the partial page area; the time calculation subunit is set to use the set interval duration as the operation association duration that matches the sliding operation data, and the product of the number of acquisitions of the partial page area to be adjusted and the operation association duration is used as the For each user, the residence time of the local page area to be adjusted in the target web page.
  • the device further includes: an area division module configured to divide and label the target webpage according to a preset manner to obtain at least two partial page areas corresponding to the target webpage, wherein At least one partial page area of the at least two partial page areas is the partial page area to be adjusted.
  • the webpage processing apparatus provided by the embodiment of the present disclosure can execute the webpage processing method provided by the embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.
  • FIG. 8 shows a schematic structural diagram of an electronic device (eg, terminal device or server) 800 suitable for implementing the embodiments of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant (PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), mobile terminals such as in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital televisions (Television, TV), desktop computers, and so on.
  • PDA Personal Digital Assistant
  • PMP portable multimedia players
  • mobile terminals such as in-vehicle terminals (such as in-vehicle navigation terminals)
  • fixed terminals such as digital televisions (Television, TV), desktop computers, and so on.
  • the electronic device shown in FIG. 8 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present disclosure
  • the electronic device 800 may include a processing device (for example, a central processing unit, a graphics processor, etc.) 801, and the processing device may be based on a program stored in a read-only memory (Read-only Memory, ROM) 802 or from a storage
  • the device 808 loads the program in the random access memory (Random Access Memory, RAM) 803 to perform at least one appropriate action and process.
  • RAM Random Access Memory
  • the processing device 801, ROM 802, and RAM 803 are connected to each other via a bus 804.
  • An input / output (Input / Output, I / O) interface 805 is also connected to the bus 804.
  • the following devices can be connected to the I / O interface 805: including input devices 806 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc .; including, for example, liquid crystal display (Liquid Crystal Display) , LCD), speakers, vibrators, and other output devices 807; including storage devices 808, such as magnetic tapes, hard disks, etc .; and communication devices 809.
  • the communication device 809 may allow the electronic device 800 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 8 shows an electronic device 800 having various devices, it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802.
  • the processing device 801 the above-described functions defined in the method of the embodiments of the present disclosure are executed.
  • the computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above.
  • Examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, RAM, ROM, erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM or Flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal that is propagated in baseband or as part of a carrier wave, and the computer-readable signal medium carries computer-readable program code. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: electric wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the foregoing.
  • the computer-readable medium may be included in the electronic device; or it may exist alone without being assembled into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device causes the electronic device to separately acquire the stay of at least two users for the local page area to be adjusted in the target webpage Time; accumulate the stay time of at least two users corresponding to the local page area to be adjusted to obtain the total stay time corresponding to the local page area to be adjusted; according to the total stay time and the corresponding rules of the preset display form, determine the local The target display form corresponding to the page area; according to the target display form, the display form of the local page area to be adjusted in the target web page is adjusted.
  • the computer program code for performing the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above programming languages include object-oriented programming languages such as Java, Smalltalk, C ++, and also include conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (Local Area Network, LAN) or a wide area network (Wide Area Network, WAN), or it can be connected to an external computer (For example, using an Internet service provider to connect through the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for implementing a prescribed logical function.
  • the functions marked in the blocks may also occur in an order different from that marked in the drawings. For example, two blocks shown in succession can actually be executed in parallel, and sometimes they can also be executed in reverse order, depending on the functions involved.
  • Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented with dedicated hardware-based systems that perform specified functions or operations, or can be dedicated hardware It is implemented in combination with computer instructions.
  • the modules and units described in the embodiments of the present disclosure may be implemented in software or hardware.
  • the name of the module or unit does not constitute a limitation on the module or unit itself under certain circumstances.
  • the time accumulation module can also be described as "the residence time of at least two users corresponding to the local page area to be adjusted Accumulate to get the total stay time corresponding to the partial page area to be adjusted "
  • the time adjustment unit can also be described as” adjusting the total stay time corresponding to the partial page area to be adjusted to the standard data range according to the preset data processing rules unit".

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本文公开了一种网页处理方法、装置、电子设备及存储介质。其中,该方法包括:分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间,其中,目标网页包括至少两个局部页面区域,所述至少两个局部页面区域中的至少一个局部页面区域为所述待调整局部页面区域;将所述待调整局部页面区域对应的所述至少两个用户的停留时间进行累加,得到与所述待调整局部页面区域对应的总停留时间;根据所述总停留时间以及预设显示形式对应规则,确定与所述待调整局部页面区域对应的目标显示形式;按照所述目标显示形式,对所述目标网页中的所述待调整局部页面区域进行显示形式调整。

Description

网页处理方法、装置、电子设备及存储介质
本申请要求在2018年10月19日提交中国专利局、申请号为201811219964.X的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及网页操作数据处理技术领域,例如涉及一种网页处理方法、装置、电子设备及存储介质。
背景技术
商品展示页面是当用户点击社交媒体发布的商品相关信息或者利用搜索引擎搜索商品相关信息后,被打开供用户查看的网页。一般商品展示页面会显示和商品相关的扩展内容。
商品展示页面的发布者会希望及时了解用户对于已发布的商品展示页面的注意力分布数据,由此可以根据用户反馈对商品展示页面进行评估和修改。商品展示页面的发布者可以根据用户的注意力分布图获取用户对于已发布的网页的反馈信息,例如,商品展示页面的发布者可以知道用户对商品展示页面的重点关注区域。相关技术中没有有效的措施可以实时根据每一个用户与网页的交互数据得到用户注意力分布图。
发明内容
本公开提供一种网页处理方法、装置、电子设备及存储介质,以实现实时根据每一个用户与网页的交互数据得到用户注意力分布图。
本公开实施例提供了一种网页处理方法,包括:
分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间,其中,目标网页包括至少两个局部页面区域,所述至少两个局部页面区域中的至少一个局部页面区域为所述待调整局部页面区域;
将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间;
根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式;
按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调 整。
本公开实施例还提供了一种网页处理装置,包括:
时间获取模块,设置为分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间,其中,目标网页包括至少两个局部页面区域,所述至少两个局部页面区域中的至少一个局部页面区域为所述待调整局部页面区域;
时间累加模块,设置为对待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间;
显示形式确定模块,设置为根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式;
显示形式调整模块,设置为按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整。
本公开实施例还提供了一种电子设备,包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序;
当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如本公开实施例所述的网页处理方法。
第四方面,本公开实施例还提供了一种计算机可读存储介质,存储有计算机程序,该计算机程序被处理器执行时实现如本公开实施例所述的网页处理方法。
附图说明
图1为本公开实施例提供的一种网页处理方法的流程图;
图2为本公开实施例提供的另一种网页处理方法的流程图;
图3为本公开实施例提供的另一种网页处理方法的流程图;
图4为本公开实施例提供的另一种网页处理方法的流程图;
图5为本公开实施例提供的另一种网页处理方法的流程图;
图6为本公开实施例提供的另一种网页处理方法的流程图;
图7为本公开实施例提供的一种网页处理装置的结构示意图;
图8为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
下面结合附图和实施例对本公开进行说明。此处所描述的具体实施例仅仅用于解释本公开,而非对本公开的限定。另外,为了便于描述,附图中仅示出了与本公开相关的部分而非全部结构。
图1为本公开实施例提供的一种网页处理方法的流程图,本实施例可适用于对网页进行处理的情况,该方法可以由网页处理装置来执行,该装置可以采用软件和/或硬件的方式实现,该装置可以配置于电子设备,例如,终端设备或服务器中。如图1所示,该方法可以包括如下步骤:
步骤1010、分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间。
本实施例中,目标网页包括至少两个局部页面区域。
本实施例中,目标网页为用户可以访问并浏览的网页。例如,目标网页可以为当用户点击社交媒体发布的商品相关信息或者利用搜索引擎搜索商品相关信息后,被打开供用户查看的网页。目标网页中包括至少两个局部页面区域。局部页面区域为根据预设方式对目标网页进行划分和标号后,得到的页面区域。例如,在竖直方向上将目标网页等分成1000个局部页面区域,并从上到下依次标上序号。
本实施例中,分别获取至少两个用户针对目标网页中的至少一个待调整局部页面区域的停留时间。一实施例中,获取每一个用户针对目标网页中的至少一个待调整局部页面区域的停留时间。待调整局部页面区域是目标网页中需要根据用户的停留时间进行显示形式调整的局部页面区域。
一实施例中,目标网页中的多个局部页面区域可以都是待调整局部页面区域。分别获取至少两个用户针对目标网页中的至少一个待调整局部页面区域的停留时间,即分别获取至少两个用户针对目标网页中的每个局部页面区域的停留时间。
一实施例中,待调整局部页面区域可以为根据业务需求在目标网页中指定的局部页面区域。例如,待调整局部页面区域为目标网页中的广告区域或者娱乐新闻区域。分别获取至少两个用户针对目标网页中的至少一个待调整局部页面区域的停留时间,即分别获取至少两个用户针对目标网页中的指定的局部页面区域的停留时间。
一实施例中,在用户浏览目标网页的过程中,对用户的滑动操作进行监测,获取在用户浏览目标网页的过程中生成的滑动操作数据。根据目标网页的首行网页内容位置,以及用户在本次访问过程中的全部滑动操作数据确定与滑动操作数据关联的至少一个目标局部页面区域。然后根据目标局部页面区域,以及 与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的待调整局部页面区域的停留时间。
滑动操作可以为用户通过移动手指或触摸笔在移动终端的屏幕上滑动的行为,还可以为用户利用鼠标的滑动来控制电脑(Personal Computer,PC)端的屏幕切换的行为。滑动操作数据可以包括用户在目标网页中的网页触摸位置。网页触摸位置是用户在电子设备的显示屏幕上进行滑动操作时,用户的手指、触摸笔或者鼠标等在目标网页上的触摸位置。
步骤1020、将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间。
本实施例中,在分别获取至少两个用户针对目标网页中的至少一个待调整局部页面区域的停留时间后,将每一个待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与每一个待调整局部页面区域对应的总停留时间。
一实施例中,目标网页中的多个局部页面区域都是待调整局部页面区域,则将每个局部页面区域对应的至少两个用户的停留时间进行累加,得到与每个局部页面区域对应的总停留时间。
一实施例中,待调整局部页面区域可以为根据业务需求在目标网页中指定的局部页面区域,则将每个指定的局部页面区域对应的至少两个用户的停留时间进行累加,得到与所述每个指定的局部页面区域对应的总停留时间。
步骤1030、根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式。
本实施例中,目标显示形式是与待调整局部页面区域对应的显示形式。显示形式可以为颜色、字体、排版方式或者动画。预设显示形式对应规则为总停留时间与显示形式的对应规则。
一实施例中,显示形式为颜色。颜色是目标网页的页面背景颜色。预设显示形式对应规则为预设色彩对应规则:总停留时间与色相条中的色彩的色值相对应。不同的总停留时间对应不同的色值。根据一个总停留时间对应的色值,确定该总停留时间对应的色彩,由于该总停留时间与一个待调整局部页面区域对应,所以该色彩是与该待调整局部页面区域对应的目标颜色。因此,根据总停留时间以及预设色彩对应规则,可以确定与待调整局部页面区域对应的目标颜色。与待调整局部页面区域对应的目标颜色即为与待调整局部页面区域对应的目标显示形式。
一实施例中,目标网页中的多个局部页面区域都是待调整局部页面区域。预设色彩对应规则为色相条中的色彩的色值与标准数据范围的数值相对应。一 实施例中,标准数据范围为0-100%的数据范围。,在得到每个局部页面区域对应的总停留时间后,先按照预设数据处理规则将每个局部页面区域对应的总停留时间调整至0-100%的数据范围内,然后根据预设色彩对应规则和调整后的总停留时间,确定每个局部页面区域对应的目标颜色。例如,调整后的总停留时间为100%的局部页面区域对应的目标颜色为红色。调整后的总停留时间为0的局部页面区域的总停留时间对应的目标颜色为蓝色。
步骤1040、按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整。
本实施例中,确定与待调整局部页面区域对应的目标显示形式后,按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整,将目标网页中的待调整局部页面区域的显示形式调整为对应的目标显示形式。
一实施例中,目标显示形式为目标颜色。目标网页中的多个局部页面区域都是待调整局部页面区域。在确定每个局部页面区域对应的目标颜色之后,将目标网页中的每个局部页面区域的页面背景颜色调整为对应的目标颜色。例如,调整后的总停留时间为100%的局部页面区域对应的目标颜色为红色。将该局部页面区域的页面背景颜色调整为对应的红色。页面背景颜色为红色的区域即为用户在目标网页中的重点关注区域。
由此,通过汇总不同用户的网页操作数据,根据网页操作数据对目标网页进行处理,然后将调整后的目标网页作为用户注意力分布图。用户可以基于调整后的目标网页,获知全部用户的注意力分布情况。
本实施例的技术方案,通过分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间,然后将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间,并根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式,按照目标显示形式,对待调整局部页面区域进行显示形式调整,解决了相关技术中没有有效的措施可以实时根据每一个用户与网页的交互数据得到用户注意力分布图的问题,本实施例的技术方案可以根据不同用户的网页操作数据对目标网页进行处理,将处理后的目标网页作为用户注意力分布图提供给用户,以使用户获知全部用户的注意力分布情况。
图2为本公开实施例提供的一种网页处理方法的流程图,本实施例可以与上述一个或者多个实施例中的可选方案结合,在本实施例中,根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式, 可以包括:按照预设数据处理规则将待调整局部页面区域对应的总停留时间调整至标准数据范围;根据预设色彩对应规则和调整后的总停留时间,确定待调整局部页面区域对应的目标颜色。
如图2所示,该方法可以包括如下步骤:
步骤2010、分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间。
本实施例中,目标网页包括至少两个局部页面区域。
本实施例中,目标网页中的多个局部页面区域都是待调整局部页面区域。
步骤2020、将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间。
步骤2030、按照预设数据处理规则将待调整局部页面区域对应的总停留时间调整至标准数据范围。
本实施例中,标准数据范围为0-100%的数据范围。得到与每个局部页面区域对应的总停留时间后,根据预设数据处理规则对每个局部页面区域对应的总停留时间的数值进行运算,将每个局部页面区域对应的总停留时间调整至0-100%的数据范围内。
一实施例中,根据预设数据处理规则对每个局部页面区域对应的总停留时间的数值进行运算,包括:根据以下公式,计算调整后的总停留时间:
Figure PCTCN2019095566-appb-000001
T 1为调整前的总停留时间,T 2为调整后的总停留时间,T min为所有局部页面区域对应的总停留时间中数值最小的总停留时间,T max为所有局部页面区域对应的总停留时间中数值最大的总停留时间。
步骤2040、根据预设色彩对应规则和调整后的总停留时间,确定待调整局部页面区域对应的目标颜色。
一实施例中,预设色彩对应规则为色相条中的色彩的色值与标准数据范围的数值相对应。根据预设色彩对应规则和调整后的总停留时间,确定每个局部页面区域对应的目标颜色。例如,调整后的总停留时间为100%的待调整局部页面区域对应的目标颜色为红色。调整后的总停留时间为0的待调整局部页面区域的总停留时间对应的目标颜色为蓝色。
步骤2050、按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整。
一实施例中,目标显示形式为目标颜色。目标网页中的多个局部页面区域 都是待调整局部页面区域。在确定每个局部页面区域对应的目标颜色之后,将目标网页中的每个局部页面区域的页面背景颜色调整为对应的目标颜色。
本实施例的技术方案,通过按照预设数据处理规则将待调整局部页面区域对应的总停留时间调整至标准数据范围;然后根据预设色彩对应规则和调整后的总停留时间,确定待调整局部页面区域对应的目标颜色,可以根据不同用户的网页操作数据对目标网页中的每个待调整局部页面区域的页面背景颜色进行调整,将调整后的目标网页作为用户注意力分布图提供给用户,以使用户直观的根据目标网页的页面背景颜色获知全部用户的注意力分布情况。
图3为本公开实施例提供的一种网页处理方法的流程图,本实施例可以与上述一个或者多个实施例中可选方案结合,在本实施例中,分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间,包括:获取在每个用户浏览目标网页的过程中生成的滑动操作数据;在目标网页中,获取与滑动操作数据关联的目标局部页面区域;根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算所述每个用户针对目标网页中的待调整局部页面区域的停留时间。
以及,本实施例还包括:根据预设方式对目标网页进行划分和标号,得到目标网页对应的至少两个局部页面区域。
如图3所示,该方法可以包括如下步骤:
步骤3010、根据预设方式对目标网页进行划分和标号,得到目标网页对应的至少两个局部页面区域。
本实施例中,局部页面区域为根据预设方式对目标网页进行划分和标号后,得到的页面区域。一实施例中,预设方式为在竖直方向上将目标网页等分成1000个局部页面区域,并从上到下依次标上序号1-1000。
步骤3020、获取在每个用户浏览目标网页的过程中生成的滑动操作数据。
一实施例中,在每个用户浏览目标网页的过程中,对该用户的滑动操作进行监测,获取在该用户浏览目标网页的过程中生成的滑动操作数据。滑动操作可以为用户通过移动手指或触摸笔在移动终端的屏幕上滑动的行为,还可以为用户利用鼠标的滑动来控制电脑PC端的屏幕切换的行为。滑动操作数据可以包括用户在目标网页中的网页触摸位置。网页触摸位置是用户在电子设备的显示屏幕上进行滑动操作时,用户的手指、触摸笔或者鼠标等在目标网页上的触摸位置。
一实施例中,可以在每个用户浏览目标网页的过程中,按照设定间隔时长 获取在该用户浏览目标网页的过程中生成的滑动操作数据。
一实施例中,可以在检测到用户有滑动操作时,获取生成的滑动操作数据。
步骤3030、在目标网页中,获取与滑动操作数据关联的目标局部页面区域。
一实施例中,根据目标网页的首行网页内容位置,以及用户在本次访问过程中的全部滑动操作数据确定与每个滑动操作数据关联的至少一个目标局部页面区域。首行网页内容位置是目标网页的首行网页内容的位置。一般用户打开目标网页时,会浏览到目标网页的首行网页内容。例如,目标网页的标题。
一实施例中,基准网页比对位置为当前滑动操作数据对应的上一个滑动操作数据。在首次对滑动操作数据进行处理时,将首行网页内容位置确定为基准网页比对位置。按照滑动操作数据的获取时间从远到近的顺序,依次从用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置。然后获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,即获取比对网页触摸位置与首行网页内容位置之间包括的局部页面区域,并将获取的局部页面区域作为与目标滑动操作数据关联的目标局部页面区域。确定与目标滑动操作数据关联的目标局部页面区域后,将目标滑动操作数据确定为新的基准网页比对位置。然后返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从用户对应的多个滑动操作数据中获取一个新的目标滑动操作数据作为比对网页触摸位置的操作,在目标网页中,获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与新的目标滑动操作数据关联的目标局部页面区域,直至完成对全部滑动操作数据的处理,确定与每一个滑动操作数据关联的至少一个目标局部页面区域。
例如,在首次对一个用户对应的滑动操作数据进行处理时,首行网页内容位置位于局部页面区域1,目标滑动操作数据包括的网页触摸位置位于局部页面区域3。即基准网页比对位置位于局部页面区域1,比对网页触摸位置位于局部页面区域3。比对网页触摸位置与基准网页比对位置之间包括的局部页面区域为局部页面区域1、局部页面区域2以及局部页面区域3。将局部页面区域1、局部页面区域2以及局部页面区域3作为与目标滑动操作数据关联的目标局部页面区域。然后将目标滑动操作数据确定为新的基准网页比对位置,即新的基准网页比对位置为局部页面区域3。按照滑动操作数据的获取时间从远到近的顺序,依次获取一个新的目标滑动操作数据作为新的比对网页触摸位置。新的比对网页触摸位置为局部页面区域4,新的比对网页触摸位置与新的基准网页比对位置之间包括的局部页面区域为局部页面区域3以及局部页面区域4。将局部页面区域3以及局部页面区域4作为与新的目标滑动操作数据关联的目标局部页面区域。
步骤3040、根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算所述每个用户针对目标网页中的待调整局部页面区域的停留时间,其中,目标网页包括至少两个局部页面区域。
本实施例中,完成对全部滑动操作数据的处理后,根据与滑动操作数据关联的至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的待调整局部页面区域的停留时间。
一实施例中,目标网页中的多个局部页面区域都是待调整局部页面区域。完成对全部滑动操作数据的处理后,根据与滑动操作数据关联的至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的每个局部页面区域的停留时间。
一实施例中,待调整局部页面区域为根据业务需求在目标网页中指定的局部页面区域。完成对全部滑动操作数据的处理后,根据与滑动操作数据关联的至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的每个指定的局部页面区域的停留时间。
一实施例中,将设定间隔时长作为与滑动操作数据匹配的操作关联时长。在一实施例中,根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的待调整局部页面区域对应的获取次数,然后将待调整局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的待调整局部页面区域的停留时间。
一实施例中,在检测到用户有滑动操作时,获取生成的本次滑动操作数据,并检测从前一次滑动操作到本次滑动操作时的持续时长,将该持续时长作为与本次滑动操作的滑动操作数据匹配的操作关联时长。一实施例中,根据获取的与每个滑动操作数据关联的目标局部页面区域,以及操作关联时长,确定与目标网页中的待调整局部页面区域对应的操作关联时长,然后对待调整局部页面区域对应的操作关联时长进行累加,作为用户针对目标网页中的待调整局部页面区域的停留时间。
步骤3050、将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间。
步骤3060、根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式。
步骤3070、按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整。
本实施例的技术方案,通过获取在用户浏览目标网页的过程中生成的滑动 操作数据,然后在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域,并根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的待调整局部页面区域的停留时间,可以实时根据用户的网页操作数据确定每一个用户针对网页中的待调整局部页面区域的停留时间。
图4为本公开实施例提供的一种网页处理方法的流程图,本实施例可以与上述一个或者多个实施例中可选方案结合,在本实施例中,获取在每个用户浏览目标网页的过程中生成的滑动操作数据,可以包括:在每个用户浏览目标网页的过程中,按照设定间隔时长获取在显示目标网页的显示屏幕上的,与所述每个用户的滑动操作对应的屏幕触摸位置;根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置作为滑动操作数据。
如图4所示,该方法可以包括如下步骤:
步骤4010、在每个用户浏览目标网页的过程中,按照设定间隔时长获取在显示目标网页的显示屏幕上的,与所述每个用户的滑动操作对应的屏幕触摸位置。
一实施例中,设定间隔时长为预先设置的时长。例如,设定间隔时长为1秒。在每个用户浏览目标网页的过程中,对该用户的滑动操作进行监测,每隔1秒获取在显示目标网页的显示屏幕上的,与该用户的滑动操作对应的屏幕触摸位置。
步骤4020、根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置作为滑动操作数据。
一实施例中,网页触摸位置是用户在电子设备的显示屏幕上进行滑动操作时,用户的手指、触摸笔或者鼠标等在目标网页上的触摸位置。显示屏幕可能不能显示目标网页的全部内容。用户需要通过滑动操作切换屏幕以浏览目标网页的全部内容。当前显示内容为当前显示在显示屏幕上的目标网页的网页内容。根据在显示目标网页的显示屏幕上的,与用户的滑动操作对应的屏幕触摸位置,以及目标网页在显示屏幕上的当前显示内容,可以确定用户的手指、触摸笔或者鼠标等在目标网页上的触摸位置,即网页触摸位置。
步骤4030、在目标网页中,获取与滑动操作数据关联的目标局部页面区域。
步骤4040、根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算所述每个用户针对目标网页中的待调整局部页面区域的停留时间,其中,目标网页包括至少两个局部页面区域。
步骤4050、将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间。
步骤4060、根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式。
步骤4070、按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整。
本实施例的技术方案,通过在每个用户浏览目标网页的过程中,按照设定间隔时长获取在显示目标网页的显示屏幕上的,与该用户的滑动操作对应的屏幕触摸位置;根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置作为滑动操作数据,可以实时根据用户的网页操作数据,确定用户在电子设备的显示屏幕上进行滑动操作时与目标网页的触摸位置。
图5为本公开实施例提供的一种网页处理方法的流程图,本实施例可以与上述一个或者多个实施例中可选方案结合,在本实施例中,在每个用户浏览目标网页的过程中,按照设定间隔时长获取在显示目标网页的显示屏幕上的,与所述每个用户的滑动操作对应的屏幕触摸位置之前,可以还包括:在检测到每个用户打开目标网页的情况下,在目标网页中,确定首行网页内容位置。
以及,在目标网页中,获取与滑动操作数据关联的目标局部页面区域,可以包括:将首行网页内容位置确定为基准网页比对位置;按照滑动操作数据的获取时间从远到近的顺序,依次从所述每个用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置;在目标网页中,获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与目标滑动操作数据关联的目标局部页面区域;将目标滑动操作数据确定为新的基准网页比对位置,返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从所述每个对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置的操作,直至完成对全部滑动操作数据的处理。
如图5所示,该方法可以包括如下步骤:
步骤5010、在检测到每个用户打开目标网页的情况下,在目标网页中,确定首行网页内容位置。
本实施例中,首行网页内容位置是目标网页的首行网页内容的位置。一般用户打开目标网页时,会浏览到目标网页的首行网页内容。例如,目标网页的标题。
步骤5020、在每个用户浏览目标网页的过程中,按照设定间隔时长获取在 显示目标网页的显示屏幕上的,与所述每个用户的滑动操作对应的屏幕触摸位置。
步骤5030、根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置作为滑动操作数据。
步骤5040、将首行网页内容位置确定为基准网页比对位置。
本实施例中,基准网页比对位置为当前滑动操作数据对应的上一个滑动操作数据。在首次对滑动操作数据进行处理时,将首行网页内容位置确定为基准网页比对位置。
步骤5050、按照滑动操作数据的获取时间从远到近的顺序,依次从所述每个用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置。
本实施例中,目标滑动操作数据即为当前滑动操作数据。在获取用户浏览目标网页的过程中生成的每一个滑动操作数据时,记录当前时间,将该当前时间作为对应的滑动操作数据的获取时间。
步骤5060、在目标网页中,获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与目标滑动操作数据关联的目标局部页面区域。
本实施例中,在首次对一个用户对应的滑动操作数据进行处理时,获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,即为获取比对网页触摸位置与首行网页内容位置之间包括的局部页面区域。例如,在首次对一个用户对应的滑动操作数据进行处理时,首行网页内容位置位于局部页面区域1,目标滑动操作数据代表的位置位于局部页面区域3。即基准网页比对位置位于局部页面区域1,比对网页触摸位置位于局部页面区域3。比对网页触摸位置与基准网页比对位置之间包括的局部页面区域为局部页面区域1、局部页面区域2以及局部页面区域3。将局部页面区域1、局部页面区域2以及局部页面区域3作为与目标滑动操作数据关联的目标局部页面区域。
步骤5070、将目标滑动操作数据确定为新的基准网页比对位置后,返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从所述每个用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置的操作,直至完成对全部滑动操作数据的处理。
本实施例中,确定与目标滑动操作数据关联的目标局部页面区域后,将目标滑动操作数据确定为新的基准网页比对位置。然后返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从所述每个用户对应的多个滑动操作数据中获取一个新的目标滑动操作数据作为新的比对网页触摸位置的操作,在目标 网页中,获取新的比对网页触摸位置与新的基准网页比对位置之间包括的局部页面区域,作为与新的目标滑动操作数据关联的目标局部页面区域,直至完成对全部滑动操作数据的处理,确定与每一个滑动操作数据关联的至少一个目标局部页面区域。
步骤5080、根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算所述每个用户针对目标网页中的待调整局部页面区域的停留时间,其中,目标网页包括至少两个局部页面区域。
步骤5090、将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间。
步骤5100、根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式。
步骤5110、按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整。
本实施例的技术方案,通过将首行网页内容位置确定为基准网页比对位置,按照滑动操作数据的获取时间从远到近的顺序,依次从用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置,然后在目标网页中,获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与目标滑动操作数据关联的目标局部页面区域,并在将目标滑动操作数据确定为新的基准网页比对位置后,返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置的操作,直至完成对全部滑动操作数据的处理,可以实时根据用户的网页操作数据,确定用户在电子设备的显示屏幕上进行滑动操作时,与用户的滑动操作对应的目标网页中的每一个局部页面区域。
图6为本公开实施例提供的一种网页处理方法的流程图,本实施例可以与上述一个或者多个实施例中可选方案结合,在本实施例中,根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算所述每个用户针对目标网页中的待调整局部页面区域的停留时间,可以包括:根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的待调整局部页面区域对应的获取次数;将设定间隔时长作为与滑动操作数据匹配的操作关联时长,将待调整局部页面区域的获取次数与操作关联时长的乘积,作为所述每个用户针对目标网页中的待调整局部页面区域的停留时间。
如图6所示,该方法可以包括如下步骤:
步骤6010、在每个用户浏览目标网页的过程中,按照设定间隔时长获取在显示目标网页的显示屏幕上的,与所述每个用户的滑动操作对应的屏幕触摸位置。
步骤6020、根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置作为滑动操作数据。
步骤6030、在目标网页中,获取与滑动操作数据关联的目标局部页面区域。
步骤6040、根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的待调整局部页面区域对应的获取次数。
本实施例中,获取与每个滑动操作数据关联的至少一个目标局部页面区域后,统计与目标网页中的每个待调整局部页面区域对应的获取次数。获取次数是每个待调整局部页面区域与滑动操作数据关联的次数。
例如,一共获取了3个滑动操作数据。与第1个滑动操作数据关联的目标局部页面区域为:局部页面区域1以及局部页面区域2。与第2个滑动操作数据关联的目标局部页面为:区域局部页面区域2以及局部页面区域3。与第3个滑动操作数据关联的目标局部页面区域为:局部页面区域2以及局部页面区域3。统计与目标网页中的每个局部页面区域对应的获取次数:局部页面区域1的获取次数为1次;局部页面区域2的获取次数为3次;局部页面区域3的获取次数为2次。
步骤6050、将设定间隔时长作为与滑动操作数据匹配的操作关联时长,将待调整局部页面区域的获取次数与操作关联时长的乘积,作为所述每个用户针对目标网页中的待调整局部页面区域的停留时间,其中,目标网页包括至少两个局部页面区域。
本实施例中,设定间隔时长为预先设置的时长。例如,设定间隔时长为1秒。统计与目标网页中的每个局部页面区域分别对应的获取次数:局部页面区域1的获取次数为1次;局部页面区域2的获取次数为3次;局部页面区域3的获取次数为2次。将每个局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的每个局部页面区域的停留时间。即局部页面区域1的停留时间为1秒,局部页面区域2的停留时间为3秒,局部页面区域3的获取次数为2秒。
步骤6060、将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间。
步骤6070、根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式。
步骤6080、按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整。
本实施例的技术方案,通过根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的待调整局部页面区域对应的获取次数;将设定间隔时长作为与滑动操作数据匹配的操作关联时长,将待调整局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的待调整局部页面区域的停留时间,可以实时确定与用户的滑动操作数据关联的局部页面区域,还可以计算用户针对目标网页中的待调整局部页面区域的停留时间,作为用户注意力分布数据。
图7为本公开实施例提供的一种网页处理装置的结构示意图,本实施例可适用于对网页进行处理的情况。该装置可以采用软件和/或硬件的方式实现,该装置可以配置于电子设备。如图7所示,该装置可以包括:时间获取模块701、时间累加模块702、显示形式确定模块703和显示形式调整模块704。
时间获取模块701,设置为分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间;时间累加模块702,设置为将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间;显示形式确定模块703,设置为根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式;显示形式调整模块704,设置为按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整。
本实施例的技术方案,通过获取至少两个用户针对目标网页中的至少一个待调整局部页面区域的停留时间,其中,目标网页包括至少两个局部页面区域,然后将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间,并根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式,按照目标显示形式,对待调整局部页面区域进行显示形式调整,解决了相关技术中没有有效的措施可以实时根据每一个用户与网页的交互数据得到用户注意力分布图的问题,可以根据不同用户的网页操作数据对目标网页进行处理,将处理后的目标网页作为用户注意力分布图提供给用户,以使用户获知全部用户的注意力分布情况。
一实施例中,在上述技术方案的基础上,显示形式确定模块704可以包括:时间调整单元,设置为按照预设数据处理规则将待调整局部页面区域对应的总停留时间调整至标准数据范围;颜色确定单元,设置为根据预设色彩对应规则 和调整后的总停留时间,确定待调整局部页面区域对应的目标颜色。
一实施例中,在上述技术方案的基础上,时间获取模块701可以包括:数据获取单元,设置为获取在每个用户浏览目标网页的过程中生成的滑动操作数据;区域获取单元,设置为在目标网页中,获取与滑动操作数据关联的目标局部页面区域;时间计算单元,设置为根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算所述每个用户针对目标网页中的每个待调整局部页面区域的停留时间。
一实施例中,在上述技术方案的基础上,数据获取单元可以包括:位置获取子单元,设置为在每个用户浏览目标网页的过程中,按照设定间隔时长获取在显示目标网页的显示屏幕上的,与所述每个用户的滑动操作对应的屏幕触摸位置;数据确定子单元,设置为根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置作为滑动操作数据。
一实施例中,在上述技术方案的基础上,所述装置还包括:第一确定子单元,设置为在检测到每个用户打开目标网页的情况下,在目标网页中,确定首行网页内容位置;区域获取单元可以包括:第二确定子单元,设置为将首行网页内容位置确定为基准网页比对位置;数据获取子单元,设置为按照滑动操作数据的获取时间从远到近的顺序,依次从所述每个用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置;区域获取子单元,设置为在目标网页中,获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与目标滑动操作数据关联的目标局部页面区域;第三确定子单元,设置为将目标滑动操作数据确定为新的基准网页比对位置,返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从所述每个用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置的操作,直至完成对全部滑动操作数据的处理。
一实施例中,在上述技术方案的基础上,时间计算单元可以包括:次数统计子单元,设置为根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的待调整局部页面区域对应的获取次数;时间计算子单元,设置为将设定间隔时长作为与滑动操作数据匹配的操作关联时长,将待调整局部页面区域的获取次数与操作关联时长的乘积,作为所述每个用户针对目标网页中的待调整局部页面区域的停留时间。
一实施例中,在上述技术方案的基础上,所述装置还包括:区域划分模块,设置为根据预设方式对目标网页进行划分和标号,得到目标网页对应的至少两个局部页面区域,其中,所述至少两个局部页面区域中的至少一个局部页面区域为所述待调整局部页面区域。
本公开实施例所提供的网页处理装置可执行本公开实施例所提供的网页处理方法,具备执行方法相应的功能模块和有益效果。
下面参考图8,图8示出了适于用来实现本公开实施例的电子设备(例如终端设备或服务器)800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视机(Television,TV)、台式计算机等等的固定终端。图8示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图8所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,处理装置可以根据存储在只读存储器(Read-only Memory,ROM)802中的程序或者从存储装置808加载到随机访问存储器(Random Access Memory,RAM)803中的程序而执行至少一种适当的动作和处理。在RAM 803中,还存储有电子设备800操作所需的至少一种程序和数据。处理装置801、ROM802以及RAM 803通过总线804彼此相连。输入/输出(Input/Output,I/O)接口805也连接至总线804。
一实施例中,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图8示出了具有多种装置的电子设备800,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,该计算机程序产品包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但 不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,计算机可读信号介质中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间;将待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间;根据总停留时间以及预设显示形式对应规则,确定与待调整局部页面区域对应的目标显示形式;按照目标显示形式,对目标网页中的待调整局部页面区域进行显示形式调整。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网((Wide Area Network,WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了本公开至少一种实施例的方法和计算机程序产品的可能实现的体系架构、功能和操作。流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块、单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块、单元的名称在某种情况下并不构成对该模块或单元本身的限定,例如,时间累加模块还可以被描述为“对待调整局部页面区域对应的至少两个用户的停留时间进行累加,得到与待调整局部页面区域对应的总停留时间的模块”,时间调整单元还可以被描述为“按照预设数据处理规则将待调整局部页面区域对应的总停留时间调整至标准数据范围的单元”。

Claims (10)

  1. 一种网页处理方法,包括:
    分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间,其中,所述目标网页包括至少两个局部页面区域,所述至少两个局部页面区域中的至少一个局部页面区域为所述待调整局部页面区域;
    将所述待调整局部页面区域对应的所述至少两个用户的停留时间进行累加,得到与所述待调整局部页面区域对应的总停留时间;
    根据所述总停留时间以及预设显示形式对应规则,确定与所述待调整局部页面区域对应的目标显示形式;
    按照所述目标显示形式,对所述目标网页中的所述待调整局部页面区域进行显示形式调整。
  2. 根据权利要求1所述的方法,其中,所述根据所述总停留时间以及预设显示形式对应规则,确定与所述待调整局部页面区域对应的目标显示形式,包括:
    按照预设数据处理规则将所述待调整局部页面区域对应的总停留时间调整至标准数据范围;
    根据预设色彩对应规则和调整后的总停留时间,确定所述待调整局部页面区域对应的目标颜色。
  3. 根据权利要求1或2所述的方法,其中,所述分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间,包括:
    获取在每个用户浏览目标网页的过程中生成的滑动操作数据;
    在所述目标网页中,获取与所述滑动操作数据关联的目标局部页面区域;
    根据所述目标局部页面区域,以及与所述滑动操作数据匹配的操作关联时长,计算所述每个用户针对所述目标网页中的待调整局部页面区域的停留时间。
  4. 根据权利要求3所述的方法,其中,所述获取在每个用户浏览目标网页的过程中生成的滑动操作数据,包括:
    在每个用户浏览目标网页的过程中,按照设定间隔时长获取在显示所述目标网页的显示屏幕上的,与所述每个用户的滑动操作对应的屏幕触摸位置;
    根据所述目标网页在所述显示屏幕上的当前显示内容,确定与所述屏幕触摸位置匹配的网页触摸位置,并将确定的网页触摸位置作为所述滑动操作数据。
  5. 根据权利要求4所述的方法,在所述在每个用户浏览目标网页的过程中,按照设定间隔时长获取在显示所述目标网页的显示屏幕上的,与所述每个用户 的滑动操作对应的屏幕触摸位置之前,还包括:
    在检测到所述每个用户打开目标网页的情况下,在所述目标网页中,确定首行网页内容位置;
    所述在所述目标网页中,获取与所述滑动操作数据关联的目标局部页面区域,包括:
    将所述首行网页内容位置确定为基准网页比对位置;
    按照滑动操作数据的获取时间从远到近的顺序,依次从所述每个用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置;
    在所述目标网页中,获取所述比对网页触摸位置与所述基准网页比对位置之间包括的局部页面区域,作为与所述目标滑动操作数据关联的目标局部页面区域;
    将所述目标滑动操作数据确定为新的基准网页比对位置,返回执行所述按照滑动操作数据的获取时间从远到近的顺序,依次从所述每个用户对应的多个滑动操作数据中获取一个目标滑动操作数据作为比对网页触摸位置的操作,直至完成对全部滑动操作数据的处理。
  6. 根据权利要求4或5所述的方法,其中,所述根据所述目标局部页面区域,以及与所述滑动操作数据匹配的操作关联时长,计算所述每个用户针对所述目标网页中的待调整局部页面区域的停留时间,包括:
    根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与所述目标网页中的待调整局部页面区域对应的获取次数;
    将所述设定间隔时长作为与所述滑动操作数据匹配的操作关联时长,将所述待调整局部页面区域的获取次数与所述操作关联时长的乘积,作为所述每个用户针对所述目标网页中的待调整局部页面区域的停留时间。
  7. 根据权利要求1至6任一项所述的方法,还包括:
    根据预设方式对所述目标网页进行划分和标号,得到所述目标网页对应的至少两个局部页面区域。
  8. 一种网页处理装置,包括:
    时间获取模块,设置为分别获取至少两个用户针对目标网页中的待调整局部页面区域的停留时间,其中,所述目标网页包括至少两个局部页面区域,所述至少两个局部页面区域中的至少一个局部页面区域为所述待调整局部页面区域;
    时间累加模块,设置为将所述待调整局部页面区域对应的所述至少两个用 户的停留时间进行累加,得到与所述待调整局部页面区域对应的总停留时间;
    显示形式确定模块,设置为根据所述总停留时间以及预设显示形式对应规则,确定与所述待调整局部页面区域对应的目标显示形式;
    显示形式调整模块,设置为按照所述目标显示形式,对所述目标网页中的所述待调整局部页面区域进行显示形式调整。
  9. 一种电子设备,所述电子设备包括:
    至少一个处理器;
    存储装置,设置为存储至少一个程序,
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-7中任一所述的网页处理方法。
  10. 一种计算机可读存储介质,存储有计算机程序,该计算机程序被处理器执行时实现如权利要求1-7中任一所述的网页处理方法。
PCT/CN2019/095566 2018-10-19 2019-07-11 网页处理方法、装置、电子设备及存储介质 WO2020078054A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811219964.X 2018-10-19
CN201811219964.XA CN109299416B (zh) 2018-10-19 2018-10-19 一种网页处理方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020078054A1 true WO2020078054A1 (zh) 2020-04-23

Family

ID=65158201

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/095566 WO2020078054A1 (zh) 2018-10-19 2019-07-11 网页处理方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN109299416B (zh)
WO (1) WO2020078054A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299416B (zh) * 2018-10-19 2020-01-14 北京字节跳动网络技术有限公司 一种网页处理方法、装置、电子设备及存储介质
CN113242397B (zh) * 2021-06-02 2022-11-29 北京字节跳动网络技术有限公司 一种帧率调节方法、装置及设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184240A (zh) * 2011-05-16 2011-09-14 广州市动景计算机科技有限公司 基于移动通讯设备终端的网页页面排版方法及系统
WO2012000423A1 (en) * 2010-06-29 2012-01-05 Beijing Sogou Technology Development Co., Ltd. Method and system for pushing network information
CN104239042A (zh) * 2014-09-03 2014-12-24 北京国双科技有限公司 热力图生成方法及装置
CN108268532A (zh) * 2016-12-30 2018-07-10 北京国双科技有限公司 页面分析方法和装置
CN108268491A (zh) * 2016-12-30 2018-07-10 北京国双科技有限公司 热力图生成方法及装置
CN109299416A (zh) * 2018-10-19 2019-02-01 北京字节跳动网络技术有限公司 一种网页处理方法、装置、电子设备及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110022945A1 (en) * 2009-07-24 2011-01-27 Nokia Corporation Method and apparatus of browsing modeling
CN104166741B (zh) * 2014-09-10 2018-09-18 北京国双科技有限公司 网页浏览分析处理方法及装置
CN104484453B (zh) * 2014-12-30 2018-01-26 北京元心科技有限公司 确定网页页面热点区域的方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012000423A1 (en) * 2010-06-29 2012-01-05 Beijing Sogou Technology Development Co., Ltd. Method and system for pushing network information
CN102184240A (zh) * 2011-05-16 2011-09-14 广州市动景计算机科技有限公司 基于移动通讯设备终端的网页页面排版方法及系统
CN104239042A (zh) * 2014-09-03 2014-12-24 北京国双科技有限公司 热力图生成方法及装置
CN108268532A (zh) * 2016-12-30 2018-07-10 北京国双科技有限公司 页面分析方法和装置
CN108268491A (zh) * 2016-12-30 2018-07-10 北京国双科技有限公司 热力图生成方法及装置
CN109299416A (zh) * 2018-10-19 2019-02-01 北京字节跳动网络技术有限公司 一种网页处理方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN109299416A (zh) 2019-02-01
CN109299416B (zh) 2020-01-14

Similar Documents

Publication Publication Date Title
US20170017364A1 (en) Publishing electronic documents utilizing navigation information
US11875437B2 (en) Image drawing method based on target template image, apparatus, readable medium and electronic device
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
US11720235B2 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
CN106843791A (zh) 分屏显示方法及装置
US11863835B2 (en) Interaction method and apparatus, and electronic device
WO2023078225A1 (zh) 信息显示方法、装置、电子设备和存储介质
WO2023088442A1 (zh) 一种直播预览方法、装置、设备、程序产品及介质
WO2020220809A1 (zh) 目标对象的动作识别方法、装置和电子设备
WO2020199749A1 (zh) 基于反馈的信息推送方法、装置及电子设备
WO2020156058A1 (zh) 基于终端的图像拖拽变形实现方法和装置
CN110275659A (zh) 一种图像切换方法、装置、电子设备及存储介质
WO2019218688A1 (zh) 用于显示信息、查找信息的方法和设备
WO2023241321A1 (zh) 推荐方法、装置、设备、存储介质及计算机程序产品
WO2020078054A1 (zh) 网页处理方法、装置、电子设备及存储介质
CN112287206A (zh) 信息处理方法、装置和电子设备
JP2023502610A (ja) 目標対象表示方法、装置、電子機器、及びコンピュータ読み取り可能な媒体
WO2023035835A1 (zh) 一种信息展示方法、装置、设备及介质
WO2020156055A1 (zh) 显示界面切换方法、电子设备及计算机可读存储介质
US20230367963A1 (en) Character display method and apparatus, electronic device, and computer-readable storage medium
WO2020078100A1 (zh) 网页操作数据的处理方法、装置、电子设备及存储介质
WO2022242441A1 (zh) 电子表格导入方法、装置、设备及介质
WO2022242302A1 (zh) 文本搜索方法, 装置, 可读介质及电子设备
JP2017107436A (ja) 情報表示プログラム、情報表示装置、情報表示方法及び配信装置
EP2786240A1 (en) Method and device for multi-window browsing

Legal Events

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

Ref document number: 19872298

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 11/06/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19872298

Country of ref document: EP

Kind code of ref document: A1