CN115033825A - Page data processing method, device, equipment and medium - Google Patents

Page data processing method, device, equipment and medium Download PDF

Info

Publication number
CN115033825A
CN115033825A CN202210705266.0A CN202210705266A CN115033825A CN 115033825 A CN115033825 A CN 115033825A CN 202210705266 A CN202210705266 A CN 202210705266A CN 115033825 A CN115033825 A CN 115033825A
Authority
CN
China
Prior art keywords
page
data
target
target data
operation instruction
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
Application number
CN202210705266.0A
Other languages
Chinese (zh)
Inventor
李亚楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210705266.0A priority Critical patent/CN115033825A/en
Publication of CN115033825A publication Critical patent/CN115033825A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The disclosure relates to a page data processing method, device, equipment and medium, which are used for solving the problems of large workload of embedded points and low page data processing efficiency in the related technology. The method comprises the following steps: loading a page event delegation plug-in when a page is accessed; acquiring page data of the page in real time through the page event entrusting plug-in; responding to the operation instruction on the page, and acquiring page data corresponding to the operation instruction as target data; and uploading the target data to a server so that the server obtains an analysis result of the page according to the target data.

Description

Page data processing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a method, an apparatus, a device, and a medium for processing page data.
Background
With the increasing of internet technology, more and more data volume needs to be counted, and using the buried points for counting is the mainstream statistical scheme at present. The embedded point is that a specific process in the application collects some information to track the application usage status, and then further optimizes the product or provides data support for operation, including access numbers (Visits), Visitor numbers (Visitor), dwell Time (Time On Site), Page browsing numbers (Page Views) and hop Rate (Bounce Rate). Such information gathering can be broadly divided into two categories: page statistics (track this virtual page view), and statistics of operation behavior (track this button by an event).
In a conventional business point burying process, a point burying rule is usually issued by a data group, visual setting is performed on a page burying point in a system by developing a visual interface system, then point burying is performed for a specified behavior of a specified element by a developer according to the rule, and then the correctness of the burying point is verified by the data group. The process needs a data set for final verification, and meanwhile, developers have large workload of point burying, meaningless repeated work and low efficiency.
Disclosure of Invention
The present disclosure provides a page data processing method, device, apparatus, and medium, to at least solve the problems of large workload of embedded points and low page data processing efficiency in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a page data processing method, including:
loading a page event delegation plug-in when a page is accessed;
acquiring page data of a page in real time through a page event entrusting plug-in;
responding to an operation instruction on a page, and acquiring page data corresponding to the operation instruction as target data;
and uploading the target data to a server so that the server obtains an analysis result of the page according to the target data.
In the above embodiment, when accessing a page, a page event delegation plug-in is loaded, page data is obtained through the plug-in, then, in response to an operation instruction of the page, page data corresponding to the operation instruction is obtained as target data, and the target data is uploaded to a server, so that the server obtains an analysis result of the page according to the target data. Compared with the related technology, the complex and repeated embedded point operation is avoided, the workload in the page data processing process is reduced, and the efficiency and the accuracy of the page data processing are improved.
In a possible embodiment, the method provided by the present disclosure, obtaining page data of a page in real time through a page event delegation plug-in includes:
and acquiring page loading data of the page and user data of a visitor of the page in real time by using the page event entrusting plug-in.
In the embodiment, the data volume is further enriched by acquiring the user data of the page visitor, and compared with the related technology, the source ways of the data are increased, so that the page data processing is more accurate.
In one possible implementation, the method provided by the present disclosure, in response to an operation instruction, determining page data corresponding to the instruction as target data includes:
responding to the operation instruction on the page, and acquiring target page loading data corresponding to the operation instruction from the page loading data;
determining target user data corresponding to the operation instruction in the user data based on the user data;
and determining the target user data and the target page loading data as target data.
In one possible implementation, in the method provided by the present disclosure, after the page data corresponding to the operation instruction is acquired as the target data in response to the operation instruction at the page, the method further includes:
deleting data which are not related to the identification from the target data according to the preset identification;
and carrying out statistics based on the deleted target data to obtain a data statistical result.
In a possible implementation manner, the method provided by the present disclosure, uploading the target data to a server, so that the server obtains an analysis result of the page according to the target data, includes:
and uploading the deleted target data and the statistical result to a server so that the server obtains an analysis result of the page.
In one possible embodiment, the present disclosure provides a method, wherein the method further comprises:
and displaying the target data in the page in response to the display instruction in the page.
In the above-described embodiment, the target data is displayed in the page in response to the display instruction in the page. Compared with the related art, the method and the device display the uploaded data, bring convenience for maintenance personnel to find problems quickly, and improve the efficiency and accuracy of page data processing.
According to a second aspect of the embodiments of the present disclosure, there is provided a page data processing apparatus including:
a loading unit configured to execute loading a page event delegation plug-in when accessing a page;
the acquisition unit is configured to execute real-time acquisition of page data of a page through a page event delegation plug-in;
the processing unit is configured to execute an operation instruction responding to the page, and acquire page data corresponding to the operation instruction as target data;
and the sending unit is configured to upload the target data to the server so that the server obtains an analysis result of the page according to the target data.
In one possible implementation, the present disclosure provides an apparatus, wherein the obtaining unit is specifically configured to perform:
and acquiring page loading data of the page and user data of a visitor of the page in real time by using the page event entrusting plug-in.
In one possible embodiment, the present disclosure provides an apparatus, wherein the processing unit is specifically configured to perform:
responding to the operation instruction on the page, and acquiring target page loading data corresponding to the operation instruction from the page loading data;
determining target user data corresponding to the operation instruction in the user data based on the user data;
and determining the target user data and the target page loading data as target data.
In one possible embodiment, the present disclosure provides an apparatus, wherein the processing unit is further configured to:
deleting data which are not related to the identification from the target data according to the preset identification;
and carrying out statistics based on the deleted target data to obtain a data statistical result.
In one possible embodiment, the present disclosure provides an apparatus, wherein the sending unit is specifically configured to perform:
and uploading the deleted target data and the statistical result to a server so that the server obtains an analysis result of the page.
In one possible implementation, the present disclosure provides an apparatus, wherein the processing unit is further configured to:
and displaying the target data in the page in response to the display instruction in the page.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page data processing method according to any one of the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium, where instructions executed by a processor of an electronic device enable the electronic device to perform the page data processing method according to any one of the first aspect of the embodiments of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising: a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page data processing method according to any one of the first aspect of the embodiments of the present disclosure.
When a page is accessed, a page event entrusting plug-in is loaded, page data are obtained through the plug-in, then the page data corresponding to the operation instruction are obtained as target data in response to the operation instruction of the page, and the target data are uploaded to a server, so that the server obtains an analysis result of the page according to the target data. Compared with the related technology, the complex and repeated embedded point operation is avoided, the workload in the page data processing process is reduced, and the efficiency and the accuracy of the page data processing are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flowchart illustrating a page data processing method according to an exemplary embodiment.
Fig. 2 is a schematic specific flowchart illustrating a page data processing method according to an exemplary embodiment.
Fig. 3 is a schematic structural diagram illustrating a page data processing apparatus according to an exemplary embodiment.
Fig. 4 is a schematic structural diagram illustrating a page data processing apparatus according to an exemplary embodiment.
Fig. 5 is a schematic structural diagram of a terminal to which a page data processing method is applied according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Some of the words that appear in the text are explained below:
1. the term "and/or" in the embodiments of the present disclosure describes an association relationship of associated objects, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
2. Deep Packet Inspection (DPI) is a Packet-based Deep Inspection technology, which performs Deep Inspection on different network application layer loads (such as HTTP, DNS, etc.), and determines validity of data by payload Inspection.
3. Event delegation, namely event proxy, is designed on a JavaScript high-level program, and can manage all events of a certain type by specifying only one event handler by using event bubbling.
4. A programming language (JavaScript, JS) is a lightweight, interpreted or just-in-time programming language with function precedence.
The method and the device carry out event proxy by utilizing an event flow mechanism of front-end javascript, reverse the focus points of the service buried points, report all behaviors of all elements of the page by a developer through a general means, and finally automatically take out data for processing by a data group according to requirements.
Generally, a Document Object Model (DOM) needs to have an event handler, and the event handler is directly set for the DOM, but if many DOMs need to add event processing, for example, there are 100 nodes, each node has the same click event, we may use a "for" loop method to traverse all nodes and then add events to them, however, in JavaScript, the number of event handlers added to a page will directly relate to the overall running performance of the page, because of the continuous interaction with DOM nodes, the more times of accessing the DOM will cause the more times of redrawing and rearranging of the browser, and the more interaction ready time of the entire page will be extended, therefore, the best way of performance optimization is to reduce DOM operations, and therefore, if event delegation is used, all operations will be put into the JavaScript, therefore, only one time of interaction with the DOM is needed, interaction times are greatly reduced, and performance is improved.
Event delegation is realized by using the bubble principle of events, namely, the events start from the deepest node and then propagate the events upwards step by step, for example, a node tree is arranged on a page, and d > c > b > a; for example, if a click event is added to the innermost a, the event is executed layer by layer, the execution sequence is a > b > c > d, if a click event is added to the outermost d, the click events of the a, b and c bubble to the div on the outermost layer and are all triggered, and the click events are the delegation events, and the delegation events delegate the parent generation to be the execution events.
In one example, the child nodes implement the same functionality:
<ul id="ul1">
<li>111</li>
<li>222</li>
<li>333</li>
<li>444</li>
</ul>
the implemented function is click li, pop-up 123:
Figure BDA0003705982870000051
Figure BDA0003705982870000061
in the dom operation, ul is found firstly, then li is traversed, and then when li is clicked, the position of the li of the target needs to be found again to execute the final operation, namely, li needs to be found once in each click; if the event delegation is used, the following is:
Figure BDA0003705982870000062
here, the parent level ul is used for handling the Event, when li is clicked, the Event will bubble to the ul due to the bubble principle, and the Event will be triggered because the ul has the click Event, and of course, here, the Event will be triggered when the ul is clicked, however, the Event object provides an attribute called target, which can return to the target node of the Event and become the Event source, that is, the target can be represented as dom of the current Event operation, but not as the real operation dom.
According to the content, the conventional business point burying process is that a point burying rule is usually issued by a data set, the visual setting is carried out on the buried points of the page in the system by developing a visual interface system, then the point burying is carried out for the specified behavior of the specified elements according to the rule by development, and then the correctness of the buried points is verified by the data set. The process needs the data set to be finally verified, meanwhile, the workload of a developer for embedding points is large, the fluency of the page is greatly influenced, most of meaningless repeated work exists in the verification process, and the efficiency is low. Therefore, in the embodiment of the present disclosure, an event stream mechanism of javascript is selected to perform event brokering, and fig. 1 is a flowchart of a page data processing method according to an exemplary embodiment, where as shown in fig. 1, the page data processing method includes the following steps.
In step S101, upon accessing a page, a page event delegation plug-in is loaded.
In specific implementation, when a user accesses a page, a page event delegation plug-in is loaded. In the embodiment of the disclosure, the event proxy performed by the javascript tool is used as the page event delegation plug-in. The page may be a web page, or may also be a display page, a background page, and the like of the app or other application program, which is not limited in this disclosure.
In step S102, the page data of the page is acquired in real time by the page event delegation plug-in.
In specific implementation, the page data of the page is acquired in real time through the page event entrusting plug-in, and the page data is completely acquired while the normal operation of the page is ensured.
In a possible implementation mode, the page event entrusting plug-in is used for acquiring the page loading data of the page in real time, and meanwhile, the user data of the visitor of the page is acquired, so that richer data volume is provided for subsequent structural analysis, and the statistical result is more fine-grained and diversified.
In step S103, in response to the operation instruction at the page, page data corresponding to the operation instruction is acquired as target data.
In specific implementation, in response to an operation instruction on a page, target page loading data corresponding to the operation instruction is acquired from the page loading data, target user data corresponding to the operation instruction in the user data is determined based on the user data, and the target user data and the target page loading data are determined as target data.
The instruction of the specific user operation may include actions of clicking, double clicking, dragging and the like to interact with the page.
Of course, an operation instruction may also be preset as the display instruction, when the visitor performs the display instruction, the target data is displayed in the page in response to the display instruction, and when the visitor performs the drag instruction, the display area of the target data is dragged in the page in response to the drag instruction, so that the visitor can clearly report which page data will be reported when performing the operation.
After the target data are determined, data which are not related to the identifiers can be deleted from the target data according to the identifiers which are preset by an operator and are used for determining which types of data need to be counted, and then the deleted target data are counted to obtain a data counting result. Of course, the screening and statistics mentioned in this step may also be performed in the cloud, and after the step S104 is uploaded to the server, the server performs the screening and statistics.
It should be noted that, when target data is displayed, another window may be opened beside the page, or the target data may be displayed in the page in an embedded manner, which is not limited in the embodiment of the present disclosure.
In step S104, the target data is uploaded to the server, so that the server obtains an analysis result of the page according to the target data.
In specific implementation, the target data determined in step S103 is uploaded to the server, so that the server performs analysis according to the target data and obtains an analysis result, and a data analyzer can know the correspondence and identifier between specific interaction and data, and then screen out data required by the data analyzer for analysis and statistics, thereby obtaining an analysis result of data of the service related to the desired service.
If the page loading data is screened and counted in the step S103, the deleted target data and the counted result are uploaded to the server, so that the server obtains an analysis result of the page.
Compared with the related art, the technical scheme provided by the disclosure avoids complex and repeated point burying operation, reduces the workload in the page data processing process, and improves the efficiency and the accuracy of page data processing.
The following describes in detail a specific process of the page data processing method provided by the embodiment of the present disclosure with reference to fig. 2.
In the embodiment of the present disclosure, an event stream mechanism of a front-end javascript is utilized to perform event proxy, and proxy is performed on specific attributes of a page, such as setting a text color of the page, setting a background image of the page, setting the background image of the page to be in a fixed state (not rolling along with the rolling of the page), setting a default link color of the page, setting a link color when a mouse is clicked, setting a link color after access, setting an upper margin of the page, setting a left margin of the page, and the like, so as to achieve the purpose of proxying all interactive behaviors of the page, and a specific page data processing method includes the following steps:
in step S201, upon accessing a page, a page event delegation plug-in is loaded.
In specific implementation, when a user accesses a page, a page event delegation plug-in is loaded. The page may be a web page, or may also be a display page, a background page, and the like of the app or other application program, which is not limited in this disclosure.
In step S202, the page data of the page is acquired in real time by the page event delegation plug-in.
And in specific implementation, the page data of the page is acquired in real time through the page event entrusting plug-in.
In step S203, user data of the page visitor is acquired.
In specific implementation, when a user accesses a page, the page data of the page is acquired in real time through the page event entrusting plug-in, and the page data is completely acquired while the normal operation of the page is ensured.
In one example, when a user accesses a page, the user may obtain IP data of the user, content being browsed, a type of browser used, and the like, and the user may also have an account number for logging in the page, and if the user logs in the account number, background data and historical data may be queried in the server through the account number, so as to enrich user data.
In step S204, in response to the operation instruction at the page, page data corresponding to the operation instruction is acquired as target data.
In specific implementation, in response to an operation instruction on a page, page data corresponding to the operation instruction is acquired as target data. Meanwhile, formats of some data can be preset, for example, some 'operation white lists' are added, target data are not uploaded when some instructions are given, or part of the target data are uploaded, and the specific setting format is set according to needs, which is not limited in the embodiment of the disclosure.
The instruction of the specific user operation may include actions of clicking, double clicking, dragging and the like to interact with the page.
In one example, the user clicks a button, which is documented as: and if the purchase is required, acquiring the following target data:
eventType (event type): click (click)
elementFlag (button identification): first-aid purchase "
pageFlag (page id): XXX (Address of page)
And data (reported data) { a: xxx, b: ooo, and c: fadfsd … }, wherein the data comprises second target data determined in the user data and set page data corresponding to the 'shopping robbery' instruction.
In another example, the user drags a slide button, the button copy being: and if the data is verified, the obtained target data is as follows:
eventType (event type): slide (sliding)
elementFlag (button identification): verification "
pageFlag (page id): XXX (Address of page)
data (reported data) { a: yyy, b: iii, c: qwdad … }, wherein the data comprises second target data determined in the user data and set page data corresponding to the verification instruction.
Of course, an operation instruction may also be preset as a display instruction, and when the visitor performs the display instruction, the target data is displayed in the page in response to the display instruction, so that the visitor can know which page data will be reported when performing the operation.
In one example, the design long press 10s is used to designate the evocative display target data, and when the user long presses 10s, the target data is displayed in the interface, and the above-mentioned case of the first click is still used, and the displayed content is in the following format:
eventType (event type): click (click)
elementFlag (button identification): first-aid purchase "
pageFlag (page id): XXX (Address of page)
data (reported data) { a: xxx, b: ooo, c: fadfsd … }.
It should be noted that, when target data is displayed, another window may be opened beside the page, or the target data may be displayed in the page in an embedded manner, which is not limited in the embodiment of the present disclosure.
After the target data are determined, data which are not related to the identifiers can be deleted from the target data according to the identifiers which are preset by an operator and are used for determining which types of data need to be counted, and then the deleted target data are counted to obtain a data counting result.
In step S205, the target data is uploaded to the server, so that the server obtains an analysis result of the page according to the target data.
In specific implementation, the target data determined in step S204 is uploaded to the server, so that the server performs analysis according to the target data, and obtains an analysis result.
If the page loading data is filtered and counted in step S204, the deleted target data and the statistical result are uploaded to the server, so that the server obtains the analysis result of the page.
Still following the above example, the displayed "click" content is uploaded to the server.
In step S206, an analysis result is obtained from the target data.
When the method is specifically implemented, the target data is processed and counted to obtain an analysis result, a data analyzer can know the corresponding relation and the identifier of specific interaction and data, and screen out the required data from the data analyzer for analysis and statistics, so that the analysis result of the data of the required service relevant buried points is obtained. Specific analysis procedures embodiments of the present disclosure are not limited.
Fig. 3 is a block diagram illustrating a page data processing apparatus according to an exemplary embodiment. Referring to fig. 3, the apparatus includes a loading unit 301, an acquiring unit 302, a processing unit 303, and a transmitting unit 304.
A loading unit configured to execute loading a page event delegation plug-in when accessing a page;
the acquisition unit is configured to execute real-time acquisition of page data of a page through a page event delegation plug-in;
the processing unit is configured to execute an operation instruction responding to a page, and acquire page data corresponding to the operation instruction as target data;
and the sending unit is configured to upload the target data to the server so that the server obtains an analysis result of the page according to the target data.
In a possible implementation manner, the present disclosure provides an apparatus, wherein the obtaining unit 302 is specifically configured to perform:
and acquiring page loading data of the page and user data of a visitor of the page in real time by using the page event entrusting plug-in.
In one possible implementation, the present disclosure provides an apparatus, wherein the processing unit 303 is specifically configured to perform:
responding to the operation instruction on the page, and acquiring target page loading data corresponding to the operation instruction from the page loading data;
determining target user data corresponding to the operation instruction in the user data based on the user data;
and determining the target user data and the target page loading data as target data.
In one possible implementation, the present disclosure provides an apparatus, wherein the processing unit 303 is further configured to:
deleting data which are not related to the identification from the target data according to the preset identification;
and carrying out statistics based on the deleted target data to obtain a data statistical result.
In one possible implementation, the present disclosure provides an apparatus, wherein the sending unit 304 is specifically configured to perform:
and uploading the deleted target data and the statistical result to a server so that the server obtains an analysis result of the page.
In one possible implementation, the present disclosure provides an apparatus, wherein the processing unit 303 is further configured to:
and displaying the target data in the page in response to the display instruction in the page.
Fig. 4 is a block diagram illustrating an electronic device 400 according to an example embodiment.
A processor 410;
a memory 430 for storing instructions executable by the processor 410;
wherein the processor 410 is configured to execute the instructions to implement the page data processing method in the embodiment of the present disclosure.
In an exemplary embodiment, a storage medium comprising instructions, such as a memory 430 comprising instructions, executable by the processor 410 of the device 400 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In this disclosure, as shown in fig. 5, a terminal 500 to which the page data processing method provided by this disclosure is applied is provided in this disclosure, and includes: radio Frequency (RF) circuit 510, power supply 520, processor 530, memory 540, input unit 550, display unit 560, camera 570, communication interface 580, and Wireless Fidelity (Wi-Fi) module 590. Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 5 is not intended to be limiting, and that the terminal provided by the embodiments of the present application may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
The following describes the various components of the terminal 500 in detail with reference to fig. 5:
the RF circuitry 510 may be used for receiving and transmitting data during a communication or conversation. In particular, the RF circuit 510 sends the downlink data of the base station to the processor 530 for processing; and in addition, sending the uplink data to be sent to the base station. In general, the RF circuit 510 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, RF circuit 510 may also communicate with networks and other terminals via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The Wi-Fi technology belongs to a short-distance wireless transmission technology, and the terminal 500 may connect to an Access Point (AP) through a Wi-Fi module 590, thereby implementing Access to a data network. The Wi-Fi module 590 can be used for receiving and transmitting data during communication.
The terminal 500 may be physically connected to other terminals through the communication interface 580. Optionally, the communication interface 580 is connected to the communication interface of the other terminal through a cable, so as to implement data transmission between the terminal 500 and the other terminal.
In the embodiment of the present application, the terminal 500 can implement a communication service to send information to other contacts, so that the terminal 500 needs to have a data transmission function, that is, the terminal 500 needs to include a communication module inside. Although fig. 5 illustrates communication modules such as the RF circuit 510, the Wi-Fi module 590, and the communication interface 580, it is understood that at least one of the above-described components or other communication modules (e.g., a bluetooth module) for implementing communication exists in the terminal 500 for data transmission.
For example, when the terminal 500 is a mobile phone, the terminal 500 may include the RF circuit 510 and may further include the Wi-Fi module 590; when the terminal 500 is a computer, the terminal 500 may include the communication interface 580 and may further include the Wi-Fi module 590; when the terminal 500 is a tablet computer, the terminal 500 may include the Wi-Fi module.
The memory 540 may be used to store software programs and modules. The processor 530 executes various functional applications and data processing of the terminal 500 by executing the software programs and modules stored in the memory 540, and when the processor 530 executes the program codes in the memory 540, part or all of the processes in fig. 5 of the embodiments of the present disclosure can be implemented.
Alternatively, the memory 540 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as communication applications), a page data processing module and the like; the storage data area may store data created according to the use of the terminal (such as various multimedia files like pictures, video files, and the like, and a pose information template), and the like.
In addition, the memory 540 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 550 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the terminal 500.
Alternatively, the input unit 550 may include a touch panel 551 and other input terminals 553.
The touch panel 551, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 551 (for example, operations of a user on or near the touch panel 551 using any suitable object or accessory such as a finger or a stylus), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 551 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 530, and can receive and execute commands sent by the processor 530. In addition, the touch panel 551 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave.
Optionally, the other input terminals 553 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 560 may be used to display information input by the user or information provided to the user and various menus of the terminal 500. The display unit 560 is a display system of the terminal 500, and is used for presenting an interface and implementing human-computer interaction.
The display unit 560 may include a display panel 561. Alternatively, the Display panel 571 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch panel 551 can cover the display panel 561, and when the touch panel 551 detects a touch operation on or near the touch panel 551, the touch panel 551 transmits the touch operation to the processor 530 to determine the type of the touch event, and then the processor 530 provides a corresponding visual output on the display panel 561 according to the type of the touch event.
Although in fig. 5 the touch panel 551 and the display panel 561 are shown as two separate components to implement the input and output functions of the terminal 500, in some embodiments, the touch panel 551 and the display panel 561 may be integrated to implement the input and output functions of the terminal 500.
The processor 530 is a control center of the terminal 500, connects various components using various interfaces and lines, performs various functions of the terminal 500 and processes data by operating or executing software programs and/or modules stored in the memory 540 and calling data stored in the memory 540, thereby implementing various services based on the terminal.
Optionally, the processor 530 may include one or more processing units. Optionally, the processor 530 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 530.
The camera 570 is configured to implement a shooting function of the terminal 500, and shoot pictures or videos. The camera 570 can also be used to implement a scanning function of the terminal 500, and scan a scanned object (two-dimensional code/barcode).
The terminal 500 also includes a power supply 530 (e.g., a battery) for powering the various components. Optionally, the power supply 530 may be logically connected to the processor 530 through a power management system, so that the power management system may manage charging, discharging, power consumption, and other functions.
It is noted that the processor 530 according to the embodiment of the disclosure may perform the functions of the processor 410 in fig. 4, and the memory 540 stores the contents of the processor 410.
In addition, in an exemplary embodiment, the present disclosure also provides a storage medium, and when an instruction in the storage medium is executed by a processor of the above-mentioned page data processing apparatus, the above-mentioned page data processing apparatus is enabled to implement the page data processing method in the embodiment of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
when a page is accessed, loading a page event entrusting plug-in, acquiring page data through the plug-in, responding to an operation instruction of the page, acquiring the page data corresponding to the operation instruction as target data, and uploading the target data to a server so that the server obtains an analysis result of the page according to the target data. Compared with the related art, the method avoids complex and repeated point burying operation, reduces the workload in the page data processing process, and improves the efficiency and the accuracy of page data processing.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A page data processing method is characterized by comprising the following steps:
loading a page event delegation plug-in when a page is accessed;
acquiring page data of the page in real time through the page event entrusting plug-in;
responding to the operation instruction on the page, and acquiring page data corresponding to the operation instruction as target data;
and uploading the target data to a server so that the server obtains an analysis result of the page according to the target data.
2. The method of claim 1, wherein said obtaining page data of said page in real time by said page event delegation plug-in comprises:
and acquiring page loading data of the page and user data of a visitor of the page in real time by using the page event entrusting plug-in.
3. The method according to claim 2, wherein the obtaining, as target data, page data corresponding to the operation instruction in response to the operation instruction on the page comprises:
responding to the operation instruction on the page, and acquiring target page loading data corresponding to the operation instruction from the page loading data;
determining target user data corresponding to the operation instruction in the user data based on the user data;
and determining the target user data and the target page loading data as the target data.
4. The method according to claim 1, wherein after the response to the operation instruction at the page, acquiring page data corresponding to the operation instruction as target data, the method further comprises:
deleting data which is not associated with the identifier from the target data according to a preset identifier;
and carrying out statistics on the basis of the deleted target data to obtain a data statistical result.
5. The method of claim 4, wherein uploading the target data to a server to enable the server to obtain an analysis result of the page according to the target data comprises:
and uploading the deleted target data and the statistical result to a server so that the server obtains an analysis result of the page.
6. The method of claim 1, further comprising:
and responding to a display instruction on the page, and displaying the target data in the page.
7. A page data processing apparatus, comprising:
a loading unit configured to execute loading a page event delegation plug-in when accessing a page;
the acquisition unit is configured to execute real-time acquisition of page data of the page through the page event delegation plug-in;
the processing unit is configured to execute an operation instruction responding to the page, and acquire page data corresponding to the operation instruction as target data;
the sending unit is configured to upload the target data to a server, so that the server obtains an analysis result of the page according to the target data.
8. A page data processing electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page data processing method of any one of claims 1 to 6.
9. A storage medium in which instructions, when executed by a processor of a page data processing electronic device, enable the page data processing electronic device to perform the page data processing method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the page data processing method according to any one of claims 1 to 6.
CN202210705266.0A 2022-06-21 2022-06-21 Page data processing method, device, equipment and medium Pending CN115033825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210705266.0A CN115033825A (en) 2022-06-21 2022-06-21 Page data processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210705266.0A CN115033825A (en) 2022-06-21 2022-06-21 Page data processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115033825A true CN115033825A (en) 2022-09-09

Family

ID=83124817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210705266.0A Pending CN115033825A (en) 2022-06-21 2022-06-21 Page data processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115033825A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589782A (en) * 2014-10-22 2016-05-18 中国银联股份有限公司 User behavior collection method based on browser
CN107015839A (en) * 2016-09-27 2017-08-04 阿里巴巴集团控股有限公司 A kind of method and device for realizing front end event agent
CN108073597A (en) * 2016-11-10 2018-05-25 北京国双科技有限公司 The page clicks on behavior methods of exhibiting, device and system
CN108334651A (en) * 2018-02-08 2018-07-27 北京小米移动软件有限公司 Collect method, apparatus and storage medium that user's end data realizes preset need
CN108846116A (en) * 2018-06-26 2018-11-20 北京京东金融科技控股有限公司 Page Impression collecting method, system, electronic equipment and storage medium
CN111046317A (en) * 2019-12-27 2020-04-21 北京奇艺世纪科技有限公司 Page data acquisition method, device, equipment and computer readable storage medium
CN112486708A (en) * 2020-12-16 2021-03-12 中国联合网络通信集团有限公司 Processing method and processing system of page operation data
CN113553269A (en) * 2021-07-27 2021-10-26 深圳市腾讯网域计算机网络有限公司 Page buried point reporting method and related device
CN113626158A (en) * 2021-08-13 2021-11-09 中国工商银行股份有限公司 Event agent-based embedded point execution method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589782A (en) * 2014-10-22 2016-05-18 中国银联股份有限公司 User behavior collection method based on browser
CN107015839A (en) * 2016-09-27 2017-08-04 阿里巴巴集团控股有限公司 A kind of method and device for realizing front end event agent
CN108073597A (en) * 2016-11-10 2018-05-25 北京国双科技有限公司 The page clicks on behavior methods of exhibiting, device and system
CN108334651A (en) * 2018-02-08 2018-07-27 北京小米移动软件有限公司 Collect method, apparatus and storage medium that user's end data realizes preset need
CN108846116A (en) * 2018-06-26 2018-11-20 北京京东金融科技控股有限公司 Page Impression collecting method, system, electronic equipment and storage medium
CN111046317A (en) * 2019-12-27 2020-04-21 北京奇艺世纪科技有限公司 Page data acquisition method, device, equipment and computer readable storage medium
CN112486708A (en) * 2020-12-16 2021-03-12 中国联合网络通信集团有限公司 Processing method and processing system of page operation data
CN113553269A (en) * 2021-07-27 2021-10-26 深圳市腾讯网域计算机网络有限公司 Page buried point reporting method and related device
CN113626158A (en) * 2021-08-13 2021-11-09 中国工商银行股份有限公司 Event agent-based embedded point execution method and device

Similar Documents

Publication Publication Date Title
CN108345543B (en) Data processing method, device, equipment and storage medium
CN106970790B (en) Application program creating method, related equipment and system
CN110990741B (en) Page display method and device, electronic equipment, server and storage medium
CN106302996B (en) Message display method and device
CN110837398B (en) Method and terminal for displaying card of quick application
CN111078556B (en) Application testing method and device
CN107666406B (en) Intelligent card display method and device
US10372512B2 (en) Method and apparatus for automatic processing of service requests on an electronic device
CN112399006B (en) File sending method and device and electronic equipment
CN109814801A (en) Using login method, device, terminal and storage medium
CN106021112A (en) Program testing system, method and device
US20170046144A1 (en) Aercloud application express and aercloud application express launcher
CN108073647B (en) Webpage display method and device
CN107391518A (en) Count system, the method and device of page load performance information
CN111090533A (en) Notice information sending method and device, electronic equipment and storage medium
CN112749074B (en) Test case recommending method and device
CN108268232B (en) Picture display method, device, system and storage medium
KR20150127505A (en) Device and method for managing application test
CN111104281B (en) Game performance monitoring method, device, system and storage medium
JP6133460B1 (en) Operation support system, operation support program, and operation support method
CN111625690A (en) Object recommendation method, device, equipment and medium
CN112000876B (en) Information display method, terminal and server
CN109978610A (en) Information processing method, mobile terminal and computer readable storage medium
CN115033825A (en) Page data processing method, device, equipment and medium
CN109165197A (en) A kind of document handling method, terminal and server

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