CN105468265B - The response method and device of user behavior - Google Patents
The response method and device of user behavior Download PDFInfo
- Publication number
- CN105468265B CN105468265B CN201410455998.4A CN201410455998A CN105468265B CN 105468265 B CN105468265 B CN 105468265B CN 201410455998 A CN201410455998 A CN 201410455998A CN 105468265 B CN105468265 B CN 105468265B
- Authority
- CN
- China
- Prior art keywords
- area
- page
- page elements
- behavior
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The application proposes the response method and device of a kind of user behavior, wherein, the response method of the user behavior, the following steps are included: receiving page data, wherein, page data includes page content data and monitoring module, includes first area and page elements corresponding with first area in page content data, monitoring module is for operating the corresponding page elements in first area according to operation behavior of the user to first area;Loading page data;And obtain the operation behavior of user, wherein if operation behavior occurs in first area, monitoring module is operated according to page elements of the operation behavior to corresponding first area.The response method of the user behavior of the application operates page elements and does not limit by the type of page elements and size, so as to accurately and efficiently relative users behavior, promotes user experience.
Description
Technical field
This application involves web technologies field, in particular to the response method and device of a kind of user behavior.
Background technique
With the continuous development of web technologies, each web page element shows the more and more abundant multiplicity of form in webpage.Net
Page element may itself be the content area that irregular shape or web page element are present in irregular shape, still, at present
It is difficult to effectively identify these web page elements of different shapes or region, so that user can not accurately be responded to these webpages
The operation behavior in element or region.
Currently, HTML (Hypertext Markup Language, hypertext markup language can be passed through in image map
Speech) in<map>and<area>label define hot spot region in the picture, when user clicks hot spot region, can ring
Using the clicking operation at family, into the corresponding link in the hot spot region.But it is this at present hot by definition in image map
The mode of point region response user request, is mainly used in picture element, and can not be applied to other HTML elements, application scenarios
It is single, and the size of fixed picture element is needed, after otherwise picture element size changes, the hot spot region in picture is then
It may not be suitable for and the picture element.In addition, if storing other on picture element blocks element or region, then define
Hot spot region then cannot respond to the behavior of user, operation is inconvenient.
Summary of the invention
The application is intended to solve above-mentioned technical problem at least to a certain extent.
For this purpose, first purpose of the application is to propose a kind of response method of user behavior, page elements are carried out
Operation is not limited by the type of page elements and size, so as to accurately and efficiently relative users behavior, promotes user's body
It tests.
Second purpose of the application is to propose a kind of responding device of user behavior.
In order to achieve the above object, proposing a kind of response method of user behavior according to the application first aspect embodiment, wrap
It includes following steps: receiving page data, wherein the page data includes page content data and monitoring module, the page
It include first area and page elements corresponding with the first area in content-data, the monitoring module is used for according to user
The operation behavior of the first area operates the corresponding page elements in the first area;Load the page number
According to;And obtain the operation behavior of user, wherein the monitoring mould if the operation behavior occurs in the first area
Root tuber is operated according to page elements of the operation behavior to the corresponding first area.
The response method of the user behavior of the embodiment of the present application also wraps while including page content data in page data
Monitoring module is included, and page content data includes first area and page elements corresponding with the first area, thus loading
It, can be by monitoring module to the corresponding page in first area when user carries out operation behavior to first area after page data
Element is operated, as a result, can be according to the zone of action of user behavior and the behavior of position response user, and no matter the page is default is
It is no to be blocked, as long as the zone of action of user behavior, in the corresponding region of page elements, monitoring module can be to the page elements
It is operated, and is not limited by the type of page elements and size, so as to accurately and efficiently relative users behavior, mentioned
Rise user experience.
The application second aspect embodiment provides a kind of responding device of user behavior, comprising: receiving module, for connecing
Receive page data, wherein the page data includes page content data and monitoring module, includes in the page content data
First area and page elements corresponding with the first area, the monitoring module are used for according to user to the first area
Operation behavior the corresponding page elements in the first area are operated;Loading module, for loading the page data;
And module is obtained, for obtaining the operation behavior of user, wherein if the operation behavior occurs in the first area
The monitoring module is operated according to page elements of the operation behavior to the corresponding first area.
The responding device of the user behavior of the embodiment of the present application also wraps while including page content data in page data
Monitoring module is included, and page content data includes first area and page elements corresponding with the first area, thus loading
It, can be by monitoring module to first when acquisition module gets user to first area progress operation behavior after page data
The corresponding page elements in region are operated, as a result, can according to the zone of action of user behavior and the behavior of position response user,
Whether no matter the page is default is blocked, as long as the zone of action of user behavior, in the corresponding region of page elements, monitoring module is
The page elements can be operated, and not limited by the type of page elements and size, so as to accurately and efficiently
Relative users behavior promotes user experience.
The additional aspect and advantage of the application will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the application will become from the description of the embodiment in conjunction with the following figures
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart according to the response method of the user behavior of the application one embodiment;
Fig. 2 is the flow chart according to the response method of the user behavior of the application another embodiment;
Fig. 3 is according to the schematic diagram after the load of the page of the application one embodiment;
Fig. 4 is the structural schematic diagram according to the responding device of the user behavior of the application one embodiment;
Fig. 5 is the structural schematic diagram according to the responding device of the user behavior of one specific embodiment of the application;
Fig. 6 is the structural schematic diagram according to the responding device of the user behavior of the application another specific embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the application, and should not be understood as the limitation to the application.Term " the
One ", " second " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
Below with reference to the accompanying drawings the response method and device of user behavior according to the embodiment of the present application are described.
Fig. 1 is the flow chart according to the response method of the user behavior of the application one embodiment.As shown in Figure 1, according to
The response method of the user behavior of the embodiment of the present application, comprising:
S101 receives page data, wherein page data includes page content data and monitoring module, content of pages number
It include first area and page elements corresponding with first area in, monitoring module is used for according to user to the behaviour of first area
Make behavior to operate the corresponding page elements in first area.
In one embodiment of the application, page data can be made of HTML, it may include page text, picture, link,
The elements such as audio-video frequency content and program code.First area in page content data includes<map>label.
Specifically, can be by the title of the title name attribute setup first area in creation<map>label, and pass through height
Spend attribute setups first area occupied regional scopes in the page such as height, width width.
Further, the shape of first area and coordinate can be had by subtab<area>tag definition in<map>label
Body, the shape of<area>tag definition first area, coordinate, link etc. can be passed through.The shape of first area can be rectangle,
Round, polygon and various irregular figures etc..Wherein, coordinate can be defined according to shape, and specifically, shape and coordinate can
It is defined respectively by two attributes of shape, coords of<area>label.Page elements are the HTML positioned at first area
Element, for example, page button, picture, link, audio-video frequency content etc..It includes<map>label that the attribute of page elements, which is directed toward,.Tool
Body, the name attribute value of<map>label can be set by the data-hotmap attribute of page elements to realize.Wherein,
Data-hotmap attribute is used to be arranged the region of page elements.
In one embodiment of the application, monitoring module can be Javascript script, for monitoring user to first
The operation behavior in region, and the module that the corresponding page elements in first area are operated according to the operation behavior.
When defining the shape of first area, can be defined according to the shape of the corresponding page elements in first area, example
Such as, the corresponding page elements in first area are a circular picture, then the shape that can define first area is circle.
S102, loading page data.
It, can be first by being parsed page data to obtain in page data in one embodiment of the application
First area and page elements corresponding with first area, then establish page elements and the firstth area according to the attribute of page elements
The linking relationship in domain is to be loaded.Specifically,<map>label can be directed toward by the attribute of page elements to establish page elements
With the linking relationship of first area.I.e. if the data-hotmap attribute of page elements AA is<map>label of first area aa
Name, then can establish the linking relationship of page elements AA Yu first area aa.
S103 obtains the operation behavior of user, wherein if operation behavior occurs in first area, monitoring module root
It is operated according to page elements of the operation behavior to corresponding first area.
Wherein, the operation behavior of user can be single-click operation, double click operation, touch operation, slide etc..In the application
One embodiment in, after getting the operation behavior of user, behavior can obtain the operation behavior depending on the user's operation
Active position coordinate, so that the operation behavior for determining user according to the coords attribute of the position coordinates and first area is
No generation is in first area.Specifically, the operation behavior of user can be judged using different algorithms according to the shape of first area
Whether occur in first area.For example, for the first area of rectangle, can by judge a little whether the calculation in rectangle
Method, for circular first area, can by judge a little whether the algorithm in circle, for polygon or irregular shape
First area, can be by being divided into the region part with regular shape by first area, and is judged respectively.
If the operation behavior of user occurs in first area, monitoring module can be according to operation behavior to corresponding firstth area
The page elements in domain are operated.
The response method of the user behavior of the embodiment of the present application also wraps while including page content data in page data
Monitoring module is included, and page content data includes first area and page elements corresponding with the first area, thus loading
It, can be by monitoring module to the corresponding page in first area when user carries out operation behavior to first area after page data
Element is operated, as a result, can be according to the zone of action of user behavior and the behavior of position response user, and no matter the page is default is
It is no to be blocked, as long as the zone of action of user behavior, in the corresponding region of page elements, monitoring module can be to the page elements
It is operated, and is not limited by the type of page elements and size, so as to accurately and efficiently relative users behavior, mentioned
Rise user experience.
Fig. 2 is the flow chart according to the response method of the user behavior of the application another embodiment.Use as shown in Figure 2
The response method of family behavior, comprising:
S201 receives page data, wherein page data includes page content data and monitoring module, content of pages number
It include first area and page elements corresponding with first area in, monitoring module is used for according to user to the behaviour of first area
Make behavior to operate the corresponding page elements in first area.
In one embodiment of the application, page data can be made of HTML, it may include page text, picture, link,
The elements such as audio-video frequency content and program code.First area in page content data includes<map>label.
Specifically, can be by the title of the title name attribute setup first area in creation<map>label, and pass through height
Spend attribute setups first area occupied regional scopes in the page such as height, width width.
Further, the shape of first area and coordinate can be had by subtab<area>tag definition in<map>label
Body, the shape of<area>tag definition first area, coordinate, link etc. can be passed through.The shape of first area can be rectangle,
Round, polygon and various irregular figures etc..Wherein, coordinate can be defined according to shape, and specifically, shape and coordinate can
It is defined respectively by two attributes of shape, coords of<area>label.Page elements are the HTML positioned at first area
Element, for example, page button, picture, link, audio-video frequency content etc..It includes<map>label that the attribute of page elements, which is directed toward,.Tool
Body, the name attribute value of<map>label can be set by the data-hotmap attribute of page elements to realize.Wherein,
Data-hotmap attribute is used to be arranged the region of page elements.
In one embodiment of the application, monitoring module can be Javascript script, for monitoring user to first
The operation behavior in region, and the module that the corresponding page elements in first area are operated according to the operation behavior.
When defining the shape of first area, can be defined according to the shape of the corresponding page elements in first area, example
Such as, the corresponding page elements in first area are a circular picture, then the shape that can define first area is circle.
S202, loading page data.
It, can be first by being parsed page data to obtain in page data in one embodiment of the application
First area and page elements corresponding with first area, then establish page elements and the firstth area according to the attribute of page elements
The linking relationship in domain is to be loaded.Specifically,<map>label can be directed toward by the attribute of page elements to establish page elements
With the linking relationship of first area.I.e. if the data-hotmap attribute of page elements AA is<map>label of first area aa
Name, then can establish the linking relationship of page elements AA Yu first area aa.
S203 obtains the operation behavior of user, wherein if operation behavior occurs in first area, monitoring module root
The corresponding page elements in first area are obtained according to linking relationship.
Wherein, the operation behavior of user can be single-click operation, double click operation, touch operation, slide etc..In the application
One embodiment in, after getting the operation behavior of user, behavior can obtain the operation behavior depending on the user's operation
Active position coordinate, so that the operation behavior for determining user according to the coords attribute of the position coordinates and first area is
No generation is in first area.Specifically, the operation behavior of user can be judged using different algorithms according to the shape of first area
Whether occur in first area.For example, for the first area of rectangle, can by judge a little whether the calculation in rectangle
Method, for circular first area, can by judge a little whether the algorithm in circle, for polygon or irregular shape
First area, can be by being divided into the region part with regular shape by first area, and is judged respectively.
If the operation behavior of user occurs in first area aa, can be according to the first area and the page established in S202
The linking relationship of element obtains the corresponding page elements AA of first area aa.
S204, monitoring module operate page elements according to operation behavior.
For example, if the operation behavior of user is clicking operation, monitoring module can carry out page elements corresponding
Clicking operation all can be by monitoring module to user's from regardless of whether page elements are blocked by other elements or content
Operation behavior is identified, and is operated to page elements, to realize the function of the page elements, is such as jumped to corresponding
Chained address, the corresponding picture of display or video etc., solving when web page element in the related technology is blocked cannot respond to user
Operation the case where.
In another embodiment of the application, page elements corresponding with first area can be multiple in page data.
When defining the shape of first area, the shape that can be combined into according to the corresponding multiple page elements in first area is defined,
For example, the corresponding multiple page elements groups in first area are combined into an irregular shape, then it can define first area accordingly not
Regular shape.
In addition, for each page elements corresponding for first area, all defined respective coordinate, first area
In the coordinate of multiple page elements and the coordinate of first area match, i.e., the coordinate of multiple page elements in first area
Within the scope of first area.
Thus, the process of loading page data specifically includes: obtaining the first area and and first area in page data
Corresponding multiple page elements, wherein itself corresponding coordinate possessed by each page elements;According to the attribute of page elements
Establish the linking relationship of multiple page elements and first area, wherein linking relationship includes the corresponding coordinate of multiple page elements.
To after getting the operation behavior of user, if the operation behavior occurs to monitor mould in first area
Root tuber carries out operation according to page elements of the operation behavior to corresponding first area and specifically includes: obtaining the firstth area according to linking relationship
The corresponding multiple page elements in domain;Obtain the corresponding coordinate of the operation behavior;According to determining pair of the corresponding coordinate of the operation behavior
The page elements answered, and the page elements are operated according to the operation behavior.It specifically, can be corresponding by each page elements
Coordinate coordinate corresponding with the operation behavior be compared, so that it is determined that the corresponding coordinate of the operation behavior determines corresponding page
Surface element, and corresponding operation is carried out to the page elements.The response method of the user behavior of the embodiment of the present application, can be according to
One region and the linking relationship of page elements determine the corresponding page elements in first area that the operation behavior of user occurs, and right
The page elements are operated, and can accurately determine the object of the operation behavior of user, and not by page elements block because
The influence of element, shape factor, size factor improves response efficiency height and response accuracy rate.
It should be appreciated that in embodiments herein, when establishing page data, can be created in page data one or
Multiple first areas and corresponding page elements.Fig. 3 is according to the schematic diagram after the load of the page of the application one embodiment.
As shown in figure 3, including tetra- regions of different shapes A, B, C, D in the page, there are corresponding page elements in each region respectively
(not shown) is such as clicked in the A of region when user clicks one of region, then monitoring module can be to area
A corresponding page elements in domain carry out clicking operation.
In order to realize above-described embodiment, the application also proposes a kind of responding device of user behavior.
Fig. 4 is the structural schematic diagram according to the responding device of the user behavior of the application one embodiment.
As shown in figure 4, according to the responding device of the user behavior of the embodiment of the present application, comprising: receiving module 10, load mould
Block 20 and acquisition module 30.
Specifically, receiving module 10 is for receiving page data, wherein page data includes page content data and monitoring
Module, includes first area and page elements corresponding with first area in page content data, monitoring module be used for according to
Family operates the operation behavior of first area to the corresponding page elements in first area.In one embodiment of the application
In, page data can be made of HTML, it may include the elements such as page text, picture, link, audio content and program code.
First area in page content data includes<map>label.
Specifically, can be by the title of the title name attribute setup first area in creation<map>label, and pass through height
Spend attribute setups first area occupied regional scopes in the page such as height, width width.
Further, the shape of first area and coordinate can be had by subtab<area>tag definition in<map>label
Body, the shape of<area>tag definition first area, coordinate, link etc. can be passed through.The shape of first area can be rectangle,
Round, polygon and various irregular figures etc..Wherein, coordinate can be defined according to shape, and specifically, shape and coordinate can
It is defined respectively by two attributes of shape, coords of<area>label.Page elements are the HTML positioned at first area
Element, for example, page button, picture, link, audio content etc..It includes<map>label that the attribute of page elements, which is directed toward, specifically
Ground can set the name attribute value of<map>label for the data-hotmap attribute of page elements to realize.Wherein, data-
Hotmap attribute is used to be arranged the region of page elements.
In one embodiment of the application, monitoring module can be Javascript script, for monitoring user to first
The operation behavior in region, and the module that the corresponding page elements in first area are operated according to the operation behavior.
When defining the shape of first area, can be defined according to the shape of the corresponding page elements in first area, example
Such as, the corresponding page elements in first area are a circular picture, then the shape that can define first area is circle.
Loading module 20 is used for loading page data.
In one embodiment of the application, as shown in figure 5, loading module 20 specifically includes: 21 He of first acquisition unit
First establishing unit 22, wherein
First acquisition unit 21 is used to obtain first area and the page elements corresponding with first area in page data;
Second establishes unit 22 for establishing the linking relationship of page elements and first area according to the attribute of page elements.
Loading module 20 can first parse to obtain in page data page data by first acquisition unit 21
First area and page elements corresponding with first area, then built by first establishing unit 22 according to the attribute of page elements
Vertical page elements and the linking relationship of first area are to be loaded.Specifically, loading module 20 can pass through the category of page elements
Property be directed toward<map>label to establish the linking relationships of page elements and first area.I.e. if the data- of page elements A
Hotmap attribute is the name of<map>label of first area B, then loading module 20 can establish page elements A and first area B
Linking relationship.
Obtain the operation behavior that module 30 is used to obtain user, wherein if operation behavior occurs to supervise in first area
Control module is operated according to page elements of the operation behavior to corresponding first area.Wherein, the operation behavior of user can be single
Hit operation, double click operation, touch operation, slide etc..In one embodiment of the application, got obtaining module 30
After the operation behavior of user, behavior the active position coordinate of the operation behavior can be obtained depending on the user's operation, thus according to
The position coordinates and the coords attribute of first area determine whether the operation behavior of user occurs in first area.Specifically
Ground, obtaining module 30 can judge whether the operation behavior of user occurs the using different algorithms according to the shape of first area
One region.For example, for the first area of rectangle, can by judge a little whether the algorithm in rectangle, for circular
First area, can be by judging a little whether the algorithm in circle can lead to the first area of polygon or irregular shape
It crosses and first area is divided into the region part with regular shape, and judged respectively.
If the operation behavior of user occurs in first area B, obtaining module 30 can be according to first established in S202
Region page elements A corresponding with the linking relationship of page elements acquisition first area B.
In embodiments herein, if the operation behavior of user is clicking operation, monitoring module can be to page member
Element carries out corresponding clicking operation, from regardless of whether page elements are blocked by other elements or content, can all pass through monitoring mould
Block identifies the operation behavior of user, and operates to page elements, to realize the function of the page elements, such as jumps
Go to corresponding chained address, the corresponding picture of display or video etc., solve when web page element is blocked in the related technology without
Method responds the case where operation of user.
In another embodiment of the application, page elements corresponding with first area can be multiple in page data,
Thus, when defining the shape of first area, can be carried out according to the shape that the corresponding multiple page elements in first area are combined into
It is corresponding then to can define first area for example, the corresponding multiple page elements groups in first area are combined into an irregular shape for definition
Irregular shape.
In addition, for each page elements corresponding for first area, all defined respective coordinate, first area
In the coordinate of multiple page elements and the coordinate of first area match, i.e., the coordinate of multiple page elements in first area
Within the scope of first area.
As shown in fig. 6, loading module 20 can further comprise: second acquisition unit 23 and second establishes unit 24, wherein
Second acquisition unit 23 is used to obtain first area in the page data and corresponding with the first area
Multiple page elements, wherein each page elements have itself corresponding coordinate;
Second establishes unit 24 for establishing the multiple page elements and described the according to the attribute of the page elements
The linking relationship in one region, wherein the linking relationship includes the corresponding coordinate of the multiple page elements.
To after getting the operation behavior of user, if the operation behavior occurs to monitor mould in first area
Block can be specifically used for: obtain the corresponding multiple page elements in first area according to linking relationship;It is corresponding to obtain the operation behavior
Coordinate;Corresponding page elements are determined according to the corresponding coordinate of the operation behavior, and according to the operation behavior to the page elements
It is operated.More specifically, monitoring module can by the corresponding coordinate of each page elements coordinate corresponding with the operation behavior into
Row compares, so that it is determined that the corresponding coordinate of the operation behavior determines corresponding page elements, and carries out to the page elements corresponding
Operation.
The responding device of the user behavior of the embodiment of the present application also wraps while including page content data in page data
Monitoring module is included, and page content data includes first area and page elements corresponding with the first area, thus loading
It, can be by monitoring module to first when acquisition module gets user to first area progress operation behavior after page data
The corresponding page elements in region are operated, as a result, can according to the zone of action of user behavior and the behavior of position response user,
Whether no matter the page is default is blocked, as long as the zone of action of user behavior, in the corresponding region of page elements, monitoring module is
The page elements can be operated, and not limited by the type of page elements and size, so as to accurately and efficiently
Relative users behavior promotes user experience.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
While there has been shown and described that embodiments herein, it will be understood by those skilled in the art that: not
A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle and objective of the application, this
The range of application is by claim and its equivalent limits.
Claims (8)
1. a kind of response method of user behavior, which comprises the following steps:
Receive page data, wherein the page data includes page content data and monitoring module, the page content data
In include first area and multiple page elements corresponding with the first area, according to the shape of page elements definition the
The shape in one region, the monitoring module are used for according to user to the operation behavior of the first area to the first area pair
The page elements answered are operated;
The page data is loaded, the page data is parsed to obtain the page elements in the page data, root
The linking relationship of the page elements and the first area is established according to the attribute of the page elements;
When the page elements in the first area are blocked, obtain user the first area operation behavior,
Wherein, the monitoring module obtains the corresponding page elements in the first area according to the linking relationship, and according to the behaviour
Make behavior to operate the page elements;
It is described according to the operation behavior to the page elements carry out operation specifically include:
The corresponding multiple page elements in the first area are obtained according to the linking relationship;
Obtain the corresponding coordinate of the operation behavior;And
Corresponding page elements are determined according to the corresponding coordinate of the operation behavior, and according to the operation behavior to the page
Element is operated.
2. the response method of user behavior as described in claim 1, which is characterized in that the page data is by hypertext markup
Language HTML is constituted, and the first area has<map>label, and the shape and coordinate of the first area are fixed by<area>label
Justice.
3. the response method of user behavior as claimed in claim 2, which is characterized in that the attribute of the page elements is directed toward institute
State<map>label.
4. the response method of user behavior as claimed in claim 3, which is characterized in that the load page data is specific
Include:
Obtain the first area in the page data and multiple page elements corresponding with the first area, wherein each
Page elements have itself corresponding coordinate;And
The linking relationship of the multiple page elements and the first area is established according to the attribute of the page elements, wherein
The linking relationship includes the corresponding coordinate of the multiple page elements.
5. a kind of responding device of user behavior characterized by comprising
Receiving module, for receiving page data, wherein the page data includes page content data and monitoring module, institute
Stating includes first area and multiple page elements corresponding with the first area in page content data, according to the page member
The shape of element defines the shape of first area, and the monitoring module is used for according to user to the operation behavior pair of the first area
The corresponding page elements in the first area are operated;
Loading module parses the page data for loading the page data to obtain in the page data
Page elements, the linking relationship of the page elements and the first area is established according to the attribute of the page elements;
Module is obtained, when being blocked for the page elements in the first area, obtains user in firstth area
The operation behavior in domain, wherein the monitoring module obtains the corresponding page elements in the first area according to the linking relationship,
And the page elements are operated according to the operation behavior;
The monitoring module is specifically used for:
The corresponding multiple page elements in the first area are obtained according to the linking relationship;
Obtain the corresponding coordinate of the operation behavior;And
Corresponding page elements are determined according to the corresponding coordinate of the operation behavior, and according to the operation behavior to the page
Element is operated.
6. the responding device of user behavior as claimed in claim 5, which is characterized in that the page data is by hypertext markup
Language HTML is constituted, and the first area has<map>label, and the shape and coordinate of the first area are fixed by<area>label
Justice.
7. the responding device of user behavior as claimed in claim 6, which is characterized in that the attribute of the page elements is directed toward institute
State<map>label.
8. the responding device of user behavior as claimed in claim 7, which is characterized in that the loading module specifically includes:
Second acquisition unit, for obtaining first area and multiple pages corresponding with the first area in the page data
Surface element, wherein each page elements have itself corresponding coordinate;And
Second establishes unit, for establishing the multiple page elements and the first area according to the attribute of the page elements
Linking relationship, wherein the linking relationship includes the corresponding coordinate of the multiple page elements.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410455998.4A CN105468265B (en) | 2014-09-09 | 2014-09-09 | The response method and device of user behavior |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410455998.4A CN105468265B (en) | 2014-09-09 | 2014-09-09 | The response method and device of user behavior |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105468265A CN105468265A (en) | 2016-04-06 |
CN105468265B true CN105468265B (en) | 2019-10-22 |
Family
ID=55606026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410455998.4A Active CN105468265B (en) | 2014-09-09 | 2014-09-09 | The response method and device of user behavior |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105468265B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113051021A (en) * | 2021-04-01 | 2021-06-29 | 深圳力维智联技术有限公司 | Graphic link configuration method in monitoring configuration and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101930363A (en) * | 2010-08-12 | 2010-12-29 | 惠州Tcl移动通信有限公司 | Method and device for mobile terminal to acquire interface element |
CN103544155A (en) * | 2012-07-09 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Webpage display method and device for mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7139970B2 (en) * | 1998-04-10 | 2006-11-21 | Adobe Systems Incorporated | Assigning a hot spot in an electronic artwork |
-
2014
- 2014-09-09 CN CN201410455998.4A patent/CN105468265B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101930363A (en) * | 2010-08-12 | 2010-12-29 | 惠州Tcl移动通信有限公司 | Method and device for mobile terminal to acquire interface element |
CN103544155A (en) * | 2012-07-09 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Webpage display method and device for mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105468265A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11188588B1 (en) | Applied artificial intelligence technology for using narrative analytics to interactively generate narratives from visualization data | |
CN104504133B (en) | The recommendation method and device of application program | |
US9799380B2 (en) | Managing open tabs of an application | |
CN105528135A (en) | Information presenting method and device and electronic apparatus | |
CN106354519A (en) | Method and device for generating label for user portrait | |
CN105893446A (en) | Method for intelligent web reference preloading based on user behavior prediction | |
US20160380915A1 (en) | Rules-Based Workflow Messaging | |
CN105549936B (en) | Data table display method and device | |
CN103064920A (en) | Method and device for scaling page fonts in mobile terminal | |
US20160018909A1 (en) | Method and apparatus of controlling a smart device | |
CN109918597A (en) | Webpage preloads method and apparatus | |
CN107943803A (en) | A kind of method and apparatus for realizing that webpage quickly loads based on big data | |
CN110276039A (en) | Page element path generation method and device and electronic equipment | |
CN104133865A (en) | Advertisement filtering method and device | |
AU2011201866B8 (en) | Requirement structure display apparatus and computer readable medium | |
CN107728873A (en) | The method and its device of contents selection | |
CN103870191A (en) | Method and electronic equipment for saving webpage | |
CN105468265B (en) | The response method and device of user behavior | |
KR101598601B1 (en) | Technology of assisting context based service | |
US20130290854A1 (en) | Method and apparatus for isolating analytics logic from content creation in a rich internet application | |
CN105446752B (en) | Triggering method and device of control in application program and mobile terminal | |
US20140368511A1 (en) | Interactive visualization for highlighting change in top and relative ranking | |
US20130185058A1 (en) | Format for displaying text analytics results | |
US20130297600A1 (en) | Method and system for chronological tag correlation and animation | |
CN110020291B (en) | Webpage layout processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |