CN109117448B - Thermodynamic diagram generation method and device - Google Patents

Thermodynamic diagram generation method and device Download PDF

Info

Publication number
CN109117448B
CN109117448B CN201710491864.1A CN201710491864A CN109117448B CN 109117448 B CN109117448 B CN 109117448B CN 201710491864 A CN201710491864 A CN 201710491864A CN 109117448 B CN109117448 B CN 109117448B
Authority
CN
China
Prior art keywords
visitor
page
stay
queried
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710491864.1A
Other languages
Chinese (zh)
Other versions
CN109117448A (en
Inventor
周国鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710491864.1A priority Critical patent/CN109117448B/en
Publication of CN109117448A publication Critical patent/CN109117448A/en
Application granted granted Critical
Publication of CN109117448B publication Critical patent/CN109117448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a thermodynamic diagram generation method and device. One embodiment of the method comprises: receiving page thermodynamic diagram query information sent by a client, wherein the page thermodynamic diagram query information comprises a website of a page to be queried and query starting and stopping time; acquiring a standby webpage snapshot and standby visitor stay distribution information according to the page thermodynamic diagram query information, wherein the standby visitor stay distribution information comprises visitor stay information of each unit area of the page to be queried, and the unit areas are obtained by dividing the page to be queried; statistical analysis is carried out on the visitor staying distribution information to be used, and visitor staying statistical information of each unit area is obtained; and sending the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be queried to the client, so that the client can generate a page thermodynamic diagram according to the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be queried. This embodiment improves the accuracy of the page thermodynamic diagram.

Description

Thermodynamic diagram generation method and device
Technical Field
The application relates to the technical field of computers, in particular to the technical field of internet, and particularly relates to a thermodynamic diagram generation method and device.
Background
The thermodynamic diagram (Heatmap) represents data distribution information by using different colors and different color shades, has good visualization effect, is widely applied to statistical analysis of behavior of various webpage visitors, for example, can help website operators to analyze excellent conditions of webpage decoration, adjust decoration content in real time, is beneficial to rationalizing the webpage decoration, and prevents the webpage from being overlong and the like.
The existing thermodynamic diagrams are often obtained by statistical analysis based on click data of visitors. However, many visitors do not necessarily click when browsing a certain webpage, and sometimes only browse information of the webpage, so that the conventional thermodynamic diagram does not count that the visitors only browse un-clicked data, and cannot accurately represent the behavior distribution of the visitors. In addition, when the thermodynamic diagram is generated, the back-end server needs to perform statistical analysis on massive visitor behavior data, so that the occupied resources are large, and the speed of generating the thermodynamic diagram is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide an improved thermodynamic diagram generation method and apparatus to solve the technical problems mentioned in the above background section.
In a first aspect, an embodiment of the present application provides a thermodynamic diagram generation method, where the method includes: receiving page thermodynamic diagram query information sent by a client, wherein the page thermodynamic diagram query information comprises a website of a page to be queried and query starting and stopping time; acquiring a standby webpage snapshot and standby visitor stay distribution information according to the page thermodynamic diagram query information, wherein the standby visitor stay distribution information comprises visitor stay information of each unit area of the page to be queried, and the unit areas are obtained by dividing the page to be queried; carrying out statistical analysis on the waiting visitor stay distribution information to obtain visitor stay statistical information of each unit area; and sending the visitor stay statistical information of each unit area of the page to be inquired and the standby webpage snapshot to the client so that the client can generate a page thermodynamic diagram according to the visitor stay statistical information of each unit area of the page to be inquired and the standby webpage snapshot.
In some embodiments, the obtaining of the standby web page snapshot and the standby visitor stay distribution information according to the page thermodynamic diagram query information includes: determining whether the page thermodynamic diagram query information is used for querying a real-time thermodynamic diagram according to the query starting and ending time of the page thermodynamic diagram query information; and in response to the fact that the page thermodynamic diagram query information is determined to be used for querying a real-time thermodynamic diagram, acquiring a latest webpage snapshot corresponding to the page to be queried as a standby webpage snapshot, acquiring real-time visitor stay distribution information of the page to be queried from a cache database, and determining the acquired real-time visitor stay distribution information as standby visitor stay distribution information.
In some embodiments, the obtaining of the standby web page snapshot and the standby visitor stay distribution information according to the page thermodynamic diagram query information further includes: in response to the fact that the page thermodynamic diagram query information is not used for querying a real-time thermodynamic diagram, acquiring a web page snapshot name list of the page to be queried within the query starting and ending time; sending the web page snapshot name list to the client for the client to present the web page snapshot name list and receive a target web page snapshot name selected by a user in the presented web page snapshot name list; receiving a target web page snapshot name sent by the client, acquiring a target web page snapshot according to the target web page snapshot name, and determining the target web page snapshot as a standby web page snapshot; and inquiring historical visitor stay distribution information of the page to be inquired in the historical visitor stay distribution information database within the inquiry starting and stopping time, and determining the found historical visitor stay distribution information as the waiting visitor stay distribution information.
In some embodiments, the real-time visitor stop distribution information includes the number of visitors in each unit area, and each unit area of the page to be queried is sorted according to the order of the unit areas from top to bottom in the page to be queried; and the visitor number of each unit area is obtained through the following steps: the method comprises the steps of obtaining a visitor log of a page to be inquired in real time, wherein the visitor log comprises at least one piece of visitor data, and the visitor data comprises a visitor identifier and a visitor access position, wherein the visitor access position refers to the lowest position of a visitor accessing the page to be inquired; for each piece of guest data in the guest log, performing the following guest number determination steps: determining a unit area before a unit area where the visitor access position in the visitor data is positioned as a lowest area where the visitor stays; determining whether the sequencing order of the lowest region where the visitor stays is behind the prestored history lowest region where the visitor identification of the piece of visitor data corresponds to; and in response to determining that the sequencing order of the lowest area where the visitor stays is after the lowest area where the visitor stays in the history stored in advance and corresponding to the visitor identification of the piece of visitor data, determining the lowest area where the visitor stays as a new lowest area where the visitor stays, adding 1 to the number of the visitors staying in the lowest area, and subtracting 1 from the number of the visitors staying in the lowest area where the visitor corresponding to the visitor identification in the visitor data saved last time.
In some embodiments, the obtaining the visitor log of the page to be queried in real time includes: receiving visitor data sent by a visitor client in real time, wherein the visitor client generates the visitor data in real time through the following steps: when detecting that the position of a scroll bar of the page to be inquired controlled by the visitor changes, determining whether the stay time of the scroll bar at the current position is greater than a preset minimum stay time threshold value; in response to the fact that the staying time of the scroll bar at the current position is larger than a preset minimum staying time threshold value, further determining the current displayed lowest position of the page to be inquired; visitor data is generated from the visitor identification of the visitor and the determined lowermost location.
In some embodiments, the visitor dwell statistics include a visitor arrival rate; and the above-mentioned visitor stops the distribution information to be used and carries out statistical analysis, obtains the visitor of each unit area and stops statistical information, includes: counting and analyzing the accumulated visitor staying number of each unit area according to the waiting visitor staying distribution information; determining the sum of the visitor numbers of all unit areas forming the page to be inquired as the total visitor number of the page to be inquired; for each unit area, the ratio of the accumulated visitor stay number of the unit area to the total visitor data is determined as the visitor arrival rate of the unit area.
In some embodiments, the above method further comprises: and synchronizing the real-time visitor stay distribution information in the cache database to the historical visitor stay distribution information database at regular time.
In some embodiments, the page thermodynamic query information further includes the screen height information; and the above method further comprises: dividing the page to be inquired into at least one screen according to the screen height information, wherein each screen comprises at least one unit area; for each screen of the at least one screen, executing the following steps: determining a unit area sequenced before the uppermost position of the screen as the uppermost area of the screen, and calculating the visitor arrival rate of the screen based on the accumulated visitor stop number of the uppermost area of the screen; and sending the visitor arrival rate of the screen to the client, so that the client can generate the thermodynamic diagram of the screen according to the standby webpage snapshot and the visitor arrival rate of the screen.
In a second aspect, an embodiment of the present application provides an apparatus for generating a thermodynamic diagram, the apparatus including: the system comprises a receiving unit, a searching unit and a display unit, wherein the receiving unit is used for receiving page thermodynamic diagram query information sent by a client, and the page thermodynamic diagram query information comprises a website of a page to be queried and query starting and stopping time; the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring standby webpage snapshots and standby visitor stay distribution information according to the page thermodynamic diagram query information, the standby visitor stay distribution information comprises visitor stay information of each unit area of the page to be queried, and the unit areas are obtained by dividing the page to be queried; the statistical unit is used for carrying out statistical analysis on the waiting visitor stay distribution information to obtain visitor stay statistical information of each unit area; and the generating unit is used for sending the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be inquired to the client so that the client can generate a page thermodynamic diagram according to the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be inquired.
In some embodiments, the obtaining unit is further configured to: determining whether the page thermodynamic diagram query information is used for querying a real-time thermodynamic diagram according to the query starting and ending time of the page thermodynamic diagram query information; and in response to the fact that the page thermodynamic diagram query information is determined to be used for querying a real-time thermodynamic diagram, acquiring a latest webpage snapshot corresponding to the page to be queried as a standby webpage snapshot, acquiring real-time visitor stay distribution information of the page to be queried from a cache database, and determining the acquired real-time visitor stay distribution information as standby visitor stay distribution information.
In some embodiments, the obtaining unit is further configured to: responding to the fact that the page thermodynamic diagram query information is not used for querying a real-time thermodynamic diagram, and acquiring a web snapshot name list of the page to be queried within the query starting and ending time; sending the web page snapshot name list to the client for the client to present the web page snapshot name list and receive a target web page snapshot name selected by a user in the presented web page snapshot name list; receiving a target web page snapshot name sent by the client, acquiring a target web page snapshot according to the target web page snapshot name, and determining the target web page snapshot as a standby web page snapshot; and inquiring historical visitor stay distribution information of the page to be inquired in the historical visitor stay distribution information database within the inquiry starting and stopping time, and determining the found historical visitor stay distribution information as the waiting visitor stay distribution information.
In some embodiments, the real-time visitor stop distribution information includes the number of visitors in each unit area, and each unit area of the page to be queried is sorted according to the order of the unit areas from top to bottom in the page to be queried; and the apparatus further comprises a visitor number calculation unit, the visitor number calculation unit comprising: the system comprises a visitor log obtaining unit, a query unit and a query unit, wherein the visitor log obtaining unit is used for obtaining a visitor log of a page to be queried in real time, the visitor log comprises at least one piece of visitor data, the visitor data comprises a visitor identifier and a visitor access position, and the visitor access position refers to the lowest position of a visitor accessing the page to be queried; a determining unit, configured to execute the following visitor number determining steps for each piece of visitor data in the visitor log: determining a unit area before a unit area where the visitor access position in the visitor data is positioned as a lowest area where the visitor stays; determining whether the sequencing order of the lowest region where the visitor stays is behind the prestored history lowest region where the visitor identification of the piece of visitor data corresponds to; and in response to determining that the sequencing order of the lowest area where the visitor stays is after the lowest area where the visitor stays in the history stored in advance and corresponding to the visitor identification of the piece of visitor data, determining the lowest area where the visitor stays as a new lowest area where the visitor stays, adding 1 to the number of the visitors staying in the lowest area, and subtracting 1 from the number of the visitors staying in the lowest area where the visitor corresponding to the visitor identification in the visitor data saved last time.
In some embodiments, the guest log obtaining unit is further configured to: receiving visitor data sent by a visitor client in real time, wherein the visitor client generates the visitor data in real time through the following steps: when detecting that the position of a scroll bar of the page to be inquired controlled by the visitor changes, determining whether the stay time of the scroll bar at the current position is greater than a preset minimum stay time threshold value; in response to the fact that the staying time of the scroll bar at the current position is larger than a preset minimum staying time threshold value, further determining the current displayed lowest position of the page to be inquired; visitor data is generated from the visitor identification of the visitor and the determined lowermost location.
In some embodiments, the visitor dwell statistics include a visitor arrival rate; and the statistical unit is further configured to: counting and analyzing the accumulated visitor staying number of each unit area according to the standby visitor staying distribution information; determining the sum of the visitor numbers of all unit areas forming the page to be inquired as the total visitor number of the page to be inquired; for each unit area, the ratio of the accumulated visitor stay number of the unit area to the total visitor data is determined as the visitor arrival rate of the unit area.
In some embodiments, the apparatus further comprises a synchronization unit for timing-synchronizing the real-time visitor stay distribution information in the cache database to the historical visitor stay distribution information database.
In some embodiments, the page thermodynamic query information further includes the screen height information; and the above apparatus further comprises: the dividing unit is used for dividing the page to be inquired into at least one screen according to the screen height information, wherein each screen comprises at least one unit area; an execution unit, configured to execute the following steps for each screen of the at least one screen: determining a unit area sequenced before the uppermost position of the screen as the uppermost area of the screen, and calculating the visitor arrival rate of the screen based on the accumulated visitor stop number of the uppermost area of the screen; and sending the visitor arrival rate of the screen to the client, so that the client can generate the thermodynamic diagram of the screen according to the standby webpage snapshot and the visitor arrival rate of the screen.
In a third aspect, an embodiment of the present application provides a server, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method as in any one of the embodiments of the thermodynamic diagram generation method described above.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method according to any one of the above-mentioned thermodynamic diagram generation methods.
According to the thermodynamic diagram generation method and device provided by the embodiment of the application, standby webpage snapshots and standby visitor stay distribution information are obtained according to received page thermodynamic diagram query information, wherein the standby visitor stay distribution information comprises visitor stay information of each unit area of a page to be queried, then the standby visitor stay distribution information is subjected to statistical analysis, accordingly visitor stay statistical information of each unit area is obtained, and finally the visitor stay statistical information of each unit area of the page to be queried and the standby webpage snapshot are sent to the client so that the client can generate the page thermodynamic diagram according to the visitor stay statistical information of each unit area of the page to be queried and the standby webpage snapshots. Visitor stay statistical information used for generating the page thermodynamic diagram is obtained by analyzing visitor stay information of each unit area of the page to be inquired, so that statistics is carried out on data which are not clicked and only browsed by a visitor, and the generated page thermodynamic diagram can more accurately represent visitor behavior distribution conditions. In addition, during statistical analysis, only visitor stay information of each unit area forming the page to be inquired needs to be analyzed, so that the data volume can be reduced, and the generation speed of the thermodynamic diagram is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a thermodynamic diagram generation method according to the application;
FIG. 3 is a schematic diagram of an application scenario of a thermodynamic diagram generation method according to the present application;
FIG. 4 is a schematic structural diagram of one embodiment of a thermodynamic diagram generation apparatus according to the present application;
FIG. 5 is a block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which the thermodynamic diagram generation method or apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting thermodynamic diagram rendering, including but not limited to smartphones, tablets, e-book readers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, such as a back-end server that processes page thermodynamic query information transmitted by the terminal apparatuses 101, 102, 103. The back-end server can acquire standby webpage snapshots and standby visitor stay distribution information according to the page thermodynamic diagram query information, performs statistical analysis on the standby visitor stay distribution information to obtain visitor stay statistical information of each unit area, and sends the visitor stay statistical information and the standby webpage snapshots of each unit area to the client.
It should be noted that the thermodynamic diagram generation method provided by the embodiment of the present application is generally executed by the server 105, and accordingly, the thermodynamic diagram generation apparatus is generally disposed in the server 105.
It should be noted that the server 105 may be a single server, or may be composed of a plurality of servers or a plurality of server clusters.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a thermodynamic diagram generation method in accordance with the present application is shown. The thermodynamic diagram generation method comprises the following steps:
step 201, receiving page thermodynamic diagram query information sent by a client.
In this embodiment, an electronic device (for example, the server 105 shown in fig. 1) on which the thermodynamic diagram generation method operates may receive, through a wired connection manner or a wireless connection manner, page thermodynamic diagram query information sent by a user through a client (for example, the terminal devices 101, 102, and 103 shown in fig. 1), where the page thermodynamic diagram query information may include a web address of a page to be queried and a query start-stop time, where the query start-stop time may be input by the user through the client, or may be a default (for example, a default is a query start-stop time from today's zero point to current time). Here, the user may refer to an operator, a research and development staff, a merchant who issues commodity information on a page to be queried, and the like, and the user may know, by viewing the page thermodynamic diagram, that each part of the page is visited by a visitor, so as to adjust the content of the page. In practice, the web address is generally represented by a Uniform Resource Locator (URL). It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
And step 202, acquiring standby webpage snapshots and standby visitor stay distribution information according to the page thermodynamic diagram query information.
In this embodiment, the electronic device may perform a lookup according to the page thermodynamic query information received in step 201 from a cache database or other databases for storing visitor location distribution information, so as to obtain a standby web page snapshot and standby visitor location distribution information, where the standby visitor location distribution information may include visitor location information of each unit area of the page to be queried. Here, the unit area may be obtained by dividing the page to be queried, for example, the page to be queried may be divided into at least one rectangular area with a height of 50px (pixel) and a width of the page to be queried, and the rectangular area obtained by dividing is the unit area. The guest stay information of each unit area may include various information related to the stay of the unit area guest, such as the number of guests staying in the unit area, guest identifications of the respective guests, access times of the respective guests, and the like.
In some optional implementations of this embodiment, step 202 may specifically include: first, the electronic device may determine whether the page thermodynamic diagram query information is used for querying a real-time thermodynamic diagram according to the query start/stop time of the page thermodynamic diagram query information, where the electronic device may determine whether a user queries a current real-time thermodynamic diagram according to the query start/stop time of the page thermodynamic diagram query information, for example, if a current date is 2017, 6 and 1, and if the query start/stop time input by the user is 2017, 6 and 1, to 2017, 6 and 1, it may determine that the user queries the current real-time thermodynamic diagram; then, in response to determining that the page thermodynamic diagram query information is used for querying a real-time thermodynamic diagram, the electronic device may obtain a latest web page snapshot corresponding to the page to be queried as a standby web page snapshot, obtain real-time visitor dwell distribution information of the page to be queried from a cache database (Redis), and determine the obtained real-time visitor dwell distribution information as standby visitor dwell distribution information. Here, the real-time visitor stop distribution information may include visitor stop information of each unit area of the page to be queried, which is obtained in real time, and the real-time visitor stop distribution information is directly obtained from the cache database, so that the data reading speed may be increased, and the thermodynamic diagram generation speed may be increased.
In some optional implementations, the real-time visitor stop distribution information may include the number of visitors in each unit area, and each unit area of the page to be queried is sorted according to an order of the unit areas from top to bottom in the page to be queried; and the visitor number of each unit area is obtained through the following steps: firstly, the electronic device may obtain a visitor log of the page to be queried in real time, where the visitor log may include at least one piece of visitor data, and the visitor data may include a visitor identifier (e.g., a visitor name, a visitor number, etc.) and a visitor access location, where the visitor access location may refer to a lowest location where the visitor accesses the page to be queried, that is, a lowest location of the page to be queried, which is displayed by a terminal device used by the visitor; then, for each piece of guest data in the guest log, the electronic device may perform the following guest number determination steps: step one, determining a unit area before a unit area where a visitor access position in the piece of visitor data is located as a lowest area where a visitor stays, for example, if the unit area where the visitor access position in the piece of visitor data is the 188 th unit area of the page to be queried, determining the 187 th unit area as the lowest area where the visitor stays; step two, determining whether the sequencing order of the lowest region where the visitor stays is behind the prestored history lowest region where the visitor identification of the piece of visitor data corresponds to; and in response to determining that the sequencing order of the lowest area where the visitor stays is after the lowest area where the visitor stays in the history stored in advance and corresponding to the visitor identification of the piece of visitor data, determining the lowest area where the visitor stays as a new lowest area where the history stays, adding 1 to the number of visitors staying in the lowest area of the visitor, and subtracting 1 from the number of visitors staying in the lowest area where the visitor corresponding to the visitor identification in the visitor data and stored last time stays, wherein the first unit area of the page to be queried may be defaulted as the lowest area where the visitor corresponding to the visitor identification in the visitor data and stored last time stays.
Optionally, the obtaining the visitor log of the page to be queried in real time may include: the electronic device can receive visitor data sent by a visitor client in real time, the visitor client can be a client used by a visitor who visits the page to be queried, and the visitor client can generate the visitor data in real time through the following steps: firstly, when detecting that the position of a scroll bar of the page to be inquired controlled by a visitor changes, determining whether the stay time of the scroll bar at the current position is greater than a preset minimum stay time threshold value; then, in response to the fact that the staying time of the scroll bar at the current position is larger than a preset minimum staying time threshold value, further determining the currently displayed lowest position of the page to be inquired; finally, visitor data is generated from the visitor identification of the visitor and the determined lowest location.
In some optional implementations, step 202 may further specifically include: firstly, in response to determining that the page thermodynamic diagram query information is not used for querying a real-time thermodynamic diagram, the electronic device may obtain a list of web page snapshot names of the page to be queried within the query start-stop time; secondly, the electronic device can send the web snapshot name list to the client so that the client can present the web snapshot name list and receive a target web snapshot name selected by a user in the presented web snapshot name list; then, the electronic device can receive a target web page snapshot name sent by the client, acquire a target web page snapshot according to the target web page snapshot name, and determine the target web page snapshot as a standby web page snapshot; and finally, the electronic equipment can inquire historical visitor stay distribution information of the page to be inquired in the inquiry starting and stopping time in a historical visitor stay distribution information database, and determines the found historical visitor stay distribution information as standby visitor stay distribution information. The above-mentioned historical visitor stay distribution information database may be various databases for storing historical visitor stay distribution information, such as HBase (a distributed, column-oriented open source database).
Optionally, the thermodynamic diagram generation method may further include: the real-time visitor stay distribution information in the cache database is timed (e.g., a certain time when there are fewer visitors on the line may be selected to reduce server stress) to be synchronized into the historical visitor stay distribution information database.
And 203, performing statistical analysis on the visitor staying distribution information to be used to obtain visitor staying statistical information of each unit area.
In this embodiment, the electronic device may perform statistical analysis on the standby visitor stay distribution information to obtain visitor stay statistical information of each unit area, where the visitor stay statistical information may be various statistical information, such as accumulated visitor stay number, visitor arrival rate, and the like of each unit area.
In some optional implementations of this embodiment, the visitor dwell statistic may include a visitor arrival rate; and the above-mentioned visitor stops the distributed information to the standing by and carries on statistical analysis, the visitor who obtains each unit area stops statistical information, can include: first, the electronic device may statistically analyze the cumulative visitor stay number in each unit area according to the to-be-queried visitor stay distribution information, in this implementation manner, each unit area of the to-be-queried page is sorted according to the order of the unit areas from top to bottom in the to-be-queried page, and the cumulative visitor stay number in each unit area may be obtained by adding the visitor numbers of all unit areas after the unit area, for example, the to-be-queried page is divided into n unit areas from top to bottom, and the cumulative visitor stay number in the m (m is less than or equal to n) th unit area is a value obtained by adding the visitor numbers staying in all unit areas between the m unit area and the n unit area (including the n unit area). Secondly, determining the sum of the visitor numbers of all unit areas forming the page to be inquired as the total visitor number of the page to be inquired; finally, for each unit area, the ratio of the accumulated visitor stay number of the unit area to the total visitor data is determined as the visitor arrival rate of the unit area.
And 204, sending the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be inquired to the client, so that the client can generate a page thermodynamic diagram according to the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be inquired.
In this embodiment, the electronic device may send the visitor stay statistical information of each unit area of the page to be queried and the standby webpage snapshot to a client, so that the client renders the visitor stay statistical information of each unit area by using different colors and shades of colors, thereby obtaining a page thermodynamic diagram.
In some optional implementations of this embodiment, the page thermodynamic diagram query information may further include screen height information; and the thermodynamic diagram generation method may further include: firstly, the electronic equipment can divide the page to be inquired into at least one screen according to screen height information, wherein each screen comprises at least one unit area; then, for each of the at least one screen, the following steps may be performed: step one, determining a unit area sequenced before the uppermost position of the screen as the uppermost area of the screen, and calculating the visitor arrival rate of the screen based on the accumulated visitor stop number of the uppermost area of the screen, wherein the accumulated visitor stop number of the uppermost area of the screen can be used as the visitor number of the screen, and the ratio of the visitor number of the screen to the total visitor data is determined as the visitor arrival rate of the screen; and step two, sending the visitor arrival rate of the screen to the client so that the client can generate the thermodynamic diagram of the screen according to the standby webpage snapshot and the visitor arrival rate of the screen. The user can analyze the display effect of the page to be inquired on the clients with different screen heights through the split-screen thermodynamic diagram, the situations of overlong page and the like are prevented, and the conversion rate of the page is further improved.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the thermodynamic diagram generation method according to the present embodiment. In the application scenario of fig. 3, the operator uses the terminal device 301 to perform the query operation of the page thermodynamic diagram. First, the server 302 receives page thermodynamic diagram query information sent by the terminal device 301, where the page thermodynamic diagram query information includes a web address of a page to be queried and a query start-stop time, where the query time is today. Then, the server 302 obtains the latest web page snapshot of the page to be queried as a standby web page snapshot according to the page thermodynamic diagram query information, and obtains real-time visitor stay distribution information of the page to be queried from a cache database (Redis) as standby visitor stay distribution information, wherein the standby visitor stay distribution information includes visitor stay information of each unit area of the page to be queried, and the unit areas are obtained by dividing the page to be queried. Then, the server 302 performs statistical analysis on the waiting visitor stay distribution information to obtain visitor stay statistical information of each unit area. Finally, the server 302 sends the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be queried to the terminal device 301, so that the terminal device 301 renders according to the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be queried, thereby generating a page thermodynamic diagram.
According to the method provided by the embodiment of the application, the visitor stay statistical information used for generating the page thermodynamic diagram is obtained by analyzing the visitor stay information of each unit area of the page to be inquired, so that statistics is carried out on data which are not clicked and the generated page thermodynamic diagram can more accurately represent the behavior distribution condition of the visitors. In addition, during statistical analysis, only visitor stay information of each unit area forming the page to be inquired needs to be analyzed, so that the data volume can be reduced, and the generation speed of the thermodynamic diagram is improved.
With further reference to fig. 4, as an implementation of the method shown in the above figures, the present application provides an embodiment of a thermodynamic diagram generation apparatus, which corresponds to the method embodiment shown in fig. 2, and which can be applied in various electronic devices.
As shown in fig. 4, the thermodynamic diagram generation apparatus 400 according to the present embodiment includes: the receiving unit 401 is configured to receive page thermodynamic diagram query information sent by a client, where the page thermodynamic diagram query information includes a website of a page to be queried and a query start-stop time; an obtaining unit 402, configured to obtain a standby web page snapshot and standby visitor stay distribution information according to the page thermodynamic diagram query information, where the standby visitor stay distribution information includes visitor stay information of each unit area of the page to be queried, and the unit areas are obtained by dividing the page to be queried; a statistic unit 403, configured to perform statistic analysis on the waiting visitor stay distribution information to obtain visitor stay statistic information of each unit area; a generating unit 404, configured to send the visitor stay statistical information and the standby web page snapshot of each unit area of the page to be queried to the client, so that the client generates a page thermodynamic diagram according to the visitor stay statistical information and the standby web page snapshot of each unit area of the page to be queried.
In some optional implementations of the present embodiment, the obtaining unit 402 is further configured to: determining whether the page thermodynamic diagram query information is used for querying a real-time thermodynamic diagram according to the query starting and ending time of the page thermodynamic diagram query information; and in response to the fact that the page thermodynamic diagram query information is determined to be used for querying a real-time thermodynamic diagram, acquiring a latest webpage snapshot corresponding to the page to be queried as a standby webpage snapshot, acquiring real-time visitor stay distribution information of the page to be queried from a cache database, and determining the acquired real-time visitor stay distribution information as standby visitor stay distribution information.
In some optional implementations of the present embodiment, the obtaining unit 402 is further configured to: in response to the fact that the page thermodynamic diagram query information is not used for querying a real-time thermodynamic diagram, acquiring a web page snapshot name list of the page to be queried within the query starting and ending time; sending the web page snapshot name list to the client for the client to present the web page snapshot name list and receive a target web page snapshot name selected by a user in the presented web page snapshot name list; receiving a target web page snapshot name sent by the client, acquiring a target web page snapshot according to the target web page snapshot name, and determining the target web page snapshot as a standby web page snapshot; and inquiring historical visitor stay distribution information of the page to be inquired in the historical visitor stay distribution information database within the inquiry starting and stopping time, and determining the found historical visitor stay distribution information as the waiting visitor stay distribution information.
In some optional implementation manners of this embodiment, the real-time visitor stop distribution information includes the number of visitors in each unit area, and each unit area of the page to be queried is sorted according to the order of the unit areas from top to bottom in the page to be queried; and the apparatus further includes a visitor number calculating unit (not shown), the visitor number calculating unit including: a visitor log obtaining unit (not shown in the figure) for obtaining a visitor log of the page to be queried in real time, wherein the visitor log includes at least one piece of visitor data, and the visitor data includes a visitor identifier and a visitor access position, and the visitor access position refers to a lowest position where a visitor accesses the page to be queried; a determining unit (not shown in the figure) for performing the following visitor number determining steps for each piece of visitor data in the visitor log: determining a unit area before a unit area where the visitor access position in the visitor data is positioned as a lowest area where the visitor stays; determining whether the sequencing order of the lowest region where the visitor stays is behind the prestored history lowest region where the visitor identification of the piece of visitor data corresponds to; and in response to determining that the sequencing order of the lowest area where the visitor stays is after the lowest area where the visitor stays in the history stored in advance and corresponding to the visitor identification of the piece of visitor data, determining the lowest area where the visitor stays as a new lowest area where the visitor stays, adding 1 to the number of the visitors staying in the lowest area, and subtracting 1 from the number of the visitors staying in the lowest area where the visitor corresponding to the visitor identification in the visitor data saved last time.
In some optional implementations of this embodiment, the guest log obtaining unit is further configured to: receiving visitor data sent by a visitor client in real time, wherein the visitor client generates the visitor data in real time through the following steps: when detecting that the position of a scroll bar of the page to be inquired controlled by the visitor changes, determining whether the stay time of the scroll bar at the current position is greater than a preset minimum stay time threshold value; in response to the fact that the staying time of the scroll bar at the current position is larger than a preset minimum staying time threshold value, further determining the current displayed lowest position of the page to be inquired; visitor data is generated from the visitor identification of the visitor and the determined lowermost location.
In some optional implementations of this embodiment, the visitor dwell statistic includes a visitor arrival rate; and the statistical unit 403 is further configured to: counting and analyzing the accumulated visitor staying number of each unit area according to the waiting visitor staying distribution information; determining the sum of the visitor numbers of all unit areas forming the page to be inquired as the total visitor number of the page to be inquired; for each unit area, the ratio of the accumulated visitor stay number of the unit area to the total visitor data is determined as the visitor arrival rate of the unit area.
In some optional implementations of this embodiment, the apparatus further includes a synchronization unit (not shown in the figure) for timing-synchronizing the real-time visitor stay distribution information in the cache database to the historical visitor stay distribution information database.
In some optional implementations of this embodiment, the page thermodynamic diagram query information further includes screen height information; and the apparatus 400 further comprises: a dividing unit (not shown in the figure) for dividing the page to be queried into at least one screen according to the screen height information, wherein each screen comprises at least one unit area; an execution unit (not shown in the figure) configured to, for each of the at least one screen, perform the following steps: determining a unit area sequenced before the uppermost position of the screen as the uppermost area of the screen, and calculating the visitor arrival rate of the screen based on the accumulated visitor stop number of the uppermost area of the screen; and sending the visitor arrival rate of the screen to the client, so that the client can generate the thermodynamic diagram of the screen according to the standby webpage snapshot and the visitor arrival rate of the screen.
It is to be understood that the units described in the thermodynamic diagram generation apparatus 400 shown in fig. 4 correspond to the method embodiment flow 200 shown in fig. 2, and therefore, the above description of the steps in the flow 200 shown in fig. 2 is also applicable to the corresponding modules or units in fig. 4, and is not repeated here.
Referring now to FIG. 5, a block diagram of a computer system 500 suitable for use in implementing a server according to embodiments of the present application is shown. The server shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 506 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An Input/Output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: a storage section 506 including a hard disk and the like; and a communication section 507 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 507 performs communication processing via a network such as the internet. The driver 508 is also connected to the I/O interface 505 as necessary. A removable medium 509 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 508 as necessary, so that a computer program read out therefrom is mounted into the storage section 506 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 507 and/or installed from the removable medium 509. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 501. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a receiving unit, an obtaining unit, a counting unit, and a generating unit. The names of these units do not form a limitation on the unit itself in some cases, and for example, a receiving unit may also be described as a "unit that receives page thermodynamic query information sent by a client".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: receiving page thermodynamic diagram query information sent by a client, wherein the page thermodynamic diagram query information comprises a website of a page to be queried and query starting and stopping time; acquiring a standby webpage snapshot and standby visitor stay distribution information according to the page thermodynamic diagram query information, wherein the standby visitor stay distribution information comprises visitor stay information of each unit area of the page to be queried, and the unit areas are obtained by dividing the page to be queried; carrying out statistical analysis on the waiting visitor stay distribution information to obtain visitor stay statistical information of each unit area; and sending the visitor stay statistical information of each unit area of the page to be queried and the standby webpage snapshot to the client so that the client can generate a page thermodynamic diagram according to the visitor stay statistical information of each unit area of the page to be queried and the standby webpage snapshot.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (16)

1. A method of generating a thermodynamic diagram, the method comprising:
receiving page thermodynamic diagram query information sent by a client, wherein the page thermodynamic diagram query information comprises a website of a page to be queried, query start-stop time and screen height information;
dividing the page to be inquired into at least one screen according to the screen height information, wherein each screen comprises at least one unit area;
acquiring a standby webpage snapshot and standby visitor stay distribution information according to the page thermodynamic diagram query information, wherein the standby visitor stay distribution information comprises visitor stay information of each unit area of the page to be queried, and the unit areas are obtained by dividing the page to be queried; the visitor number determination step in the waiting visitor stay distribution information includes: determining a unit area before a unit area where the visitor access position in each piece of visitor data is positioned as a lowest area where the visitor stays; in response to determining that the sequencing order of the visitor's stay lowermost area is after the previously stored history stay lowermost area corresponding to the visitor identification of the piece of visitor data, determining the visitor's stay lowermost area as a new history stay lowermost area, and adding 1 to the number of visitors staying in the lowermost area by the visitor;
performing statistical analysis on the waiting visitor stay distribution information to obtain visitor stay statistical information of each unit area;
sending the visitor stay statistical information of each unit area of the page to be queried and the standby webpage snapshot to the client, so that the client can generate a page thermodynamic diagram according to the visitor stay statistical information of each unit area of the page to be queried and the standby webpage snapshot;
for each screen of the at least one screen, performing the steps of: determining a unit area sequenced before the uppermost position of the screen as the uppermost area of the screen, and calculating the visitor arrival rate of the screen based on the accumulated visitor stop number of the uppermost area of the screen; and sending the visitor arrival rate of the screen to the client, so that the client can generate the thermodynamic diagram of the screen according to the standby webpage snapshot and the visitor arrival rate of the screen.
2. The method of claim 1, wherein obtaining standby web page snapshots and standby visitor dwell distribution information from the page thermodynamic query information comprises:
determining whether the page thermodynamic diagram query information is used for querying a real-time thermodynamic diagram according to the query starting and ending time of the page thermodynamic diagram query information;
and in response to the fact that the page thermodynamic diagram query information is used for querying a real-time thermodynamic diagram, acquiring the latest webpage snapshot corresponding to the page to be queried as a standby webpage snapshot, acquiring real-time visitor stay distribution information of the page to be queried from a cache database, and determining the acquired real-time visitor stay distribution information as standby visitor stay distribution information.
3. The method of claim 2, wherein obtaining standby web page snapshots and standby visitor dwell distribution information based on the page thermodynamic query information, further comprises:
in response to the fact that the page thermodynamic diagram query information is not used for querying a real-time thermodynamic diagram, acquiring a webpage snapshot name list of the page to be queried within the query starting and ending time;
sending the web page snapshot name list to the client, so that the client presents the web page snapshot name list and receives a target web page snapshot name selected by a user in the presented web page snapshot name list;
receiving a target webpage snapshot name sent by the client, acquiring a target webpage snapshot according to the target webpage snapshot name, and determining the target webpage snapshot as a standby webpage snapshot;
and inquiring historical visitor stay distribution information of the page to be inquired in the inquiry starting and stopping time in a historical visitor stay distribution information database, and determining the found historical visitor stay distribution information as the visitor stay distribution information to be used.
4. The method of claim 2, wherein the real-time visitor dwell distribution information includes the visitor number of each unit area, and each unit area of the page to be queried is sorted in the order of unit areas from top to bottom in the page to be queried; and
the visitor number of each unit area is obtained by the following steps:
the method comprises the steps of obtaining a visitor log of a page to be queried in real time, wherein the visitor log comprises at least one piece of visitor data, and the visitor data comprises a visitor identification and a visitor access position, wherein the visitor access position refers to the lowest position of a visitor accessing the page to be queried;
for each piece of guest data in the guest log, the guest number determining step further comprises: and subtracting 1 from the number of visitors staying in the lowest area of the visitor corresponding to the visitor identification in the visitor data saved last time.
5. The method according to claim 4, wherein the obtaining the visitor log of the page to be queried in real time comprises:
receiving visitor data sent by a visitor client in real time, wherein the visitor client generates the visitor data in real time through the following steps:
when detecting that the position of a scroll bar of the page to be inquired controlled by the visitor is changed, determining whether the stay time of the scroll bar at the current position is greater than a preset minimum stay time threshold value;
in response to the fact that the stay time of the scroll bar at the current position is larger than a preset minimum stay time threshold value, further determining the current displayed lowest position of the page to be inquired;
generating guest data from the guest identification of the guest and the determined lowermost location.
6. The method of claim 1, wherein the visitor dwell statistics include visitor arrival rate; and
the visitor stops the distribution information to be used and carries out statistical analysis, obtains the visitor of each unit area and stops statistical information, includes:
counting and analyzing the accumulated visitor staying number of each unit area according to the waiting visitor staying distribution information;
determining the sum of the visitor numbers of all unit areas forming the page to be queried as the total visitor number of the page to be queried;
for each unit area, the ratio of the accumulated visitor stay number of the unit area to the total visitor data is determined as the visitor arrival rate of the unit area.
7. The method of claim 3, further comprising:
and synchronizing the real-time visitor stay distribution information in the cache database into the historical visitor stay distribution information database at regular time.
8. An apparatus for generating a thermodynamic diagram, the apparatus comprising:
the system comprises a receiving unit, a display unit and a display unit, wherein the receiving unit is used for receiving page thermodynamic diagram query information sent by a client, and the page thermodynamic diagram query information comprises a website of a page to be queried, query start-stop time and screen height information;
the dividing unit is used for dividing the page to be inquired into at least one screen according to the screen height information, wherein each screen comprises at least one unit area;
the acquisition unit is used for acquiring standby webpage snapshots and standby visitor stay distribution information according to the page thermodynamic diagram query information, wherein the standby visitor stay distribution information comprises visitor stay information of each unit area of the page to be queried, and the unit areas are obtained by dividing the page to be queried; the visitor number determination step in the waiting visitor stay distribution information includes: determining a unit area before a unit area where the visitor access position in each piece of visitor data is positioned as a lowest area where the visitor stays; in response to determining that the sequencing order of the visitor's stay lowermost area is after the previously stored history stay lowermost area corresponding to the visitor identification of the piece of visitor data, determining the visitor's stay lowermost area as a new history stay lowermost area, and adding 1 to the number of visitors staying in the lowermost area by the visitor;
the statistical unit is used for carrying out statistical analysis on the waiting visitor stay distribution information to obtain visitor stay statistical information of each unit area;
the generating unit is used for sending the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be inquired to the client so that the client can generate a page thermodynamic diagram according to the visitor stay statistical information and the standby webpage snapshot of each unit area of the page to be inquired;
an execution unit, configured to execute the following steps for each of the at least one screen: determining a unit area sequenced before the uppermost position of the screen as the uppermost area of the screen, and calculating the visitor arrival rate of the screen based on the accumulated visitor stop number of the uppermost area of the screen; and sending the visitor arrival rate of the screen to the client, so that the client can generate the thermodynamic diagram of the screen according to the standby webpage snapshot and the visitor arrival rate of the screen.
9. The apparatus of claim 8, wherein the obtaining unit is further configured to:
determining whether the page thermodynamic diagram query information is used for querying a real-time thermodynamic diagram according to the query starting and ending time of the page thermodynamic diagram query information;
and in response to the fact that the page thermodynamic diagram query information is used for querying a real-time thermodynamic diagram, acquiring the latest webpage snapshot corresponding to the page to be queried as a standby webpage snapshot, acquiring real-time visitor stay distribution information of the page to be queried from a cache database, and determining the acquired real-time visitor stay distribution information as standby visitor stay distribution information.
10. The apparatus of claim 9, wherein the obtaining unit is further configured to:
in response to the fact that the page thermodynamic diagram query information is not used for querying a real-time thermodynamic diagram, acquiring a webpage snapshot name list of the page to be queried within the query starting and ending time;
sending the web page snapshot name list to the client, so that the client presents the web page snapshot name list and receives a target web page snapshot name selected by a user in the presented web page snapshot name list;
receiving a target webpage snapshot name sent by the client, acquiring a target webpage snapshot according to the target webpage snapshot name, and determining the target webpage snapshot as a standby webpage snapshot;
and inquiring historical visitor stay distribution information of the page to be inquired in the inquiry starting and stopping time in a historical visitor stay distribution information database, and determining the found historical visitor stay distribution information as the visitor stay distribution information to be used.
11. The apparatus of claim 9, wherein the real-time visitor dwell distribution information includes the visitor number of each unit area, and each unit area of the page to be queried is sorted in the order of unit areas from top to bottom in the page to be queried; and
the apparatus further includes a visitor number calculation unit including:
the system comprises a visitor log acquisition unit, a query unit and a query unit, wherein the visitor log acquisition unit is used for acquiring a visitor log of a page to be queried in real time, the visitor log comprises at least one piece of visitor data, and the visitor data comprises a visitor identifier and a visitor access position, wherein the visitor access position refers to the lowest position of a visitor accessing the page to be queried;
a determining unit configured to, for each piece of guest data in the guest log, the guest number determining step further includes: and subtracting 1 from the number of visitors staying in the lowest area of the visitor corresponding to the visitor identification in the visitor data saved last time.
12. The apparatus of claim 11, wherein the guest log obtaining unit is further configured to:
receiving visitor data sent by a visitor client in real time, wherein the visitor client generates the visitor data in real time through the following steps:
when detecting that the position of a scroll bar of the page to be inquired controlled by the visitor is changed, determining whether the stay time of the scroll bar at the current position is greater than a preset minimum stay time threshold value;
in response to the fact that the stay time of the scroll bar at the current position is larger than a preset minimum stay time threshold value, further determining the current displayed lowest position of the page to be inquired;
generating guest data from the guest identification of the guest and the determined lowermost location.
13. The apparatus of claim 8, wherein the visitor dwell statistic includes visitor arrival rate; and
the statistics unit is further to:
counting and analyzing the accumulated visitor staying number of each unit area according to the waiting visitor staying distribution information;
determining the sum of the visitor numbers of all unit areas forming the page to be queried as the total visitor number of the page to be queried;
for each unit area, the ratio of the accumulated visitor stay number of the unit area to the total visitor data is determined as the visitor arrival rate of the unit area.
14. The apparatus of claim 11, further comprising a synchronization unit to time-synchronize the real-time visitor stay distribution information in the cache database to the historical visitor stay distribution information database.
15. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN201710491864.1A 2017-06-26 2017-06-26 Thermodynamic diagram generation method and device Active CN109117448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710491864.1A CN109117448B (en) 2017-06-26 2017-06-26 Thermodynamic diagram generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710491864.1A CN109117448B (en) 2017-06-26 2017-06-26 Thermodynamic diagram generation method and device

Publications (2)

Publication Number Publication Date
CN109117448A CN109117448A (en) 2019-01-01
CN109117448B true CN109117448B (en) 2022-06-07

Family

ID=64733740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710491864.1A Active CN109117448B (en) 2017-06-26 2017-06-26 Thermodynamic diagram generation method and device

Country Status (1)

Country Link
CN (1) CN109117448B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369126A (en) * 2020-02-28 2020-07-03 海信集团有限公司 Method and system for counting use data of enterprise IT system
CN113535288B (en) * 2020-04-20 2024-06-14 北京沃东天骏信息技术有限公司 Page data processing method, page display method and page display device
CN112698898A (en) * 2020-12-29 2021-04-23 卡莱特(深圳)云科技有限公司 Method and system for generating thermodynamic diagram snapshot of play box terminal
CN113010831A (en) * 2021-04-06 2021-06-22 金宝贝网络科技(苏州)有限公司 Thermodynamic diagram optimization method, thermodynamic diagram optimization system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722561A (en) * 2012-05-31 2012-10-10 *** Method for analyzing webpage exit region and exit reason
CN102831218A (en) * 2012-08-17 2012-12-19 北京国双科技有限公司 Method and device for determining data in thermodynamic chart
CN102880695A (en) * 2012-09-19 2013-01-16 北京国双科技有限公司 Method and device for determining click location in website
CN103780414A (en) * 2012-10-22 2014-05-07 ***通信集团公司 Website access summarizing method and apparatus
CN106649373A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Thermodynamic diagram display method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777080B (en) * 2010-03-19 2013-02-13 北京国双科技有限公司 User click data-based webpage analysis method
US20140189576A1 (en) * 2012-09-10 2014-07-03 Applitools Ltd. System and method for visual matching of application screenshots
US9323462B2 (en) * 2014-04-08 2016-04-26 International Business Machines Corporation File system snapshot data management in a multi-tier storage environment
CN105488205B (en) * 2015-12-09 2019-05-03 百度在线网络技术(北京)有限公司 Page generation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722561A (en) * 2012-05-31 2012-10-10 *** Method for analyzing webpage exit region and exit reason
CN102831218A (en) * 2012-08-17 2012-12-19 北京国双科技有限公司 Method and device for determining data in thermodynamic chart
CN102880695A (en) * 2012-09-19 2013-01-16 北京国双科技有限公司 Method and device for determining click location in website
CN103780414A (en) * 2012-10-22 2014-05-07 ***通信集团公司 Website access summarizing method and apparatus
CN106649373A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Thermodynamic diagram display method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
怎么用热力图分析网页;马海祥;《http://www.mahaixiang.cn/znseo/1639.html》;20160912;1-12 *

Also Published As

Publication number Publication date
CN109117448A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN109117448B (en) Thermodynamic diagram generation method and device
CN107315824B (en) Method and device for generating thermodynamic diagram
CN107944481B (en) Method and apparatus for generating information
CN105183912B (en) Abnormal log determines method and apparatus
WO2017035970A1 (en) Information pushing method and apparatus
CN107885873B (en) Method and apparatus for outputting information
CN108804445B (en) Thermodynamic diagram generation method and device
US20190166216A1 (en) Information pushing method and device
CN108810047B (en) Method and device for determining information push accuracy rate and server
US10630799B2 (en) Method and apparatus for pushing information
US20210026860A1 (en) Method and device for generating ranking model
CN105472045A (en) Database migration method and database migration device
CN108536867B (en) Method and apparatus for generating information
US20190102938A1 (en) Method and Apparatus for Presenting Information
CN105488205A (en) Page generation method and page generation apparatus
CN110866040A (en) User portrait generation method, device and system
CN112784152A (en) Method and device for marking user
CN108932640B (en) Method and device for processing orders
CN113312553B (en) User tag determining method and device
CN112825178A (en) Method and device for predicting user gender portrait
CN109471713B (en) Method and device for inquiring information
CN110740418A (en) Method and device for generating user visit information
CN111782850B (en) Object searching method and device based on hand drawing
CN113362090A (en) User behavior data processing method and device
CN110110197B (en) Information acquisition method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant