The content of the invention
The problem of can not showing single web page interlinkage click volume for existing thermodynamic chart and propose the present invention, therefore, this
The main purpose of invention is the link clicks amount methods of exhibiting and device for providing a kind of webpage thermodynamic, to solve above-mentioned ask
Topic.
To achieve these goals, according to an aspect of the invention, there is provided a kind of link clicks of webpage thermodynamic
Measure methods of exhibiting.This method includes:Obtain the click volume for each pixel that target web includes;According to the click volume of each pixel
Obtain thermodynamic chart corresponding to target web;At least one column element that target web includes is determined, wherein, at least one column
Mesh element includes target column element, and target column element includes multiple linking elements;Link clicks amount trigger action is received, its
In, link clicks amount trigger action is used to trigger the click volume for showing multiple linking elements;Multiple linking elements are shown respectively
Click volume.
Further, it is determined that after at least one column element that target web includes, this method also includes:For column
The default column numbering of element addition, wherein, it is different that column numbering is preset corresponding to different column elements;Compiled according to default column
Number, obtain column attribute of an element.
Further, numbered according to default column, obtaining column attribute of an element includes:Acquisition target web includes complete
Portion's web page element;Obtain whole web page elements corresponding numbering respectively;Whether detection numbering is default column numbering respectively;It is determined that
Corresponding numbering is that the web page element of default column numbering is column element;Obtain column attribute of an element.
Further, column attribute of an element includes coordinate, width and the height of column element, is compiled according to default column
Number, after obtaining column attribute of an element respectively, this method also includes:Determined according to the coordinate of column element, width and height
Column element region shared in target web;Column element is entered according to the region that column element is shared in target web
Line identifier.
Further, according to column element region shared in target web column element is identified including:Press
Frame is created according to the coordinate of column element, width and height;It is determined that the identification information of corresponding column element;According to frame and mark
Know information to be identified column element.
To achieve these goals, according to another aspect of the present invention, there is provided a kind of link clicks of webpage thermodynamic
Exhibiting device is measured, the device includes:First acquisition unit, the click volume of each pixel included for obtaining target web;The
Two acquiring units, for the thermodynamic chart according to corresponding to the click volume of each pixel acquisition target web;First determining unit, is used for
At least one column element that target web includes is determined, wherein, at least one column element includes target column element, mesh
Mark column element includes multiple linking elements;Receiving unit, for receiving link clicks amount trigger action, wherein, link clicks
Trigger action is measured to be used to trigger the click volume for showing multiple linking elements;Display unit, for showing multiple linking elements respectively
Click volume.
Further, the device also includes:Adding device, for adding default column numbering for column element, wherein, no
It is different that column numbering is preset corresponding to same column element;3rd acquiring unit, for being numbered according to default column, obtain column
Attribute of an element.
Further, the 3rd acquiring unit includes:First acquisition module, the whole webpages included for obtaining target web
Element;Second acquisition module, for obtaining, whole web page elements are corresponding respectively to number;Detection module, for detecting volume respectively
Number whether it is default column numbering;First determining module, for the web page element that numbering corresponding to determination is default column numbering
For column element;3rd acquisition module, for obtaining column attribute of an element.
Further, column attribute of an element includes coordinate, width and the height of column element, and the device also includes:The
Two determining units, column element area shared in target web is determined for the coordinate according to column element, width and height
Domain;Unit is identified, for being identified according to column element region shared in target web to column element.
Further, mark unit includes:Creation module, for being created according to the coordinate of column element, width and height
Frame;Second determining module, for determining the identification information of corresponding column element;Mark module, for according to frame and mark
Know information to be identified column element.
By the present invention, using the method comprised the following steps:Obtain the click volume for each pixel that target web includes;
The thermodynamic chart according to corresponding to the click volume of each pixel obtains target web;Determine at least one column member that target web includes
Element, wherein, at least one column element includes target column element, and target column element includes multiple linking elements;Receive
Link clicks amount trigger action, wherein, link clicks amount trigger action is used to trigger the click volume for showing multiple linking elements;Point
The click volume of multiple linking elements is not shown, solves the problems, such as that webpage thermodynamic can not show each web page interlinkage click volume,
And then by receiving link clicks amount trigger action, the click volume of each linking element is shown, realizes net in webpage thermodynamic
The data of column element in thermodynamic chart are mistakenly considered single webpage chain by the displaying of page link clicks amount so as to effectively prevent user
The problem of connecing data.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.In addition, term " comprising "
" having " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or list
Process, method, system, product or the equipment of member are not necessarily limited to those steps clearly listed or unit, but may include do not have
Have clearly listing or for the intrinsic other steps of these processes, method, product or equipment or unit.
In the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.Below will
The present invention will be described in detail with reference to the accompanying drawings and embodiments.
Fig. 1 is the schematic diagram according to the first embodiment of the link clicks amount methods of exhibiting of the webpage thermodynamic of the present invention.
As shown in figure 1, the method comprising the steps of S102 to step S110.
Step S102, obtain the click volume for each pixel that target web includes.
Substantial amounts of pixel, each webpage clicking of user, the script file code of target web insertion are included in target web
Click behavioral data of the user in the webpage will be all recorded, wherein, clicking on behavioral data includes the click of each pixel of the webpage
Amount, script file code can be JavaScript code.The click volume of each pixel of subsequent webpage will be stored in database
In, used for inquiry.The click of target web can be obtained by inquiring about Analysis databases or traditional database
Data.When the click volume of target web pixel is stored in Analysis databases, can be inquired about by using MDX statement
Analysis databases obtain click data.
Step S104, the thermodynamic chart according to corresponding to the click volume of each pixel obtains target web.
For target web, because different regions is different by the degree of concern of user, therefore different zones
Click volume is different.By obtaining the click volume of each pixel, the click volume of webpage different zones can be known.It is different according to webpage
The click volume in region number, can be regional colour, so as to the depth of color represent target web different zones by
The degree of user's concern, i.e., be presented to user by the click volume of target web different zones with the formal intuition of thermodynamic chart.
Step S106, at least one column element that target web includes is determined, wherein, at least one column element bag
Target column element is included, target column element includes multiple linking elements.
Target web, such as hypertext markup language page, the element comprising numerous species.Column element is hypertext mark
Remember a kind of element in language page, include multiple linking elements under the element, during each browsing pages of user, in column element
The linking element of display is all change, and only display one every time.Specifically, column element is the linking element of same type
Set.For example, corresponding website can be placed under same column element for the linking element of movie and video programs website, column member
Element can be named as video display column element.Generally, multiple linking elements are usually contained in a column element of target web, it is more
Individual linking element corresponds to different multiple Website pages respectively, but the type of corresponding multiple Website pages is identical.Need
It is noted that the quantity for the column element that target web includes can be multiple, or one.When target web includes
Column element when there was only one, can be using unique column element as target column element.
Step S108, link clicks amount trigger action is received, wherein, it is more that link clicks amount trigger action is used for triggering displaying
The click volume of individual linking element.
Generally, by the depth of the color of different zones in thermodynamic chart, the click volume of different column elements can be known
Relative size.And the click volume of each linking element is stored in database, according to the present invention, touched when receiving link clicks amount
During hair operation, by calling the link clicks amount data being stored in database, it can be shown to user in column element all
The respective click volume of linking element.Alternatively, link clicks amount trigger action has corresponded to a filter condition, passes through the filtering rod
Part, selects web page interlinkage to carry out click volume displaying, and filter condition can be:The primary URL of thermodynamic chart is current
Target pages are, it is necessary to which the coordinate for showing the linking element of click volume is the coordinate of place column element.When receiving the linking point
The amount of hitting trigger action, the click volume of each linking element included in the column element will be shown to user.
Step S110, the click volume of multiple linking elements is shown respectively.
According to the link clicks amount trigger action received, the click volume for showing each linking element can be triggered.
For example, column element 1, column element 2, column element 3 in target web be present, three column elements distinguish position
The different region in the target web.When user needs to know the click volume of each linking element in column element 1,
Can be using column element 1 as target column element.User performs link clicks amount trigger action, and the operation is triggering column member
Element 1 shows the operation of the click volume of its each linking element included.When receiving the link clicks amount trigger action, system will
The click situation of each linking element in column element 1 is shown to user.
The embodiment is due to taking following steps:Obtain the click volume for each pixel that target web includes;According to every
The click volume of individual pixel obtains thermodynamic chart corresponding to target web;At least one column element that target web includes is determined, its
In, at least one column element includes target column element, and target column element includes multiple linking elements;Receive linking point
The amount of hitting trigger action, wherein, link clicks amount trigger action is used to trigger the click volume for showing multiple linking elements;Show respectively
The click volume of multiple linking elements, solve the problems, such as that webpage thermodynamic can not show single web page interlinkage click volume, Jin Ertong
Reception link clicks amount trigger action is crossed, the click volume of each linking element is shown, realizes single webpage in webpage thermodynamic
The displaying of link clicks amount, the data of column element in thermodynamic chart are mistakenly considered single web page interlinkage so as to effectively prevent user
The problem of data.
Fig. 2 is the schematic diagram according to the second embodiment of the link clicks amount methods of exhibiting of the webpage thermodynamic of the present invention.
The embodiment can be as a kind of preferred embodiment of embodiment illustrated in fig. 1.As shown in Fig. 2 the method comprising the steps of S201
To step S207.
Step S201, obtain the click volume for each pixel that target web includes.
The step repeats no more here with step S102.
Step S202, the thermodynamic chart according to corresponding to the click volume of each pixel obtains target web.
The step repeats no more here with step S104.
Step S203, at least one column element that target web includes is determined, wherein, at least one column element bag
Target column element is included, target column element includes multiple linking elements.
The step repeats no more here with step S106.
Step S204, numbered for the default column of column element addition, wherein, column is preset corresponding to different column elements
Numbering is different.
Default column numbering is added for column element, default column numbering corresponding to different column elements is different, with to not
Same column element is identified.Due to including many elements in target web, column element is one kind therein, because
This, is numbered by adding default column for column element in target web, the numerous webpages member that can be included from target web
Column element is identified in element, and realizes the differentiation to different column elements.
Alternatively, the HTML element for each column region of target web adds columnId attributes,
The sequence number of matrix column residing for current column element can be obtained by adding columnId attributes.ColumnId attributes are corresponding
Value can be integer since 1, columnId attributes corresponding to different column elements are unduplicated integer.
Step S205, numbered according to default column, obtain column attribute of an element.
The attribute that column attribute of an element has for column element in target web, attribute corresponding to different column elements
It is different.Coordinate of the column attribute of an element including column element, height, width, column ID attributes etc..According to column element
Attribute different column element placements is shown in the different zones of target web.
Alternatively, column attribute of an element can be obtained according to default column numbering in the following way:Obtain target web
Comprising whole web page elements;Obtain whole web page elements corresponding numbering respectively;Whether detection numbering is default column respectively
Numbering;It is determined that the web page element that corresponding numbering is default column numbering is column element;Obtain column attribute of an element.
Generally, a variety of web page elements are included in target web, it is as mentioned above, default for the addition of column element
Column is numbered, and in other words, is distinguished column element and other web page elements in target web.By calling mesh
All web page elements in webpage are marked, the column element of mark has been carried out in therefrom selection, to obtain each column element
Attribute.Alternatively, call function document.get Elements By Tag Name, all webpages of target web are obtained
Element.Then, the columnId property values of each web page element are obtained.Specifically, the get for calling each element successively is taken
Attribute method, parameter columnId, if call result return value is not empty, illustrate exist in the element
ColumnId attributes, as column element, the attribute of an element, including coordinate, width, height etc. can be obtained.
Preferably, column attribute of an element can be obtained in the following way:Obtain all web page elements in target web;
Obtain the columnId property values of each web page element;Judge that the columnId property values of web page element whether there is;If
The columnId property values of web page element are present, then obtain coordinate, height and the width of the web page element;The web page element is made
For a column object.
Alternatively, column attribute of an element value includes coordinate, width and the height of column element, is compiled according to default column
Number, after obtaining column attribute of an element value, the embodiment can also comprise the following steps:According to the coordinate of column element, width
Degree and height determine column element region shared in target web;According to column element region shared in target web
Column element is identified.
By call function, column objects can be returned, column object's property values can include Id, x, y,
Width, height, wherein, Id is that default column is numbered, and can be columnId attributes, and x, y are that the transverse and longitudinal of column element is sat
Mark, width are the width of column element, and height is the height of column element.For example, the colum n objects returned are
Column { Id=1, x=100, y=101, width=60, height=55 }.
Alternatively, after column attribute of an element is obtained according to columnId property values, column element can also be created
Database, the database include column attribute of an element corresponding to above-mentioned columnId property values and columnId property values.
Coordinate, the width of column element corresponding to columnId property values and columnId property values are obtained from column element database
And height;Further according to the coordinate of column element, width and height corresponding to columnId property values and columnId property values really
Determine column element region shared in target web.
Alternatively, column element is identified according to column element region shared in target web can be according to such as
Lower step is carried out:Frame is respectively created according to the coordinate of column element, width and height;It is determined that the mark letter of corresponding column element
Breath;It is identified according to frame and identification information pair column element.
After the completion of page loading, Get All Columns functions can be called, preserve all column objects of return
In gathering to columns.Information in being gathered using columns, corresponding to each column objects at coordinate, drawing and
Column width, height size identical frame, and prompt message is provided at frame, it is specific column area to show the region
Domain.For example, for comprising linking element type be video display line type column element, the prompt message at the frame of establishment
Can be " video display column ".At the thermodynamic chart interface of generation, there is provided check the function of all columns and its prompt message.
For example, column element 1, column element 2, column element 3 in target web be present, what three column elements included
The type of linking element is respectively video display type, current events type and scientific and technological type.In order to allow user clearly to know different columns
The content type of element, it can be painted at the coordinate of above three column element according to the width and height of each column element
Frame processed.The column element can be assigned at the frame of each column element with prompt message, facilitates user to check.Such as
Respectively column element 1, column element 2, column element 3 frame at assign prompt message be " video display column ", " current events column
Mesh ", " scientific and technological column ".
Step S206, link clicks amount trigger action is received, wherein, it is more that link clicks amount trigger action is used for triggering displaying
The click volume of individual linking element.
The step repeats no more here with step S108.
Step S207, the click volume of multiple linking elements is shown respectively.
The step repeats no more here with step S110.
The embodiment is due to taking following steps:Obtain the click volume for each pixel that target web includes;According to every
The click volume of individual pixel obtains thermodynamic chart corresponding to target web;At least one column element that target web includes is determined, its
In, at least one column element includes target column element, and target column element includes multiple linking elements;For column element
The default column numbering of addition, wherein, it is different that column numbering is preset corresponding to different column elements;Numbered according to default column,
Obtain column attribute of an element;Link clicks amount trigger action is received, wherein, link clicks amount trigger action, which is used to trigger, to be shown
The click volume of multiple linking elements;The click volume of multiple linking elements is shown respectively, by adding default column for column element
Numbering, can obtain column attribute of an element value in target web, easy to operation, can using column attribute of an element value
To be identified to the column element in webpage thermodynamic, while the exhibition to link clicks amount in target column element can be realized
Show.
It should be noted that the link clicks amount exhibiting device of the webpage thermodynamic of the embodiment of the present invention can be used for performing
The link clicks amount methods of exhibiting for the webpage thermodynamic that the embodiment of the present invention is provided, the webpage thermodynamic of the embodiment of the present invention
Link clicks amount methods of exhibiting can also show dress by the link clicks amount for the webpage thermodynamic that the embodiment of the present invention is provided
Put to perform.
Fig. 3 is the schematic diagram according to the first embodiment of the link clicks amount exhibiting device of the webpage thermodynamic of the present invention.
As shown in figure 3, the apparatus structure includes:First acquisition unit 20, second acquisition unit 30, the first determining unit 40, reception are single
Member 50 and display unit 60.
First acquisition unit 20, the click volume of each pixel included for obtaining target web.
Second acquisition unit 30, for the thermodynamic chart according to corresponding to the click volume of each pixel acquisition target web.
First determining unit 40, at least one column element included for determining target web, wherein, this is at least one
Column element includes target column element, and target column element includes multiple linking elements.
Receiving unit 50, for receiving link clicks amount trigger action, wherein, link clicks amount trigger action is used to trigger
Show the click volume of multiple linking elements.
Display unit 60, for showing the click volume of multiple linking elements respectively.
The link clicks amount exhibiting device for the webpage thermodynamic that the present embodiment provides includes:First acquisition unit 20, second
Acquiring unit 30, the first determining unit 40, receiving unit 50 and display unit 60.By the device, solves webpage thermodynamic
The problem of single web page interlinkage click volume can not be shown, and then link clicks amount displaying triggering behaviour is received by receiving unit 50
Make, and display unit 60 shows the click volume of each linking element, realizes single web page interlinkage in webpage thermodynamic and clicks on
The displaying of amount, the data of column element in thermodynamic chart are mistakenly considered asking for single web page interlinkage data so as to effectively prevent user
Topic.
Fig. 4 is the schematic diagram according to the second embodiment of the link clicks amount exhibiting device of the webpage thermodynamic of the present invention.
The embodiment can be as a kind of preferred embodiment of embodiment illustrated in fig. 3.As shown in figure 4, the apparatus structure includes:First
Acquiring unit 20, second acquisition unit 30, the first determining unit 40, adding device 70, the 3rd acquiring unit 80, receiving unit 50
With display unit 60.Here, first acquisition unit 20, second acquisition unit 30, the first determining unit 40, receiving unit 50 and exhibition
Show identical shown in unit 60 and Fig. 3, repeat no more.
Adding device 70, for adding default column numbering for column element, wherein, it is pre- corresponding to different column elements
If column numbering is different.
3rd acquiring unit 80, for being numbered according to default column, column attribute of an element is obtained respectively.
3rd acquiring unit 80 can also include:First acquisition module, the whole webpages included for obtaining target web
Element;Second acquisition module, for obtaining, whole web page elements are corresponding respectively to number;Detection module, for detecting volume respectively
Number whether it is default column numbering;First determining module, for the web page element that numbering corresponding to determination is default column numbering
For column element;3rd acquisition module, for obtaining column attribute of an element.
Column attribute of an element includes coordinate, width and the height of column element, and the device can also include:Second determines
Unit, column element region shared in target web is determined for the coordinate according to column element, width and height;Mark
Unit, for being identified according to column element region shared in target web to column element.
Mark unit can also include:Creation module, for creating side according to the coordinate of column element, width and height
Frame;Second determining module, for determining the identification information of corresponding column element;Mark module, for according to frame and mark
Information is identified to column element.
The link clicks amount exhibiting device for the webpage thermodynamic that the present embodiment provides includes:First acquisition unit 20, second
Acquiring unit 30, the first determining unit 40, adding device 70, the 3rd acquiring unit 80, receiving unit 50 and display unit 60.Should
Device, it is that the default column of column element addition is numbered by adding device 70, so as to utilize the 3rd acquiring unit 80 in mesh
Mark and column attribute of an element value is obtained in webpage, it is easy to operation, can be to webpage heating power using column attribute of an element value
Column element in figure is identified, while can realize the displaying to link clicks amount in target column element.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored
Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific
Hardware and software combines.
The preferred embodiments of the present invention are these are only, are not intended to limit the invention, for those skilled in the art
For member, the present invention can have various modifications and variations.Any modification within the spirit and principles of the invention, being made,
Equivalent substitution, improvement etc., should be included in the scope of the protection.