CN108804445A - Heating power drawing generating method and device - Google Patents

Heating power drawing generating method and device Download PDF

Info

Publication number
CN108804445A
CN108804445A CN201710291349.9A CN201710291349A CN108804445A CN 108804445 A CN108804445 A CN 108804445A CN 201710291349 A CN201710291349 A CN 201710291349A CN 108804445 A CN108804445 A CN 108804445A
Authority
CN
China
Prior art keywords
click
web pages
snapshots
segment
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710291349.9A
Other languages
Chinese (zh)
Other versions
CN108804445B (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 CN201710291349.9A priority Critical patent/CN108804445B/en
Publication of CN108804445A publication Critical patent/CN108804445A/en
Application granted granted Critical
Publication of CN108804445B publication Critical patent/CN108804445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

This application discloses heating power drawing generating method and devices.One specific implementation mode of this method includes:Receive the displaying request that thermodynamic chart displaying is carried out to the click information of target webpage, wherein displaying request includes the click time of origin section with the associated clicking operation of click information to be presented;From snapshots of web pages corresponding with clicking the target webpage that presents in time of origin section is selected in the snapshots of web pages set of target webpage to generate snapshots of web pages subset;In response to user to the selection operation of the snapshots of web pages in above-mentioned snapshots of web pages subset, selected snapshots of web pages is obtained in the click information for clicking time of origin section;Selected snapshots of web pages is rendered based on click information, to form the thermodynamic chart of target webpage.The embodiment solves the problems, such as that the snapshots of web pages as background is not matched that with the click data of displaying it is expected.

Description

Heating power drawing generating method and device
Technical field
This application involves field of computer technology, and in particular to technical field of image processing more particularly to thermodynamic chart generate Method and apparatus.
Background technology
Thermodynamic chart (Heatmap) is changed with the depth of color to reflect one of the data information in two-dimensional matrix or table Kind graphical representations form.Since effect of visualization is preferable, thermodynamic chart is widely used in website user's behavioral statistics and friendship In logical map jam situation statistics.Click one kind that thermodynamic chart is more commonly used in thermodynamic chart.Click the major function of thermodynamic chart It is that the distribution situation of click location of the visitor on webpage is shown with different color change and depth degree.It is hot based on clicking Try hard to, concern (click) situation of user for each position in webpage can be analyzed well, to be optimized to webpage And distributing adjustment.
Currently, carry out clicking thermodynamic chart render when, typically using the newest snapshots of web pages of target webpage as background, All click datas in the query time section got are handled, wash with watercolours is carried out to snapshots of web pages using heating power diagram technology Dye, generates the click thermodynamic chart of snapshots of web pages.However, using newest snapshots of web pages as background, using in query time section Click data renders it, can lead to, impact analysis little as the snapshots of web pages of background and the degree of correlation of click data Judgement and data analysis of the personnel to webpage.
Invention content
The purpose of the application is to propose a kind of improved heating power drawing generating method and device, to solve background above technology The technical issues of part is mentioned.
In a first aspect, the embodiment of the present application provides a kind of heating power drawing generating method, this method includes:It receives to target network The click information of page carries out the displaying request of thermodynamic chart displaying, wherein displaying request includes being associated with click information to be presented Clicking operation click time of origin section;It is selected from the snapshots of web pages set of target webpage and is clicking time of origin section The corresponding snapshots of web pages of target webpage of interior presentation is to generate snapshots of web pages subset;In response to user to above-mentioned snapshots of web pages The selection operation of the snapshots of web pages of concentration obtains selected snapshots of web pages in the click information for clicking time of origin section;It is based on Click information renders selected snapshots of web pages, to form the thermodynamic chart of target webpage.
In some embodiments, each snapshots of web pages in snapshots of web pages set includes being first carried out Segment operation in advance And the multiple Segments generated;And selected snapshots of web pages is obtained in the click information for clicking time of origin section, including: Each Segment in selected snapshots of web pages is obtained in the click information for clicking time of origin section.
In some embodiments, selected snapshots of web pages is rendered based on click information, including:Based on selected Snapshots of web pages in each Segment in the click information for clicking time of origin section, wash with watercolours is carried out to selected snapshots of web pages Dye.
In some embodiments, each Segment includes attribute information, attribute information packet in selected snapshots of web pages It whether includes for identified page piecemeal by rendering the rendering flag bit handled;And it obtains selected snapshots of web pages and is clicking The click information of time of origin section, including:Obtain the rendering flag bit of each Segment in selected snapshots of web pages;It is based on Flag bit is rendered, is obtained in selected snapshots of web pages without point of the Segment in click time of origin section for rendering processing Hit information.
In some embodiments, selected snapshots of web pages is obtained in the click information for clicking time of origin section, including:It is raw Corresponding click information acquisition request in time of origin section is being clicked at each Segment;It is respectively clicked to server transmitted in parallel Information acquisition request;Concurrently receive the click information corresponding with each Segment that server returns.
In some embodiments, this method further includes:It is fast to the webpage in snapshots of web pages set in response to detecting user According to the clicking operation of corresponding webpage, click location is obtained relative to the page area presented in the webpage clicked pre- If the first coordinate under coordinate system, and the Segment belonging to click location is obtained relative to being presented in the webpage clicked Second coordinate of the page area under preset coordinate system;Using the first coordinate and the second coordinate, determine click location relative to point Hit the third coordinate of the Segment belonging to position;Actual click position is determined based on third coordinate.
In some embodiments, actual click position is determined based on third coordinate, including:Based on the page belonging to click location The scale flag bit of face dividing determines whether the Segment belonging to click location has one along the affiliated coordinate system of third coordinate The regular length of a change in coordinate axis direction and along the affiliated coordinate system of third coordinate another change in coordinate axis direction fixed width;If Segment belonging to click location has regular length and fixed width, then using third coordinate as actual click position.
In some embodiments, actual click position is determined based on third coordinate, further includes:Belonging to click location Segment do not have regular length and/or fixed width, obtain presented page area and the preset standard page The width ratio of length ratio and/or the page area and the preset standard page that are presented;Based on length ratio and/or width ratio by Three coordinates map to the standard page to obtain 4-coordinate, and using 4-coordinate as actual click position.
In some embodiments, the Segment belonging to click location includes the mark of preset Segment;And side Method further includes:By the net of the mark of the Segment of the Segment belonging to actual click position, click location and target webpage Location information is sent to server.
Second aspect, the embodiment of the present application provide a kind of thermodynamic chart generating means, which includes:Receiving unit is matched Set the displaying request that thermodynamic chart displaying is carried out for receiving the click information to target webpage, wherein displaying request includes and waits for The click time of origin section of the associated clicking operation of click information of displaying;Selection unit is configured to the net from target webpage Snapshots of web pages corresponding with the target webpage presented in click time of origin section is selected in page snapshot set to generate net Page snapshot subset;First acquisition unit is configured to the choosing to the snapshots of web pages in above-mentioned snapshots of web pages subset in response to user Operation is selected, obtains selected snapshots of web pages in the click information for clicking time of origin section;Rendering unit is configured to be based on point It hits information to render selected snapshots of web pages, to form the thermodynamic chart of target webpage.
In some embodiments, each snapshots of web pages in snapshots of web pages set includes being first carried out Segment operation in advance And the multiple Segments generated;And first acquisition unit is further configured to:It obtains every in selected snapshots of web pages A Segment is in the click information for clicking time of origin section.
In some embodiments, rendering unit is further configured to:Based on each page in selected snapshots of web pages Piecemeal renders selected snapshots of web pages in the click information for clicking time of origin section.
In some embodiments, each Segment includes attribute information, attribute information packet in selected snapshots of web pages It whether includes for identified page piecemeal by rendering the rendering flag bit handled;And first acquisition unit includes:First obtains Module is configured to obtain the rendering flag bit of each Segment in selected snapshots of web pages;Second acquisition module, configuration For being based on rendering flag bit, obtain in selected snapshots of web pages without the Segment of rendering processing when clicking generation Between section click information.
In some embodiments, first acquisition unit includes:Generation module is configured to generate with each Segment in point Corresponding click information obtains request in the percussion raw period;Sending module is configured to respectively click to server transmitted in parallel Information acquisition request;Receiving module is configured to concurrently receive click corresponding with each Segment letter of server return Breath.
In some embodiments, which further includes:Second acquisition unit is configured in response to detecting user to net The clicking operation of the webpage corresponding to snapshots of web pages in page snapshot set, obtains click location relative in the webpage clicked First coordinate of the page area presented under preset coordinate system, and the Segment belonging to click location is obtained relative to institute Second coordinate of the page area presented in the webpage of click under preset coordinate system;First determination unit, is configured to profit With the first coordinate and the second coordinate, third coordinate of the click location relative to the Segment belonging to click location is determined;Second Determination unit is configured to determine actual click position based on third coordinate.
In some embodiments, the second determination unit includes:Determining module is configured to based on the page belonging to click location The scale flag bit of face dividing determines whether the Segment belonging to click location has one along the affiliated coordinate system of third coordinate The regular length of a change in coordinate axis direction and along the affiliated coordinate system of third coordinate another change in coordinate axis direction fixed width;Place Module is managed, if the Segment being configured to belonging to click location has regular length and fixed width, by third coordinate As actual click position.
In some embodiments, the second determination unit further includes:Acquisition module is configured in response to belonging to click location Segment do not have regular length and/or fixed width, obtain presented page area and the preset standard page The width ratio of length ratio and/or the page area and the preset standard page that are presented;Mapping block is configured to be based on length Than and/or width ratio third coordinate is mapped into the standard page to obtain 4-coordinate, and using 4-coordinate as actual click Position.
In some embodiments, the Segment belonging to click location includes the mark of preset Segment;And it should Device further includes:Transmission unit is configured to the Segment of the Segment belonging to actual click position, click location Mark and the website information of target webpage are sent to server.
The third aspect, the embodiment of the present application also provides a kind of terminals, including:One or more processors;Storage device, For storing one or more programs, when said one or multiple programs are executed by said one or multiple processors so that on It states one or more processors and realizes heating power drawing generating method provided by the present application.
Fourth aspect, the embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer Program, the program realize heating power drawing generating method provided by the present application when being executed by processor.
Heating power drawing generating method and device provided by the present application, by response to receiving click of the user to target webpage Information carries out being asked comprising the displaying for clicking time of origin section for thermodynamic chart displaying, and the webpage for obtaining requested target webpage is fast According to set, and it is fast to generate webpage that the snapshots of web pages presented in click time of origin section is selected in snapshots of web pages set According to subset, when detecting selection operation of the user to the snapshots of web pages in above-mentioned snapshots of web pages subset, by selected webpage Snapshot renders background as thermodynamic chart, obtains selected snapshots of web pages in the click time of origin section that user asks by user The click information of click, and selected snapshots of web pages is rendered using above-mentioned click information to form the heat of target webpage Try hard to, to solve the problems, such as that the snapshots of web pages as background is not matched that with the click data of displaying it is expected.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the heating power drawing generating method of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the heating power drawing generating method of the application;
Fig. 4 is the flow chart according to another embodiment of the heating power drawing generating method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the thermodynamic chart generating means of the application;
Fig. 6 is adapted for the structural schematic diagram of the computer system of the terminal device for realizing the embodiment of the present application.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the example of the embodiment of the heating power drawing generating method or thermodynamic chart generating means that can apply the application Sexual system framework 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and web page server 105.Network 104 between terminal device 101,102,103 and web page server 105 provide communication link medium.Net Network 104 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User 110 can be interacted by network 104 with web page server 105 with using terminal equipment 101,102,103, to connect Receive or send message etc..Various telecommunication customer end applications, such as web page browsing can be installed on terminal device 101,102,103 Device application, instant messaging tools etc..
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart mobile phone, tablet computer, smartwatch, pocket computer on knee and desktop computer etc..Terminal is set Standby 101,102,103 can carry out the data such as the click information that gets analyzing etc. processing, and by handling result (such as target The thermodynamic chart of webpage) it is shown.For example, terminal device 101,102,103 can receive point of the user to target webpage first Hit the displaying request that information carries out thermodynamic chart displaying;Later, can be in web page server 105 it is opposite with above-mentioned target webpage The snapshots of web pages clicked in time of origin section in user setting is selected in the snapshots of web pages set answered, to generate snapshots of web pages Subset;Then, it when detecting selection operation of the user to the snapshots of web pages in above-mentioned snapshots of web pages subset, can obtain selected Click information of the snapshots of web pages selected in above-mentioned click time of origin section;Finally, above-mentioned click information is based on to selected Snapshots of web pages is rendered to generate the thermodynamic chart of above-mentioned target webpage.
Web page server 105 can be to provide the server of various services, such as ask terminal device 101,102,103 The selected snapshots of web pages of user click information provide support background server.Background server can be stored with target The snapshots of web pages of webpage and to each snapshots of web pages first carry out in advance Segment operation, background server can be to terminal device 101, each snapshots of web pages of 102,103 offer target webpages, can also provide to terminal device 101,102,103 selected by user The click information for the snapshots of web pages selected.
It should be noted that the heating power drawing generating method that is provided of the embodiment of the present application generally by terminal device 101,102, 103 execute, and correspondingly, thermodynamic chart generating means are generally positioned in terminal device 101,102,103.
It should be understood that the number of the terminal device, network and web page server in Fig. 1 is only schematical.According to reality It now needs, can have any number of terminal device, network and web page server.
With continued reference to Fig. 2, the flow 200 of one embodiment of the heating power drawing generating method according to the application is shown.It should Heating power drawing generating method, includes the following steps:
Step 201, the displaying request that thermodynamic chart displaying is carried out to the click information of target webpage is received.
In the present embodiment, heating power drawing generating method runs on electronic equipment thereon (such as terminal shown in FIG. 1 is set It is standby) the displaying request that user carries out the click information of target webpage thermodynamic chart displaying can be received, wherein and thermodynamic chart is with spy Very highlighted form shows the diagram of the geographic area where the page area and visitor that visitor is keen to, and is by highlighted rendering Color carrys out the aggregation extent of reflecting point (line) element, can be according to visitor to some region of number of clicks of webpage, using pre- If color each region on webpage is rendered.Above-mentioned click information may include click location and number of clicks, mesh The click information of mark webpage can be the number of clicks that each position on target webpage is clicked by user.In above-mentioned displaying request May include the click time of origin section of the clicking operation associated by click information to be presented that is input by user or choosing, Above-mentioned click time of origin section is referred to as query time section.Above-mentioned target webpage is above-mentioned user to click information thereon Interested webpage, user can indicate target webpage by inputting webpage title or website information.
Step 202, from the mesh for selecting in the snapshots of web pages set of target webpage with being presented in click time of origin section The corresponding snapshots of web pages of webpage is marked to generate snapshots of web pages subset.
In the present embodiment, above-mentioned electronic equipment can obtain the snapshots of web pages set of above-mentioned target webpage first;Later, Can be selected from above-mentioned snapshots of web pages set it is being presented in above-mentioned click time of origin section and with above-mentioned target webpage Corresponding snapshots of web pages, and generate snapshots of web pages subset.It is fast that above-mentioned electronic equipment can obtain webpage from web page server According to set, snapshots of web pages set can also be obtained from the above-mentioned electronic equipment database of itself.Search engine is in webpage When, webpage can be backed up, and there are in the caching of search engine server (being referred to as web page server), work as user When clicking " snapshots of web pages " link in a search engine, web page contents that network crawler system is captured and preserved by search engine It shows, referred to as " snapshots of web pages ".Above-mentioned user can be occurred by the banner (ID) of target webpage and above-mentioned click Period obtains at least one snapshots of web pages of the above-mentioned target webpage presented in the click time of origin section.
As an example, if it is at 9 points in the morning at 10 points in the morning to click time of origin section, in the snapshots of web pages set of target webpage Snapshots of web pages 1 presented in 9 points to 9 points 20 minutes this periods, snapshots of web pages 2 is in 9 points of 20 minutes to 9 points 40 minutes this times Duan Chengxian mistakes, at 9 points, to 10 points, this period was presented snapshots of web pages 3 within 40 minutes, then can be by snapshots of web pages 1, snapshots of web pages 2 It is divided into snapshots of web pages subset with snapshots of web pages 3.
In the present embodiment, the snapshots of web pages set of each webpage can be stored in above-mentioned web page server.When above-mentioned After the content of pages of target webpage is changed, above-mentioned web page server can be by web crawlers by modified target webpage It is preserved, generates snapshots of web pages, therefore snapshots of web pages can retain the web page contents after target webpage is changed every time.
In the present embodiment, after generating snapshots of web pages subset, above-mentioned snapshots of web pages can be presented in above-mentioned electronic equipment The summary info of each snapshots of web pages in subset, above-mentioned summary info can be the title of snapshots of web pages, for example, snapshots of web pages 1, snapshots of web pages N etc.;Above-mentioned summary info may be the thumbnail of snapshots of web pages.
Step 203, selected net is obtained to the selection operation of the snapshots of web pages in snapshots of web pages subset in response to user Page impinges upon the click information for clicking time of origin section soon.
In the present embodiment, whether sub to the snapshots of web pages generated in step 202 above-mentioned electronic equipment can detect user The snapshots of web pages of concentration has carried out selection operation, for example, whether detection user is in the above-mentioned snapshots of web pages subset that shows The summary info (e.g., title, thumbnail etc.) of some snapshots of web pages has carried out clicking operation;If it is detected that user is to above-mentioned webpage The selection operation of snapshots of web pages in snapshot subset can then obtain the selected snapshots of web pages taken out of user and occur in above-mentioned click Click information (number of clicks that e.g., each position is clicked by user) in period.
In the present embodiment, above-mentioned web page server can include but is not limited to front end processor module, daily record storage system, reality When data computing system and real-time data memory system.
In the present embodiment, above-mentioned web page server can receive the point that each terminal device uploads by front end processor module Flow data (Click Stream Data) is hit, above-mentioned clickstream data is referred to as click steam daily record, above-mentioned front end processor module Above-mentioned clickstream data can be sent in daily record storage system in real time.As an example, above-mentioned front end processor module can be Nginx front end processor modules, Nginx are that (HyperText Transfer Protocol, hypertext pass a high performance HTTP Defeated agreement) and Reverse Proxy, it can be used as webpage (Web) front end processor, user can be asked to close according to certain algorithm Reason distributes to the application server of postposition.
In the present embodiment, above-mentioned daily record storage system can receive and store the click steam that above-mentioned front end processor module is sent Data.Above-mentioned daily record storage system can be Mark reaction Kafka group systems, and Kafka is a message system project of increasing income.It should The target of project is to provide a unification, high throughput, the low platform waited for for processing real time data.Kafka clusters are mainly base It is built in Kafka middleware frameworks, Kafka clusters play intermediate data caching in information transmission system, by In its large capacity, the characteristics of high efficiency can receive data in real time, and safe storage is to cluster, entire system can be improved The processing speed of system.
In the present embodiment, above-mentioned real time data computing system can be with the click in the above-mentioned daily record storage system of real-time consumption Flow data, and data summarization is carried out, export statistical result every the preset period.As an example, above-mentioned real time data calculates System can be Strom systems, and Strom systems are a distributed real time computation systems.
In the present embodiment, above-mentioned real-time data memory system can receive the number of above-mentioned real time data computing system statistics According to, and the data of statistics are stored so as to real-time query.As an example, above-mentioned real time data computing system can be HBase systems, HBase are a PostgreSQL databases distributed, towards row, and HBase systems are a structural datas Distributed memory system.Above-mentioned electronic equipment can be deposited by way of calling interface from the real time data of above-mentioned web page server The click information of above-mentioned web page server statistics is obtained in storage system.
As an example, when clicking time of origin section and being at 9 points in the morning at 10 in the morning, snapshots of web pages subset includes webpage Snapshot 1, snapshots of web pages 2 and snapshots of web pages 3, wherein snapshots of web pages 1 was presented in 9 points to 9 points 20 minutes this periods, webpage Snapshot 2 was presented in 9 points of 20 minutes to 9 points 40 minutes this periods, and at 9 points, to 10 points, this period is in snapshots of web pages 3 within 40 minutes Now cross.When user's selection be snapshots of web pages 3 when, then can obtain click of the snapshots of web pages 3 at 9 points in the morning at 10 points in the morning Information, because snapshots of web pages 3 is only at 9 points, to 10 points, this period was presented within 40 minutes, and not at 9 points to 9: 40/ It presented, therefore what above-mentioned electronic equipment obtained can also be snapshots of web pages 3 in 9 points of clicks to 10 points of this periods in 40 minutes Information.
Step 204, selected snapshots of web pages is rendered based on click information, to form the heating power of target webpage Figure.
In the present embodiment, after step 203 gets click information, above-mentioned electronic equipment can utilize each click The number of clicks that position is clicked renders selected snapshots of web pages using thermodynamic chart Rendering, above-mentioned to be formed The thermodynamic chart of target webpage.In computer graphics field, rendering refers to the process of generating image from model with software.
In the present embodiment, the click information that above-mentioned electronic equipment is got from web page server can be compressed format Data, for example, the data compressed by Gzip algorithms, Gzip is HTTP (HyperText Transfer Protocol, hypertext transfer protocol) compression algorithm one kind, HTTP compression be between Web server and browser transmit pressure The method of contracting content of text.Above-mentioned electronic equipment can obtain the click information of compressed format from above-mentioned web page server, it Afterwards, processing can be unziped it to the click information of above-mentioned compressed format, and utilizes the click information pair after decompression Snapshots of web pages is rendered.This data that compression is obtained from server in the present embodiment, later front end to data into The method of row decompression can reduce network transmission volume, to improve data transmission efficiency.
In some optional realization methods of the present embodiment, each snapshots of web pages in above-mentioned snapshots of web pages set can be with Including multiple Segments, above-mentioned multiple Segments can be that above-mentioned web page server first carries out snapshots of web pages the page point in advance Block operate and generate.Above-mentioned web page server can divide snapshots of web pages based on the content in snapshots of web pages, generate Segment.If it is detected that selection operation of the user to the snapshots of web pages in above-mentioned snapshots of web pages subset, above-mentioned electronic equipment can To obtain click information of each Segment in the snapshots of web pages taken out selected by user in above-mentioned click time of origin section, Above-mentioned electronic equipment can obtain the point of each Segment by calling interface from the data-storage system of web page server Hit information.
In some optional realization methods of the present embodiment, above-mentioned electronic equipment can utilize each in each Segment The number of clicks that a click location is clicked carries out thermodynamic chart rendering, to form above-mentioned target network to selected snapshots of web pages The thermodynamic chart of page.
In some optional realization methods of the present embodiment, whether above-mentioned electronic equipment can detect user to upper first It states the page corresponding to the snapshots of web pages in snapshots of web pages set and has carried out clicking operation, if so, the point of user can be obtained Hit first coordinate of the page area presented in the webpage that position is clicked relative to user under preset coordinate system, wherein Above-mentioned electronic equipment can pre-establish coordinate system, e.g., can be using the upper left corner of the page area presented as origin, will be horizontal Positive direction of the right direction as axis of abscissas, using vertical downward direction as the positive direction of axis of ordinates;Later, it can obtain The second position of the Segment relative to above-mentioned presented page area belonging to above-mentioned click location, wherein can be by page Coordinate points of any point as the Segment on face dividing, for example, can be using the upper left corner of Segment as the page The coordinate points of piecemeal;It is then possible to be based on above-mentioned first coordinate and above-mentioned second coordinate, determine above-mentioned click location relative to upper The third coordinate of the Segment belonging to click location is stated, specifically, the abscissa value of above-mentioned third coordinate can be above-mentioned the The ordinate value of the difference of the abscissa value of two coordinates and the abscissa value of above-mentioned first coordinate, above-mentioned third coordinate can be above-mentioned The difference of the ordinate value of the ordinate value of second coordinate and above-mentioned first coordinate;Finally, it can be determined based on above-mentioned third coordinate Actual click position.As an example, using the upper left corner of Segment as the coordinate points of the Segment, when above-mentioned first coordinate For (X1, Y1), above-mentioned second coordinate is (X2,Y2), then above-mentioned third coordinate can be (X2-X1, Y2-Y1)。
In some optional realization methods of the present embodiment, above-mentioned electronic equipment can obtain above-mentioned click location first The scale flag bit of affiliated Segment, wherein above-mentioned scale flag bit can be used for indicate Segment size whether Fixed numbers are restricted to, above-mentioned scale flag bit may include elevational dimension flag bit and width scales flag bit;Later, may be used To determine whether the Segment belonging to above-mentioned click location has along third coordinate institute based on the scale flag bit got Belong to the regular length of a change in coordinate axis direction in coordinate system, and whether has along another in the affiliated coordinate system of third coordinate The fixed width of one change in coordinate axis direction, for example, when the numerical value in height (height) attribute in the scale flag bit got It is defined as some pixel value, then can determine that the Segment belonging to above-mentioned click location has and be sat along belonging to third coordinate The regular length of a change in coordinate axis direction in mark system, when in width (width) attribute in the scale flag bit got Numerical value is defined as some pixel value, then can determine that the Segment belonging to above-mentioned click location has along third coordinate institute Belong to the fixed width of another change in coordinate axis direction in coordinate system;If it is determined that the Segment belonging to click location is with above-mentioned solid Measured length and above-mentioned fixed width, then can be using above-mentioned third coordinate as actual click position, and by above-mentioned actual click Position is reported.In this implementation, if the length of Segment belonging to above-mentioned click location and/or width are limited Fixed numbers are made as, then above-mentioned Segment is also above-mentioned confined fixed numbers on the preset standard page, then is not required to Third coordinate is converted.
In some optional realization methods of the present embodiment, however, it is determined that go out Segment belonging to above-mentioned click location not With above-mentioned regular length and/or above-mentioned fixed width, then above-mentioned presented page area and preset standard can be obtained The width ratio of the length ratio and/or above-mentioned presented page area and the preset standard page of the page, wherein above-mentioned preset The standard page can be to convert click coordinate of the user on various sizes of terminal screen to be normalized into certain It is arranged on the page of a particular size, above-mentioned length is than that can be the long of the page area presented on above-mentioned electronic equipment The length ratio of degree and the above-mentioned standard page, above-mentioned width is than that can be the wide of the page area presented on above-mentioned electronic equipment The ratio between the width of degree and the above-mentioned standard page;Later, above-mentioned electronic equipment can be based on above-mentioned length ratio and/or above-mentioned width Than above-mentioned third coordinate being mapped on the above-mentioned standard page to obtain 4-coordinate, and using above-mentioned 4-coordinate as above-mentioned Actual click position is reported.Specifically, when the length that above-mentioned length is axis of abscissas direction in coordinate system, above-mentioned width is In coordinate system when the length in axis of ordinates direction, the abscissa value of above-mentioned 4-coordinate can be the abscissa of above-mentioned third coordinate The ordinate value of value divided by above-mentioned width ratio, above-mentioned 4-coordinate can be the ordinate value of above-mentioned third coordinate divided by above-mentioned length Degree ratio.As an example, when the length of the page area presented on the above-mentioned electronic equipment got is L1, the width of page area Degree is W1, the length of the standard page got is L2, the width of the standard page is W2, above-mentioned third coordinate is (X3, Y3) when, on The abscissa value for stating 4-coordinate can be X3*W2/W1, the abscissa value of above-mentioned 4-coordinate can be Y3*L2/L1.This In realization method, reporting for click information is carried out by dimension of Segment, can be prevented due to some page in the page point The problem of click location of block misplaces and influences the thermodynamic chart displaying of other Segments.
In some optional realization methods of the present embodiment, the Segment belonging to above-mentioned click location includes preset The mark (ID) of Segment, above-mentioned mark can be the title of Segment, number etc..Above-mentioned electronic equipment can will be upper State the mark of the Segment of the Segment belonging to actual click position (third coordinate or 4-coordinate), above-mentioned click location Know and the website information of above-mentioned target webpage is sent to above-mentioned web page server.Above-mentioned electronic equipment can also be to above-mentioned actual point Hit position carry out precision processing, for example, using the length of side be 10 precision (px) grid in all click locations as a point, and Click location after precision is handled uploads.
Heating power drawing generating method and device provided in this embodiment, by response to receiving point of the user to target webpage It hits information and carries out being asked comprising the displaying for clicking time of origin section for thermodynamic chart displaying, obtain the webpage of requested target webpage Snapshot set, and selected in snapshots of web pages set and clicking the snapshots of web pages presented in time of origin section to generate webpage Snapshot subset, when detecting selection operation of the user to the snapshots of web pages in above-mentioned snapshots of web pages subset, by selected net Page snapshot as thermodynamic chart render background, obtain selected by snapshots of web pages in the click time of origin section that user asks by with The click information that family is clicked, and selected snapshots of web pages is rendered to form target webpage using above-mentioned click information Thermodynamic chart, it is little as the snapshots of web pages of background and the degree of correlation of click data to solve the problems, such as.
It is the schematic diagram according to an application scenarios of the heating power drawing generating method of the present embodiment with further reference to Fig. 3, Fig. 3 300.In the application scenarios of Fig. 3, terminal device 301 is firstly received the click information progress thermodynamic chart exhibition for target webpage The displaying request 303 shown includes the click with the associated clicking operation of click information to be presented in above-mentioned displaying request 303 Time of origin section 304.Later, above-mentioned terminal device 301 obtains the snapshots of web pages 305 of above-mentioned target webpage from server 302 To form snapshots of web pages set, it is in above-mentioned click time of origin section 304 from being selected in above-mentioned snapshots of web pages set later Existing snapshots of web pages is to generate snapshots of web pages subset.Then, when above-mentioned terminal device 301 receives user to above-mentioned snapshots of web pages After the selection operation of snapshots of web pages in subset, it is fast that above-mentioned terminal device 301 obtains selected webpage from server 302 Impinge upon the click information 306 of above-mentioned click time of origin section 304.Finally, above-mentioned terminal device 301 is based on above-mentioned click information 306 pairs of above-mentioned selected snapshots of web pages are rendered to form the thermodynamic chart of above-mentioned target webpage.
With further reference to Fig. 4, it illustrates the flows 400 of another embodiment of heating power drawing generating method.The thermodynamic chart The flow 400 of generation method, includes the following steps:
Step 401, the displaying request that thermodynamic chart displaying is carried out to the click information of target webpage is received.
Step 402, from the mesh for selecting in the snapshots of web pages set of target webpage with being presented in click time of origin section The corresponding snapshots of web pages of webpage is marked to generate snapshots of web pages subset.
In the present embodiment, the operation of step 401-402 and the operation of step 201-202 are essentially identical, no longer superfluous herein It states.
Step 403, selected net is obtained to the selection operation of the snapshots of web pages in snapshots of web pages subset in response to user The rendering flag bit of each Segment in page snapshot.
In the present embodiment, each web page release in snapshots of web pages may include attribute information, and attribute information can be used In the substantive characteristics or characteristic of description web page release.The attribute information of web page release may include rendering flag bit, render mark Will position can be used for whether identified page piecemeal have passed through rendering processing.For example, when Segment have passed through rendering processing, it can be with Flag bit will be rendered and be set as 1 or T;When Segment is handled without rendering, can will render flag bit be set as 0 or F。
In the present embodiment, whether sub to the snapshots of web pages generated in step 402 above-mentioned electronic equipment can detect user The snapshots of web pages of concentration has carried out selection operation, for example, whether detection user is in the above-mentioned snapshots of web pages subset that shows The summary info of each snapshots of web pages has carried out clicking operation;If it is detected that user is fast to the webpage in above-mentioned snapshots of web pages subset According to selection operation, then can obtain the rendering flag bit of each Segment in the snapshots of web pages selected by user.
In the present embodiment, when user slides up and down operation to the page of selected snapshots of web pages, above-mentioned electricity Sub- equipment can also obtain the rendering flag of each Segment in the page area currently presented.
Step 404, it is based on rendering flag bit, respectively without the page for rendering processing in generation and selected snapshots of web pages Piecemeal is clicking corresponding click information acquisition request in time of origin section.
In the present embodiment, after getting the rendering flag bit of each Segment in step 403, above-mentioned electronics is set It is standby to be based on rendering flag bit, it identifies without the Segment for rendering processing, if for example, it is 0 or F to render flag bit When, representing pages piecemeal is handled without rendering, and above-mentioned electronic equipment can identify the page for rendering that flag bit is 0 or F Piecemeal;The corresponding click information acquisition request in above-mentioned click time of origin section with the Segment identified is generated later. Above-mentioned click information obtains request and can be used for obtaining click information of the Segment in click time of origin section, above-mentioned electronics Equipment can by multithreading to above-mentioned web server request in above-mentioned click time of origin section without rendering at The click information of the Segment of reason.Above-mentioned electronic equipment can be by for asking the thread of click information to be taken to above-mentioned webpage Business device initiates to click information acquisition request, and a click information, which obtains request, can correspond to a thread for asking click information, One click information, which obtains request, can obtain the click information of a Segment, and each click information obtain request can be with Obtain the click information of different web page release.
Step 405, information acquisition request is respectively clicked to server transmitted in parallel.
In the present embodiment, above-mentioned electronic equipment can concurrently send each click information to above-mentioned web page server and obtain Request is taken, to obtain the click information of each Segment.
Step 406, the click corresponding with the Segment respectively handled without rendering that server returns concurrently is received Information.
In the present embodiment, above-mentioned electronic equipment can concurrently receive that above-mentioned web page server returns with it is each without Cross the corresponding click information of Segment for rendering processing.Above-mentioned electronic equipment can determine whether above-mentioned web page server returns It is all to be continued waiting for without the corresponding click informations of Segment for rendering processing if not having, it is all until receiving Without the corresponding click information of Segment for rendering processing.
Step 407, based on click information corresponding with the Segment respectively handled without rendering, to selected webpage Snapshot is rendered, to form the thermodynamic chart of target webpage.
In the present embodiment, what above-mentioned electronic equipment can be received based on step 406 is each without the page for rendering processing The corresponding click information of face dividing can be utilized and is each clicked without each click location in the Segment for rendering processing Number of clicks, to selected snapshots of web pages carry out thermodynamic chart rendering, to form the thermodynamic chart of above-mentioned target webpage.It is calculating In machine drawing field, rendering refers to the process of generating image from model with software.
In the present embodiment, after carrying out rendering processing to Segment, above-mentioned electronic equipment can will be rendered The rendering flag bit of Segment is set as representing the character for having been subjected to and rendering processing, if for example, it is 1 or T generations to render flag bit Table Segment have passed through rendering processing, then the rendering flag bit for having been subjected to the Segment for rendering processing can be set as 1 Or T.
Figure 4, it is seen that compared with the corresponding embodiments of Fig. 2, the stream of the heating power drawing generating method in the present embodiment Journey 400 is highlighted to be obtained in the Webpage currently presented by multithreading without thermodynamic chart using Segment as dimension The step of click information of the Segment of rendering.The scheme of the present embodiment description can improve the inquiry speed of database as a result, Degree, and the size of transmitted data on network packet can be reduced.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of generations of thermodynamic chart One embodiment of device, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to In various electronic equipments.
As shown in figure 5, the thermodynamic chart generating means 500 of the present embodiment include:Receiving unit 501, selection unit 502, One acquiring unit 503 and rendering unit 504.Wherein, receiving unit 501 be configured to receive to the click information of target webpage into The displaying request of row thermodynamic chart displaying, wherein displaying request includes the point with the associated clicking operation of click information to be presented The percussion raw period;Selection unit 502 is configured to select from the snapshots of web pages set of target webpage and is clicking generation The corresponding snapshots of web pages of target webpage presented in period is to generate snapshots of web pages subset;First acquisition unit 503 configures For the selection operation in response to user to the snapshots of web pages in above-mentioned snapshots of web pages subset, obtains selected snapshots of web pages and exist Click the click information of time of origin section;Rendering unit 504 be configured to based on click information to selected snapshots of web pages into Row renders, to form the thermodynamic chart of target webpage.
In the present embodiment, the receiving unit 501 of thermodynamic chart generating means 500, selection unit 502, first acquisition unit 503 and rendering unit 504 specific processing can in 2 corresponding embodiment of reference chart step 201, step 202, step 203 and Step 204.
In some optional realization methods of the present embodiment, each snapshots of web pages in above-mentioned snapshots of web pages set can be with Including multiple Segments, above-mentioned multiple Segments can be that above-mentioned web page server first carries out snapshots of web pages the page point in advance Block operate and generate.Above-mentioned web page server can divide snapshots of web pages based on the content in snapshots of web pages, generate Segment.If it is detected that selection operation of the user to the snapshots of web pages in above-mentioned snapshots of web pages subset, above-mentioned first obtains list Member 503 can obtain point of each Segment in above-mentioned click time of origin section in the selected snapshots of web pages taken out of user Information is hit, above-mentioned first acquisition unit 503 can be obtained respectively by calling interface from the data-storage system of web page server The click information of a Segment.
In some optional realization methods of the present embodiment, above-mentioned rendering unit 504 can utilize each Segment In the number of clicks that is clicked of each click location, thermodynamic chart rendering is carried out to selected snapshots of web pages, to form above-mentioned mesh Mark the thermodynamic chart of webpage.
In some optional realization methods of the present embodiment, each web page release in snapshots of web pages may include attribute Information, attribute information can be used for describing the substantive characteristics or characteristic of web page release.The attribute information of web page release can wrap Rendering flag bit is included, flag bit is rendered and can be used for whether identified page piecemeal have passed through rendering processing.Above-mentioned first obtains list Member 503 may include the first acquisition module (not shown) and the second acquisition module (not shown).Above-mentioned first obtains Module can obtain the rendering flag bit of each Segment in the snapshots of web pages selected by user, and later, above-mentioned second obtains The rendering flag bit that module can be got based on above-mentioned first acquisition module is identified without the page point for rendering processing Block, then obtain the click information without the Segment of rendering processing in above-mentioned click time of origin section identified.
In some optional realization methods of the present embodiment, above-mentioned first acquisition unit 503 may include generation module (not shown), sending module (not shown) and receiving module (not shown).Above-mentioned generation module can generate To Segment, corresponding click information obtains request in above-mentioned click time of origin section, and above-mentioned click information obtains request can The click information in time of origin section is being clicked for obtaining Segment;Above-mentioned sending module can be to above-mentioned web service Device concurrently sends each click information and obtains request, to obtain the click information of each Segment;Above-mentioned receiving module can Concurrently to receive the click information corresponding with each Segment without rendering processing that above-mentioned web page server returns.
In some optional realization methods of the present embodiment, above-mentioned thermodynamic chart generating means 500 can also include:Second Acquiring unit (not shown), the first determination unit (not shown) and the second determination unit (not shown).It is above-mentioned Second acquisition unit can detect first user whether to the page corresponding to the snapshots of web pages in above-mentioned snapshots of web pages set into Clicking operation is gone, if so, the page presented in the webpage that the click location that can obtain user is clicked relative to user First coordinate of the face region under preset coordinate system, wherein above-mentioned electronic equipment can pre-establish coordinate system, e.g., can be with The upper left corner of the page area presented is that origin will vertically downward using horizontal right direction as the positive direction of axis of abscissas Positive direction of the direction as axis of ordinates;Later, above-mentioned second acquisition unit can obtain the page belonging to above-mentioned click location The second position of the piecemeal relative to above-mentioned presented page area, wherein can be using any point on Segment as this The coordinate points of Segment, for example, can be using the upper left corner of Segment as the coordinate points of the Segment;Then, above-mentioned First determination unit can be based on above-mentioned first coordinate and above-mentioned second coordinate, determine above-mentioned click location relative to above-mentioned click The third coordinate of Segment belonging to position, specifically, the abscissa value of above-mentioned third coordinate can be above-mentioned second coordinate Abscissa value and above-mentioned first coordinate abscissa value difference, the ordinate value of above-mentioned third coordinate can be above-mentioned second to sit The difference of the ordinate value of target ordinate value and above-mentioned first coordinate;Finally, above-mentioned second determination unit can be based on above-mentioned the Three coordinates determine actual click position.
In some optional realization methods of the present embodiment, above-mentioned second determination unit can also include determining module (not shown) and processing module (not shown).Above-mentioned determining module can be obtained first belonging to above-mentioned click location The scale flag bit of Segment, wherein above-mentioned scale flag bit can be used for indicating whether the size of Segment is limited For fixed numbers, above-mentioned scale flag bit may include elevational dimension flag bit and width scales flag bit;Later, above-mentioned determination Module can determine whether the Segment belonging to above-mentioned click location has along third based on the scale flag bit got The regular length of a change in coordinate axis direction in the affiliated coordinate system of coordinate, and whether have along the affiliated coordinate system of third coordinate In another change in coordinate axis direction fixed width;If it is determined that Segment belonging to click location have above-mentioned regular length with And above-mentioned fixed width, then above-mentioned processing module can be using above-mentioned third coordinate as actual click position, and by above-mentioned reality Click location is reported.In this implementation, if the length and/or width of the Segment belonging to above-mentioned click location Fixed numbers are restricted to, then above-mentioned Segment is also above-mentioned confined fixed numbers on the preset standard page, then Third coordinate need not be converted.
In some optional realization methods of the present embodiment, above-mentioned second determination unit can also include acquisition module (not shown) and mapping block (not shown).If it is determined that the Segment belonging to above-mentioned click location is without upper Regular length and/or above-mentioned fixed width are stated, then above-mentioned acquisition module can obtain above-mentioned presented page area and preset The standard page length ratio and/or above-mentioned presented page area and the preset standard page width ratio, wherein it is above-mentioned The preset standard page can be to convert click coordinate of the user on various sizes of terminal screen with standard Change to what is be arranged on the page of some particular size, above-mentioned length is than that can be the page pool presented on above-mentioned electronic equipment The length ratio of the length and the above-mentioned standard page in domain, above-mentioned width is than that can be the page pool presented on above-mentioned electronic equipment The width in domain and the ratio between the width of the above-mentioned standard page;Later, above-mentioned mapping block can be based on above-mentioned length ratio and/or above-mentioned Above-mentioned third coordinate is mapped on the above-mentioned standard page to obtain 4-coordinate by width ratio, and using above-mentioned 4-coordinate as Above-mentioned actual click position is reported.Specifically, when the length that above-mentioned length is axis of abscissas direction in coordinate system, above-mentioned width When degree is the length in axis of ordinates direction in coordinate system, the abscissa value of above-mentioned 4-coordinate can be the cross of above-mentioned third coordinate Coordinate value divided by above-mentioned width ratio, the ordinate value of above-mentioned 4-coordinate can be more than the ordinate value of above-mentioned third coordinate remove State length ratio.In this implementation, reporting for click information is carried out by dimension of Segment, can prevented due to page The problem of click location of some Segment misplaces and influences the thermodynamic chart displaying of other Segments in face.
In some optional realization methods of the present embodiment, the Segment belonging to above-mentioned click location includes preset The mark of Segment, above-mentioned mark can be the title of Segment, number etc..Above-mentioned thermodynamic chart generating means 500 are also May include transmission unit (not shown), above-mentioned transmission unit can be by above-mentioned actual click position, above-mentioned click location The mark of the Segment of affiliated Segment and the website information of above-mentioned target webpage are sent to above-mentioned web page server.
Below with reference to Fig. 6, it illustrates the computer systems 600 suitable for the terminal device for realizing the embodiment of the present invention Structural schematic diagram.Terminal device shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various actions appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
It is connected to I/O interfaces 605 with lower component:Importation 606 including keyboard, mouse etc.;Including such as liquid crystal Show the output par, c 607 of device (LCD) and loud speaker etc.;Storage section 608 including hard disk etc.;And including such as LAN card, The communications portion 609 of the network interface card of modem etc..Communications portion 609 executes communication via the network of such as internet Processing.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as disk, CD, magneto-optic disk, Semiconductor memory etc., as needed be mounted on driver 610 on, in order to from the computer program read thereon according to need It is mounted into storage section 608.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed by communications portion 609 from network, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.It should be noted that the above-mentioned computer-readable medium of the application can be computer-readable signal media or Computer readable storage medium either the two arbitrarily combines.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above combination. The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium can any be included or store The tangible medium of program, the program can be commanded the either device use or in connection of execution system, device.And In the application, computer-readable signal media may include the data letter propagated in a base band or as a carrier wave part Number, wherein carrying computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by instruction execution system, device either device use or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of various embodiments of the invention, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more uses The executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it to note Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packet Include receiving unit, selection unit, first acquisition unit and rendering unit.Wherein, the title of these units is under certain conditions simultaneously The restriction to the unit itself is not constituted.For example, receiving unit is also described as " receiving the click information to target webpage Carry out the unit of the displaying request of thermodynamic chart displaying ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can be Included in device described in above-described embodiment;Can also be individualism, and without be incorporated the device in.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device so that should Device:Receive the displaying request that thermodynamic chart displaying is carried out to the click information of target webpage, wherein displaying request includes and waits opening up The click time of origin section for the associated clicking operation of click information shown;Selected from the snapshots of web pages set of target webpage with The corresponding snapshots of web pages of target webpage presented in time of origin section is being clicked to generate snapshots of web pages subset;In response to user To the selection operation of the snapshots of web pages in above-mentioned snapshots of web pages subset, obtains selected snapshots of web pages and clicking time of origin section Click information;Selected snapshots of web pages is rendered based on click information, to form the thermodynamic chart of target webpage.
Above description is only presently preferred embodiments of the present invention and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the present invention, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed in the present invention Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (20)

1. a kind of heating power drawing generating method, which is characterized in that the method includes:
Receive and carry out the displaying of thermodynamic chart displaying to the click information of target webpage and ask, wherein the displaying ask include with The click time of origin section of the associated clicking operation of click information to be presented;
From the mesh for selecting in the snapshots of web pages set of the target webpage with being presented in the click time of origin section The corresponding snapshots of web pages of webpage is marked to generate snapshots of web pages subset;
In response to user to the selection operation of the snapshots of web pages in above-mentioned snapshots of web pages subset, obtains selected snapshots of web pages and exist The click information for clicking time of origin section;
The selected snapshots of web pages is rendered based on the click information, to form the heating power of the target webpage Figure.
2. according to the method described in claim 1, it is characterized in that, each snapshots of web pages in the snapshots of web pages set includes The multiple Segments for being first carried out Segment operation in advance and being generated;And
It is described to obtain selected snapshots of web pages in the click information for clicking time of origin section, including:
Each Segment in selected snapshots of web pages is obtained in the click information for clicking time of origin section.
3. according to the method described in claim 2, it is characterized in that, described be based on the click information to the selected net Page snapshot is rendered, including:
Based on each Segment in the selected snapshots of web pages in the click information for clicking time of origin section, to institute Selected snapshots of web pages is stated to be rendered.
4. according to the method described in claim 2, it is characterized in that, each Segment packet in the selected snapshots of web pages Attribute information is included, whether the attribute information includes for identified page piecemeal by rendering the rendering flag bit handled;And
It is described to obtain selected snapshots of web pages in the click information for clicking time of origin section, including:
Obtain the rendering flag bit of each Segment in selected snapshots of web pages;
Based on the rendering flag bit, obtain in the selected snapshots of web pages without the Segment of rendering processing in institute State the click information for clicking time of origin section.
5. according to the method described in one of claim 2-4, which is characterized in that described to obtain selected snapshots of web pages described The click information of time of origin section is clicked, including:
Generate the corresponding click information acquisition request in the click time of origin section with each Segment;
Request is obtained to each click information of server transmitted in parallel;
Concurrently receive the click information corresponding with each Segment that server returns.
6. according to the method described in claim 2, it is characterized in that, the method further includes:
In response to detecting clicking operation of the user to the webpage corresponding to the snapshots of web pages in the snapshots of web pages set, obtain First coordinate of the click location relative to the page area presented in the webpage clicked under preset coordinate system, and obtain institute The Segment belonging to click location is stated relative to the page area presented in the clicked webpage in the default seat The second coordinate under mark system;
Using first coordinate and second coordinate, determine the click location relative to the page belonging to the click location The third coordinate of face dividing;
Actual click position is determined based on the third coordinate.
7. according to the method described in claim 6, it is characterized in that, described determine actual click position based on the third coordinate It sets, including:
Determine whether the Segment belonging to click location has based on the scale flag bit of the Segment belonging to click location The regular length of change in coordinate axis direction and along the affiliated coordinate of third coordinate along the affiliated coordinate system of third coordinate The fixed width of another change in coordinate axis direction in system;
If the Segment belonging to click location has the regular length and the fixed width, by the third coordinate As actual click position.
8. the method according to the description of claim 7 is characterized in that described determine actual click position based on the third coordinate It sets, further includes:
Do not have the regular length and/or the fixed width in response to the Segment belonging to the click location, obtains The length ratio and/or the presented page area of the presented page area and the preset standard page with it is preset The width ratio of the standard page;
The third coordinate is mapped into the standard page to obtain the 4th seat based on the length ratio and/or width ratio Mark, and using the 4-coordinate as the actual click position.
9. method according to claim 7 or 8, which is characterized in that the Segment belonging to the click location includes pre- If Segment mark;And
The method further includes:
By the mark of the Segment of the Segment belonging to the actual click position, the click location and the target network The website information of page is sent to the server.
10. a kind of thermodynamic chart generating means, which is characterized in that described device includes:
Receiving unit is configured to receive the displaying request for carrying out the click information of target webpage thermodynamic chart displaying, wherein institute It includes the click time of origin section with the associated clicking operation of click information to be presented to state displaying request;
Selection unit is configured to select from the snapshots of web pages set of the target webpage and in the click time of origin The corresponding snapshots of web pages of the target webpage presented in section is to generate snapshots of web pages subset;
First acquisition unit is configured to the selection operation to the snapshots of web pages in above-mentioned snapshots of web pages subset in response to user, Selected snapshots of web pages is obtained in the click information for clicking time of origin section;
Rendering unit is configured to render the selected snapshots of web pages based on the click information, to be formed State the thermodynamic chart of target webpage.
11. device according to claim 10, which is characterized in that each snapshots of web pages packet in the snapshots of web pages set Include the multiple Segments for being first carried out Segment operation in advance and being generated;And
The first acquisition unit is further configured to:
Each Segment in selected snapshots of web pages is obtained in the click information for clicking time of origin section.
12. according to the devices described in claim 11, which is characterized in that the rendering unit is further configured to:
Based on each Segment in the selected snapshots of web pages in the click information for clicking time of origin section, to institute Selected snapshots of web pages is stated to be rendered.
13. according to the devices described in claim 11, which is characterized in that each Segment in the selected snapshots of web pages Including attribute information, whether the attribute information includes for identified page piecemeal by rendering the rendering flag bit handled;With And
The first acquisition unit includes:
First acquisition module is configured to obtain the rendering flag bit of each Segment in selected snapshots of web pages;
Second acquisition module is configured to be based on the rendering flag bit, obtain in the selected snapshots of web pages without The Segment of processing is rendered in the click information for clicking time of origin section.
14. according to the device described in one of claim 11-13, which is characterized in that the first acquisition unit includes:
Generation module, be configured to generate with each Segment in the click time of origin section corresponding click information Obtain request;
Sending module is configured to obtain request to each click information of server transmitted in parallel;
Receiving module, the click information corresponding with each Segment for being configured to concurrently to receive server return.
15. according to the devices described in claim 11, which is characterized in that described device further includes:
Second acquisition unit is configured in response to detecting user to corresponding to the snapshots of web pages in the snapshots of web pages set Webpage clicking operation, obtain click location relative to the page area presented in the webpage clicked in preset coordinate system Under the first coordinate, and obtain the Segment belonging to the click location relative to being presented in the clicked webpage Second coordinate of the page area under the preset coordinate system;
First determination unit is configured to utilize first coordinate and second coordinate, determines that the click location is opposite The third coordinate of Segment belonging to the click location;
Second determination unit is configured to determine actual click position based on the third coordinate.
16. device according to claim 15, which is characterized in that second determination unit includes:
Determining module is configured to determine belonging to click location based on the scale flag bit of the Segment belonging to click location Whether Segment has along the affiliated coordinate system of third coordinate the regular length of change in coordinate axis direction and along described The fixed width of another change in coordinate axis direction in the affiliated coordinate system of third coordinate;
Processing module, if the Segment being configured to belonging to click location has the regular length and the fixed width Degree, then using the third coordinate as actual click position.
17. device according to claim 16, which is characterized in that second determination unit further includes:
Acquisition module, be configured in response to the Segment belonging to the click location do not have the regular length and/or The fixed width obtains the length ratio of the presented page area and the preset standard page and/or described is presented Page area and the preset standard page width ratio;
Mapping block is configured to that the third coordinate is mapped to the mark based on the length ratio and/or width ratio The quasi- page is to obtain 4-coordinate, and using the 4-coordinate as the actual click position.
18. device according to claim 16 or 17, which is characterized in that the Segment belonging to the click location includes The mark of preset Segment;And
Described device further includes:
Transmission unit is configured to the Segment of the Segment belonging to the actual click position, the click location Mark and the website information of the target webpage be sent to the server.
19. a kind of terminal, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now method as described in any in claim 1-9.
20. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method as described in any in claim 1-9 is realized when execution.
CN201710291349.9A 2017-04-28 2017-04-28 Thermodynamic diagram generation method and device Active CN108804445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710291349.9A CN108804445B (en) 2017-04-28 2017-04-28 Thermodynamic diagram generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710291349.9A CN108804445B (en) 2017-04-28 2017-04-28 Thermodynamic diagram generation method and device

Publications (2)

Publication Number Publication Date
CN108804445A true CN108804445A (en) 2018-11-13
CN108804445B CN108804445B (en) 2022-06-07

Family

ID=64069979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710291349.9A Active CN108804445B (en) 2017-04-28 2017-04-28 Thermodynamic diagram generation method and device

Country Status (1)

Country Link
CN (1) CN108804445B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506854A (en) * 2020-07-02 2020-08-07 浙江百应科技有限公司 Thermodynamic diagram analysis method and system for intelligently segmenting and acquiring user behaviors based on pictures
CN113535288A (en) * 2020-04-20 2021-10-22 北京沃东天骏信息技术有限公司 Page data processing method, page display method and device
CN113742618A (en) * 2020-11-11 2021-12-03 北京沃东天骏信息技术有限公司 Data processing method, device, related equipment and storage medium
CN114385270A (en) * 2022-01-19 2022-04-22 平安付科技服务有限公司 Automatic webpage animation generation method, device, equipment and storage medium
CN114943048A (en) * 2022-07-11 2022-08-26 维沃移动通信有限公司 Webpage loading method, webpage loading device, electronic equipment and storage medium
WO2022179482A1 (en) * 2021-02-24 2022-09-01 北京字跳网络技术有限公司 Video display method and apparatus, electronic device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914638A (en) * 2004-01-30 2007-02-14 野村国际股份有限公司 Financial data analysis data
CN102880695A (en) * 2012-09-19 2013-01-16 北京国双科技有限公司 Method and device for determining click location in website
CN103618773A (en) * 2013-11-19 2014-03-05 北京国双科技有限公司 Display method, device and system for thermodynamic diagrams
CN104376114A (en) * 2014-12-01 2015-02-25 百度在线网络技术(北京)有限公司 Search result displaying method and device
US20150106578A1 (en) * 2013-10-15 2015-04-16 Coho Data Inc. Systems, methods and devices for implementing data management in a distributed data storage system
CN104572783A (en) * 2013-10-29 2015-04-29 深圳市腾讯计算机***有限公司 Webpage click condition displaying method and device
CN104820634A (en) * 2014-12-25 2015-08-05 平安科技(深圳)有限公司 Method and device for detecting page test track
US20150286436A1 (en) * 2014-04-08 2015-10-08 International Business Machines Corporation File system snapshot data management in a multi-tier storage environment
CN106157155A (en) * 2016-07-27 2016-11-23 北京大学 Social media information based on map metaphor propagates visual analysis method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914638A (en) * 2004-01-30 2007-02-14 野村国际股份有限公司 Financial data analysis data
CN102880695A (en) * 2012-09-19 2013-01-16 北京国双科技有限公司 Method and device for determining click location in website
US20150106578A1 (en) * 2013-10-15 2015-04-16 Coho Data Inc. Systems, methods and devices for implementing data management in a distributed data storage system
CN104572783A (en) * 2013-10-29 2015-04-29 深圳市腾讯计算机***有限公司 Webpage click condition displaying method and device
CN103618773A (en) * 2013-11-19 2014-03-05 北京国双科技有限公司 Display method, device and system for thermodynamic diagrams
US20150286436A1 (en) * 2014-04-08 2015-10-08 International Business Machines Corporation File system snapshot data management in a multi-tier storage environment
CN104376114A (en) * 2014-12-01 2015-02-25 百度在线网络技术(北京)有限公司 Search result displaying method and device
CN104820634A (en) * 2014-12-25 2015-08-05 平安科技(深圳)有限公司 Method and device for detecting page test track
CN106157155A (en) * 2016-07-27 2016-11-23 北京大学 Social media information based on map metaphor propagates visual analysis method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MWOLF122: "热力图(Heatmap)实现", 《HTTPS://WWW.JIANSHU.COM/P/3CED545224F1》 *
VEENA SINGH ET AL.: "An educational website on interferometry", 《2012 IEEE INTERNATIONAL CONFERENCE ON TECHNOLOGY ENHANCED EDUCATION (ICTEE)》 *
肖子达 等: "交互点值图上的可视化抽象和探索", 《中国传媒大学学报(自然科学版) 》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535288A (en) * 2020-04-20 2021-10-22 北京沃东天骏信息技术有限公司 Page data processing method, page display method and device
CN111506854A (en) * 2020-07-02 2020-08-07 浙江百应科技有限公司 Thermodynamic diagram analysis method and system for intelligently segmenting and acquiring user behaviors based on pictures
CN113742618A (en) * 2020-11-11 2021-12-03 北京沃东天骏信息技术有限公司 Data processing method, device, related equipment and storage medium
WO2022179482A1 (en) * 2021-02-24 2022-09-01 北京字跳网络技术有限公司 Video display method and apparatus, electronic device, and storage medium
CN114385270A (en) * 2022-01-19 2022-04-22 平安付科技服务有限公司 Automatic webpage animation generation method, device, equipment and storage medium
CN114943048A (en) * 2022-07-11 2022-08-26 维沃移动通信有限公司 Webpage loading method, webpage loading device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108804445B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN108804445A (en) Heating power drawing generating method and device
CN109460513A (en) Method and apparatus for generating clicking rate prediction model
US8032591B2 (en) Systems and methods for mapping event changes in network navigation
CN107944481B (en) Method and apparatus for generating information
CN106528154B (en) Online seat selection method, system and equipment
CN107609890A (en) A kind of method and apparatus of order tracking
US20200193372A1 (en) Information processing method and apparatus
US20090327402A1 (en) Systems and methods for mapping user experiences in network navigation
US9275398B1 (en) Obtaining metrics for client-side display of content
JP2021103506A (en) Method and device for generating information
CN108491267A (en) Method and apparatus for generating information
CN108494860A (en) WEB accesses system, WEB access methods and device for client
CN111147431B (en) Method and apparatus for generating information
CN107862044A (en) The method and apparatus of displayed page
CN107784076A (en) The method and apparatus of visualization structure user behavior data
CN110866040A (en) User portrait generation method, device and system
US9465781B2 (en) Analysis of web application state
CN108984070A (en) Method, apparatus, electronic equipment and readable medium for thermodynamic chart imaging
CN108932640A (en) Method and apparatus for handling order
US20150220941A1 (en) Visual tagging to record interactions
US9396259B1 (en) Capture of web application state
CN109409947A (en) A kind of client-based resident trip survey method
CN108933823A (en) User's touching reaches method and apparatus
CN113220381A (en) Click data display method and device
CN109614603A (en) Method and apparatus for generating information

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