Embodiment
According to reference to accompanying drawing to the described in detail below of exemplary embodiment of the present, other side of the invention, advantageIt is will become obvious with prominent features for those skilled in the art.
This specification diagrammatically illustrates the principle of the invention.It should be appreciated that although it is not expressly recited or shows hereGo out, those skilled in the art is by it is contemplated that embody the principle of the invention and including the various cloth in spirit and scope of the inventionPut.
All examples and conditional language recited herein are for the purpose of teaching, to help reader to understand the present inventionThe design that principle and inventor contribute to prior art, limit is formed without the example to specifically recording here and conditionSystem.
In addition, all statements for making record to principle, aspect, embodiment and its particular example of the invention here are intended toInclude the equivalent structurally and functionally of the present invention.The equivalent will be developed including currently known equivalent and futureEquivalent, that is, developed execution identical function any component, regardless of its structure.
Therefore, it will be understood to those skilled in the art that block diagram shows go out to embody the schematic conceptualization figure of the principle of the invention.It is appreciated that any flow, flow chart, state transition diagram, false code etc. be intended to performance substantially can be in computer-readable JieIt is being showed in matter and by computer or each process of computing device, regardless of whether being explicitly illustrated the computer or processingDevice.
" one embodiment " or " embodiment " and its other modifications for being related to the principle of the invention in the description refer to:With reference toDuring the special characteristic of embodiment description, structure, characteristic etc. are included at least one embodiment of the present invention.Therefore, through explanationPhrase " in one embodiment " that book occurs in different places or " in embodiment " and any other modification are not necessarily all referring toIdentical embodiment.
It should be appreciated that the use of term "and/or" and "...... at least one", for example, " A and/or B " andIn the case of " at least one in A and B ", it is intended that including only selecting the first Listed Items (A) or only selecting the second Listed Items(B) or selection two projects (A and B).As another example, in " A, B and/or C " and " at least one in A, B and C " feelingsUnder condition, such expression is intended to include only the first Listed Items of selection (A) or only selects the second Listed Items (B) or only select3rd Listed Items (C) only select the first and second Listed Items (A and B) or the only Listed Items (A of selection first and the 3rdAnd C) or only selection second and the 3rd Listed Items (B and C) or select all three projects (A and B and C).For this areaWith, it is readily apparent that for listed numerous items, the above is to expand for those of ordinary skill in the related artExhibition.In the present invention, term " comprising " and " containing " and its derivative mean including and it is unrestricted;Term "or" is inclusive, mean and/or.
In this manual, following various embodiments for being used to describe the principle of the invention simply illustrate, should not be with anyMode is construed to the scope of limitation invention.Referring to the drawings described below is used to help comprehensive understanding by claim and its equivalentThe exemplary embodiment of the invention that thing limits.It is described below to help to understand including a variety of details, but these details shouldThink what is be merely exemplary.Therefore, it will be appreciated by those of ordinary skill in the art that without departing substantially from scope and spirit of the present inventionIn the case of, embodiment described herein can be made various changes and modifications.In addition, for clarity and brevity,Eliminate the description of known function and structure.In addition, running through accompanying drawing, same reference numbers are used for identity function and operation.
Fig. 1 shows that the click data that position is clicked in station according to embodiments of the present invention obtains the schematic block diagram of system.ShouldSystem includes client 10 and server 20.
According to an embodiment of the invention, client 10 includes unique mark generation module 11, parameter adds module 12, sumAccording to display module 13.Server 20 includes log collection module 21 and data processing module 22.
According to an embodiment of the invention, unique mark generation module 11 is according to the html DOM elements on webpage and its categoryProperty for each link clicks position on webpage generate a unique mark.According to an embodiment of the invention, unique mark generation module11 JavaScript can be used to realize.
Html DOM are HTML Document Object Model (DOM Document Object Model) abbreviations, are applied toHTML/XHTML DOM Document Object Model.Html DOM regard each element in webpage as one by one object, so that netElement in page can be obtained or edited by computer language.Such as Javascript cans utilize html DOM dynamicallyChange webpage.
DOM is the set with the node of hierarchical structure tissue or pieces of information.This hierarchical structure allows developer to existCustomizing messages is found in navigation in tree.Html document is rendered as node tree structure by html DOM.
JavaScript is a kind of script for belonging to network, has been widely used for Web application and developments, be commonly used to forWebpage adds miscellaneous dynamic function.Generally, JavaScript scripts are to realize itself by being embedded in HTMLFunction.
Fig. 2 shows click position unique mark generating principle according to embodiments of the present invention.
As shown in Fig. 2 to click on bit element as starting point, found upwards in html files with click bit element distance mostThe near element (hereinafter referred to as " unique attribute element ") for having unique attribute (for example, id attributes).
If the click bit element is upwards until root element is all without the element with unique attribute, click bit elementCorresponding unique attribute element is the next stage element of root element.Calculate between the unique attribute element and the click bit elementHow many is individual with clicking on bit element identical peer element.According to the unique attribute element, the plain and described peer of the click bitThe number of element generates the click position unique mark of click bit element.If click bit element itself has unique attribute,Then the corresponding unique attribute element of click bit element is its own.
According to an embodiment of the invention, if one is clicked on bit element and itself do not have unique attribute, the click bitThe click position unique mark of element can be expressed as:The element term [unique attribute attribute of an element] of unique attribute element | | the pointHit an element term-element number at the same level.If click bit element itself has unique attribute, it clicks on position unique mark canTo be expressed as:The click position element term [the click position attribute of an element].
For example, as shown in Fig. 2 clicking on bit element < a id=" topic " > itself has id attributes, then need not be upwardSearch, its unique mark is a [topic].< a class=" hot " > is upwards until root element is not all comprising ID attributesElement, so using lower first element (i.e. body elements) of root element as unique attribute element, with < a class=" hot "< a at the same level >>Member is known as 3, so its unique mark is body | | a-3.< p>Element has the element < of id attributes upwardsDiv id=' left ' > are present, < p at the same level>Member is known as 4, so its unique mark is exactly div [left] | | p-4.
Parameter adds module 12 when the behavior of user clicks on links produces, and the link being clicked is added into upper ctagid ginsengsThe value of number (or other agreement parameters).Make if the addition position of parameter is positioned at first parameter being clicked after linkWith "" it is connected with being clicked to link, if not it is then connected by first parameter with " & " with being clicked to link.According toEmbodiments of the invention, parameter are added module and can for example realized using JavaScript.
For example, if the link being clicked is www.abc.com/, ctagid values corresponding to click position are xyz, then parameterAdditional module 12 exports www.abc.com/Ctagid=xyz.In another example if the link being clicked is www.abc.com/P=123, ctagid values corresponding to click position are abc, then parameter adds module 12 and exports www.abc.com/P=123&Ctagid=abc.
After user clicks on links, the daily record that the output of parameter addition module 12 is sent to server 20 by client 10 is receivedCollect module 21.The output parsing that log collection module 21 adds module 12 from parameter obtains two values:User clicks on links and give birth toInto http request in (in the above example, chained address is www.abc.com/ for chained addressOr“www.abc.com/P=123& ") and the headers information of http request in Referer values.In http request linkCtagid be page up (by Referer values indicate) click position unique mark position.
Data mart modeling module 22 parses the ctagid parameters in the full concatenation address of http request, and takes out RefererDo not include ctagid argument sections in value, both are associated to the click volume that can be calculated each page link and each click on position, andThere is provided after being spliced with both as key, click volume data are value data call interface.
, will when needing to check that data display module 13 obtains the ctagid generated in webpage first when clicking on position dataThat to be checked clicks on the data call interface for calling data mart modeling module 22 to provide as key after position link and ctagid splicings,And the click data of return is illustrated in the form of mask in the click bit element module of webpage, as shown in Figure 3.According to the present inventionEmbodiment, data display module 13 can be realized using JavaScript.
According to the click data acquisition methods and system of the present invention, it is not necessary to clicking on position bury a little, reduce extra workMeasure, make statistics more flexible.Reported in addition, need not additionally produce daily record in service end collection data, it is possible to reduce the traffic,Save Internet resources.
It can be set according to the above method of various embodiments of the present invention, equipment and/or device by the electronics for having computing capabilityIt is standby to perform the software comprising computer instruction to realize.The electronic equipment for having a computing capability can include general processor,Digital signal processor, application specific processor, re-configurable processor etc. are able to carry out the device of computer instruction, but are not limited toThis.Performing such instruction causes electronic equipment to be configured as performing the above-mentioned operations according to the present invention.Above-mentioned each equipmentAnd/or module can be realized in an electronic equipment, can also be realized in distinct electronic apparatuses.These softwares can storeIn a computer-readable storage medium.Computer-readable recording medium storage one or more program (software module), described oneIndividual or multiple programs include instruction, and when being instructed described in one or more of electronic equipment computing device, the instruction makesObtain the method that electronic equipment performs the present invention.
These softwares can be stored as the form of volatile memory or Nonvolatile memory devices (such as similar to ROM etc.Storage device), it is whether erasable or rewritable, or it is stored as form (such as RAM, the storage core of memoryPiece, equipment or integrated circuit), or be stored on light computer-readable recording medium or magnetic computer-readable recording medium (such as CD, DVD, disk or magneticBand etc.).It should be appreciated that storage device and storage medium are adapted for the machine readable storage dress for storing one or more programsThe embodiment put, one program or multiple programs include instruction, when executed, realize the implementation of the present inventionExample.Embodiment provides program and stores the machine-readable storage device of this program, and described program includes being used to realize the present inventionAny one claim described in device or method code.Furthermore, it is possible to via any medium (such as via wiredThe signal of communication that connection or wireless connection carry) to send a telegram here and transmit these programs, multiple embodiments suitably include these programs.
For example, exemplary computing system can be used for implementing each embodiment.The computing system includes computer.Computer canWith including processor, memory and one or more drivers.Driver and its computer-readable storage medium of association can carryThe storage of storage, data structure, the storage of program module for computer-readable instruction and other be used for the data of computerStorage.Computer may be embodied as conventional computer system, embedded Control computer, kneetop computer or server and calculateMachine, mobile device, set top box, phonebooth, Vehicle Information System, mobile phone, the machine of customization or other hardware are put downPlatform.Processor can be general processor, processor core, multiprocessor, polycaryon processor, graphics processor, at data signalManage (DSP) processor, the at the scene computing device for the customization realized in application specific integrated circuit (ASIC), programmable gate array(FPGA) computing device of customization, the computing device for the customization realized in any kind of FPGA, the shape realized inEither its any combinations or the repetition of state machine, reconfigurable processor, any other processing unit.
Driver, other storage devices or they associate computer-readable recording medium can store an operating system,Application program, program module or database.Computer can include user input equipment, and user can be inputted by the user and be setIt is standby to input order and data.Input equipment can include electronic digitizer, microphone, keyboard, instruction equipment or itsAny combination.The example of instruction equipment can include mouse, tracking ball, light pen, touch-screen or touch pad.Other are to computerInput equipment can include control stick, game paddle, satellite antenna, scanner etc..Input equipment can be inputted by userInterface is connected to processor, and the user input interface is coupled to system bus.Input equipment can also be by other interfaces and totalCable architecture such as parallel port, game port or USB (USB) connect.Computer can also include other peripheriesOutput equipment such as loudspeaker, it can be connected by exporting peripheral interface or similar interface.
Computer can work in networked environment, and the networked environment has used the logic to one or more computers to connectConnect, such as remote computer is connected to network interface.Remote computer can be personal computer, server, router, networkPC, peer device or other common network nodes.Remote computer can include herein in relation to the member described by computerMultiple or whole elements in part.Networked environment can include network (WAN), LAN (LAN), Intranet, internet orPerson's combinations thereof.
When use is in LAN or WLAN (WLAN) networked environment, computer can pass through network interface or netNetwork adapter is connected to LAN.When use is in WAN networked environments, computer can include modem or other machinesMake for establishing the communication by WAN.WAN can include internet, the network illustrated, various other networks or theyAny combination.Communication linkage, ring, grid, bus, cloud or network are established between the computers it should be appreciated that can useOther mechanism.
According to one or more embodiments, computer is configured such that processor and/or program module can be withComputer based on multiprocessor is together run either performs root as based on the computer of multiprocessor to run or be used asRun according to the computer of the virtualization of the multiprocessor of embodiments presented herein.Multiprocessor or multiprocessor it is virtualExpression can support dynamic interrupt schedule.Computer can include the meter of the physics associated with driver or other storage devicesOne or more examples of calculation machine readable storage medium storing program for executing.System bus can enable a processor to by code and/or data fromRead or write wherein in computer-readable recording medium.The medium can be represented using any suitable technology to realizeThe device of memory element form, including but not limited to semiconductor, magnetic material, optical medium, electrical storage device, electrochemistry are depositedStorage device or any other this memory technology.The medium can represent the part associated with memory, no matter be characterized inNo is RAM, ROM, flash memory either other kinds of volatibility or non-volatile memory technologies.The medium can also represent auxiliaryStorage device is helped, regardless of whether being embodied as memory driver.The feature that hard-drive is realized can be solid-state, or can includeStore the rotating media of magnetic code information.
Storage medium can include one or more program modules.Program module can include software instruction, when being loadedInto processor and when performing, these software instructions are converted to general-purpose computing system according to the special meter of the invention to customizeCalculation system.As being described in detail in this specification, program module can provide various instruments or technology, and computer can be withIt is using the whole of part discussed herein, logic flow and/or data structure to participate in by the instrument or technologyIn system or operating environment.
Processor can be built by any number of transistor or other circuit elements, they can individually orJointly there is any number of state.More precisely, processor can be used as state machine or finite state machine to carry out work.This mechanism can be transformed into the second mechanism or specific mechanism by the executable instruction included in loader moduleIn.How the executable instruction of these computers can be changed come conversion processor between states by given processor, byThe transistor for forming processor or other circuit elements are transformed into the second mechanism by this from the first mechanism, wherein the second mechanism canIt is used to support dynamic interrupt schedule to be specifically configured.The state of each mechanism can also be used by receiving from one or moreFamily input equipment, network interface, other ancillary equipment, other interfaces, one or more users or the input of other actorsTo be changed.Each mechanism can also change the various output equipments such as state of printer, loudspeaker, video display etc. orVarious physical features.
Program module coding can also be changed to the physical arrangement of storage medium.In the different embodiments of this specificationIn, the particular conversion of physical arrangement can depend on various factors.The example of this factor can include but is not limited to:WithIn the technology for realizing storage medium, no matter whether the storage medium feature is primary or secondary memory means etc..For example, such asFruit storage medium is embodied as the memory based on semiconductor, and when software is coded in wherein, program module can be changed and partly ledThe physical state of body memory.For example, software can change transistor, capacitor or other points for forming semiconductor memoryThe state of vertical circuit element.
As another example, storage medium can be realized using magnetic or optical technology such as driver.ThisIn realization, when software is coded in wherein, program module can be with the physical state of switch magnetization medium or optical medium.ThisA little conversions can include the magnetic characteristic for changing the ad-hoc location in given magnetic medium.These conversions can also include changingThe physical features or feature of ad-hoc location in given optical medium, to change the optical signature of those positions.It should manageSolution, various other conversions of physical medium are also possible, and without departing from the scope and spirit of this specification.
Such as field programmable gate array can also be used according to the method, equipment and/or device of various embodiments of the present invention(FPGA), programmable logic array (PLA), on-chip system, the system on substrate, the system in encapsulation, application specific integrated circuit(ASIC) or can for carrying out the hardware such as any other rational method that is integrated or encapsulating or firmware to circuit to realize,Or realized with software, the appropriately combined of hardware and firmware three kinds of implementations.It is used when realizing in such waysSoftware, hardware and/or firmware are programmed or are designed as to perform the corresponding above method, step and/or the function according to the present invention.ThisArt personnel can be according to being actually needed come suitably by one or more of these systems and module, or therein onePart or some are realized using different above-mentioned implementations.These implementations each fall within the protection model of the present inventionEnclose.
Although the present invention, art technology has shown and described with reference to the certain exemplary embodiments of the present inventionPersonnel it should be understood that without departing substantially from appended claims and its equivalent restriction the spirit and scope of the present invention in the case of,Can be to a variety of changes in carry out form and details of the present invention.Therefore, the scope of the present invention should not necessarily be limited by above-described embodiment,But not only should be determined by appended claims, also it is defined by the equivalent of appended claims.