Summary of the invention
The technical problem that the present invention solves has been to provide a kind of collecting method, system and web page server of user access path, obtains the acquisition problems of user access path data in order to solution.
A kind of collecting method of user access path is provided in the embodiment of the invention, has comprised the steps:
The user carries out mutual functional area and carries out information interaction through offering the user on webpage;
When the functional area in the webpage is operated, obtain the function that operated zone provides the user, and the user is in the operation of this zone execution;
The access path that function that provides according to each zone and the operation of user in this zone obtain this user;
Wherein, said the user when the functional area in the webpage is operated, obtain the function that operated zone provides, and the operation carried out in this zone of user, specifically comprise:
Functional area in webpage is provided with the webpage label, and said webpage label responds when the user operates this zone, and the content of said response comprises the function that this zone provides and the operation of execution;
When the functional area in the webpage was operated, the webpage label that this zone is provided with responded the user;
Obtain function that this zone provides and user operation according to said response contents in this zone.
A kind of data acquisition system of user access path also is provided in the embodiment of the invention, has comprised:
The webpage supplying module; Be used for webpage being provided to the user; Said webpage comprises and offers the functional area that the user carries out information interaction; And the functional area that is further used in the webpage that provides is provided with the webpage label, and said webpage label responds when the user operates this zone, and the content of said response comprises the function that this zone provides and the operation of execution;
Deriving means is used for the user when the functional area of webpage is operated, and obtains the operation that function that operated zone provides and user carry out in this zone through the content of said response, and the user profile of obtaining is sent to data server;
Data server is used to store the user profile that deriving means is sent to;
Data warehouse is used for obtaining according to the user profile of data server each user's access path.
A kind of web page server is provided again in the embodiment of the invention, has comprised:
The webpage supplying module; Be used for webpage being provided to the user; Said webpage comprises and offers the functional area that the user carries out information interaction; And further the functional area in the webpage that provides is provided with the webpage label, and said webpage label responds when the user operates this zone, and the content of said response comprises the function that this zone provides and the operation of execution;
Deriving means is used for the user when the functional area of webpage is operated, and obtains the operation that function that operated zone provides and user carry out in this zone through the content of said response.
Beneficial effect when the present invention implements is following:
The present invention when the functional area in the webpage is operated, obtains the function that operated zone provides the user when implementing, and the user is in the operation of this zone execution; And the function that provides according to each zone and the operation of the user access path that obtains this user in this zone.It is also the same unlike prior art, and clickthrough to acquisition server, just is redirected to the server that the user needs after the collection; But; Directly obtain the relevant data of access path through the operation of user on webpage, therefore, cost is low when changing operator; Need not give up the link setting of arranging on all control points, be linked on the information collection server that supplier provides before changing again, can not influence operating business yet with manual work;
Simultaneously,, so be not limited in the data that to collect the user clicks on links operation as prior art in this programme, can only do link pageview statistics owing to the data of gathering are provided with according to functional area; On webpage, carry out various operations but can grasp the user all sidedly, obviously, the scheme of using the present invention to implement can obtain more information.
Embodiment
Describe below in conjunction with the accompanying drawing specific embodiments of the invention.
Fig. 1 is the collecting method implementing procedure sketch map of user access path, and is as shown in the figure, when gathering user's access path data, can comprise the steps:
Step 101, user carry out mutual functional area and carry out information interaction through offering the user on webpage;
Step 102, the user when the functional area in the webpage is operated, obtain the function that operated zone provides, and the operation carried out in this zone of user;
The access path that step 103, the function that provides according to each zone and the operation of user in this zone obtain this user.
Yi Zhi comprises a lot of zones in the webpage, wherein some only provides Word message; Like the character area of news web page, but can comprise some plug-in units in the webpage, through them; The user can select through mode such as clicking; In a webpage about ballot, can some selective options be set in functional areas, the user can accomplish ballot through clicking corresponding option.The user that offers of indication carries out mutual functional area and promptly refers to these zones in the step 101; The purpose of confirming this functional area is; The analysis of user access path is to understand user's behavior pattern, and the best way of understanding its behavior is no more than collecting the wish that the user expresses, the expression that in fact user is exactly its wish in these regional operations; Therefore through collecting these information, just can obtain user's true access path.
In the practical implementation, offer the user and carry out mutual functional area and can comprise: button click on area, list submit to zone, AJAX (Asynchronous JavaScript+XML) page to load zone one of them or its combination.
Concrete, in step 102, when the functional area in the webpage is operated, obtain the function that operated zone provides, and the user can be specially in the operation of this zone execution the user:
Functional area in webpage is provided with the webpage label, and said webpage label responds when the user operates this zone, and the content of said response comprises the function that this zone provides and the operation of execution;
When the functional area in the webpage was operated, the webpage label that this zone is provided with responded the user;
Obtain function that this zone provides and user operation according to said response contents in this zone.
Be HTML (HyperText Markup Language, HTML) webpage below with the webpage, the webpage label is that example describes for the html web page label.But; The purpose that the webpage label is set in this step is; Obtain the operational circumstances of user through this means of webpage label at functional area, in fact, even webpage has the different techniques form of the composition; Also can take the corresponding techniques means to gather these data in corresponding zone, this understands for the those skilled in the art that understand the webpage making technology easily.The example that is embodied as of the webpage of therefore, only processing in order to the HTML technology among the embodiment describes.
Can use the javascript framework of Jquery in the practical application,, click and the list submission like the button of the specified point on the web page monitored because it provides much method easily.Use its monitoring mechanism and define new html tag, can monitor all the action that takes place on this type label.
In the enforcement, functional area that on webpage, need to collect user's path data is provided with the webpage label, and those skilled in the art often are called and bury a little; For example: the webpage label is defined as: a href=" http://www.alipay.com " gz=" index/summer >, < a href ...>label is the hyperlink label, wherein href is used for representing the destination address that links.In the label shown in the code " gz " label might not be the html label of standard; Can define the gz label here; The data value of gz is " index/summer "; This value is some business datums that specifically will collect, is that ID (sign) is the operation that summer carries out in homepage as knowing this connection in this example.
Bury better after, be the web page monitored label, can use the selector of Jquery here, a concrete instance can be following:
Above-mentioned code can be done the action response to the control of (a) that be defined as link that have the gc label for: the document of whole HTML (document) with natural language description; The action of response is click action (click), and the thing that will do during response is exactly " sending data to data server ".
Such code can define according to the label under the various application scenarioss in practical application comprehensively, and this is to be prone to know.
Can know from top embodiment; Page engineer need not understand very complicated principle, and the html tag that only needs to adopt them to be familiar with can be accomplished burying underground of control point, simultaneously; Even when changing operator; Because the control point is a html tag, not deleting can not influence former business yet, need not artificial give up the link setting of arranging on all control points yet.
Like this, when bury at the functional area on the webpage better after, as long as the data in corresponding place when carrying out some interactive actions, just can be received in user these zones on the page, the access path data analysis that is used for step 103 has been handled.
In step 103, the access path that function that provides according to each zone and the operation of user in this zone obtain this user.In the practical implementation; When having obtained the operation that the performed function of each functional area and each user carry out in this zone; So just can carry out user's behavioural analysis according to these data, thus the improvement of serving to the user, these data of analyzing and processing and draw which kind of conclusion as for how; Just can carry out according to the different psychological analytical model, this is to understand easily for the those skilled in the art that get access to these initial data.For example in the functional area of a commodity purchasing submission form, the operation that the acquisition party A-subscriber carries out all is to select red option, and party B-subscriber's operation all is to select green option, and is so obvious, party A-subscriber's preference redness, and party B-subscriber's preference is green.
According to same inventive concept, the present invention also provides a kind of data acquisition system and web page server of user access path, and the embodiment in the face of acquisition system and web page server describes down.
Fig. 2 is the data acquisition system structural representation of user access path, and is as shown in the figure, can comprise in the acquisition system:
Webpage supplying module 201 is used for to the user webpage being provided, and said webpage comprises and offers the functional area that the user carries out information interaction;
Deriving means 202 is used for the user when the functional area of webpage is operated, obtaining the function that operated zone provides, and the operation carried out in this zone of user, and will obtain user profile and be sent to data server;
Data server 203 is used to store the user profile that deriving means is sent to;
Data warehouse 204 is used for obtaining according to the user profile of data server each user's access path.
In the enforcement, webpage supplying module 201 provides webpage to the user, and the user just can carry out information interaction on these webpages like this; Deriving means 202 the user when the functional area in the webpage is operated; Obtain the function that operated zone provides; And the operation carried out in this zone of user, and will obtain user profile and be sent to data server, so just obtained the initial data that is used for the analysis user access path; The user profile that data server 203 storage deriving means are sent to; Utilize data warehouse 204 to obtain each user's access path according to the user profile in the data server then.
In the enforcement; The functional area that the webpage supplying module can also be further used in the webpage that provides is provided with the webpage label; Said webpage label responds when the user operates this zone, and the content of said response comprises the function that this zone provides and the operation of execution;
Under this scheme, then deriving means can be further used for obtaining the operation that function that this zone provides and user carry out in this zone through response contents.
The webpage supplying module can be a html web page at webpage, and the webpage label of setting is the html web page label.
The webpage supplying module can be provided with the webpage label through the javascript framework of Jquery.
The webpage supplying module can also be further used for carrying out mutual button click on area, list and submitting to zone, the AJAX page to load on the functional area of zone one of them or its combination the webpage label is set offering the user on the webpage.
Deriving means then can also be further used for using the AJAX technology to be sent to data server with obtaining user profile.
Deriving means can send to the The data AJAX synchronization call mechanism that obtains on the data acquisition server, the key of this technology be to browser end JavaScript, DHTML and with the combination of server asynchronous communication.The AJAX technology makes browser more natural viewing experience is provided for the user.AJAX provides the ability with the server asynchronous communication, thereby the user is freed from the circulation of request.By means of AJAX, can when the user click button, use JavaScript and DHTML to Update Information immediately, and send asynchronous request to server, upgrade or Query Database to carry out.When request is returned, just can use JavaScript and CSS to come correspondingly to Update Information, rather than refresh full page.The most important thing is, the user even do not know browser with server communication, the Web website looks like summary responses.Therefore, use should technology, can collect the non-page and click the user behavior that produces, and the AJAX page does not have the refresh technique extensive use on the Internet now, makes technical scheme of the present invention can not have the user access path information of easily obtaining of intrusive mood.
Lift an instance below and use the AJAX technology to send the data of obtaining in order to explanation, instance can be following:
Wherein: async=false representes non-asynchronous, and can pin browser this moment, continues after pending data returns down to carry out again.
Above-mentioned code can use natural language description to be: send to data on the application index.do of server as gc.alipay.com, need pin browser during transmission, data are not mutual when accomplishing can not release, has promptly accomplished a synchronization call.
In the system; Owing to adopted the AJAX technology; Make in each module entity relationship; Relation between webpage supplying module and the data server is the relation of loose coupling, and data warehouse does not then have direct relation with the webpage supplying module, thereby data warehouse is to be used for analyzing user's operating data of obtaining to obtain complete user access path data.And in the prior art, after the user carries out clicking operation to the page, because it can click to information collection server with this earlier; By acquisition server data are gathered; By acquisition server the accession page address is redirected to application server then, application server provides service to the user again, therefore; Between the server of acquisition server and supply webpage is the relation of close coupling; Obviously, adopt the present technique scheme in user's access process, link, the wait process that is redirected again can't occur needing in the prior art to wait for.
Fig. 3 is the web page server structural representation, and is as shown in the figure, can comprise in the book server:
Webpage supplying module 201 is used for to the user webpage being provided, and said webpage comprises and offers the functional area that the user carries out information interaction;
Deriving means 202 is used for the user when the functional area of webpage is operated, obtaining the function that operated zone provides, and the user is in the operation of this zone execution.
The functional area that the webpage supplying module can be further used in the webpage that provides is provided with the webpage label, and said webpage label responds when the user operates this zone, and the content of said response comprises the function that this zone provides and the operation of execution;
Deriving means can also be further used for obtaining the operation that function that this zone provides and user carry out in this zone through said response contents.
In sum, the present invention when the functional area in the webpage is operated, obtains the function that operated zone provides the user when implementing, and the user is in the operation of this zone execution; And the function that provides according to each zone and the operation of the user access path that obtains this user in this zone.It is also the same unlike prior art, will link to acquisition server, just is redirected to the server that the user needs after the collection; But, directly obtain the relevant data of access path, therefore through the operation of user on webpage; Wait process when it can reduce user capture, and cost is low when changing operator; The manual work that is provided with of the information collection server that supplier provides before need not changing being linked to of arranging on all control points is given up, and also can not influence operating business.
Simultaneously,, so be not limited in the data that to collect the user clicks on links operation as prior art in this programme, can only do link pageview statistics owing to the data of gathering are provided with according to functional area; On webpage, carry out various operations but can grasp the user all sidedly, obviously, the scheme of using the present invention to implement can obtain more information.
Further; Can be through obtaining the user's operation behavior that on it, takes place at functional area definition html tag; Therefore, page engineer need not understand very complicated principle, and the html tag that adopts them to be familiar with can be accomplished burying underground of control point; Former control point is a special html label in the time will changing technical scheme, and not deleting can not influence former business yet.
Further, get access to and adopt after the data AJAX synchronized transmission, make and to collect the user behavior that the non-page is clicked generation when the present invention implements not have the light monitoring of intrusive mood to data server.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic inventive concept could of cicada, then can make other change and modification to these embodiment.So accompanying claims is intended to be interpreted as all changes and the modification that comprises preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.