WO2020078100A1 - Method and device for processing webpage operation data, electronic apparatus, and storage medium - Google Patents

Method and device for processing webpage operation data, electronic apparatus, and storage medium Download PDF

Info

Publication number
WO2020078100A1
WO2020078100A1 PCT/CN2019/101685 CN2019101685W WO2020078100A1 WO 2020078100 A1 WO2020078100 A1 WO 2020078100A1 CN 2019101685 W CN2019101685 W CN 2019101685W WO 2020078100 A1 WO2020078100 A1 WO 2020078100A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
webpage
operation data
user
sliding operation
Prior art date
Application number
PCT/CN2019/101685
Other languages
French (fr)
Chinese (zh)
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 WO2020078100A1 publication Critical patent/WO2020078100A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Definitions

  • Embodiments of the present disclosure relate to webpage operation data processing technology, for example, to a method, device, electronic device, and storage medium for processing webpage operation data.
  • the product display page is a web page that is opened to the user 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. There is no effective measure in the related art to obtain user attention distribution data in real time according to the interaction data between each user and the product display page.
  • the present disclosure provides a method, device, electronic device, and storage medium for processing webpage operation data, so as to achieve real-time user attention distribution data according to webpage operation data when each user interacts with the webpage.
  • an embodiment of the present disclosure provides a method for processing webpage operation data, including:
  • the residence time of the user for the partial page area in the target web page is calculated.
  • an embodiment of the present disclosure further provides a device for processing webpage operation data, including:
  • the data acquisition module is configured to acquire the sliding operation data generated during the process of the user browsing the target webpage, wherein the target webpage includes at least two partial page areas;
  • An area obtaining module configured to obtain at least one target partial page area associated with the sliding operation data in the target web page
  • the time calculation module is configured to calculate the residence time of the user with respect to the partial page area in the target webpage based on at least one target partial page area and the operation association duration matched with the sliding operation data.
  • an embodiment of the present disclosure also provides an electronic device, including:
  • One or more processors are One or more processors;
  • Storage device configured to store one or more programs
  • One or more programs are executed by one or more processors, so that the one or more processors implement the method as 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 on the computer-readable storage medium, and when the computer program is executed by a processor, it is implemented as described in the embodiment of the present disclosure method.
  • FIG. 1 is a flowchart of a method for processing webpage operation data according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of another method for processing webpage operation data according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of still another method for processing webpage operation data according to an embodiment of the present disclosure
  • FIG. 1 is a flowchart of a method for processing webpage operation data according to an embodiment of the present disclosure. This embodiment can be applied to the case of processing webpage operation data.
  • the method can be executed by a webpage operation data processing device.
  • the device may be implemented in software and / or hardware, and the device may be configured in an electronic device, for example, a terminal device or a server. As shown in FIG. 1, the method may include steps 110 to 130.
  • the target webpage is a webpage that the user can access and browse.
  • the target webpage may be a webpage opened to the user after the user clicks on product-related information published by social media or uses a search engine to search for 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 content position of the webpage in the first row is located in the partial page area 1, and the touch position of the comparison webpage is located in the partial page area 3. That is, the reference webpage comparison position is located in the local page area 1, and the local page areas included between the touch position of the comparison webpage and the reference webpage comparison position are the local page area 1, the local page area 2, and the local 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 webpage touch position of the target webpage corresponding to 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 target webpage by acquiring the sliding operation data generated during the process of the user browsing the target webpage, the target webpage includes at least two partial page areas, and in the target webpage, at least at least two associated with the sliding operation data are acquired.
  • a target partial page area and 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 in the target web page is calculated, which solves that there is no effective measure in the related technology.
  • Each user's interaction data with the product display page obtains the user's attention distribution data.
  • the user's residence time for each partial page area in the webpage can be determined in real time according to the user's webpage operation data, as the user's attention distribution data.
  • FIG. 2 is a flowchart of another method for processing webpage operation data according to an embodiment of the present disclosure. This embodiment may be combined with one or more optional solutions in one or more embodiments described above.
  • Obtaining the sliding operation data generated during the process of the user browsing the target webpage may include: in the process of determining the user browsing the target webpage, acquiring the user's screen touch position on the display screen of the target webpage at a set interval duration; The current display content on the display screen determines the webpage touch position matching the screen touch position, and uses the determined webpage touch position as the sliding operation data.
  • Step 2020 In the process of determining that the user browses the target webpage, obtain the user's screen touch position on the display screen of the target webpage according to the set interval duration.
  • the webpage touch position is the touch position with the target webpage when the user slides on the screen.
  • the display screen may not display all the target webpage content.
  • the user needs to switch the screen to browse the entire content of the target webpage through a sliding operation.
  • the current display content is the webpage content of the target webpage currently displayed on the display screen. According to the screen touch position of the user on the display screen of the target webpage and the current display content of the target webpage on the display screen, the touch position of the user with the target webpage, that is, the webpage touch position can be determined.
  • Step 2050 Calculate the residence time of the user for the partial page area in the target webpage according to at least one target partial page area and the operation association time matched with the sliding operation data.
  • acquiring at least one 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; according to the time of acquiring the sliding operation data from far to near In order, sequentially obtain one target sliding operation data from the multiple sliding operation data corresponding to the user, and use the webpage touch position of the target webpage corresponding to the target sliding operation data as the comparison webpage touch position; , The partial page area included between the acquired touch position of the comparison webpage and the reference webpage comparison position is used as the target partial page area associated with the target sliding operation data; in the target webpage corresponding to the target sliding operation data After the webpage touch position is determined as the new reference webpage comparison position, return to the execution to obtain a 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, And sliding the target corresponding to the target sliding operation data The webpage touch position of the webpage is used as the operation of comparing the webpage touch position until the processing of all the sliding operation data is completed.
  • the position of the first-page webpage content is the position of the first-page webpage content of the target webpage.
  • the user opens the landing page they will browse to the first page of the landing page. For example, the title of the landing page.
  • Step 3030 Determine the webpage touch position matching the screen touch position according to the current display content of the target webpage on the display screen, and use the determined webpage touch position as the sliding operation data, where the target webpage includes at least two partial page areas .
  • the target sliding operation data is the current sliding operation data.
  • the target sliding operation data When acquiring each sliding operation data generated in the process of the user browsing the target webpage, record the current time as the acquisition time corresponding to the sliding operation data.
  • Step 3060 In the target webpage, use the obtained partial page area 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.
  • a partial page area included between the touch position of the comparison webpage and the reference webpage comparison position is obtained, that is, the touch position of the comparison webpage and the first line webpage are obtained Partial page area included between content locations.
  • the position of the webpage content in the first line of this time is located in the partial page area 1
  • the touch position of the comparison webpage is located in the partial page area 3.
  • the reference webpage comparison position is located in the local page area 1
  • the local page areas included between the touch position of the comparison webpage and the reference webpage comparison position are the local page area 1, the local page area 2, and the local 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 3080 Calculate the residence time of the user for the partial page area in the target webpage according to at least one target partial page area and the operation association time matched with the sliding operation data.
  • FIG. 4 is a flowchart of still another method for processing webpage operation data according to an embodiment of the present disclosure.
  • This embodiment can be combined with one or alternative solutions in one or more of the above embodiments.
  • to calculate the user's residence time for the partial page area in the target webpage including: according to the obtained target partial page area associated with each sliding operation data, statistics The number of acquisitions corresponding to each partial page area 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 each partial page area and the operation association duration is taken as the user ’s The residence time of each partial page area in the target webpage.
  • Step 4030 In the target webpage, obtain at least one target partial page area associated with the sliding operation data.
  • the interval duration is set to a preset duration. For example, set the interval to 1 second.
  • the number of acquisitions corresponding to multiple partial page regions in the target webpage is counted: the number of acquisitions of the partial page region 1 is one; the number of acquisitions of the partial page region 2 is three; the number of acquisitions of the partial page region 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 residence time of the partial page area 3 is 2 seconds.
  • the number of acquisitions corresponding to each partial page area in the target webpage is counted according to the target partial page area associated with each sliding operation data, and then the set interval duration is used as the sliding operation
  • the operation association duration of data matching, the product of the number of acquisitions of each partial page area and the operation association duration is used as the user's residence time for the partial page area in the target webpage, and the partial page associated with the user's sliding operation data can be determined in real time
  • the area can also calculate the user's residence time for each partial page area in the webpage as the user's attention distribution data.
  • FIG. 5 is a flowchart of a method for processing webpage operation data according to an embodiment of the present disclosure. This embodiment may be combined with one or more optional solutions in one or more embodiments described above.
  • obtaining the user ’s screen touch position on the target webpage ’s display screen at the set interval duration may include: recording the user ’s access time when it is detected that the user opens the target webpage; The time obtains the screen touch position of the user on the display screen of the target webpage according to the set interval duration.
  • the method further includes: determining the user's target according to the access time Whether the dwell time of the target webpage reaches the preset correction time; after determining that the preset correction time is reached, the sliding operation data generated during the process of browsing the target webpage by the user is obtained according to the user's access session identifier; the user is calculated according to the sliding operation data Corrected stay time for the local page area in the target web page; replace the stay time with the corrected stay time.
  • the method may include steps 5010 to 5090.
  • Step 5010 When it is detected that the user opens the target webpage, record the user's access time.
  • the access time is the time when the user opens the target webpage.
  • the interval duration is set to a preset duration. For example, set the interval to 1 second.
  • the access time as the starting time node, the user's sliding operation is monitored, and the user's screen touch position under the display screen of the target web page is obtained every 1 second.
  • 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, and use the determined webpage touch position as the sliding operation data, wherein the target webpage includes at least two partial page areas .
  • Step 5040 In the target webpage, obtain at least one target partial page area associated with the sliding operation data.
  • Step 5050 Calculate the residence time of the user for the partial page area in the target webpage according to at least one target partial page area and the operation association time matched with the sliding operation data.
  • Step 5060 Determine whether the user's stay time for the target webpage reaches the preset correction time according to the access time.
  • the user's residence time for the partial page area in the target webpage perform offline correction, that is, after the preset correction time is reached, after obtaining the sliding operation data generated during the process of the user browsing the target webpage, the user's residence time for the partial page area in the target webpage is recalculated.
  • the preset correction time is a preset time node.
  • the preset correction time corresponding to the user's current access process can be determined according to the access time and the preset interval duration, and then it is determined whether the current time reaches the preset correction time. For example, if the access time is 9 o'clock and the preset interval is 1 hour, the preset correction time corresponding to the user's current access process is 10 o'clock, and it is determined whether the current time reaches 10 o'clock.
  • Step 5070 After determining that the preset correction time is reached, obtain the sliding operation data generated during the user browsing the target webpage according to the user's access session identifier.
  • the process of a user browsing a target webpage has a unique corresponding user access session identifier. After determining that the preset correction time is reached, the sliding operation data generated during the process of the corresponding user browsing the target webpage can be obtained according to the user's access session identifier.
  • the calculation is performed again according to the same calculation rule: in the target webpage, at least one target partial page area associated with the sliding operation data is acquired. Then, based on the target partial page area and the operation association time matched with the sliding operation data, the user's stay time for the partial page area in the target webpage, that is, the corrected stay time, is calculated.
  • Step 5090 Replace the dwell time with the modified dwell time.
  • the previously calculated stay time for the partial page area in the target web page is replaced with the corrected stay time obtained by performing another calculation.
  • the user's access time is recorded, and the user's screen touch position under the display screen of the target webpage is obtained according to the access time according to the set interval duration, and determined according to the access time
  • the user determines whether the dwell time of the target webpage reaches the preset correction time, and after determining that the preset correction time is reached, obtains the sliding operation data generated during the user browsing the target webpage according to the user's access session identifier, and calculates the user Correct the dwell time for the local page area in the target webpage, and then replace the dwell time with the modified dwell time.
  • the user's screen touch position can be obtained regularly after the user opens the target webpage, and the user can also target the partial page in the target webpage.
  • the residence time of the area is corrected offline to improve the accuracy and reliability of the user's attention distribution data.
  • FIG. 6 is a schematic structural diagram of a device for processing webpage operation data according to an embodiment of the present disclosure. This embodiment can be applied to the case of processing webpage operation data.
  • 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 data acquisition module 601, an area acquisition module 602, and a time calculation module 603.
  • the data acquisition module 601 is configured to acquire the sliding operation data generated during the user browsing the target webpage.
  • the target webpage includes at least two partial page areas; the area acquisition module 602, Set to obtain at least one target partial page area associated with the sliding operation data in the target webpage; the time calculation module 603 is set to calculate the user's target based on the at least one target partial page area and the operation association duration matching the sliding operation data The residence time of the partial page area in the target webpage.
  • the target webpage includes at least two partial page areas, and in the target webpage, acquiring and sliding operations At least one target partial page area associated with the data, according to the target partial page area and the operation association duration matched with the sliding operation data, the user's residence time for the partial page area in the target web page is calculated, solving no effective measures in the related technology
  • the problem of user attention distribution data can be obtained in real time according to the interaction data of each user with the product display page, and the user's residence time for each partial page area in the web page can be determined in real time according to the user's webpage operation data, as the user attention distribution data.
  • the data acquisition module 601 may include: a location acquisition unit configured to acquire the user ’s information on the display screen of the target webpage at a set interval in the process of determining the user ’s target webpage browsing Screen touch position; the data determination unit is set to determine the webpage touch position matching the screen touch position according to the current display content of the target webpage on the display screen, and use the determined webpage touch position as the slide operation data.
  • a first position determining unit configured to determine the content position of the first line of the webpage in the target webpage when it is detected that the user opens the target webpage
  • the area acquisition module 602 may include: a second position determination unit configured to determine the position of the first-line webpage content as the reference webpage comparison position; a data acquisition unit configured to sequentially acquire the sliding operation data in the order from farthest to nearest Obtain a target sliding operation data from the multiple sliding operation data corresponding to the user, and use the webpage touch position of the target webpage corresponding to the target sliding operation data as the comparison webpage touch position;
  • the area acquisition unit is set to the target webpage ,
  • the partial page area included between the acquired touch position of the comparison webpage and the reference webpage comparison position is used as the target partial page area associated with the target sliding operation data;
  • the third position determining unit is set to The webpage touch position of the target webpage corresponding to the data is determined as the new base After comparing the positions of the webpages, go back and execute, according to the sequence of the time of
  • the time calculation module 603 may include: a frequency counting unit configured to count each part of the target webpage according to the acquired target partial page area associated with each sliding operation data The number of acquisitions corresponding to the page area; the time calculation unit is set to use the set interval duration as the operation association duration that matches the slide operation data, and the product of the number of acquisitions for each partial page area and the operation association duration as the user's target The residence time of each partial page area in.
  • 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.
  • the location acquisition unit may include: a time recording subunit, which is set to record the user's access time when it is detected that the user opens the target webpage; and a location acquisition subunit, which is set to be based on the access time Acquire the screen touch position of the user on the display screen of the target webpage according to the set interval duration.
  • it may further include: a time judgment module, configured to determine whether the user's stay time for the target webpage reaches a preset correction time according to the access time; an operation data acquisition module, set In order to obtain the sliding operation data generated during the user's browsing of the target webpage according to the user's access session identifier after determining that the preset correction time has been reached; the correction time calculation module is set to calculate the user's partial response to the target webpage based on the sliding operation data Corrected dwell time in the page area; time replacement module, set to replace dwell time with modified dwell time.
  • the apparatus for processing webpage operation data provided by the embodiments of the present disclosure can execute the method for processing webpage operation data provided by the embodiments of the present disclosure, and has functional modules and effects corresponding to the execution method.
  • FIG. 7 shows a schematic structural diagram of an electronic device (eg, terminal device or server) 700 suitable for implementing the embodiments of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include 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 car navigation terminals), and fixed terminals such as digital TVs, desktop computers, and so on.
  • PDA Personal Digital Assistant
  • PMP portable multimedia players
  • mobile terminals such as in-vehicle terminals (such as car navigation terminals)
  • fixed terminals such as digital TVs, desktop computers, and so on.
  • the electronic device shown in FIG. 7 is only an example, and should not bring limitations on the functions and use scope of the embodiments of the present disclosure.
  • the electronic device 700 may include a processing device (such as a central processing unit, a graphics processor, etc.) 701, and the processing device 701 may be based on a program stored in a read-only memory (Read-only Memory, ROM) 702 or from The storage device 708 loads the program in the random access memory (Random Access Memory, RAM) 703 to perform one or more appropriate actions and processes. In the RAM 703, one or more programs and data necessary for the operation of the electronic device 700 are also stored.
  • the processing device 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
  • An input / output (I / O) interface 705 is also connected to the bus 704.
  • the following devices can be connected to the I / O interface 705: including input devices 706 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc .; including, for example, liquid crystal displays (Liquid Crystal Display, LCD) , An output device 707 of a speaker, a vibrator, etc .; a storage device 708 including, for example, a magnetic tape, a hard disk, etc .; and a communication device 709.
  • the communication device 709 may allow the electronic device 700 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 7 shows an electronic device 700 having one or more devices, it is not required to implement or have all the devices shown.
  • the present disclosure may alternatively be implemented or equipped with more or fewer devices.
  • 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 709, or from the storage device 708, or from the ROM 702.
  • the processing device 701 the above function in the method of the embodiment of the present disclosure is executed.
  • the above-mentioned computer-readable medium of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or a 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 a combination of the above.
  • Examples of computer-readable storage media may include: electrical connection with one or more wires, portable computer disk, hard disk, 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 electromagnetic signals, optical signals, or a 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: electric wires, optical cables, radio frequency (Radio Frequency, RF), etc., or a combination thereof.
  • 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, and when the one or more programs are executed by the electronic device, the electronic device is caused to: obtain the sliding operation data generated during the process of the user browsing the target webpage, where the target The webpage includes at least two partial page areas; in the target webpage, at least one target partial page area associated with the sliding operation data is obtained; based on the at least one target partial page area and the operation association duration matched with the sliding operation data, the user is calculated The residence time for the local page area in the target webpage.
  • 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 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, which contains one or more executable instructions for implementing a specified 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 to the module or unit itself under certain circumstances.
  • the data acquisition module can also be described as “acquiring the data of the sliding operation generated during the process of the user browsing the target webpage "Module”
  • the location acquiring unit can also be described as "a unit that acquires the user's screen touch position under the display screen of the target webpage according to the set interval duration in the process of determining the user's browsing the target webpage”.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Game Theory and Decision Science (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided are a method and device for processing webpage operation data, an electronic apparatus, and a storage medium. The method comprises: acquiring slide operation data generated when a user is browsing a target webpage, wherein the target webpage comprises at least two sub-page regions (110); acquiring, from the target webpage, at least one target sub-page region associated with the slide operation data (120); and performing, according to the at least one target sub-page region and an associated operation duration matching the slide operation data, computation to obtain a duration in which the user remains at the sub-page region of the target webpage (130).

Description

网页操作数据的处理方法、装置、电子设备及存储介质Method, device, electronic device and storage medium for processing webpage operation data
本申请要求在2018年10月19日提交中国专利局、申请号为201811222087.1的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application filed on October 19, 2018, with the application number 201811222087.1, and the entire contents of this application are incorporated by reference in this application.
技术领域Technical field
本公开实施例涉及网页操作数据处理技术,例如涉及一种网页操作数据的处理方法、装置、电子设备及存储介质。Embodiments of the present disclosure relate to webpage operation data processing technology, for example, to a method, device, electronic device, and storage medium for processing webpage operation data.
背景技术Background technique
商品展示页面是当用户点击社交媒体发布的商品相关信息或者利用搜索引擎搜索商品相关信息后,打开给用户看的网页。一般商品展示页面会显示和商品相关的扩展内容。The product display page is a web page that is opened to the user 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. There is no effective measure in the related art to obtain user attention distribution data in real time according to the interaction data between each user and the product display page.
发明内容Summary of the invention
本公开提供一种网页操作数据的处理方法、装置、电子设备及存储介质,以实现实时根据每一个用户与网页进行交互时的网页操作数据得到用户注意力分布数据。The present disclosure provides a method, device, electronic device, and storage medium for processing webpage operation data, so as to achieve real-time user attention distribution data according to webpage operation data when each user interacts with the webpage.
在一实施例中,本公开实施例提供了一种网页操作数据的处理方法,包括:In an embodiment, an embodiment of the present disclosure provides a method for processing webpage operation data, including:
获取在用户浏览目标网页的过程中生成的滑动操作数据,其中,目标网页中包括至少两个局部页面区域;Acquiring sliding operation data generated during the process of the user browsing the target webpage, where the target webpage includes at least two partial page areas;
在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域;In the target webpage, obtain at least one target partial page area associated with the sliding operation data;
根据至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间。Based on at least one target partial page area and the operation association duration matched with the sliding operation data, the residence time of the user for the partial page area in the target web page is calculated.
在一实施例中,本公开实施例还提供了一种网页操作数据的处理装置,包括:In an embodiment, an embodiment of the present disclosure further provides a device for processing webpage operation data, including:
数据获取模块,设置为获取在用户浏览目标网页的过程中生成的滑动操作数据,其中,目标网页中包括至少两个局部页面区域;The data acquisition module is configured to acquire the sliding operation data generated during the process of the user browsing the target webpage, wherein the target webpage includes at least two partial page areas;
区域获取模块,设置为在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域;An area obtaining module, configured to obtain at least one target partial page area associated with the sliding operation data in the target web page;
时间计算模块,设置为根据至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间。The time calculation module is configured to calculate the residence time of the user with respect to the partial page area in the target webpage based on at least one target partial page area and the operation association duration matched with the sliding operation data.
在一实施例中,本公开实施例还提供了一种电子设备,包括:In an embodiment, an embodiment of the present disclosure also provides an electronic device, including:
一个或多个处理器;One or more processors;
存储装置,设置为存储一个或多个程序,Storage device, configured to store one or more programs,
一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如本公开实施例所述的方法。One or more programs are executed by one or more processors, so that the one or more processors implement the method as described in the embodiments of the present disclosure.
在一实施例中,本公开实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现如本公开实施例所述的方法。In an embodiment, an embodiment of the present disclosure also provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, it is implemented as described in the embodiment of the present disclosure method.
附图说明BRIEF DESCRIPTION
图1为本公开实施例提供的一种网页操作数据的处理方法的流程图;1 is a flowchart of a method for processing webpage operation data according to an embodiment of the present disclosure;
图2为本公开实施例提供的另一种网页操作数据的处理方法的流程图;2 is a flowchart of another method for processing webpage operation data according to an embodiment of the present disclosure;
图3为本公开实施例提供的又一种网页操作数据的处理方法的流程图;3 is a flowchart of still another method for processing webpage operation data according to an embodiment of the present disclosure;
图4为本公开实施例提供的再一种网页操作数据的处理方法的流程图;4 is a flowchart of still another method for processing webpage operation data according to an embodiment of the present disclosure;
图5为本公开实施例提供的还一种网页操作数据的处理方法的流程图;5 is a flowchart of still another method for processing webpage operation data according to an embodiment of the present disclosure;
图6为本公开实施例提供的一种网页操作数据的处理装置的结构示意图;6 is a schematic structural diagram of an apparatus for processing webpage operation data according to an embodiment of the present disclosure;
图7为本公开实施例提供的一种电子设备的结构示意图。7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
下面结合附图和实施例对本公开进行说明。此处所描述的实施例仅仅用于解释本公开,而非对本公开的限定。为了便于描述,附图中仅示出了与本公开相关的部分而非全部结构。The disclosure will be described below with reference to the drawings and embodiments. The embodiments described herein are only for explaining the present disclosure, but not for limiting the present disclosure. For ease of description, only some parts but not all structures related to the present disclosure are shown in the drawings.
实施例一Example one
图1为本公开实施例提供的一种网页操作数据的处理方法的流程图,本实施例可适用于对网页操作数据进行处理的情况,该方法可以由网页操作数据的处 理装置来执行,该装置可以采用软件和/或硬件的方式实现,该装置可以配置于电子设备,例如,终端设备或服务器中。如图1所示,该方法可以包括步骤110至步骤130。FIG. 1 is a flowchart of a method for processing webpage operation data according to an embodiment of the present disclosure. This embodiment can be applied to the case of processing webpage operation data. The method can be executed by a webpage operation data processing device. The device may be implemented in software and / or hardware, and the device may be configured in an electronic device, for example, a terminal device or a server. As shown in FIG. 1, the method may include steps 110 to 130.
步骤110、获取在用户浏览目标网页的过程中生成的滑动操作数据,其中,目标网页中包括至少两个局部页面区域。Step 110: Acquire sliding operation data generated during a user browsing a target webpage, where the target webpage includes at least two partial page areas.
在一实施例中,目标网页为用户可以访问并浏览的网页。例如,目标网页可以为当用户点击社交媒体发布的商品相关信息或者利用搜索引擎搜索商品相关信息后,打开给用户看的网页。目标网页中包括至少两个局部页面区域。局部页面区域为根据预设方式对目标网页进行划分和标号后,得到的页面区域。例如,在竖直方向上将目标网页等分成1000个局部页面区域,并从上到下依次标上序号。In one embodiment, the target webpage is a webpage that the user can access and browse. For example, the target webpage may be a webpage opened to the user after the user clicks on product-related information published by social media or uses a search engine to search for 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.
在用户浏览目标网页的过程中,对用户的滑动操作进行监测,获取在用户浏览目标网页的过程中生成的滑动操作数据。滑动操作可以为用户通过移动手指或触摸笔在移动终端的屏幕上滑动的行为,还可以为用户利用鼠标的滑动来控制电脑(Personal Computer,PC)端的屏幕切换的行为。滑动操作数据可以包括用户在目标网页的网页触摸位置。网页触摸位置是用户在屏幕上滑动时,与目标网页的触摸位置。In the process of the user browsing the target webpage, the user's sliding operation is monitored to obtain the sliding operation data generated during the user's browsing the target webpage. 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 on the target web page. The webpage touch position is the touch position with the target webpage when the user slides on the screen.
在一实施例中,可以在确定用户浏览目标网页的过程中,按照设定间隔时长获取在用户浏览目标网页的过程中生成的滑动操作数据。In an embodiment, in the process of determining that the user browses the target webpage, the sliding operation data generated during the user browsing the target webpage may be acquired according to the set interval duration.
在一实施例中,可以在检测到用户有滑动操作时,获取生成的滑动操作数据。In an embodiment, when it is detected that the user has a sliding operation, the generated sliding operation data may be acquired.
步骤120、在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域。Step 120: In the target webpage, obtain at least one target partial page area associated with the sliding operation data.
在一实施例中,根据目标网页的首行网页内容位置,以及用户在本次访问过程中的全部滑动操作数据确定与滑动操作数据关联的至少一个目标局部页面区域。首行网页内容位置是目标网页的首行网页内容的位置。一般用户打开目标网页时,会浏览到目标网页的首行网页内容。例如,目标网页的标题。In an embodiment, at least one target partial page area associated with the sliding operation data is determined according to the content of the first line of the target webpage and the user's all sliding operation data during the current visit. The first page content position is the location of the first page content of the target page. When 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.
在一实施例中,基准网页比对位置为当前滑动操作数据对应的上一个滑动操作数据。在首次对滑动操作数据进行处理时,将首行网页内容位置确定为基 准网页比对位置。按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置。将获取的比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,即为获取比对网页触摸位置与首行网页内容位置之间包括的局部页面区域,作为与目标滑动操作数据关联的目标局部页面区域。在确定与目标滑动操作数据关联的目标局部页面区域后,将目标滑动操作数据确定为新的基准网页比对位置。返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个新的目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置的操作,在目标网页中,获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与新的目标滑动操作数据关联的目标局部页面区域,直至完成对全部滑动操作数据的处理,确定与每一个滑动操作数据关联的目标局部页面区域。In an embodiment, the reference webpage comparison position is the last slide operation data corresponding to the current slide operation data. When processing the sliding operation data for the first time, the position of the first-line webpage content is determined as the reference webpage comparison position. Acquire a target sliding operation data from a plurality of sliding operation data corresponding to the user according to the order of obtaining the sliding operation data from the farthest to the nearest, and the target webpage corresponding to the target sliding operation data The touch position is used as a comparison webpage touch position. The partial page area included between the acquired touch position of the comparison webpage and the reference webpage comparison position is the partial page area included between the acquisition touch position of the comparison webpage and the content position of the first-line webpage, as the sliding operation data with the target The associated target partial page area. After determining 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. Return to execute a new target sliding operation data from a plurality of sliding operation data corresponding to the user according to the order from far to near of the sliding operation data acquisition time, and the corresponding to the target sliding operation data The webpage touch position of the target webpage is used as the operation of comparing the webpage touch position. 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 data associated with the new target sliding operation data The target partial page area until the processing of all the sliding operation data is completed, and the target partial page area associated with each sliding operation data is determined.
例如,在首次对滑动操作数据进行处理时,本次首行网页内容位置位于局部页面区域1,比对网页触摸位置位于局部页面区域3。即基准网页比对位置位于局部页面区域1,比对网页触摸位置与基准网页比对位置之间包括的局部页面区域为局部页面区域1、局部页面区域2以及局部页面区域3。将局部页面区域1、局部页面区域2以及局部页面区域3作为与目标滑动操作数据关联的目标局部页面区域。然后将目标滑动操作数据对应的目标网页的网页触摸位置确定为新的基准网页比对位置,即新的基准网页比对位置为局部页面区域3。按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置。新的比对网页触摸位置为局部页面区域4,比对网页触摸位置与基准网页比对位置之间包括的局部页面区域为局部页面区域3以及局部页面区域4。将局部页面区域3以及局部页面区域4作为与新的目标滑动操作数据关联的目标局部页面区域。For example, when the sliding operation data is processed for the first time, the content position of the webpage in the first row is located in the partial page area 1, and the touch position of the comparison webpage is located in the partial page area 3. That is, the reference webpage comparison position is located in the local page area 1, and the local page areas included between the touch position of the comparison webpage and the reference webpage comparison position are the local page area 1, the local page area 2, and the local 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 webpage touch position of the target webpage corresponding to 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. Acquire a target sliding operation data from a plurality of sliding operation data corresponding to the user according to the order of obtaining the sliding operation data from the farthest to the nearest, and the target webpage corresponding to the target sliding operation data The touch position is used as a comparison webpage touch position. The new comparison webpage touch position is the partial page area 4, and the partial page areas included between the comparison webpage touch position and the reference webpage comparison position are the partial page area 3 and the 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.
步骤130、根据至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间。Step 130: Calculate the residence time of the user for the partial page area in the target webpage according to at least one target partial page area and the operation association time matched with the sliding operation data.
在一实施例中,完成对全部滑动操作数据的处理后,根据与滑动操作数据关联的至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长, 计算用户针对目标网页中的局部页面区域的停留时间。In one embodiment, after processing 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's partial page in the target web page is calculated The residence time of the area.
在一实施例中,将设定间隔时长作为与滑动操作数据匹配的操作关联时长。在一实施例中,根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的每个局部页面区域对应的获取次数,然后将每个局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的每个局部页面区域的停留时间。例如,目标网页中包括局部页面区域1、局部页面区域2以及局部页面区域3。统计与目标网页中的每个局部页面区域对应的获取次数。局部页面区域1的获取次数为1。局部页面区域2的获取次数为5。局部页面区域3的获取次数为4。设定间隔时长为1秒。将每个局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的每个局部页面区域的停留时间。即局部页面区域1的停留时间为1秒,局部页面区域2的停留时间为5秒,局部页面区域3的停留时间为4秒。In one embodiment, the set interval duration is used as the operation association duration matched with the sliding operation data. In one embodiment, according to the acquired target partial page area associated with each sliding operation data, the number of acquisitions corresponding to each partial page area in the target web page is counted, and then the number of acquisitions and operations of each partial page area The product of the association time is used as the residence time of the user for each partial page area in the target webpage. For example, the target webpage includes a partial page area 1, a partial page area 2, and a partial page area 3. Count the number of acquisitions corresponding to each partial page area in the target web page. The number of acquisitions of the partial page area 1 is 1. The number of acquisitions of the partial page area 2 is 5. The number of acquisitions of the partial page area 3 is 4. Set the interval to 1 second. 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 5 seconds, and the residence time of the partial page area 3 is 4 seconds.
在一实施例中,在用户有滑动操作时,在检测到用户有滑动操作时,获取生成的滑动操作数据,并检测从前一次滑动操作到本次滑动操作时的持续时长,将该持续时长作为与本次滑动操作的滑动操作数据匹配的操作关联时长。在一实施例中,根据获取的与每个滑动操作数据关联的目标局部页面区域,以及与每个滑动操作数据对应的操作关联时长,确定与目标网页中的每个局部页面区域对应的操作关联时长,然后对每个局部页面区域对应的操作关联时长进行累加,作为用户针对目标网页中的每个局部页面区域的停留时间。In an embodiment, when the user has a sliding operation, when it is detected that the user has a sliding operation, the generated sliding operation data is acquired, and the duration from the previous sliding operation to the current sliding operation is detected, and the duration is taken as The length of time associated with the operation that matches the slide operation data for this slide operation. In an embodiment, the operation association corresponding to each partial page area in the target webpage is determined according to the acquired target partial page area associated with each slide operation data and the operation association duration corresponding to each slide operation data Duration, and then accumulate the operation associated duration corresponding to each partial page area as the user's residence time for each partial page area in the target webpage.
在一实施例中,计算用户针对目标网页中的局部页面区域的停留时间,可以理解为计算用户针对目标网页中的每个局部页面区域的停留时间,也可以理解为计算用户针对目标网页中的目标局部页面区域的停留时间,目标局部页面区域为目标网页中的全部或部分页面区域。In an embodiment, calculating the user's residence time for the partial page area in the target webpage can be understood as calculating the user's residence time for each partial page area in the target webpage, or can be understood as calculating the user's residence time for the target webpage The residence time of the target partial page area. The target partial page area is all or part of the page area in the target web page.
本实施例的技术方案,通过获取在用户浏览目标网页的过程中生成的滑动操作数据,其中,目标网页中包括至少两个局部页面区域,并在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域,然后根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间,解决了相关技术中没有有效的措施可以实时根据每一个用户与商品展示页面的交互数据得到用户注意力分布数据的问题,可以实时根据用户的网页操作数据确定用户针对网页中的每一个局部页面区域的停 留时间,作为用户注意力分布数据。In the technical solution of this embodiment, by acquiring the sliding operation data generated during the process of the user browsing the target webpage, the target webpage includes at least two partial page areas, and in the target webpage, at least at least two associated with the sliding operation data are acquired. A target partial page area, and 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 in the target web page is calculated, which solves that there is no effective measure in the related technology. Each user's interaction data with the product display page obtains the user's attention distribution data. The user's residence time for each partial page area in the webpage can be determined in real time according to the user's webpage operation data, as the user's attention distribution data.
实施例二Example 2
图2为本公开实施例提供的另一种网页操作数据的处理方法的流程图,本实施例可以与上述一个或者多个实施例中一个或多个可选方案结合,在本实施例中,获取在用户浏览目标网页的过程中生成的滑动操作数据,可以包括:在确定用户浏览目标网页的过程中,按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置;根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置,并将确定的网页触摸位置作为滑动操作数据。FIG. 2 is a flowchart of another method for processing webpage operation data according to an embodiment of the present disclosure. This embodiment may be combined with one or more optional solutions in one or more embodiments described above. In this embodiment, Obtaining the sliding operation data generated during the process of the user browsing the target webpage may include: in the process of determining the user browsing the target webpage, acquiring the user's screen touch position on the display screen of the target webpage at a set interval duration; The current display content on the display screen determines the webpage touch position matching the screen touch position, and uses the determined webpage touch position as the sliding operation data.
以及,可以还包括:根据预设方式对目标网页进行划分和标号,得到目标网页对应的至少两个局部页面区域。And, it may further include: dividing and labeling the target webpage according to a preset manner to obtain at least two partial page areas corresponding to the target webpage.
如图2所示,该方法可以包括步骤2010至步骤2050。As shown in FIG. 2, the method may include steps 2010 to 2050.
步骤2010、根据预设方式对目标网页进行划分和标号,得到目标网页对应的至少两个局部页面区域。Step 2010: Divide and label the target webpage according to a preset manner to obtain at least two partial page areas corresponding to the target webpage.
在一实施例中,局部页面区域为根据预设方式对目标网页进行划分和标号后,得到的页面区域。可选的,预设方式为在竖直方向上将目标网页等分成1000个局部页面区域,并从上到下依次标上序号1-1000。In an embodiment, the partial page area is a page area obtained after dividing and labeling the target webpage according to a preset manner. Optionally, the preset method is to divide the target webpage into 1000 partial page areas in the vertical direction, and sequentially mark the serial numbers 1-1000 from top to bottom.
步骤2020、在确定用户浏览目标网页的过程中,按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置。Step 2020: In the process of determining that the user browses the target webpage, obtain the user's screen touch position on the display screen of the target webpage according to the set interval duration.
在一实施例中,设定间隔时长为预先设置的时长。例如,设定间隔时长为1秒。在确定用户浏览目标网页的过程中,对用户的滑动操作进行监测,每隔1秒获取用户在目标网页的显示屏幕上的屏幕触摸位置。In an embodiment, the interval duration is set to a preset duration. For example, set the interval to 1 second. In the process of determining that the user browses the target webpage, the user's sliding operation is monitored, and the user's screen touch position on the display screen of the target webpage is obtained every 1 second.
步骤2030、根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置,并将确定的网页触摸位置作为滑动操作数据,其中,目标网页中包括至少两个局部页面区域。Step 2030: According to the current display content of the target webpage on the display screen, determine the webpage touch position matching the screen touch position, and use the determined webpage touch position as the sliding operation data, wherein the target webpage includes at least two partial page areas .
在一实施例中,网页触摸位置是用户在屏幕上滑动时,与目标网页的触摸位置。显示屏幕可能不能显示全部的目标网页内容。用户需要通过滑动操作切换屏幕浏览目标网页的全部内容。当前显示内容为当前显示在显示屏幕上的目 标网页的网页内容。根据用户在目标网页的显示屏幕上的屏幕触摸位置,以及目标网页在显示屏幕上的当前显示内容,可以确定用户与目标网页的触摸位置,即网页触摸位置。In one embodiment, the webpage touch position is the touch position with the target webpage when the user slides on the screen. The display screen may not display all the target webpage content. The user needs to switch the screen to browse the entire content of the target webpage through a sliding operation. The current display content is the webpage content of the target webpage currently displayed on the display screen. According to the screen touch position of the user on the display screen of the target webpage and the current display content of the target webpage on the display screen, the touch position of the user with the target webpage, that is, the webpage touch position can be determined.
步骤2040、在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域。Step 2040: In the target webpage, obtain at least one target partial page area associated with the sliding operation data.
步骤2050、根据至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间。Step 2050: Calculate the residence time of the user for the partial page area in the target webpage according to at least one target partial page area and the operation association time matched with the sliding operation data.
本实施例的技术方案,通过根据预设方式对目标网页进行划分和标号,得到目标网页对应的至少两个局部页面区域,并在确定用户浏览目标网页的过程中,按照设定间隔时长获取用户在目标网页的显示屏幕下的屏幕触摸位置;根据目标网页在显示屏幕下的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置,并将确定的网页触摸位置作为滑动操作数据,可以将目标网页划分成多个区域,可以实时根据用户的网页操作数据,确定用户在屏幕上滑动时与目标网页的触摸位置。The technical solution of this embodiment obtains at least two partial page areas corresponding to the target webpage by dividing and labeling the target webpage according to a preset method, and in the process of determining the user browsing the target webpage, the user is acquired according to the set interval duration The screen touch position under the display screen of the target webpage; according to the current display content of the target webpage under the display screen, determine the webpage touch position matching the screen touch position, and use the determined webpage touch position as the sliding operation data, the target can be The webpage is divided into multiple areas, and the touch position of the user with the target webpage when sliding on the screen can be determined according to the user's webpage operation data in real time.
实施例三Example Three
图3为本公开实施例提供的又一种网页操作数据的处理方法的流程图,本实施例可以与上述一个或者多个实施例中一个或者多个可选方案结合,在本实施例中,在确定用户浏览目标网页的过程中,按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置之前,可以还包括:在检测到用户打开目标网页的情况下,在目标网页中,确定首行网页内容位置。FIG. 3 is a flowchart of yet another method for processing webpage operation data according to an embodiment of the present disclosure. This embodiment may be combined with one or more optional solutions in one or more embodiments described above. In this embodiment, In the process of determining that the user browses the target webpage, before acquiring the user's screen touch position on the display screen of the target webpage according to the set interval duration, it may further include: when it is detected that the user opens the target webpage, Determine the location of the first line of web content.
以及,在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域,可以包括:将首行网页内容位置确定为基准网页比对位置;按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置;在目标网页中,将获取的比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与目标滑动操作数据关联的目标局部页面区域;在将目标滑动操作数据对应的所述目标网页的网页触摸位置确定为新的基准网页比对位置后,返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一 个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置的操作,直至完成对全部滑动操作数据的处理。And, in the target webpage, acquiring at least one 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; according to the time of acquiring the sliding operation data from far to near In order, sequentially obtain one target sliding operation data from the multiple sliding operation data corresponding to the user, and use the webpage touch position of the target webpage corresponding to the target sliding operation data as the comparison webpage touch position; , The partial page area included between the acquired touch position of the comparison webpage and the reference webpage comparison position is used as the target partial page area associated with the target sliding operation data; in the target webpage corresponding to the target sliding operation data After the webpage touch position is determined as the new reference webpage comparison position, return to the execution to obtain a 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, And sliding the target corresponding to the target sliding operation data The webpage touch position of the webpage is used as the operation of comparing the webpage touch position until the processing of all the sliding operation data is completed.
如图3所示,该方法可以包括步骤3010至步骤3080。As shown in FIG. 3, the method may include steps 3010 to 3080.
步骤3010、在检测到用户打开目标网页的情况下,在目标网页中,确定首行网页内容位置。Step 3010: In the case where it is detected that the user opens the target webpage, the target webpage content position is determined in the target webpage.
其中,首行网页内容位置是目标网页的首行网页内容的位置。用户打开目标网页时,会浏览到目标网页的首行网页内容。例如,目标网页的标题。Among them, the position of the first-page webpage content is the position of the first-page webpage content of the target webpage. When the user opens the landing page, they will browse to the first page of the landing page. For example, the title of the landing page.
步骤3020、在确定用户浏览目标网页的过程中,按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置。Step 3020: In the process of determining that the user browses the target webpage, obtain the user's screen touch position on the display screen of the target webpage according to the set interval duration.
步骤3030、根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置,并将确定的网页触摸位置作为滑动操作数据,其中,目标网页中包括至少两个局部页面区域。Step 3030: Determine the webpage touch position matching the screen touch position according to the current display content of the target webpage on the display screen, and use the determined webpage touch position as the sliding operation data, where the target webpage includes at least two partial page areas .
步骤3040、将首行网页内容位置确定为基准网页比对位置。Step 3040: Determine the position of the first-line webpage content as the reference webpage comparison position.
在一实施例中,基准网页比对位置为当前滑动操作数据对应的上一个滑动操作数据。在首次对滑动操作数据进行处理的情况下,将首行网页内容位置确定为基准网页比对位置。In an embodiment, the reference webpage comparison position is the last slide operation data corresponding to the current slide operation data. When the sliding operation data is processed for the first time, the position of the content of the first-line webpage is determined as the reference webpage comparison position.
步骤3050、按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置。Step 3050: Acquire a target sliding operation data from the multiple sliding operation data corresponding to the user according to the order from far to near of the sliding operation data acquisition time, and compare the target corresponding to the target sliding operation data The webpage touch position of the webpage is used as the comparison webpage touch position.
在一实施例中,目标滑动操作数据即为当前滑动操作数据。在获取在用户浏览目标网页的过程中生成的每一个滑动操作数据时,记录当前时间,作为滑动操作数据对应的获取时间。In an embodiment, the target sliding operation data is the current sliding operation data. When acquiring each sliding operation data generated in the process of the user browsing the target webpage, record the current time as the acquisition time corresponding to the sliding operation data.
步骤3060、在目标网页中,将获取的比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与目标滑动操作数据关联的目标局部页面区域。Step 3060: In the target webpage, use the obtained partial page area 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.
在一实施例中,在首次对滑动操作数据进行处理的情况下,获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,即为获取比对网页触摸位置与首行网页内容位置之间包括的局部页面区域。例如,在首次对滑动操 作数据进行处理时,本次首行网页内容位置位于局部页面区域1,比对网页触摸位置位于局部页面区域3。即基准网页比对位置位于局部页面区域1,比对网页触摸位置与基准网页比对位置之间包括的局部页面区域为局部页面区域1、局部页面区域2以及局部页面区域3。将局部页面区域1、局部页面区域2以及局部页面区域3作为与目标滑动操作数据关联的目标局部页面区域。In an embodiment, when the sliding operation data is processed for the first time, a partial page area included between the touch position of the comparison webpage and the reference webpage comparison position is obtained, that is, the touch position of the comparison webpage and the first line webpage are obtained Partial page area included between content locations. For example, when the sliding operation data is processed for the first time, the position of the webpage content in the first line of this time is located in the partial page area 1, and the touch position of the comparison webpage is located in the partial page area 3. That is, the reference webpage comparison position is located in the local page area 1, and the local page areas included between the touch position of the comparison webpage and the reference webpage comparison position are the local page area 1, the local page area 2, and the local 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.
步骤3070、在将目标滑动操作数据对应的所述目标网页的网页触摸位置确定为新的基准网页比对位置后,返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置的操作,直至完成对全部滑动操作数据的处理。Step 3070: After determining the webpage touch position of the target webpage corresponding to the target sliding operation data as the new reference webpage comparison position, return to the execution in the order from farthest to nearest in the time of acquiring the sliding operation data, and then from the Obtain a target sliding operation data from the multiple sliding operation data corresponding to the user, and use the webpage touch position of the target webpage corresponding to the target sliding operation data as the operation of comparing the webpage touch position until all the sliding operation data is completed Treatment.
在一实施例中,确定与目标滑动操作数据关联的目标局部页面区域后,将目标滑动操作数据确定为新的基准网页比对位置。返回执行按照滑动操作数据的获取时间从远到近的顺序,依次获取一个新的目标滑动操作数据作为比对网页触摸位置的操作,在目标网页中,获取比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与新的目标滑动操作数据关联的目标局部页面区域,直至完成对全部滑动操作数据的处理,确定与每一个滑动操作数据关联的目标局部页面区域。In an embodiment, after determining the target partial page area associated with the target sliding operation data, the target sliding operation data is determined as a new reference webpage comparison position. Return to perform the operation of obtaining a new target sliding operation data as the operation of comparing the touch position of the webpage according to the order from the time of obtaining the sliding operation data from the farthest to the nearest. The partial page area included between the positions serves as the target partial page area associated with the new target sliding operation data until all the slide operation data is processed, and the target partial page area associated with each sliding operation data is determined.
步骤3080、根据至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间。Step 3080: Calculate the residence time of the user for the partial page area in the target webpage according to at least one target partial page area and the operation association time matched with the sliding operation data.
本实施例的技术方案,通过将首行网页内容位置确定为基准网页比对位置,按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置,在目标网页中,将获取的比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与目标滑动操作数据关联的目标局部页面区域,并在将目标滑动操作数据对应的所述目标网页的网页触摸位置确定为新的基准网页比对位置后,返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置的操作,直至完成对全部滑动操作数据的处理,可以实时根据用户的网页操作数据,确定用户在屏幕上滑动时 与用户的滑动操作对应的目标网页的每一个局部页面区域。In the technical solution of this embodiment, by determining the position of the first-page webpage content as the reference webpage comparison position, in accordance with the order of the time of acquiring the sliding operation data from far to near, it is sequentially obtained from the multiple sliding operation data corresponding to the user A target sliding operation data, and use the webpage touch position of the target webpage corresponding to the target sliding operation data as the comparison webpage touch position, and in the target webpage, compare the obtained comparison webpage touch position with the reference webpage comparison position The partial page area included in between is used as the target partial page area associated with the target sliding operation data, and after determining the webpage touch position of the target webpage corresponding to the target sliding operation data as the new reference webpage comparison position, returns Executing, in order from the time of acquiring the sliding operation data from far to near, sequentially acquiring one target sliding operation data from a plurality of sliding operation data corresponding to the user, and matching the target webpage corresponding to the target sliding operation data Webpage touch position as an operation to compare webpage touch position until completion Sliding operation processing of all the data in real time based on the pages the user operation data, each partial area of the page to determine the user's slide operation corresponding target web page on the screen when the user slides.
实施例四Example 4
图4为本公开实施例提供的再一种网页操作数据的处理方法的流程图,本实施例可以与上述一个或者多个实施例中一个或者可选方案结合,在本实施例中,根据至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间,包括:根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的每个局部页面区域对应的获取次数;将设定间隔时长作为与滑动操作数据匹配的操作关联时长,将每个局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的每个局部页面区域的停留时间。FIG. 4 is a flowchart of still another method for processing webpage operation data according to an embodiment of the present disclosure. This embodiment can be combined with one or alternative solutions in one or more of the above embodiments. In this embodiment, according to at least A target partial page area, and the operation association duration matched with the sliding operation data, to calculate the user's residence time for the partial page area in the target webpage, including: according to the obtained target partial page area associated with each sliding operation data, statistics The number of acquisitions corresponding to each partial page area 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 each partial page area and the operation association duration is taken as the user ’s The residence time of each partial page area in the target webpage.
如图4所示,该方法可以包括步骤4010至步骤4050。As shown in FIG. 4, the method may include steps 4010 to 4050.
步骤4010、在确定用户浏览目标网页的过程中,按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置。Step 4010: In the process of determining that the user browses the target webpage, obtain the user's screen touch position on the display screen of the target webpage according to the set interval duration.
步骤4020、根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置,并将确定的网页触摸位置作为滑动操作数据,其中,目标网页中包括至少两个局部页面区域。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, and use the determined webpage touch position as the sliding operation data, wherein the target webpage includes at least two partial page areas .
步骤4030、在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域。Step 4030: In the target webpage, obtain at least one target partial page area associated with the sliding operation data.
步骤4040、根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的每个局部页面区域对应的获取次数。Step 4040: According to the obtained target partial page area associated with each sliding operation data, count the number of acquisitions corresponding to each partial page area in the target webpage.
在一实施例中,获取与每个滑动操作数据关联的至少一个目标局部页面区域后,统计与目标网页中的每个局部页面区域对应的获取次数。获取次数是局部页面区域与滑动操作数据关联的次数。In an embodiment, after acquiring at least one target partial page area associated with each sliding operation data, the number of acquisitions corresponding to each partial page area in the target web page is counted. The number of acquisitions is the number of times the partial page area is associated with the sliding operation data.
例如,一共获取了3个滑动操作数据。与第1个滑动操作数据关联的目标局部页面区域为:局部页面区域1以及局部页面区域2。与第2个滑动操作数据关联的目标局部页面为:区域局部页面区域2以及局部页面区域3。与第3个滑动操作数据关联的目标局部页面区域为:局部页面区域2以及局部页面区域3。统计与目标网页中的每个局部页面区域对应的获取次数:局部页面区域1的获取次数为1次;局部页面区域2的获取次数为3次;局部页面区域3的获取次数为2次。For example, a total of 3 sliding operation data were acquired. 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.
步骤4050、将设定间隔时长作为与滑动操作数据匹配的操作关联时长,将每个局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的每个局部页面区域的停留时间。 Step 4050, the set interval duration is used as the operation association duration matching the sliding operation data, and the product of the number of acquisitions of each partial page area and the operation association duration is used as the user's residence time for each partial page area in the target webpage .
在一实施例中,设定间隔时长为预先设置的时长。例如,设定间隔时长为1秒。统计与目标网页中的多个局部页面区域分别对应的获取次数:局部页面区域1的获取次数为1次;局部页面区域2的获取次数为3次;局部页面区域3的获取次数为2次。将每个局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的每个局部页面区域的停留时间。即局部页面区域1的停留时间为1秒,局部页面区域2的停留时间为3秒,局部页面区域3的停留时间为2秒。In an embodiment, the interval duration is set to a preset duration. For example, set the interval to 1 second. The number of acquisitions corresponding to multiple partial page regions in the target webpage is counted: the number of acquisitions of the partial page region 1 is one; the number of acquisitions of the partial page region 2 is three; the number of acquisitions of the partial page region 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 residence time of the partial page area 3 is 2 seconds.
本实施例的技术方案,通过根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的每个局部页面区域对应的获取次数,然后将设定间隔时长作为与滑动操作数据匹配的操作关联时长,将每个局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的局部页面区域的停留时间,可以实时确定与用户的滑动操作数据关联的局部页面区域,还可以计算用户针对网页中的每一个局部页面区域的停留时间,作为用户注意力分布数据。In the technical solution of this embodiment, the number of acquisitions corresponding to each partial page area in the target webpage is counted according to the target partial page area associated with each sliding operation data, and then the set interval duration is used as the sliding operation The operation association duration of data matching, the product of the number of acquisitions of each partial page area and the operation association duration is used as the user's residence time for the partial page area in the target webpage, and the partial page associated with the user's sliding operation data can be determined in real time The area can also calculate the user's residence time for each partial page area in the webpage as the user's attention distribution data.
实施例五Example 5
图5为本公开实施例提供的还一种网页操作数据的处理方法的流程图,本实施例可以与上述一个或者多个实施例中的一个或多个可选方案结合,在本实施例中,在确定用户浏览目标网页的过程中,按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置,可以包括:在检测到用户打开目标网页时,记录用户的访问时间;根据访问时间按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置。FIG. 5 is a flowchart of a method for processing webpage operation data according to an embodiment of the present disclosure. This embodiment may be combined with one or more optional solutions in one or more embodiments described above. In this embodiment , In the process of determining the user ’s target webpage, obtaining the user ’s screen touch position on the target webpage ’s display screen at the set interval duration may include: recording the user ’s access time when it is detected that the user opens the target webpage; The time obtains the screen touch position of the user on the display screen of the target webpage according to the set interval duration.
以及,在根据至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的每个局部页面区域的停留时间之后,还包括:根据访问时间确定所述用户针对所述目标网页的停留时间是否到达预设修正时间;在确定到达预设修正时间后,根据用户的访问会话标识获取在用户浏览目标网页的过程中生成的滑动操作数据;根据滑动操作数据计算用户针对目标网页中的局部页面区域的修正停留时间;用修正停留时间替换停留时间。And, after calculating the residence time of the user for each partial page area in the target webpage according to at least one target partial page area and the operation association duration matched with the sliding operation data, the method further includes: determining the user's target according to the access time Whether the dwell time of the target webpage reaches the preset correction time; after determining that the preset correction time is reached, the sliding operation data generated during the process of browsing the target webpage by the user is obtained according to the user's access session identifier; the user is calculated according to the sliding operation data Corrected stay time for the local page area in the target web page; replace the stay time with the corrected stay time.
如图5所示,该方法可以包括步骤5010至步骤5090。As shown in FIG. 5, the method may include steps 5010 to 5090.
步骤5010、在检测到用户打开目标网页时,记录用户的访问时间。Step 5010: When it is detected that the user opens the target webpage, record the user's access time.
其中,访问时间为用户打开目标网页的时间。The access time is the time when the user opens the target webpage.
步骤5020、根据访问时间按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置。Step 5020: Acquire the screen touch position of the user on the display screen of the target webpage according to the set interval duration according to the access time.
在一实施例中,设定间隔时长为预先设置的时长。例如,设定间隔时长为1秒。以访问时间为起始时间节点,对用户的滑动操作进行监测,每隔1秒获取用户在目标网页的显示屏幕下的屏幕触摸位置。In an embodiment, the interval duration is set to a preset duration. For example, set the interval to 1 second. Using the access time as the starting time node, the user's sliding operation is monitored, and the user's screen touch position under the display screen of the target web page is obtained every 1 second.
步骤5030、根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置,并将确定的网页触摸位置作为滑动操作数据,其中,目标网页中包括至少两个局部页面区域。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, and use the determined webpage touch position as the sliding operation data, wherein the target webpage includes at least two partial page areas .
步骤5040、在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域。Step 5040: In the target webpage, obtain at least one target partial page area associated with the sliding operation data.
步骤5050、根据至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间。Step 5050: Calculate the residence time of the user for the partial page area in the target webpage according to at least one target partial page area and the operation association time matched with the sliding operation data.
步骤5060、根据访问时间确定用户针对所述目标网页的停留时间是否到达预设修正时间。Step 5060: Determine whether the user's stay time for the target webpage reaches the preset correction time according to the access time.
在一实施例中,为了保证计算的用户针对目标网页中的局部页面区域的停留时间的准确性和可靠性,在到达预设修正时间后,对用户针对目标网页中的局部页面区域的停留时间进行离线修正,即在到达预设修正时间后,获取在用户浏览目标网页的过程中生成的滑动操作数据后,重新计算用户针对目标网页中的局部页面区域的停留时间。In an embodiment, in order to ensure the accuracy and reliability of the calculated user's residence time for the partial page area in the target webpage, after the preset correction time is reached, the user's residence time for the partial page area in the target webpage Perform offline correction, that is, after the preset correction time is reached, after obtaining the sliding operation data generated during the process of the user browsing the target webpage, the user's residence time for the partial page area in the target webpage is recalculated.
预设修正时间为预设的时间节点。在一实施例中,根据访问时间和预设的间隔时长可以确定与用户本次访问过程对应的预设修正时间,然后判断当前时间是否到达预设修正时间。例如,访问时间为9点,预设的间隔时长为1小时,则与用户本次访问过程对应的预设修正时间为10点,判断当前时间是否到达10点。The preset correction time is a preset time node. In an embodiment, the preset correction time corresponding to the user's current access process can be determined according to the access time and the preset interval duration, and then it is determined whether the current time reaches the preset correction time. For example, if the access time is 9 o'clock and the preset interval is 1 hour, the preset correction time corresponding to the user's current access process is 10 o'clock, and it is determined whether the current time reaches 10 o'clock.
步骤5070、在确定到达预设修正时间后,根据用户的访问会话标识获取在 用户浏览目标网页的过程中生成的滑动操作数据。Step 5070: After determining that the preset correction time is reached, obtain the sliding operation data generated during the user browsing the target webpage according to the user's access session identifier.
在一实施例中,一次用户浏览目标网页的过程有唯一对应的用户访问会话标识。在确定到达预设修正时间后,可以根据用户的访问会话标识获取在对应的用户浏览目标网页的过程中生成的滑动操作数据。In one embodiment, the process of a user browsing a target webpage has a unique corresponding user access session identifier. After determining that the preset correction time is reached, the sliding operation data generated during the process of the corresponding user browsing the target webpage can be obtained according to the user's access session identifier.
步骤5080、根据滑动操作数据计算用户针对目标网页中的局部页面区域的修正停留时间。Step 5080: Calculate the corrected residence time of the user for the partial page area in the target webpage according to the sliding operation data.
在一实施例中,按照相同的计算规则再进行一次计算:在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域。然后根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间,即修正停留时间。In one embodiment, the calculation is performed again according to the same calculation rule: in the target webpage, at least one target partial page area associated with the sliding operation data is acquired. Then, based on the target partial page area and the operation association time matched with the sliding operation data, the user's stay time for the partial page area in the target webpage, that is, the corrected stay time, is calculated.
步骤5090、用修正停留时间替换停留时间。Step 5090: Replace the dwell time with the modified dwell time.
在一实施例中,用再进行一次计算得到的修正停留时间替换之前计算的用户针对目标网页中的局部页面区域的停留时间。In an embodiment, the previously calculated stay time for the partial page area in the target web page is replaced with the corrected stay time obtained by performing another calculation.
本实施例的技术方案,通过在检测到用户打开目标网页时,记录用户的访问时间,根据访问时间按照设定间隔时长获取用户在目标网页的显示屏幕下的屏幕触摸位置,并根据访问时间确定所述用户针对所述目标网页的停留时间是否到达预设修正时间,在确定到达预设修正时间后,根据用户的访问会话标识获取在用户浏览目标网页的过程中生成的滑动操作数据,计算用户针对目标网页中的局部页面区域的修正停留时间,然后用修正停留时间替换停留时间,可以根据在用户打开目标网页后,定时获取用户的屏幕触摸位置,还可以对用户针对目标网页中的局部页面区域的停留时间进行离线修正,提高用户注意力分布数据的准确性和可靠性。In the technical solution of this embodiment, when it is detected that the user opens the target webpage, the user's access time is recorded, and the user's screen touch position under the display screen of the target webpage is obtained according to the access time according to the set interval duration, and determined according to the access time The user determines whether the dwell time of the target webpage reaches the preset correction time, and after determining that the preset correction time is reached, obtains the sliding operation data generated during the user browsing the target webpage according to the user's access session identifier, and calculates the user Correct the dwell time for the local page area in the target webpage, and then replace the dwell time with the modified dwell time. The user's screen touch position can be obtained regularly after the user opens the target webpage, and the user can also target the partial page in the target webpage. The residence time of the area is corrected offline to improve the accuracy and reliability of the user's attention distribution data.
实施例六Example Six
图6为本公开实施例提供的一种网页操作数据的处理装置的结构示意图,本实施例可适用于对网页操作数据进行处理的情况。该装置可以采用软件和/或硬件的方式实现,该装置可以配置于电子设备。如图6所示,该装置可以包括:数据获取模块601、区域获取模块602和时间计算模块603。FIG. 6 is a schematic structural diagram of a device for processing webpage operation data according to an embodiment of the present disclosure. This embodiment can be applied to the case of processing webpage operation data. The device may be implemented in software and / or hardware, and the device may be configured in an electronic device. As shown in FIG. 6, the apparatus may include: a data acquisition module 601, an area acquisition module 602, and a time calculation module 603.
在一实施例中,数据获取模块601,设置为获取在用户浏览目标网页的过程中生成的滑动操作数据,在一实施例中,目标网页中包括至少两个局部页面区 域;区域获取模块602,设置为在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域;时间计算模块603,设置为根据至少一个目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间。In one embodiment, the data acquisition module 601 is configured to acquire the sliding operation data generated during the user browsing the target webpage. In one embodiment, the target webpage includes at least two partial page areas; the area acquisition module 602, Set to obtain at least one target partial page area associated with the sliding operation data in the target webpage; the time calculation module 603 is set to calculate the user's target based on the at least one target partial page area and the operation association duration matching the sliding operation data The residence time of the partial page area in the target webpage.
本实施例的技术方案,通过获取在用户浏览目标网页的过程中生成的滑动操作数据,在一实施例中,目标网页中包括至少两个局部页面区域,并在目标网页中,获取与滑动操作数据关联的至少一个目标局部页面区域,根据目标局部页面区域,以及与滑动操作数据匹配的操作关联时长,计算用户针对目标网页中的局部页面区域的停留时间,解决了相关技术中没有有效的措施可以实时根据每一个用户与商品展示页面的交互数据得到用户注意力分布数据的问题,可以实时根据用户的网页操作数据确定用户针对网页中的每一个局部页面区域的停留时间,作为用户注意力分布数据。In the technical solution of this embodiment, by acquiring the sliding operation data generated during the process of the user browsing the target webpage, in one embodiment, the target webpage includes at least two partial page areas, and in the target webpage, acquiring and sliding operations At least one target partial page area associated with the data, according to the target partial page area and the operation association duration matched with the sliding operation data, the user's residence time for the partial page area in the target web page is calculated, solving no effective measures in the related technology The problem of user attention distribution data can be obtained in real time according to the interaction data of each user with the product display page, and the user's residence time for each partial page area in the web page can be determined in real time according to the user's webpage operation data, as the user attention distribution data.
可选的,在上述技术方案的基础上,数据获取模块601可以包括:位置获取单元,设置为在确定用户浏览目标网页的过程中,按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置;数据确定单元,设置为根据目标网页在显示屏幕上的当前显示内容,确定与屏幕触摸位置匹配的网页触摸位置,并将确定的网页触摸位置作为滑动操作数据。Optionally, on the basis of the above technical solution, the data acquisition module 601 may include: a location acquisition unit configured to acquire the user ’s information on the display screen of the target webpage at a set interval in the process of determining the user ’s target webpage browsing Screen touch position; the data determination unit is set to determine the webpage touch position matching the screen touch position according to the current display content of the target webpage on the display screen, and use the determined webpage touch position as the slide operation data.
可选的,在上述技术方案的基础上,可以还包括:第一位置确定单元,设置为在检测到用户打开目标网页的情况下,在目标网页中,确定首行网页内容位置;区域获取模块602可以包括:第二位置确定单元,设置为将首行网页内容位置确定为基准网页比对位置;数据获取单元,设置为按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置;区域获取单元,设置为在目标网页中,将获取的比对网页触摸位置与基准网页比对位置之间包括的局部页面区域,作为与目标滑动操作数据关联的目标局部页面区域;第三位置确定单元,设置为在将目标滑动操作数据对应的所述目标网页的网页触摸位置确定为新的基准网页比对位置后,返回执行按照滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置的操 作,直至完成对全部滑动操作数据的处理。Optionally, on the basis of the above technical solution, it may further include: a first position determining unit configured to determine the content position of the first line of the webpage in the target webpage when it is detected that the user opens the target webpage; and the area acquisition module 602 may include: a second position determination unit configured to determine the position of the first-line webpage content as the reference webpage comparison position; a data acquisition unit configured to sequentially acquire the sliding operation data in the order from farthest to nearest Obtain a target sliding operation data from the multiple sliding operation data corresponding to the user, and use the webpage touch position of the target webpage corresponding to the target sliding operation data as the comparison webpage touch position; the area acquisition unit is set to the target webpage , The partial page area included between the acquired touch position of the comparison webpage and the reference webpage comparison position is used as the target partial page area associated with the target sliding operation data; the third position determining unit is set to The webpage touch position of the target webpage corresponding to the data is determined as the new base After comparing the positions of the webpages, go back and execute, according to the sequence of the time of acquiring the sliding operation data from far to near, obtain one target sliding operation data from the multiple sliding operation data corresponding to the user in turn, and transfer the target sliding operation data The corresponding webpage touch position of the target webpage is used as an operation for comparing the webpage touch position until the processing of all sliding operation data is completed.
可选的,在上述技术方案的基础上,时间计算模块603可以包括:次数统计单元,设置为根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与目标网页中的每个局部页面区域对应的获取次数;时间计算单元,设置为将设定间隔时长作为与滑动操作数据匹配的操作关联时长,将每个局部页面区域的获取次数与操作关联时长的乘积,作为用户针对目标网页中的每个局部页面区域的停留时间。Optionally, on the basis of the above technical solution, the time calculation module 603 may include: a frequency counting unit configured to count each part of the target webpage according to the acquired target partial page area associated with each sliding operation data The number of acquisitions corresponding to the page area; the time calculation unit is set to use the set interval duration as the operation association duration that matches the slide operation data, and the product of the number of acquisitions for each partial page area and the operation association duration as the user's target The residence time of each partial page area in.
可选的,在上述技术方案的基础上,可以还包括:区域划分模块,设置为根据预设方式对目标网页进行划分和标号,得到目标网页对应的至少两个局部页面区域。Optionally, on the basis of the above technical solution, it may further include: 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.
可选的,在上述技术方案的基础上,位置获取单元可以包括:时间记录子单元,设置为在检测到用户打开目标网页时,记录用户的访问时间;位置获取子单元,设置为根据访问时间按照设定间隔时长获取用户在目标网页的显示屏幕上的屏幕触摸位置。Optionally, on the basis of the above technical solution, the location acquisition unit may include: a time recording subunit, which is set to record the user's access time when it is detected that the user opens the target webpage; and a location acquisition subunit, which is set to be based on the access time Acquire the screen touch position of the user on the display screen of the target webpage according to the set interval duration.
可选的,在上述技术方案的基础上,可以还包括:时间判断模块,设置为根据访问时间确定所述用户针对所述目标网页的停留时间是否到达预设修正时间;操作数据获取模块,设置为在确定到达预设修正时间后,根据用户的访问会话标识获取在用户浏览目标网页的过程中生成的滑动操作数据;修正时间计算模块,设置为根据滑动操作数据计算用户针对目标网页中的局部页面区域的修正停留时间;时间替换模块,设置为用修正停留时间替换停留时间。Optionally, on the basis of the above technical solution, it may further include: a time judgment module, configured to determine whether the user's stay time for the target webpage reaches a preset correction time according to the access time; an operation data acquisition module, set In order to obtain the sliding operation data generated during the user's browsing of the target webpage according to the user's access session identifier after determining that the preset correction time has been reached; the correction time calculation module is set to calculate the user's partial response to the target webpage based on the sliding operation data Corrected dwell time in the page area; time replacement module, set to replace dwell time with modified dwell time.
本公开实施例所提供的网页操作数据的处理装置可执行本公开实施例所提供的网页操作数据的处理方法,具备执行方法相应的功能模块和效果。The apparatus for processing webpage operation data provided by the embodiments of the present disclosure can execute the method for processing webpage operation data provided by the embodiments of the present disclosure, and has functional modules and effects corresponding to the execution method.
实施例七Example 7
下面参考图7,图7示出了适于用来实现本公开实施例的电子设备(例如终端设备或服务器)700的结构示意图。本公开实施例中的终端设备可以包括诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等 等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来限制。7 below, FIG. 7 shows a schematic structural diagram of an electronic device (eg, terminal device or server) 700 suitable for implementing the embodiments of the present disclosure. Terminal devices in the embodiments of the present disclosure may include 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 car navigation terminals), and fixed terminals such as digital TVs, desktop computers, and so on. The electronic device shown in FIG. 7 is only an example, and should not bring limitations on the functions and use scope of the embodiments of the present disclosure.
如图7所示,电子设备700可以包括处理装置(例如中央处理器、图形处理器等)701,处理装置701可以根据存储在只读存储器(Read-only Memory,ROM)702中的程序或者从存储装置708加载到随机访问存储器(Random Access Memory,RAM)703中的程序而执行一种或多种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的一种或多种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(Input/Output,I/O)接口705也连接至总线704。As shown in FIG. 7, the electronic device 700 may include a processing device (such as a central processing unit, a graphics processor, etc.) 701, and the processing device 701 may be based on a program stored in a read-only memory (Read-only Memory, ROM) 702 or from The storage device 708 loads the program in the random access memory (Random Access Memory, RAM) 703 to perform one or more appropriate actions and processes. In the RAM 703, one or more programs and data necessary for the operation of the electronic device 700 are also stored. The processing device 701, ROM 702, and RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备700与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有一种或多种装置的电子设备700,并不要求实施或具备所有示出的装置。本公开可以替代地实施或具备更多或更少的装置。Generally, the following devices can be connected to the I / O interface 705: including input devices 706 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc .; including, for example, liquid crystal displays (Liquid Crystal Display, LCD) , An output device 707 of a speaker, a vibrator, etc .; a storage device 708 including, for example, a magnetic tape, a hard disk, etc .; and a communication device 709. The communication device 709 may allow the electronic device 700 to perform wireless or wired communication with other devices to exchange data. Although FIG. 7 shows an electronic device 700 having one or more devices, it is not required to implement or have all the devices shown. The present disclosure may alternatively be implemented or equipped with more or fewer devices.
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,该计算机程序产品包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM 702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中的上述功能。According to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, 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. In such an embodiment, the computer program may be downloaded and installed from the network through the communication device 709, or from the storage device 708, or from the ROM 702. When the computer program is executed by the processing device 701, the above function in the method of the embodiment of the present disclosure is executed.
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者以上的组合。计算机可读存储介质的例子可以包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存 储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,计算机可读信号介质中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的组合。The above-mentioned computer-readable medium of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or a 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 a combination of the above. Examples of computer-readable storage media may include: electrical connection with one or more wires, portable computer disk, hard disk, 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. In the present disclosure, 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. In this disclosure, 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 electromagnetic signals, optical signals, or a 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: electric wires, optical cables, radio frequency (Radio Frequency, RF), etc., or a combination thereof.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。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, and when the one or more programs are executed by the electronic device, the electronic device is caused to: obtain the sliding operation data generated during the process of the user browsing the target webpage, where the target The webpage includes at least two partial page areas; in the target webpage, at least one target partial page area associated with the sliding operation data is obtained; based on the at least one target partial page area and the operation association duration matched with the sliding operation data, the user is calculated The residence time for the local page area in the target webpage.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。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. In situations involving remote computers, 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 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).
附图中的流程图和框图,图示了按照本公开一种或多种实施例的方法和计算机程序产品的可能实现的体系架构、功能和操作。流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的 一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the drawings illustrate the possible implementation architecture, functions, and operations of the method and computer program product according to one or more embodiments of the present disclosure. Each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, 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. Among them, the name of the module or unit does not constitute a limitation to the module or unit itself under certain circumstances. For example, the data acquisition module can also be described as “acquiring the data of the sliding operation generated during the process of the user browsing the target webpage "Module", the location acquiring unit can also be described as "a unit that acquires the user's screen touch position under the display screen of the target webpage according to the set interval duration in the process of determining the user's browsing the target webpage".

Claims (10)

  1. 一种网页操作数据的处理方法,包括:A method for processing webpage operation data, including:
    获取在用户浏览目标网页的过程中生成的滑动操作数据,其中,所述目标网页中包括至少两个局部页面区域;Acquiring sliding operation data generated during a user browsing a target webpage, wherein the target webpage includes at least two partial page areas;
    在所述目标网页中,获取与所述滑动操作数据关联的至少一个目标局部页面区域;In the target webpage, obtain at least one target partial page area associated with the sliding operation data;
    根据所述至少一个目标局部页面区域,以及与所述滑动操作数据匹配的操作关联时长,计算所述用户针对所述目标网页中的局部页面区域的停留时间。Calculate the residence time of the user for the partial page area in the target webpage according to the at least one target partial page area and the operation association time matched with the sliding operation data.
  2. 根据权利要求1所述的方法,其中,所述获取在用户浏览目标网页的过程中生成的滑动操作数据,包括:The method according to claim 1, wherein the acquiring the sliding operation data generated during the user browsing the target webpage includes:
    在确定用户浏览目标网页的过程中,按照设定间隔时长获取所述用户在所述目标网页的显示屏幕上的屏幕触摸位置;In the process of determining that the user browses the target webpage, obtain the screen touch position of the user on the display screen of the target webpage according to the set interval duration;
    根据所述目标网页在所述显示屏幕上的当前显示内容,确定与所述屏幕触摸位置匹配的网页触摸位置,并将确定的网页触摸位置作为所述滑动操作数据。According to the current display content of the target webpage on the display screen, a webpage touch position matching the screen touch position is determined, and the determined webpage touch position is used as the sliding operation data.
  3. 根据权利要求2所述的方法,在所述在确定用户浏览目标网页的过程中,按照设定间隔时长获取所述用户在所述目标网页的显示屏幕上的屏幕触摸位置之前,还包括:The method according to claim 2, in the process of determining that the user browses the target webpage, before acquiring the screen touch position of the user on the display screen of the target webpage at a set interval duration, further comprising:
    在检测到所述用户打开所述目标网页的情况下,在所述目标网页中,确定首行网页内容位置;When it is detected that the user opens the target webpage, in the target webpage, the content position of the first line of webpage is determined;
    所述在所述目标网页中,获取与所述滑动操作数据关联的至少一个目标局部页面区域,包括:Said obtaining at least one target partial page area associated with the sliding operation data in the target webpage includes:
    将所述首行网页内容位置确定为基准网页比对位置;Determining the content position of the first-line webpage as the reference webpage comparison position;
    按照所述滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置;Acquire a target sliding operation data from a plurality of sliding operation data corresponding to the user according to the order from far to near of the sliding operation data acquisition time, and the target webpage corresponding to the target sliding operation data The webpage touch position is used as the comparison webpage touch position;
    在所述目标网页中,将获取的所述比对网页触摸位置与所述基准网页比对位置之间包括的局部页面区域,作为与所述目标滑动操作数据关联的目标局部页面区域;In the target webpage, use the obtained partial page area 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;
    在将所述目标滑动操作数据对应的所述目标网页的网页触摸位置确定为新的基准网页比对位置后,返回执行所述按照所述滑动操作数据的获取时间从远到近的顺序,依次从所述用户对应的多个滑动操作数据中获取一个目标滑动操作数据,并将所述目标滑动操作数据对应的所述目标网页的网页触摸位置作为比对网页触摸位置的操作,直至完成对全部滑动操作数据的处理。After determining the webpage touch position of the target webpage corresponding to the target sliding operation data as the new reference webpage comparison position, return to execute the sequence in which the acquisition time of the sliding operation data is from far to near, in turn Obtain a target sliding operation data from the multiple sliding operation data corresponding to the user, and use the webpage touch position of the target webpage corresponding to the target sliding operation data as the operation of comparing the webpage touch position until all Processing of sliding operation data.
  4. 根据权利要求2所述的方法,其中,所述根据所述至少一个目标局部页面区域,以及与所述滑动操作数据匹配的操作关联时长,计算所述用户针对所述目标网页中的局部页面区域的停留时间,包括:The method according to claim 2, wherein, based on the at least one target partial page area and the operation association duration matched with the sliding operation data, calculating the partial page area in the target webpage by the user The residence time includes:
    根据获取的与每个滑动操作数据关联的目标局部页面区域,统计与所述目标网页中的每个局部页面区域对应的获取次数;Counting the number of acquisitions corresponding to each partial page area in the target webpage according to the obtained target partial page area associated with each sliding operation data;
    将所述设定间隔时长作为与所述滑动操作数据匹配的操作关联时长,将每个局部页面区域的获取次数与所述操作关联时长的乘积,作为所述用户针对所述目标网页中的每个局部页面区域的停留时间。Use the set interval duration as the operation association duration matching the sliding operation data, and multiply the number of acquisitions of each partial page area by the operation association duration as the user ’s response time for the target web page. The residence time of a partial page area.
  5. 根据权利要求1所述的方法,还包括:The method of claim 1, further comprising:
    根据预设方式对所述目标网页进行划分和标号,得到所述目标网页对应的所述至少两个局部页面区域。Dividing and labeling the target webpage according to a preset manner to obtain the at least two partial page areas corresponding to the target webpage.
  6. 根据权利要求2所述的方法,其中,所述在确定用户浏览目标网页的过程中,按照设定间隔时长获取所述用户在所述目标网页的显示屏幕上的屏幕触摸位置,包括:The method according to claim 2, wherein, in the process of determining that the user browses the target web page, acquiring the screen touch position of the user on the display screen of the target web page at a set interval duration includes:
    在检测到所述用户打开目标网页时,记录所述用户的访问时间;When it is detected that the user opens the target webpage, record the access time of the user;
    根据所述访问时间按照所述设定间隔时长获取所述用户在所述目标网页的显示屏幕上的屏幕触摸位置。Obtain the screen touch position of the user on the display screen of the target webpage according to the access time and the set interval duration.
  7. 根据权利要求6所述的方法,在所述根据所述至少一个目标局部页面区域,以及与所述滑动操作数据匹配的操作关联时长,计算所述用户针对所述目标网页中的局部页面区域的停留时间之后,还包括:The method according to claim 6, wherein, based on the at least one target partial page area and the operation association duration matched with the sliding operation data, the user is calculated for the partial page area in the target webpage After the residence time, it also includes:
    根据所述访问时间确定所述用户针对所述目标网页的停留时间是否到达预设修正时间;Determine whether the user's stay time for the target webpage reaches a preset correction time according to the access time;
    在确定到达所述预设修正时间后,根据所述用户的访问会话标识获取在所述用户浏览所述目标网页的过程中生成的滑动操作数据;After determining that the preset correction time is reached, obtain the sliding operation data generated during the user browsing the target webpage according to the user's access session identifier;
    根据所述滑动操作数据计算所述用户针对所述目标网页中的局部页面区域的修正停留时间;Calculating the corrected dwell time of the user for the partial page area in the target webpage according to the sliding operation data;
    用所述修正停留时间替换所述停留时间。Replace the residence time with the corrected residence time.
  8. 一种网页操作数据的处理装置,包括:A processing device for webpage operation data, including:
    数据获取模块,设置为获取在用户浏览目标网页的过程中生成的滑动操作数据,其中,所述目标网页中包括至少两个局部页面区域;The data acquisition module is configured to acquire the sliding operation data generated during the process of the user browsing the target webpage, wherein the target webpage includes at least two partial page areas;
    区域获取模块,设置为在所述目标网页中,获取与所述滑动操作数据关联 的至少一个目标局部页面区域;An area acquiring module, configured to acquire at least one target partial page area associated with the sliding operation data in the target webpage;
    时间计算模块,设置为根据所述至少一个目标局部页面区域,以及与所述滑动操作数据匹配的操作关联时长,计算所述用户针对所述目标网页中的局部页面区域的停留时间。The time calculation module is configured to calculate the residence time of the user for the partial page area in the target webpage according to the at least one target partial page area and the operation association time matched with the sliding operation data.
  9. 一种电子设备,所述电子设备包括:An electronic device, the electronic device includes:
    一个或多个处理器;One or more processors;
    存储装置,设置为存储一个或多个程序,Storage device, configured to store one or more programs,
    所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7中任一项所述的方法。The one or more programs are executed by the one or more processors, so that the one or more processors implement the method according to any one of claims 1-7.
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1-7中任一项所述的方法。A computer-readable storage medium storing a computer program on the computer-readable storage medium, wherein when the computer program is executed by a processor, the method according to any one of claims 1-7 is implemented.
PCT/CN2019/101685 2018-10-19 2019-08-21 Method and device for processing webpage operation data, electronic apparatus, and storage medium WO2020078100A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811222087.1 2018-10-19
CN201811222087.1A CN109446044A (en) 2018-10-19 2018-10-19 Processing method, device, electronic equipment and the storage medium of web page operation data

Publications (1)

Publication Number Publication Date
WO2020078100A1 true WO2020078100A1 (en) 2020-04-23

Family

ID=65547386

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/101685 WO2020078100A1 (en) 2018-10-19 2019-08-21 Method and device for processing webpage operation data, electronic apparatus, and storage medium

Country Status (2)

Country Link
CN (1) CN109446044A (en)
WO (1) WO2020078100A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446044A (en) * 2018-10-19 2019-03-08 北京字节跳动网络技术有限公司 Processing method, device, electronic equipment and the storage medium of web page operation data
CN113010831A (en) * 2021-04-06 2021-06-22 金宝贝网络科技(苏州)有限公司 Thermodynamic diagram optimization method, thermodynamic diagram optimization system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202098A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 The method and apparatus of click location in record and reduction webpage
CN106897202A (en) * 2017-02-28 2017-06-27 百度在线网络技术(北京)有限公司 For the method and apparatus of output data
CN107066632A (en) * 2017-06-05 2017-08-18 厦门美柚信息科技有限公司 The method and device that a kind of info web is preloaded
CN109446044A (en) * 2018-10-19 2019-03-08 北京字节跳动网络技术有限公司 Processing method, device, electronic equipment and the storage medium of web page operation data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10185488B2 (en) * 2014-07-08 2019-01-22 Sony Corporation Device and method for displaying information
CN104166741B (en) * 2014-09-10 2018-09-18 北京国双科技有限公司 Web page browsing analysis and processing method and device
CN105095055B (en) * 2015-07-22 2019-12-20 北京奇虎科技有限公司 User activity statistical method and system
CN108268491A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 Heating power drawing generating method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202098A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 The method and apparatus of click location in record and reduction webpage
CN106897202A (en) * 2017-02-28 2017-06-27 百度在线网络技术(北京)有限公司 For the method and apparatus of output data
CN107066632A (en) * 2017-06-05 2017-08-18 厦门美柚信息科技有限公司 The method and device that a kind of info web is preloaded
CN109446044A (en) * 2018-10-19 2019-03-08 北京字节跳动网络技术有限公司 Processing method, device, electronic equipment and the storage medium of web page operation data

Also Published As

Publication number Publication date
CN109446044A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN109299348B (en) Data query method and device, electronic equipment and storage medium
US11474926B2 (en) Method and system for measuring user engagement with content items
CN109246461A (en) Method, applications client and the electronic equipment that video preloads
WO2020233444A1 (en) Method and apparatus for inserting information into online document
WO2021223752A1 (en) Display method and apparatus, and electronic device
US11960354B2 (en) Proactive learning of network software problems
CN110704751A (en) Data processing method and device, electronic equipment and storage medium
WO2020119231A1 (en) Electronic certificate pushing method and apparatus based on position information, and electronic device
WO2021114979A1 (en) Video page display method and apparatus, electronic device and computer-readable medium
US11863835B2 (en) Interaction method and apparatus, and electronic device
CN111400625B (en) Page processing method and device, electronic equipment and computer readable storage medium
CN110619100B (en) Method and apparatus for acquiring data
WO2020078100A1 (en) Method and device for processing webpage operation data, electronic apparatus, and storage medium
CN112306447A (en) Interface navigation method, device, terminal and storage medium
WO2020156055A1 (en) Method for switching between display interfaces, electronic apparatus, and computer readable storage medium
WO2023088006A1 (en) Cloud game interaction method and apparatus, readable medium, and electronic device
CN109948059A (en) Recommended method, device, equipment and the storage medium of content
CN110865734A (en) Target object display method and device, electronic equipment and computer readable medium
WO2022233311A1 (en) Display method and apparatus, and electronic device
CN116225600A (en) Application program recording method, playback method, device, medium and electronic equipment
WO2024099256A1 (en) Application installation source determination method and apparatus, and readable medium and electronic device
CN110659389A (en) Sorting method, sorting device, electronic equipment and computer-readable storage medium
CN113032172B (en) Abnormality detection method and device and electronic equipment
WO2020078054A1 (en) Webpage processing method and apparatus, electronic device and storage medium
CN113139082A (en) Multimedia content processing method, apparatus, device and medium

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: 19873218

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 1205A DATED 13.08.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19873218

Country of ref document: EP

Kind code of ref document: A1