CN108459845A - A kind of surveillance tag attribute buries point methods and device - Google Patents
A kind of surveillance tag attribute buries point methods and device Download PDFInfo
- Publication number
- CN108459845A CN108459845A CN201810210568.4A CN201810210568A CN108459845A CN 108459845 A CN108459845 A CN 108459845A CN 201810210568 A CN201810210568 A CN 201810210568A CN 108459845 A CN108459845 A CN 108459845A
- Authority
- CN
- China
- Prior art keywords
- page
- page elements
- scheduled
- elements
- property
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
Abstract
Point methods and device are buried the present invention relates to a kind of surveillance tag attribute.This method includes:According to a user operation instruction element property is arranged for scheduled page elements, and establish the mapping relations between element property and scheduled page elements;When detection first page element is triggered, and determines that first page element is scheduled page elements, the attribute value of the first element property corresponding with first page element is obtained;The attribute value of first page element and the first element property is sent to server according to preset rules.Element property values and page elements are established into mapping relations, rather than directly slotting code sentence is inserted into the corresponding business logic codes of page elements, realize that non-intrusion type buries a little.It is avoiding program code quantity excessive, while committed memory is too many, is realizing that service code inserts the decoupling of code, be conducive to the iteration and follow-up maintenance of service code, reduce and insert code workload.
Description
Technical field
Point methods and device are buried the present invention relates to field of computer technology more particularly to a kind of surveillance tag attribute.
Background technology
With the continuous application expanded with data analysis scene of business, various scenes are required to bury an acquisition number
According to.And it is most bury operation and be required to developer manually and will bury point code to be inserted into service code, time-consuming and laborious, people
Work cost is excessively high.Moreover, subsequent maintenance personnel dare not change or delete easily the code buried a little, with burying point data amount
It is continuously increased, code data is more and more, and committed memory is increasing, and system performance will be affected, also can be to business generation
Code is unfavorable for management and control.
Invention content
In order to solve the above technical problems, burying point methods and device the present invention provides a kind of surveillance tag attribute.
In a first aspect, burying point methods the present invention provides a kind of surveillance tag attribute, this method includes:
According to a user operation instruction element property is arranged for scheduled page elements, and establish the element property and institute
State the mapping relations between scheduled page elements;
When detection first page element is triggered, and determines that the first page element is scheduled page elements, obtain
Take the attribute value of the first element property corresponding with first page element;
The attribute value of first page element and the first element property is sent to server according to preset rules, wherein first
Page elements are the arbitrary page elements on webpage, comprising scheduled page elements and in addition to predetermined page element on webpage
Page elements.
The beneficial effects of the invention are as follows:Element property and page elements are established into mapping relations, rather than directly by slotting code
Sentence is inserted into the corresponding business logic codes of page elements, realizes that non-intrusion type buries a little.Avoiding program code quantity mistake
Greatly, it while committed memory is too many, realizes that service code inserts the decoupling of code, is conducive to the iteration of service code and follow-up dimension
Shield reduces and inserts code workload.
Second aspect buries a device the present invention provides a kind of surveillance tag attribute, which includes:
Processing unit, be used for according to a user operation instruction for page elements be arranged element property, and establish element property with
Mapping relations between page elements;
Detection unit for being triggered when detection first page element, and determines that first page element is the scheduled page
When element, the attribute value of the first element property corresponding with first page element is obtained;
Transmission unit, for first page element and the attribute value of the first element property to be sent to clothes according to preset rules
It is engaged in device, wherein first page element is the arbitrary page elements on webpage, comprising scheduled page elements and except predetermined on webpage
Page elements except page elements.
The beneficial effects of the invention are as follows:Element property values and page elements are established into mapping relations, rather than will directly be inserted
Code sentence is inserted into the corresponding business logic codes of page elements, realizes that non-intrusion type buries a little.Avoiding program code quantity
It is excessive, it while committed memory is too many, realizes that service code inserts the decoupling of code, is conducive to the iteration of service code and follow-up dimension
Shield reduces and inserts code workload.
Description of the drawings
Fig. 1 is that a kind of surveillance tag attribute provided in an embodiment of the present invention buries point methods flow diagram;
Fig. 2 is that a kind of surveillance tag attribute provided in an embodiment of the present invention buries an apparatus structure schematic diagram.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as specific system structure, interface, technology it
The detail of class understands the present invention to cut thoroughly.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known device, circuit and
The detailed description of method, in case unnecessary details interferes description of the invention.
Fig. 1 is that a kind of surveillance tag attribute provided in an embodiment of the present invention buries point methods flow diagram.Such as Fig. 1 institutes
Show, this method includes:
Step 110, according to a user operation instruction element property is arranged for scheduled page elements, and element property is established
With the mapping relations between scheduled page elements.
According to a user operation instruction element property is arranged for scheduled page elements.And when being arranged, it is not that intrusive mood will
It is directly inserted into slotting code sentence in the business logic codes where scheduled page elements, but establishes element property and predetermined
Page elements between mapping relations.
Optionally, page elements are DOM Document Object Model DOM element.Such as word, picture or music etc..
Further alternative, the attribute value of element property is and the relevant data information of page elements.
For example, page elements are musical designation, and can be and the music name then with the element property of page elements setting
Claim corresponding informance, such as wrirtes music, writes words, original singer and the lyrics etc..The attribute value of element property is relevant with page elements
Data information, for example, composition people, make the composer of ci poetry, original singer's name claims, lyrics content etc., and these will occur in the form of character string.
Step 120, when detection first page element is triggered, and determine that first page element is scheduled page elements
When, obtain the attribute value of the first element property corresponding with first page element.
Specifically, in step 110, establish the mapping relations between page elements and element property in advance, be exactly in order to
Subsequently when there is user to trigger the page elements, the number etc. of page elements triggering can also be recorded.Certainly, page member
The number of element triggering equally may be embodied in the attribute value of element property, and exist in the form of counting.For example, user's point
When hitting a certain first song and listening, song number of clicks in the attribute value of element property is from increasing 1.
So, detailed statistical information is then contained in the attribute value of the element property of acquisition.To execute step
130, after the attribute value of corresponding page elements and element property is sent to server according to preset rules, after facilitating server
It is continuous for statistical analysis.This preset rules can be that user sets according to actual conditions.
And because page elements include inherently many types, in statistical data, it is not necessarily required to count all page members
The corresponding related data information of element.At a time or certain time period, it may only need to count the relevant data of Partial Elements
Information.So, the corresponding element property of partial page element will necessarily only be established.Therefore, any page elements are being detected
When being triggered, it is necessary to determine whether the page elements are scheduled page elements, and determine that the page elements are scheduled
Page elements for the moment, obtain the attribute value of element property corresponding with the page elements.
Optionally, step 120 can specifically include:
Step 1201, when detecting first page element and being triggered, by first page element and scheduled page elements into
Row matching.
Step 1202, when successful match, determine that first page element is scheduled page elements, acquisition and first page
The attribute value of corresponding first element property of element.
Step 130, the attribute value of first page element and the first element property is sent to server according to preset rules.
A kind of surveillance tag attribute provided in an embodiment of the present invention buries point methods, and element property and page elements are established
Mapping relations, rather than directly slotting code sentence is inserted into the corresponding business logic codes of page elements, realize non-intrusion type
It buries a little.It is avoiding program code quantity excessive, while committed memory is too many, is realizing that service code inserts the decoupling of code, be conducive to
The iteration and follow-up maintenance of service code reduce and insert code workload.
With above method embodiment correspondingly, the embodiment of the present invention additionally provides a kind of burying for surveillance tag attribute and decorates
Set structural schematic diagram.Specifically as shown in Fig. 2, the device includes:Processing unit 201, detection unit 202 and transmission unit.
Processing unit 201 is used for according to a user operation instruction element property is arranged for scheduled page elements, and establish
Mapping relations between element property and scheduled page elements.
Specifically, processing unit 201 for scheduled page elements according to a user operation instruction be arranged element property.And it sets
It is not intrusive by the business logic codes being directly inserted into slotting code sentence where scheduled page elements when setting, and
It is the mapping relations established between element property and scheduled page elements.
Optionally, page elements are DOM Document Object Model DOM element.Such as word, picture or music etc..
Further alternative, the attribute value of element property is and the relevant data information of page elements.
For example, page elements are musical designation, and can be and the music name then with the element property of page elements setting
Claim corresponding informance, such as wrirtes music, writes words, original singer and the lyrics etc..The attribute value of element property is relevant with page elements
Data information, for example, composition people, make the composer of ci poetry, original singer's name claims, lyrics content etc., and these will occur in the form of character string.
Detection unit 202 for being triggered when detection first page element, and determines that first page element is scheduled page
When surface element, the attribute value of the first element property corresponding with first page element is obtained.
Specifically, processing unit 201 establishes the mapping relations between page elements and element property in advance, it is exactly in order to rear
Continue when there is user to trigger the page elements, the number etc. of page elements triggering can also be recorded.Certainly, the page elements
The number of triggering equally may be embodied in the attribute value of element property, and exist in the form of counting.For example, user clicks
When a certain first song is listened, the song number of clicks in the attribute value of element property increases 1 certainly.
So, detailed statistical information is then contained in the attribute value for the element property that detection unit 202 obtains.With
Continue transmission unit 203 after an action of the bowels and the attribute value of corresponding page elements and element property is sent to server according to preset rules
Afterwards, facilitate server for statistical analysis.This preset rules can be that user sets according to actual conditions.
And because page elements include inherently many types, in statistical data, it is not necessarily required to count all page members
The corresponding related data information of element.At a time or certain time period, it may only need to count the relevant data of Partial Elements
Information.So, processing unit 201 will necessarily only establish the corresponding element property of partial page element.Therefore, single in detection
When the 202 any page elements of detection of member are triggered, it is necessary to determine whether the page elements are scheduled page elements, and true
The fixed page elements are scheduled page elements a period of time, obtain the attribute value of element property corresponding with the page elements.
Optionally, detection unit 202 is specifically used for, when detection first page element is triggered, by first page element
It is matched with scheduled page elements;
When successful match, determines that first page element is scheduled page elements, obtain corresponding with first page element
The first element property attribute value.
Transmission unit 203, for sending the attribute value of first page element and the first element property according to preset rules
To server, wherein first page element is the arbitrary page elements on webpage, comprising scheduled page elements and is removed on webpage
Page elements except predetermined page element.
The function performed by each component in the device burying a little in a kind of surveillance tag attribute of above-described embodiment
It is had been described in detail in method, which is not described herein again.
A kind of surveillance tag attribute provided in an embodiment of the present invention buries a device, and element property values and page elements are built
Vertical mapping relations, rather than directly slotting code sentence is inserted into the corresponding business logic codes of page elements, realize non-intruding
Formula is buried a little.It is avoiding program code quantity excessive, while committed memory is too many, is realizing that service code inserts the decoupling of code, favorably
In the iteration and follow-up maintenance of service code, reduces and insert code workload.
In addition, the embodiment of the present invention additionally provides a kind of computer readable storage medium, it is stored thereon with computer program
The method and step described in above method embodiment is realized in instruction when the program instruction is executed by processor.
Reader should be understood that in the description of this specification reference term " one embodiment ", " is shown " some embodiments "
The description of example ", " specific example " or " some examples " etc. mean specific features described in conjunction with this embodiment or example, structure,
Material or feature are included at least one embodiment or example of the invention.In the present specification, above-mentioned term is shown
The statement of meaning property need not be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described
It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this
The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples
Sign is combined.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changes, replacing and modification.
Claims (8)
1. a kind of surveillance tag attribute buries point methods, which is characterized in that the method includes:
According to a user operation instruction for scheduled page elements be arranged element property, and establish the element property with it is described pre-
Mapping relations between fixed page elements;
When detection first page element is triggered, and determines that the first page element is scheduled page elements, obtain with
The attribute value of corresponding first element property of first page element;
The attribute value of the first page element and first element property is sent to server according to preset rules, wherein
The first page element is the arbitrary page elements on webpage, comprising scheduled page elements and removes predetermined page on the webpage
Page elements except surface element.
2. according to the method described in claim 1, it is characterized in that, the page elements are DOM Document Object Model DOM element.
3. according to the method described in claim 1, it is characterized in that, the attribute value of element property is and the relevant number of page elements
It is believed that breath.
4. according to claim 1-3 any one of them methods, which is characterized in that described when detection first page element is touched
When sending out, and determining that the first page element is scheduled page elements, the first element corresponding with first page element is obtained
The attribute value of attribute, specifically includes:
When the detection first page element is triggered, by the first page element and the progress of scheduled page elements
Match;
When successful match, determines that the first page element is scheduled page elements, obtain corresponding with first page element
The first element property attribute value.
5. a kind of surveillance tag attribute buries a device, which is characterized in that described device includes:
Processing unit, be used for according to a user operation instruction for page elements be arranged element property, and establish the element property with
Mapping relations between the page elements;
Detection unit for being triggered when detection first page element, and determines that the first page element is the scheduled page
When element, the attribute value of the first element property corresponding with first page element is obtained;
Transmission unit, for sending the attribute value of the first page element and first element property according to preset rules
To server, wherein the first page element is the arbitrary page elements on webpage, include the scheduled page on the webpage
Element and the page elements in addition to predetermined page element.
6. device according to claim 5, which is characterized in that the page elements are DOM Document Object Model DOM element.
7. device according to claim 5, which is characterized in that the attribute value of element property be and the relevant number of page elements
It is believed that breath.
8. according to claim 5-7 any one of them devices, which is characterized in that the detection unit is specifically used for, and works as detection
When the first page element is triggered, the first page element is matched with scheduled page elements;
When successful match, determines that the first page element is scheduled page elements, obtain corresponding with first page element
The first element property attribute value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810210568.4A CN108459845A (en) | 2018-03-14 | 2018-03-14 | A kind of surveillance tag attribute buries point methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810210568.4A CN108459845A (en) | 2018-03-14 | 2018-03-14 | A kind of surveillance tag attribute buries point methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108459845A true CN108459845A (en) | 2018-08-28 |
Family
ID=63216810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810210568.4A Pending CN108459845A (en) | 2018-03-14 | 2018-03-14 | A kind of surveillance tag attribute buries point methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108459845A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110109801A (en) * | 2019-04-12 | 2019-08-09 | 平安普惠企业管理有限公司 | A kind of page elements management method and relevant device based on data processing |
CN111124858A (en) * | 2019-12-13 | 2020-05-08 | 天津酷码数据科技有限公司 | Embedded point-free plug-in data processing method and system, terminal device and storage medium |
CN111310044A (en) * | 2020-02-14 | 2020-06-19 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for extracting page element information |
CN113515715A (en) * | 2020-10-15 | 2021-10-19 | 腾讯科技(深圳)有限公司 | Generating method, processing method and related equipment of buried point event code |
WO2022127449A1 (en) * | 2020-12-17 | 2022-06-23 | 深圳前海微众银行股份有限公司 | Web page synchronization method and apparatus, device, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040244011A1 (en) * | 2000-11-30 | 2004-12-02 | Microsoft Corporation | Operating system event tracker |
CN105630512A (en) * | 2016-02-17 | 2016-06-01 | 北京高绎信息技术有限公司 | Method and system for implementing mobile device data tracking through software development toolkit |
CN106445484A (en) * | 2015-08-12 | 2017-02-22 | 北京高绎信息技术有限公司 | Method and system for realizing data tracking through software development kit |
CN106933722A (en) * | 2017-03-06 | 2017-07-07 | 腾云天宇科技(北京)有限公司 | A kind of web application monitoring method, server and system |
-
2018
- 2018-03-14 CN CN201810210568.4A patent/CN108459845A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040244011A1 (en) * | 2000-11-30 | 2004-12-02 | Microsoft Corporation | Operating system event tracker |
CN106445484A (en) * | 2015-08-12 | 2017-02-22 | 北京高绎信息技术有限公司 | Method and system for realizing data tracking through software development kit |
CN105630512A (en) * | 2016-02-17 | 2016-06-01 | 北京高绎信息技术有限公司 | Method and system for implementing mobile device data tracking through software development toolkit |
CN106933722A (en) * | 2017-03-06 | 2017-07-07 | 腾云天宇科技(北京)有限公司 | A kind of web application monitoring method, server and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110109801A (en) * | 2019-04-12 | 2019-08-09 | 平安普惠企业管理有限公司 | A kind of page elements management method and relevant device based on data processing |
CN110109801B (en) * | 2019-04-12 | 2023-04-28 | 平安普惠企业管理有限公司 | Page element management method based on data processing and related equipment |
CN111124858A (en) * | 2019-12-13 | 2020-05-08 | 天津酷码数据科技有限公司 | Embedded point-free plug-in data processing method and system, terminal device and storage medium |
CN111124858B (en) * | 2019-12-13 | 2023-07-04 | 天津酷码数据科技有限公司 | Buried point-free insertion code data processing method, system, terminal equipment and storage medium |
CN111310044A (en) * | 2020-02-14 | 2020-06-19 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for extracting page element information |
CN111310044B (en) * | 2020-02-14 | 2023-09-26 | 北京百度网讯科技有限公司 | Page element information extraction method, device, equipment and storage medium |
CN113515715A (en) * | 2020-10-15 | 2021-10-19 | 腾讯科技(深圳)有限公司 | Generating method, processing method and related equipment of buried point event code |
CN113515715B (en) * | 2020-10-15 | 2024-03-15 | 腾讯科技(深圳)有限公司 | Buried point event code generation method, buried point event code processing method and related equipment |
WO2022127449A1 (en) * | 2020-12-17 | 2022-06-23 | 深圳前海微众银行股份有限公司 | Web page synchronization method and apparatus, device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108459845A (en) | A kind of surveillance tag attribute buries point methods and device | |
US11880414B2 (en) | Generating structured classification data of a website | |
US11301525B2 (en) | Method and apparatus for processing information | |
JP5353148B2 (en) | Image information retrieving apparatus, image information retrieving method and computer program therefor | |
WO2021042521A1 (en) | Contract automatic generation method, computer device and computer non-volatile storage medium | |
JP5534280B2 (en) | Text clustering apparatus, text clustering method, and program | |
CN100462976C (en) | Wrong hyperlink detection equipment and method | |
US7539934B2 (en) | Computer-implemented method, system, and program product for developing a content annotation lexicon | |
JP2010073114A6 (en) | Image information retrieving apparatus, image information retrieving method and computer program therefor | |
US11250035B2 (en) | Knowledge graph generating apparatus, method, and non-transitory computer readable storage medium thereof | |
US10346496B2 (en) | Information category obtaining method and apparatus | |
WO2009129425A2 (en) | Forum web page clustering based on repetitive regions | |
CN109803152A (en) | Violation checking method, device, electronic equipment and storage medium | |
WO2022116435A1 (en) | Title generation method and apparatus, electronic device and storage medium | |
JP2005174336A (en) | Learning and use of generalized string pattern for information extraction | |
CN109933502B (en) | Electronic device, user operation record processing method and storage medium | |
US9330075B2 (en) | Method and apparatus for identifying garbage template article | |
CN111638908A (en) | Interface document generation method and device, electronic equipment and medium | |
CN111797351A (en) | Page data management method and device, electronic equipment and medium | |
US11036818B2 (en) | Method and system for detecting graph based event in social networks | |
CN110347900B (en) | Keyword importance calculation method, device, server and medium | |
JP5226241B2 (en) | How to add tags | |
CN110618797B (en) | Method and device for generating character trotting horse lamp and terminal equipment | |
CN111639161A (en) | System information processing method, apparatus, computer system and medium | |
Yano et al. | Labeling feature-oriented software clusters for software visualization application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180828 |