CN113176988B - Data recording method and device - Google Patents

Data recording method and device Download PDF

Info

Publication number
CN113176988B
CN113176988B CN202110490783.6A CN202110490783A CN113176988B CN 113176988 B CN113176988 B CN 113176988B CN 202110490783 A CN202110490783 A CN 202110490783A CN 113176988 B CN113176988 B CN 113176988B
Authority
CN
China
Prior art keywords
page
data
access
application
link
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
Application number
CN202110490783.6A
Other languages
Chinese (zh)
Other versions
CN113176988A (en
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.)
Ant Shengxin Shanghai Information Technology Co ltd
Original Assignee
Ant Shengxin Shanghai 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 Ant Shengxin Shanghai Information Technology Co ltd filed Critical Ant Shengxin Shanghai Information Technology Co ltd
Priority to CN202110490783.6A priority Critical patent/CN113176988B/en
Publication of CN113176988A publication Critical patent/CN113176988A/en
Application granted granted Critical
Publication of CN113176988B publication Critical patent/CN113176988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the specification provides a data recording method and device, wherein the data recording method comprises the following steps: recording access data generated after an application event of an application page in an application access link is triggered; writing the page identification of the application page into a data container of the application access link, and merging the page identification into corresponding access data; under the condition that the access of the application access link is finished, carrying out data fusion on the link information in the data container and the page element data of the application page and the merged access data; and storing the access data set obtained after fusion in the form of a log file.

Description

Data recording method and device
The application is a divisional application of Chinese application patent application with the application date of 2020, 11 and 27, the application number of CN202011351428.2 and the name of data recording method and device.
Technical Field
The present document relates to the field of data processing technologies, and in particular, to a data recording method and apparatus.
Background
With the continuous development and popularization of the internet, the mode of providing online services based on the internet is gradually applied to each service field, more and more online platforms of each service field are used for providing online services for users, and certain concern often exists in the process of providing online services for users by merchants using the online platforms, such concern refers to whether online services provided by merchants using the online platforms can be effectively provided for a long time and whether better service quality can be maintained, and meanwhile, users are concerned about whether corresponding problem solving channels exist when disputes happen around online services in the process of using online services, and whether problems can be timely and effectively solved are also important factors restricting further popularization and development of online services based on the internet.
Specifically, in the prior art, during the process of performing data access recording, screen capturing data and access data recording corresponding to a target page are collected based on a buried point program in an application, and before the data access recording is performed, the buried point program needs to be deployed in the target page, and when the target page is accessed, the deployed buried point program can collect relevant data of the target page, such as screen capturing data and access recording data. However, the implementation mode requires developers to deploy the embedded point program in the target page in advance, so that the required manpower and material resources are large, and the practical application difficulty is high.
Disclosure of Invention
One or more embodiments of the present specification provide a data recording method. The data recording method comprises the following steps: and recording access data generated after the application event of the application page in the application access link is triggered. And writing the page identification of the application page into a data container of the application access link, and merging the page identification into corresponding access data. And under the condition that the access of the application access link is finished, carrying out data fusion on the link information in the data container and the page element data of the application page and the merged access data. And storing the access data set obtained after fusion in the form of a log file.
One or more embodiments of the present specification provide a data recording apparatus including: and the access data recording module is configured to record access data generated after the application event of the application page in the application access link is triggered. And the data merging module is configured to write the page identification of the application page into the data container of the application access link and merge the page identification into corresponding access data. And the data fusion module is configured to perform data fusion on the link information in the data container and the page element data of the application page and the merged access data under the condition that the access of the application access link is finished. And the access data set storage module is configured to store the access data set obtained after fusion in the form of a log file.
One or more embodiments of the present specification provide a data recording apparatus including: a processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to: and recording access data generated after the application event of the application page in the application access link is triggered. And writing the page identification of the application page into a data container of the application access link, and merging the page identification into corresponding access data. And under the condition that the access of the application access link is finished, carrying out data fusion on the link information in the data container and the page element data of the application page and the merged access data. And storing the access data set obtained after fusion in the form of a log file.
One or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following: and recording access data generated after the application event of the application page in the application access link is triggered. And writing the page identification of the application page into a data container of the application access link, and merging the page identification into corresponding access data. And under the condition that the access of the application access link is finished, carrying out data fusion on the link information in the data container and the page element data of the application page and the merged access data. And storing the access data set obtained after fusion in the form of a log file.
Drawings
For a clearer description of one or more embodiments of the present description or of the solutions of the prior art, the drawings that are needed in the description of the embodiments or of the prior art will be briefly described below, it being obvious that the drawings in the description that follow are only some of the embodiments described in the present description, from which other drawings can be obtained, without inventive faculty, for a person skilled in the art;
FIG. 1 is a flow chart illustrating a method of recording data according to one or more embodiments of the present disclosure;
FIG. 2 is a process flow diagram of a data recording method for a secured project scenario according to one or more embodiments of the present disclosure;
FIG. 3 is a process flow diagram of a data recording method for use in an asset management business scenario, provided by one or more embodiments of the present disclosure;
FIG. 4 is a schematic diagram of a data recording apparatus according to one or more embodiments of the present disclosure;
Fig. 5 is a schematic structural diagram of a data recording apparatus according to one or more embodiments of the present disclosure.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions in one or more embodiments of the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one or more embodiments of the present disclosure without inventive effort, are intended to be within the scope of the present disclosure.
The embodiment of the data recording method provided in the specification is as follows:
Referring to fig. 1, a process flow diagram of a data recording method provided in this embodiment is shown, referring to fig. 2, a process flow diagram of a data recording method provided in this embodiment is shown, and referring to fig. 3, a process flow diagram of a data recording method provided in this embodiment is shown, the process flow diagram of a data recording method provided in this embodiment is shown.
Referring to fig. 1, the data recording method provided in this embodiment specifically includes steps S102 to S108.
Step S102, access data generated after an application event of an application page in an application access link is triggered is recorded.
According to the data recording method, access data generated by a user accessing each application page are recorded, link information of an application page link accessed by the user and page element data of the application page are recorded at the same time, and finally under the condition that the user finishes accessing the application access link, the recorded access data, page element data and link information are combined to obtain an access data set of the user accessing the application page link, and the access data set is stored in a local database in a log file mode, so that the access data of all links in the process of accessing the application access link by the user can be completely recorded, and persistent storage is performed, and the integrity of access data recording and the comprehensiveness of access data management are realized.
The application page in this embodiment refers to a front-end page of an online application that depends on an internet to provide services, such as a front-end web page of a security project (e.g., an insurance project) that provides a security service, a business access page of an asset management business (e.g., a fund business, a financial business) that provides an asset management service, or a front-end service page of an online mutual-help project that provides a mutual-help service.
The application access link is an access record link for recording an access process in the process of accessing an application page by a user, and specifically, the application access link is composed of the application page accessed by the user, namely: the application pages accessed by the user constitute the user's application access links. Correspondingly, the link information of the application access link comprises an identification chain formed by page identifications of the application pages determined according to the access time sequence.
In a specific implementation, in a process of accessing an application page in the application access link, access data generated after an application event of each application page is triggered is recorded, and in an alternative implementation provided in this embodiment, an application event triggered by an access action submitted for the application page is monitored by calling a monitoring interface, access data generated after the application event is executed is recorded by calling a data recording interface, and the generated access data is stored in a memory.
For example, in the process of accessing a web page of a security item by a user, an event monitoring API (Application Programming Interface, application program interface) provided by HTML5 is called to monitor an event triggered by the user in the process of accessing the web page, a data recording API is called after the event is executed to record event execution data generated after the event is executed, and the recorded event execution data is stored in a memory as access data of the user for accessing the web page;
Or in the process of accessing the business access page of the asset management business realized based on the applet, calling a corresponding event monitoring API to monitor the event triggered by the user in the process of accessing the business access page, calling a data recording API after the event is executed to record event execution data generated after the event is executed, and storing the recorded event execution data in a memory as access data of the user for accessing the business access page.
Step S104, writing the page identification of the application page into the data container of the application access link, and merging the page identification into the corresponding access data.
In order to improve the access efficiency of an application page, in an alternative implementation manner provided in this embodiment, before writing a page identifier of the application page into the data container and merging the page identifier into corresponding access data, by detecting an access request of a user for the application access link, under the condition that a first access request of the user for the application access link is detected, a session of the application access link is created as the data container; wherein, the data container records the page identification, page URL (Uniform Resource Locator ) and/or page element data of the accessed application page.
It should be noted that, the data container is located in the memory, in order to improve the recording efficiency of the subsequent access data set, in the case that the access request of the user to access the application page of the application access link is monitored, the page element data and/or the page URL of the accessed application page are written into the data container of the application access link, that is, the page element data and/or the page URL of the accessed application page are stored in the memory, or after the accessed application page is entered, the page element data and/or the page URL of the accessed application page are written into the data container of the application access link, so that the subsequent data fusion of the page element data and/or the page URL and the access data is facilitated.
In the implementation, in the process of writing the page identifier of the application page into the data container of the application access link, in order to improve the data writing efficiency and the data writing effectiveness, in an optional implementation provided in this embodiment, if a page jump event from the application page to the next application page is monitored, writing the page identifier of the application page into the data container; the page identification comprises a hash character string obtained after the hash processing of the page element data of the application page.
On the basis, in the process of merging the page identifier into the corresponding access data, the page identifier and the access data are merged by merging the hash character string of the application page with the access data of the application page stored in the memory.
And step S106, carrying out data fusion on the link information in the data container and the page element data of the application page and the merged access data under the condition that the access of the application access link is finished.
In the implementation, in the access process of the application access link, whether the access of the application access link is finished is detected by detecting a specific application event, specifically, if an application exit event or an application confirmation event is detected, the access of the application access link is confirmed to be finished; otherwise, if the application exit event or the application confirmation event is not detected, determining that the access of the application access link is not ended.
In this embodiment, when the access of the application access link is not finished, the recording and merging processing of the access data of the application page in the application access link is continued, which is specifically implemented as follows:
If a page jump event from the application page to the next application page is monitored, recording access data generated after the application event of the next application page is triggered and storing the access data into a memory;
And writing the page identification of the next application page into the data container, and merging the page identification of the next application page into the access data of the next application page.
In addition, in the case where the access of the application access link is ended, data fusion is performed on the link information in the data container and the page element data of the application page and the merged access data, and in an optional implementation provided in this embodiment, the data fusion is implemented specifically in the following manner:
Determining the mapping relation between the merged access data and the application page based on the page identifier contained in the merged access data;
And combining the link information, the page element data and the combined access data based on the mapping relation to obtain the access data set.
It should be noted that, after the access of the application access link is finished and the link information and the page element data in the data container are combined with the recorded access data, in order to improve the memory utilization rate, the link information and the page element data in the data container stored in the memory are deleted or the data container in the memory is destroyed. Similarly, after the access data set is stored in the form of a log file, the access data stored in the memory is deleted to further improve the memory utilization.
Step S108, storing the access data set obtained after fusion in the form of a log file.
In this embodiment, in order to improve the storage effectiveness of the access data set and also improve the convenience of querying after the access data set is stored, in an optional implementation manner provided in this embodiment, the access data set is stored according to a log file, which is specifically implemented as follows:
Writing the access data set into a log file according to a preset format;
and storing the log file into a local database.
For example, a session field, an application page identification field, and an access behavior field are set in the log file, where the session field is used to record a user ID and/or a link ID of an application access link, the application page identification field is used to record a page URL, page element data, and/or a page identification of an application page, and the access behavior field is used to record access data and/or a hash string for an access page record.
The following further describes the data recording method provided in this embodiment, referring to fig. 2, by taking an application of the data recording method provided in this embodiment to a security project scene as an example, and specifically includes steps S202 to S214.
Step S202, calling an event monitoring API to monitor an event triggered by an access action submitted by a front-end web page of the guarantee item.
The front-end web page of the guarantee item is a web page constructed based on HTML 5.
Step S204, calling a data recording API to record the access data generated after the event is executed.
Step S206, the generated access data is stored in the memory.
Step S208, if the page jump event is monitored, writing a hash character string of the front-end web page in the session of the project access link.
The hash character string of the front-end web page is obtained after hash processing is carried out on page element data of the front-end web page before page jumping.
Step S210, merging the hash character string with the access data stored in the memory.
Step S212, when the access of the project access link is finished, the link information in the session and the page element data of the front-end web page are subjected to data fusion with the merged access data.
Step S214, storing the access data set obtained after fusion in the form of a log file.
The following describes the data recording method provided in this embodiment further by taking an application of the data recording method provided in this embodiment to an asset management service scenario as an example, referring to fig. 3, the data recording method applied to the asset management service scenario specifically includes steps S302 to S316.
Step S302, calling an event monitoring API to monitor a business event triggered by an access action submitted by a business access page of the asset management business.
The business access page of the asset management business is a business page realized based on an applet.
Step S304, calling a data recording API to record the access data generated after the business event is executed.
Step S306, the generated access data is stored in the memory.
Step S308, if the page jump event is monitored, writing the hash character string of the service access page in the session of the service access link.
The hash character string of the service access page is obtained after hash processing is carried out on page element data of the service access page before page jumping.
Step S310, merging the hash character string with the access data stored in the memory.
Step S312, under the condition that the access of the service access link is finished, the link information in the session and the page element data of the service access page are subjected to data fusion with the combined access data.
Step S314, storing the access data set obtained after fusion in the form of a log file.
Step S316, deleting the access data and session stored in the memory.
In summary, in the data recording method provided in this embodiment, firstly, access data generated after an application page is accessed in an application access link is recorded, secondly, a page identifier of the accessed application page is written into a corresponding data container, the page identifier is combined with the recorded access data, and then, under the condition that access of the application access link is finished, data fusion is performed on link information in the data container, page element data of the application page and the recorded access data, so that access data of all links in the access process of the application access link can be completely recorded, and finally, the access data set obtained after combination is stored in a persistent manner in a log file form, thereby realizing integrity of access data record and comprehensiveness of access data management.
An embodiment of a data recording apparatus provided in the present specification is as follows:
In the above-described embodiments, a data recording method and a data recording apparatus corresponding thereto are provided, and the following description is made with reference to the accompanying drawings.
Referring to fig. 4, a schematic diagram of a data recording apparatus according to the present embodiment is shown.
Since the apparatus embodiments correspond to the method embodiments, the description is relatively simple, and the relevant portions should be referred to the corresponding descriptions of the method embodiments provided above. The device embodiments described below are merely illustrative.
The present embodiment provides a data recording apparatus including:
An access data recording module 402 configured to record access data generated after an application event of an application page in an application access link is triggered;
A data merging module 404 configured to write a page identifier of the application page into a data container of the application access link, and merge the page identifier into corresponding access data;
The data fusion module 406 is configured to perform data fusion on the link information in the data container and the page element data of the application page and the merged access data when the access of the application access link is finished;
the access data set storage module 408 is configured to store the access data set obtained after the fusion in the form of a log file.
Optionally, the access data recording module 402 is specifically configured to:
calling a monitoring interface to monitor an application event triggered by an access action submitted for the application page;
And calling a data recording interface to record access data generated after the application event is executed, and storing the generated access data into a memory.
Optionally, the data merging module 404 includes:
The page identification writing sub-module is configured to write the page identification of the application page in the data container if a page jump event from the application page to the next application page is monitored;
The page identification comprises a hash character string obtained after the hash processing of the page element data of the application page.
Optionally, the data merging module 404 includes:
and the merging sub-module is configured to merge the hash character string of the application page with the access data of the application page stored in the memory.
Optionally, the application access link is composed of application pages accessed by the user, and the link information includes an identification chain composed of page identifications of the application pages determined according to the access time sequence.
Optionally, the data recording device further includes:
a data container module configured to create a session of the application access link as the data container if a first access request of a user for the application access link is detected;
And the data container is recorded with page identification, page URL and/or page element data of the accessed application page in the application access link.
Optionally, the data fusion module 406 is specifically configured to:
Determining the mapping relation between the merged access data and the application page based on the page identifier contained in the merged access data;
And combining the link information, the page element data and the combined access data based on the mapping relation to obtain the access data set.
Optionally, the data recording device further includes:
The recording module is configured to record access data generated after the application event of the next application page is triggered and store the access data into a memory if a page jump event from the application page to the next application page is monitored;
The writing module is configured to write the page identification of the next application page into the data container and merge the page identification of the next application page into the access data of the next application page;
the recording module and the writing module operate under the condition that the access of the application access link is not ended.
Optionally, the access data set storage module 408 is specifically configured to:
Writing the access data set into a log file according to a preset format;
and storing the log file into a local database.
An embodiment of a data recording apparatus provided in the present specification is as follows:
In correspondence to the above-described data recording method, one or more embodiments of the present disclosure further provide a data recording apparatus for performing the above-provided data recording method, based on the same technical concept, and fig. 5 is a schematic structural diagram of a data recording apparatus provided by one or more embodiments of the present disclosure.
The data recording device provided in this embodiment includes:
As shown in fig. 5, the data recording device may have a relatively large difference due to different configurations or performances, and may include one or more processors 501 and a memory 502, where the memory 502 may store one or more storage applications or data. Wherein the memory 502 may be transient storage or persistent storage. The application programs stored in memory 502 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a data recording device. Still further, the processor 501 may be configured to communicate with the memory 502 and execute a series of computer executable instructions in the memory 502 on a data recording device. The data recording device may also include one or more power supplies 503, one or more wired or wireless network interfaces 504, one or more input/output interfaces 505, one or more keyboards 506, and the like.
In a particular embodiment, a data recording device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions in the data recording device, and configured to be executed by one or more processors, the one or more programs comprising computer-executable instructions for:
Recording access data generated after an application event of an application page in an application access link is triggered;
Writing the page identification of the application page into a data container of the application access link, and merging the page identification into corresponding access data;
Under the condition that the access of the application access link is finished, carrying out data fusion on the link information in the data container and the page element data of the application page and the merged access data;
and storing the access data set obtained after fusion in the form of a log file.
Optionally, the recording the access data generated after the application event of the application page in the application access link is triggered includes:
calling a monitoring interface to monitor an application event triggered by an access action submitted for the application page;
And calling a data recording interface to record access data generated after the application event is executed, and storing the generated access data into a memory.
Optionally, the writing the page identifier of the application page into the data container of the application access link includes:
If a page jump event from the application page to the next application page is monitored, writing a page identifier of the application page in the data container;
The page identification comprises a hash character string obtained after the hash processing of the page element data of the application page.
Optionally, the merging the page identifier into the corresponding access data includes:
And merging the hash character string of the application page with the access data of the application page stored in the memory.
Optionally, the writing the page identifier of the application page into the data container of the application access link, and merging the page identifier to the corresponding access data instruction before executing, further includes:
If a first access request of a user for the application access link is detected, creating a session of the application access link as the data container;
And the data container is recorded with page identification, page URL and/or page element data of the accessed application page in the application access link.
Optionally, the data fusion of the link information in the data container and the page element data of the application page with the merged access data includes:
Determining the mapping relation between the merged access data and the application page based on the page identifier contained in the merged access data;
And combining the link information, the page element data and the combined access data based on the mapping relation to obtain the access data set.
Optionally, the storing the access data set obtained after fusion according to the form of the log file includes:
Writing the access data set into a log file according to a preset format;
and storing the log file into a local database.
An embodiment of a storage medium provided in the present specification is as follows:
In correspondence with the above-described data recording method, one or more embodiments of the present specification further provide a storage medium based on the same technical idea.
The storage medium provided in this embodiment is configured to store computer executable instructions, where the computer executable instructions when executed implement the following procedures:
Recording access data generated after an application event of an application page in an application access link is triggered;
Writing the page identification of the application page into a data container of the application access link, and merging the page identification into corresponding access data;
Under the condition that the access of the application access link is finished, carrying out data fusion on the link information in the data container and the page element data of the application page and the merged access data;
and storing the access data set obtained after fusion in the form of a log file.
Optionally, the recording the access data generated after the application event of the application page in the application access link is triggered includes:
calling a monitoring interface to monitor an application event triggered by an access action submitted for the application page;
And calling a data recording interface to record access data generated after the application event is executed, and storing the generated access data into a memory.
Optionally, the writing the page identifier of the application page into the data container of the application access link includes:
If a page jump event from the application page to the next application page is monitored, writing a page identifier of the application page in the data container;
The page identification comprises a hash character string obtained after the hash processing of the page element data of the application page.
Optionally, the merging the page identifier into the corresponding access data includes:
And merging the hash character string of the application page with the access data of the application page stored in the memory.
Optionally, the data fusion of the link information in the data container and the page element data of the application page with the merged access data includes:
Determining the mapping relation between the merged access data and the application page based on the page identifier contained in the merged access data;
And combining the link information, the page element data and the combined access data based on the mapping relation to obtain the access data set.
Optionally, the storing the access data set obtained after fusion according to the form of the log file includes:
Writing the access data set into a log file according to a preset format;
and storing the log file into a local database.
It should be noted that, the embodiments related to the storage medium in the present specification and the embodiments related to the data recording method in the present specification are based on the same inventive concept, so the specific implementation of this embodiment may refer to the implementation of the foregoing corresponding method, and the repetition is not repeated.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In the 30 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable GATE ARRAY, FPGA)) is an integrated circuit whose logic functions are determined by user programming of the device. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented with "logic compiler (logic compiler)" software, which is similar to the software compiler used in program development and writing, and the original code before being compiled is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but HDL is not just one, but a plurality of kinds, such as ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language), and VHDL (Very-High-SPEED INTEGRATED Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application SPECIFIC INTEGRATED Circuits (ASICs), programmable logic controllers, and embedded microcontrollers, examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each unit may be implemented in the same piece or pieces of software and/or hardware when implementing the embodiments of the present specification.
One skilled in the relevant art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
One or more embodiments of the present specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is by way of example only and is not intended to limit the present disclosure. Various modifications and changes may occur to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. that fall within the spirit and principles of the present document are intended to be included within the scope of the claims of the present document.

Claims (17)

1. A data recording method, comprising:
recording access data generated after an application event of an application page in an application access link is triggered; the application access link consists of application pages accessed by users;
Writing the page identification of the application page into a data container of the application access link, and merging the page identification into corresponding access data;
Under the condition that the access of the application access link is finished, determining the mapping relation between the merged access data and the application page based on the page identification contained in the merged access data;
Combining the link information in the data container and the page element data of the application page with the combined access data based on the mapping relation to obtain an access data set; the link information comprises an identification chain formed by page identifications of the application pages determined according to the access time sequence;
deleting the link information and the page element data in the data container stored in the memory, or destroying the data container in the memory;
the access data set is stored in the form of a log file.
2. The data recording method according to claim 1, wherein the recording the access data generated after the application event of the application page in the application access link is triggered includes:
calling a monitoring interface to monitor an application event triggered by an access action submitted for the application page;
And calling a data recording interface to record access data generated after the application event is executed and store the access data into a memory.
3. The data recording method according to claim 1, wherein writing the page identifier of the application page into the data container of the application access link includes:
If a page jump event from the application page to the next application page is monitored, writing a page identifier of the application page in the data container;
The page identification comprises a hash character string obtained after the hash processing of the page element data of the application page.
4. A data logging method according to claim 3, said incorporating the page identity into corresponding access data comprising:
And merging the hash character string of the application page with the access data of the application page stored in the memory.
5. The data recording method according to claim 1, wherein the step of writing the page identifier of the application page into the data container of the application access link and merging the page identifier into the corresponding access data is performed, further comprises:
If a first access request of a user for the application access link is detected, creating a session of the application access link as the data container;
And the data container is recorded with page identification, page URL and/or page element data of the accessed application page in the application access link.
6. The data recording method according to claim 1, wherein in case the access of the application access link is not ended, the following operations are performed:
If a page jump event from the application page to the next application page is monitored, recording access data generated after the application event of the next application page is triggered and storing the access data into a memory;
And writing the page identification of the next application page into the data container, and merging the page identification of the next application page into the access data of the next application page.
7. The data recording method of claim 1, the storing the access data set in the form of a log file, comprising:
writing the access data set into the log file according to a predetermined format;
and storing the log file into a local database.
8. A data recording method, comprising:
recording access data generated after an event of a front page in an item access link of a guarantee item is triggered; the project access link consists of a front page accessed by a user;
Writing the page identification of the front-end page into a data container of the item access link, and merging the page identification into corresponding access data;
Under the condition that the access of the project access link is finished, determining the mapping relation between the merged access data and the front-end page based on the page identification contained in the merged access data;
combining the link information in the data container and the page element data of the front page with the combined access data based on the mapping relation to obtain an access data set; the link information comprises an identification chain formed by page identifications of front-end pages determined according to the access time sequence;
deleting the link information and the page element data in the data container stored in the memory, or destroying the data container in the memory;
the access data set is stored in the form of a log file.
9. The data recording method according to claim 8, wherein the recording of access data generated after an event of a front page in an item access link of a security item is triggered, comprises:
Calling a monitoring interface to monitor an event triggered by an access action submitted for the front-end page;
And calling a data recording interface to record access data generated after the event is executed and store the access data into a memory.
10. The data recording method according to claim 8, wherein writing the page identifier of the front page into the data container of the item access link includes:
if a page jump event from the front-end page to the next front-end page is monitored, writing a page identifier of the front-end page in the data container;
The page identifier comprises a hash character string obtained after the hash processing of the page element data of the front-end page.
11. The data recording method of claim 10, the merging the page identity into corresponding access data, comprising:
And merging the hash character string of the front-end page with the access data of the front-end page stored in the memory.
12. The data recording method according to claim 8, wherein the step of writing the page identifier of the front page into the data container of the item access link and merging the page identifier into the corresponding access data step is performed further comprises:
If a first access request of a user for the project access link is detected, creating a session of the project access link as the data container;
And the data container is recorded with page identification, page URL and/or page element data of the accessed front-end page in the item access link.
13. The data recording method according to claim 8, wherein in case the access of the item access link is not ended, the following operations are performed:
If a page jump event from the front-end page to the next front-end page is monitored, recording access data generated after the event of the next front-end page is triggered and storing the access data into a memory;
And writing the page identification of the next front-end page into the data container, and merging the page identification of the next front-end page into the access data of the next front-end page.
14. The data recording method of claim 8, the storing the access data set in the form of a log file, comprising:
writing the access data set into the log file according to a predetermined format;
and storing the log file into a local database.
15. A data recording device, comprising:
The access data recording module is configured to record access data generated after an application event of an application page in the application access link is triggered; the application access link consists of application pages accessed by users;
The data merging module is configured to write the page identification of the application page into a data container of the application access link and merge the page identification into corresponding access data;
the data fusion module is configured to determine the mapping relation between the merged access data and the application page based on the page identifier contained in the merged access data under the condition that the access of the application access link is finished;
Combining the link information in the data container and the page element data of the application page with the combined access data based on the mapping relation to obtain an access data set; the link information comprises an identification chain formed by page identifications of the application pages determined according to the access time sequence;
deleting the link information and the page element data in the data container stored in the memory, or destroying the data container in the memory;
an access data set storage module configured to store the access data set in the form of a log file.
16. A data recording device, comprising:
A processor; and
A memory configured to store computer-executable instructions that, when executed, cause the processor to:
recording access data generated after an application event of an application page in an application access link is triggered; the application access link consists of application pages accessed by users;
Writing the page identification of the application page into a data container of the application access link, and merging the page identification into corresponding access data;
Under the condition that the access of the application access link is finished, determining the mapping relation between the merged access data and the application page based on the page identification contained in the merged access data;
Combining the link information in the data container and the page element data of the application page with the combined access data based on the mapping relation to obtain an access data set; the link information comprises an identification chain formed by page identifications of the application pages determined according to the access time sequence;
deleting the link information and the page element data in the data container stored in the memory, or destroying the data container in the memory;
the access data set is stored in the form of a log file.
17. A storage medium storing computer-executable instructions that when executed implement the following:
recording access data generated after an application event of an application page in an application access link is triggered; the application access link consists of application pages accessed by users;
Writing the page identification of the application page into a data container of the application access link, and merging the page identification into corresponding access data;
Under the condition that the access of the application access link is finished, determining the mapping relation between the merged access data and the application page based on the page identification contained in the merged access data;
Combining the link information in the data container and the page element data of the application page with the combined access data based on the mapping relation to obtain an access data set; the link information comprises an identification chain formed by page identifications of the application pages determined according to the access time sequence;
deleting the link information and the page element data in the data container stored in the memory, or destroying the data container in the memory;
the access data set is stored in the form of a log file.
CN202110490783.6A 2020-11-27 2020-11-27 Data recording method and device Active CN113176988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110490783.6A CN113176988B (en) 2020-11-27 2020-11-27 Data recording method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011351428.2A CN112181798B (en) 2020-11-27 2020-11-27 Data recording method and device
CN202110490783.6A CN113176988B (en) 2020-11-27 2020-11-27 Data recording method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202011351428.2A Division CN112181798B (en) 2020-11-27 2020-11-27 Data recording method and device

Publications (2)

Publication Number Publication Date
CN113176988A CN113176988A (en) 2021-07-27
CN113176988B true CN113176988B (en) 2024-05-17

Family

ID=73918711

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110490783.6A Active CN113176988B (en) 2020-11-27 2020-11-27 Data recording method and device
CN202011351428.2A Active CN112181798B (en) 2020-11-27 2020-11-27 Data recording method and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202011351428.2A Active CN112181798B (en) 2020-11-27 2020-11-27 Data recording method and device

Country Status (1)

Country Link
CN (2) CN113176988B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113176988B (en) * 2020-11-27 2024-05-17 蚂蚁胜信(上海)信息技术有限公司 Data recording method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446228A (en) * 2016-10-08 2017-02-22 中国工商银行股份有限公司 Collection analysis method and device for WEB page data
CN110825943A (en) * 2019-10-23 2020-02-21 支付宝(杭州)信息技术有限公司 Method, system and equipment for generating user access path tree data
CN111324675A (en) * 2020-02-11 2020-06-23 支付宝实验室(新加坡)有限公司 Analysis display method and system of application access link and electronic equipment
CN111523072A (en) * 2020-04-20 2020-08-11 咪咕文化科技有限公司 Page access data statistical method and device, electronic equipment and storage medium
CN112181798B (en) * 2020-11-27 2021-03-19 蚂蚁智信(杭州)信息技术有限公司 Data recording method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737630B (en) * 2020-08-25 2021-06-25 智者四海(北京)技术有限公司 Method for recording user access path

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446228A (en) * 2016-10-08 2017-02-22 中国工商银行股份有限公司 Collection analysis method and device for WEB page data
CN110825943A (en) * 2019-10-23 2020-02-21 支付宝(杭州)信息技术有限公司 Method, system and equipment for generating user access path tree data
CN111324675A (en) * 2020-02-11 2020-06-23 支付宝实验室(新加坡)有限公司 Analysis display method and system of application access link and electronic equipment
CN111523072A (en) * 2020-04-20 2020-08-11 咪咕文化科技有限公司 Page access data statistical method and device, electronic equipment and storage medium
CN112181798B (en) * 2020-11-27 2021-03-19 蚂蚁智信(杭州)信息技术有限公司 Data recording method and device

Also Published As

Publication number Publication date
CN112181798A (en) 2021-01-05
CN112181798B (en) 2021-03-19
CN113176988A (en) 2021-07-27

Similar Documents

Publication Publication Date Title
CN110569428B (en) Recommendation model construction method, device and equipment
CN110503435B (en) Transaction early warning method, device and equipment based on blockchain
CN111930810B (en) Data rule mining method and device
CN114547024A (en) SQL statement risk detection method, device, equipment and medium
CN110602163B (en) File uploading method and device
CN112269762A (en) File monitoring method and device, electronic equipment and storage medium
CN110782253B (en) Transaction processing method, device and equipment based on block chain
CN113176988B (en) Data recording method and device
CN112258295B (en) Recording processing method, device and equipment
CN111753328B (en) Private data leakage risk detection method and system
CN112015817A (en) Processing method, device and equipment of block chain data
CN113435950B (en) Bill processing method and device
CN111078435A (en) Service processing method and device and electronic equipment
CN108628615B (en) Method, device and equipment for detecting abandoned codes
CN113254823A (en) Webpage data processing method and device
CN112199399A (en) Data processing method and device
CN112230935B (en) Privacy risk detection method, device and equipment in application
CN113094047B (en) Method and device for processing webpage buttons, storage medium and processor
CN117729272A (en) Message verification processing method and device
CN116776028A (en) Network page component multiplexing rate calculation method and device and readable storage medium
CN116932081A (en) Resource loading method and device based on webpage
CN117421036A (en) Component management method, device, electronic equipment and computer readable storage medium
CN117931672A (en) Query processing method and device applied to code change
CN113343099A (en) Data processing method, device, equipment and medium
CN118051220A (en) Program configuration processing method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211214

Address after: Room 610, floor 6, No. 618, Wai Road, Huangpu District, Shanghai 200010

Applicant after: Ant Shengxin (Shanghai) Information Technology Co.,Ltd.

Address before: 801-12, Section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province 310000

Applicant before: Ant Zhixin (Hangzhou) Information Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant