User behavior recording method, device and equipment

The method and device record user behavior in business applications and save it to a blockchain, addressing the challenge of restoring business processes to prevent shirking responsibility and disputes.

CN112015626BActive Publication Date: 2025-01-03ANT SHENGXIN (SHANGHAI) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010869909.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-26
Publication Date
2025-01-03
Estimated Expiration
2040-08-26

AI Technical Summary

Technical Problem

Existing business handling processes face issues with shirking responsibility and disputes due to the inability to restore the business processing process accurately, leading to user and provider troubles.

Method used

A method and device for recording user behavior by monitoring events in a first application, generating behavior record information, and saving it to a blockchain when certain conditions are met, ensuring traceability and accountability.

Benefits of technology

Enables the tracing and restoration of user actions during business processing, reducing shirking responsibility and disputes by providing a lightweight and efficient recording mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112015626B_ABST
    Figure CN112015626B_ABST
Patent Text Reader

Abstract

The embodiments of the present specification provide a method, apparatus and device for recording user behavior, wherein the method includes: monitoring events triggered by user operation behaviors in the current page of a first application corresponding to a target business; if the monitored event is a business processing event of the target business, obtaining description information of the user's operation behavior from the first application; determining a target page element that changes based on the user's operation behavior among at least one page element included in the current page; and generating behavior record information of the user's operation behavior based on the obtained description information and relevant information of the determined target page element.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of computer technology, and in particular to a method, device and equipment for recording user behavior. Background Art

[0002] Business handling is not unfamiliar to people, such as handling insurance business, financial management business, etc. Usually, during the business handling process, users need to provide information related to business handling and perform operations related to business handling, such as clicking the confirmation button, signing, etc. In recent years, disputes often occur after the business handling is completed, such as users cannot enjoy the corresponding services due to incorrect information provided by users, or users do not admit that they have handled the relevant business because the business handled did not achieve the expected results of the users. Since the business handling process cannot be restored, there are problems such as shirking responsibility and causing many troubles to users and business providers. Summary of the invention

[0003] The purpose of one or more embodiments of this specification is to provide a method, device and equipment for recording user behavior to solve problems such as shirking responsibility due to the inability to restore the business processing process when disputes arise after business processing.

[0004] To solve the above technical problems, one or more embodiments of this specification are implemented as follows:

[0005] One or more embodiments of the present specification provide a method for recording user behavior. The method includes: monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target business. If the event is a business processing event of the target business, obtaining description information of the operation behavior from the first application. Determine a target page element that changes based on the operation behavior among at least one page element included in the current page. Based on the description information and the relevant information of the target page element, generate behavior record information of the user's operation behavior.

[0006] One or more embodiments of the present specification provide a method for recording user behavior, which is applied to a terminal device. The method includes monitoring an event triggered by a user's operation behavior in the current page of a first application corresponding to a target business. If the event is a business processing event of the target business, the description information of the operation behavior is obtained from the first application. Determine a target page element that changes based on the operation behavior in at least one page element included in the current page. Based on the description information and the relevant information of the target page element, generate behavior record information of the user's operation behavior. Send a save request to a blockchain node connected to the blockchain based on the behavior record information. So that when the blockchain node determines that the behavior record information meets the preset saving conditions based on the smart contract, the behavior record information is saved to the blockchain.

[0007] One or more embodiments of this specification provide a method for recording user behavior, which is applied to a blockchain node. The method includes receiving a save request sent by a user's terminal device. Wherein, the save request includes behavior record information to be saved. The behavior record information is information generated when the terminal device monitors a business processing event of a target business triggered by an operation behavior of a user in the current page of a first application corresponding to the target business, based on obtaining the description information of the operation behavior from the first application and determining the relevant information of the target page element that changes based on the operation behavior in at least one page element included in the current page. Call the smart contract in the blockchain, and if it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain.

[0008] One or more embodiments of the present specification provide a device for recording user behavior. The device includes a monitoring module that monitors events triggered by user operation behaviors in the current page of the first application corresponding to the target business. The device also includes an acquisition module that acquires description information of the operation behavior from the first application if the event is a business processing event of the target business. The device also includes a determination module that determines a target page element that changes based on the operation behavior among at least one page element included in the current page; the device also includes a generation module that generates behavior record information of the user's operation behavior based on the description information and relevant information of the target page element.

[0009] One or more embodiments of the present specification provide a user behavior recording device, which is applied to a terminal device. The device includes a monitoring module, which monitors events triggered by user operation behaviors in the current page of the first application corresponding to the target business. The device also includes an acquisition module, which acquires description information of the operation behavior from the first application if the event is a business processing event of the target business. The device also includes a determination module, which determines the target page element that changes based on the operation behavior in at least one page element included in the current page. The device also includes a generation module, which generates behavior record information of the user's operation behavior based on the description information and the relevant information of the target page element. The device also includes a sending module, which sends a save request to the blockchain node connected to the blockchain according to the behavior record information, so that the blockchain node saves the behavior record information to the blockchain when it determines that the behavior record information meets the preset saving conditions based on the smart contract.

[0010] One or more embodiments of the present specification provide a user behavior recording device, which is applied to a blockchain node. The device includes a receiving module, which receives a save request sent by a user's terminal device. Wherein, the save request includes behavior record information to be saved. The behavior record information is information generated based on the description information of the operation behavior obtained from the first application and the relevant information of the target page element that changes based on the operation behavior in at least one page element included in the current page determined when the terminal device monitors the business processing event of the target business triggered by the user's operation behavior in the current page of the first application corresponding to the target business. The device also includes a saving module, which calls the smart contract in the blockchain. If it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain.

[0011] One or more embodiments of the present specification provide a device for recording user behavior. The device includes a processor. The device also includes a memory arranged to store computer executable instructions. When the computer executable instructions are executed, the processor monitors events triggered by user operation behaviors in the current page of the first application corresponding to the target business. If the event is a business processing event of the target business, the description information of the operation behavior is obtained from the first application. The target page element that changes based on the operation behavior is determined in at least one page element included in the current page. Based on the description information and the relevant information of the target page element, the behavior record information of the user's operation behavior is generated.

[0012] One or more embodiments of the present specification provide a device for recording user behavior. The device includes a processor. The device also includes a memory arranged to store computer executable instructions. When the computer executable instructions are executed, they monitor events triggered by the user's operation behavior in the current page of the first application corresponding to the target business. If the event is a business processing event of the target business, the description information of the operation behavior is obtained from the first application. Determine the target page element that changes based on the operation behavior in at least one page element included in the current page. Based on the description information and the relevant information of the target page element, generate behavior record information of the user's operation behavior. Send a save request to the blockchain node connected to the blockchain based on the behavior record information. So that when the blockchain node determines that the behavior record information meets the preset saving conditions based on the smart contract, the behavior record information is saved to the blockchain.

[0013] One or more embodiments of the present specification provide a device for recording user behavior. The device includes a processor. The device also includes a memory arranged to store computer executable instructions. When the computer executable instructions are executed, they receive a save request sent by a user's terminal device. Wherein, the save request includes the behavior record information to be saved. The behavior record information is information generated by the terminal device when it monitors a business processing event of a target business triggered by the user's operation behavior in the current page of the first application corresponding to the target business, based on obtaining the description information of the operation behavior from the first application and determining the relevant information of the target page element that changes based on the operation behavior in at least one page element included in the current page. Call the smart contract in the blockchain, and if it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain.

[0014] One or more embodiments of the present specification provide a storage medium. The storage medium is used to store computer executable instructions. When the computer executable instructions are executed, they monitor events triggered by user operation behaviors in the current page of the first application corresponding to the target business. If the event is a business processing event of the target business, the description information of the operation behavior is obtained from the first application. The target page element that changes based on the operation behavior is determined in at least one page element included in the current page. Based on the description information and the relevant information of the target page element, the behavior record information of the user's operation behavior is generated.

[0015] One or more embodiments of the present specification provide a storage medium. The storage medium is used to store computer executable instructions. When the computer executable instructions are executed, they monitor events triggered by the user's operation behavior in the current page of the first application corresponding to the target business. If the event is a business processing event of the target business, the description information of the operation behavior is obtained from the first application. Determine the target page element that changes based on the operation behavior in at least one page element included in the current page. Based on the description information and the relevant information of the target page element, generate behavior record information of the user's operation behavior. Send a save request to the blockchain node connected to the blockchain based on the behavior record information. So that when the blockchain node determines that the behavior record information meets the preset saving conditions based on the smart contract, the behavior record information is saved to the blockchain.

[0016] One or more embodiments of the present specification provide a storage medium. The storage medium is used to store computer executable instructions. When the computer executable instructions are executed, they receive a save request sent by a user's terminal device. Wherein, the save request includes behavior record information to be saved. The behavior record information is information generated by the terminal device when it monitors a business processing event of a target business triggered by an operation behavior of a user in a current page of a first application corresponding to the target business, based on obtaining description information of the operation behavior from the first application and determining relevant information of a target page element that changes based on the operation behavior in at least one page element included in the current page. Call a smart contract in the blockchain, and if it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0018] Figure 1 A schematic diagram of a first scenario of a method for recording user behavior provided in one or more embodiments of this specification;

[0019] Figure 2 A first flow chart of a method for recording user behavior provided in one or more embodiments of this specification;

[0020] Figure 3A second flow chart of a method for recording user behavior provided in one or more embodiments of this specification;

[0021] Figure 4 A third flow chart of a method for recording user behavior provided in one or more embodiments of this specification;

[0022] Figure 5 A schematic diagram of a protocol signing interface provided for one or more embodiments of this specification;

[0023] Figure 6 A fourth flow chart of a method for recording user behavior provided in one or more embodiments of this specification;

[0024] Figure 7 A fifth flow chart of a method for recording user behavior provided in one or more embodiments of this specification;

[0025] Figure 8 A sixth flow chart of a method for recording user behavior provided in one or more embodiments of this specification;

[0026] Fig. 9 A seventh flow chart of a method for recording user behavior provided in one or more embodiments of this specification;

[0027] Fig.10 A second scenario diagram of a method for recording user behavior provided in one or more embodiments of this specification;

[0028] Fig.11 An eighth flow chart of a method for recording user behavior provided in one or more embodiments of this specification;

[0029] Fig.12 A ninth flow chart of a method for recording user behavior provided in one or more embodiments of this specification;

[0030] Fig.13 A schematic diagram of a first module composition of a user behavior recording device provided in one or more embodiments of this specification;

[0031] Fig.14 A schematic diagram of a second module composition of a user behavior recording device provided in one or more embodiments of this specification;

[0032] Fig.15 A schematic diagram of a third module composition of a user behavior recording device provided in one or more embodiments of this specification;

[0033] Fig.16A schematic diagram of the structure of a user behavior recording device provided in one or more embodiments of this specification. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to clearly and completely describe the technical solutions in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0035] Figure 1 A schematic diagram of an application scenario of a method for recording user behavior provided in one or more embodiments of this specification, such as Figure 1 As shown, the user's terminal device is provided with a first application and a recording device corresponding to the target service. The terminal device may be a mobile phone, a tablet computer, a desktop computer, a portable notebook computer, etc. ( Figure 1 Only a mobile phone is shown in the figure). The first application includes a host application, which is hosted in a host application; wherein the host application is such as a small program, and the host application is such as an independent client program (Application, APP for short); as an example, the target business is an insurance business, and a small program for handling insurance business is hosted in a payment application; as another example, the target business is a financial management business, and a small program for handling financial management business is hosted in a financial application, etc. The recording device can be set in the first application, and can also be separated from the first application and exist independently, which is not specifically limited in this specification.

[0036] Specifically, when a user operates the first application in his terminal device to handle the corresponding target business, the recording device monitors the event triggered by the user's operation behavior in the current page of the first application; if the triggered event is a business processing event of the target business, the description information of the user's operation behavior is obtained from the first application; and the target page element that changes based on the user's operation behavior is determined in at least one page element included in the current page of the first application; and the behavior record information of the user's operation behavior is generated according to the obtained description information and the relevant information of the determined target page element. Thus, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated according to the description information of the user's operation behavior and the relevant information of the target page element that changes based on the user's operation behavior, without recording the information of all page elements in the page based on each operation behavior of the user, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior recording on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information.

[0037] Based on the above application scenario architecture, one or more embodiments of this specification provide a method for recording user behavior. Figure 2 A flowchart of a method for recording user behavior provided in one or more embodiments of this specification is provided. Figure 2 The method in can be Figure 1 The recording device in the implementation, such as Figure 2 As shown, the method comprises the following steps:

[0038] Step S102, monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service;

[0039] Specifically, the specified script is used to monitor the events triggered by the user's operation behavior in the current page of the first application corresponding to the target business. The user's operation behavior includes single-click, double-click, slide, input, delete, etc. The target business can be set according to actual needs in actual applications, such as insurance business, financial management business, mutual aid business, commodity purchase business, etc., which is not specifically limited in this manual.

[0040] Step S104, if the monitored event is a business processing event of the target business, obtaining description information of the user's operation behavior from the first application;

[0041] Usually, each page of the first application corresponding to the target business includes at least one page element related to the target business, such as an input box, a selection box, a drop-down box, a button, etc., for the user to operate to complete the handling of the target business. And there is often a spacing between different page elements in the page, that is, there will be blank areas, etc. In the process of handling the target business, when the user operates the page element related to the target business, the corresponding business processing event is triggered; when the user operates the page element related to the non-target business in the page, for example, the user clicks on the blank area of ​​the current page or the fixed text, image, etc. in order to light up the screen of the terminal device where the first application is located, the triggered event is not a business processing event. In order to be able to effectively trace the user's operation behavior on the target business in the future, in one or more embodiments of this specification, when the event monitored by the recording device is a business processing event of the target business, the description information of the user's operation behavior is obtained from the first application. Among them, business processing events are such as input events of business-related information, check events of business-related matters, agreement signing events, successful handling events, etc.

[0042] Step S106, determining a target page element that changes based on the user's operation behavior among at least one page element included in the current page;

[0043] The changes of page elements include changes in color, font, size, border, background, etc.; the target page elements may include page elements operated by the user, and may also include page elements not operated by the user but changed based on the user's operation behavior; for specific examples, please refer to the following about attachment Figure 5 Related description.

[0044] It should be noted that the operation of obtaining the description information of the user's operation behavior from the first application in step S104 can be executed in an interchangeable order with the operation in step S106 , and can also be executed simultaneously.

[0045] Step S108: Generate behavior record information of the user's operation behavior according to the acquired description information and the related information of the determined target page element.

[0046] The relevant information of the target page element can be set as needed in actual applications, such as element identification information, change information, etc.

[0047] In one or more embodiments of the present specification, when a business processing event is detected that is triggered by the user's operation behavior in the current page of the first application corresponding to the target business, the description information of the user's operation behavior is obtained from the first application; and the target page element that changes based on the user's operation behavior is determined in at least one page element included in the current page of the first application; and the behavior record information of the user's operation behavior is generated according to the obtained description information and the relevant information of the determined target page element. Thus, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated according to the description information of the user's operation behavior and the relevant information of the target page element that changes based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding repeated recording of page element information, and realizing lightweight and efficient user behavior recording on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information.

[0048] In actual applications, in order to implement business processing, the first application may include a rendering layer (such as a render layer) and a business processing layer (such as a work layer); wherein the rendering layer is used to render the page, thereby displaying the page; the business processing layer includes a business processing module, which is used to perform relevant processing of business logic. Correspondingly, Figure 3 As shown, step S104 may include the following steps S104-2:

[0049] Step S104-2, if the monitored event is a business processing event of the target business, then receive the description information of the operation behavior sent by the business processing module of the first application; wherein the description information is information generated based on the annotation information associated with the page element of the determined user operation when the business processing module obtains the business processing event; the annotation information is used to describe the operational meaning of the user's operation behavior.

[0050] Considering that the data processed by the business processing module during the business processing process is usually machine-readable data, when the user's operation behavior is subsequently traced back, the machine-readable data is not convenient for the traceback personnel to understand the user's operation behavior. Based on this, in one or more embodiments of this specification, the annotation information corresponding to the page elements related to the target business is pre-set, and the operation meaning of the user's operation of the corresponding page elements is described by the annotation information. Specifically, when the user's operation behavior in the current page of the first application corresponding to the target business triggers the business processing event of the target business, the business processing module of the first application, when obtaining the business processing event, obtains the associated annotation information from the association relationship between the preset element identification information and the annotation information according to the element identification information of the page element of the user operation carried by the business processing event, and generates the description information of the user's operation behavior according to the obtained annotation information, the element identification information of the page element of the user operation carried by the business processing event, etc.; or, generates the description information of the user's operation behavior according to the obtained identification information, the user input information carried by the business processing event, and the element identification information of the page element of the user operation, etc.

[0051] As an example, the target business is insurance business. The user enters the number 10 (in years) in the input box for entering the insurance duration in the insurance information input page of the first application. When the business processing module of the first application obtains the insurance duration processing event triggered by the user's input operation, the corresponding annotation information "insurance duration entered by the user, unit: year" is obtained according to the element identification information 0004 of the page element operated by the user carried by the insurance duration processing event. Then, according to the obtained annotation information, the number 10 carried by the insurance duration processing event and the element identification information 0004 of the page element operated by the user, the description information of the user's operation behavior is generated. The generated description information is such as the page element corresponding to the user operation element identification information 0004, and the insurance duration of 10 years is entered. It should be pointed out that the form of the description information here is only used for example and not for limitation. The specific form of the description information can be set by oneself according to the actual application as needed.

[0052] Therefore, by pre-setting the annotation information corresponding to the page elements related to the target business processing, the corresponding description information of the operation behavior is generated based on the annotation information, which can not only clearly describe the meaning of the user's operation behavior, but also provide an easy-to-understand tracing basis for the tracing of the user's operation behavior.

[0053] Considering that a user may perform multiple operations on the same page, in order to avoid including duplicate page information in the behavior record information corresponding to the multiple operations, in one or more embodiments of the present specification, for each operation behavior of the user, a target page element that changes based on the operation behavior among at least one page element included in the page is determined, thereby generating behavior record information based on the relevant information of the target page element. Specifically, Figure 4 As shown, step S106 includes:

[0054] Step S106-2, monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event;

[0055] Among them, CSS (Cascading Style Sheets) can define the display mode of each page element in the page, such as text, background, border, spacing between page elements, etc. Each CSS selector corresponds to a page element. Since CSS is a well-known technical means for those skilled in the art, it will not be introduced in detail here.

[0056] Step S106-4, monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event;

[0057] Among them, DOM (Document Object Model) can make the page change dynamically, such as dynamically hiding or showing page elements, changing the attributes of page elements, adding new page elements, etc. In the DOM structure, each DOM node corresponds to a page element in the page. Since DOM is a well-known technical means for those skilled in the art, it will not be introduced in detail here.

[0058] Step S106-6: determine the page element corresponding to the target CSS style and / or the target DOM node as the target page element.

[0059] Specifically, when the user's operation behavior in the current page of the first application corresponding to the target business triggers a business processing event of the target business, when the business processing module of the first application obtains the business processing event, in addition to performing the generation operation of the description information of the user's operation behavior in the aforementioned manner, it also performs the update operation of the CSS style and / or DOM structure corresponding to the current page. Specifically, if the business processing module of the first application determines that the DOM structure of the current page needs to be updated according to the business processing event, it determines the target DOM node to be updated and updates the target DOM node; and if it determines that the CSS style of the current page needs to be updated according to the business processing event, it determines the target CSS style to be updated and updates the target CSS style. The recording device monitors the CSS style and DOM structure of the current page through a specified script, and when it monitors that there is an updated target CSS style and / or target DOM node, it determines the page element corresponding to the target CSS style and / or target DOM node as the target page element. It should be pointed out that in order to clearly reflect the page elements operated by the user, the CSS style of each page element is pre-set. Therefore, when the user operates the page elements in the current page of the first application, the corresponding CSS style will change, but the DOM nodes in the DOM structure may not necessarily change. Therefore, when there is no target DOM node, the target page element can be determined according to the target CSS style; when there is a target DOM node, and the page element corresponding to the target DOM node is different from the page element corresponding to the target CSS style, the target page element is determined according to the target DOM node and the target CSS style; when there is a target DOM node, and the page element corresponding to the target DOM node is the same as the page element corresponding to the target CSS style, the target page element can be determined according to the target DOM node or the target CSS node. Further, the generation operation of the description information of the business processing module and the update operation of the CSS style and / or DOM structure corresponding to the current page can be performed simultaneously or sequentially, and this specification does not make specific restrictions on this.

[0060] As an example, the target business is insurance business, and the schematic diagram of the agreement signing page of the first application is as follows Figure 5As shown, it includes n clauses, where n is a positive integer; when the user checks the checkbox of "I have read and agreed to the terms of the agreement", the agreement signing event is triggered. The business processing module of the first application determines that the CSS style corresponding to the agreement signing page needs to be updated according to the agreement signing event to display the "√" representing the user's check operation. At the same time, the "OK" button in the agreement signing page changes from gray representing inoperability to a bright color representing operability (such as blue, etc.). When the recording device monitors that there is an updated target CSS style in the CSS style of the agreement signing page, the page element checkbox and OK button corresponding to the target CSS style are determined as the target page elements that change based on the user's check operation.

[0061] Since the CSS style and DOM structure can accurately reflect the changes in page elements, by monitoring the CSS style and DOM structure of the current page, the target page elements that change based on the user's operation behavior can be accurately determined.

[0062] Furthermore, in order to ensure the accuracy of the generated behavior record information, such as Figure 6 As shown, in one or more embodiments of this specification, step S108 may include:

[0063] Step S108-2, determining the page element operated by the user according to the description information;

[0064] Specifically, element identification information is obtained from the description information, and the page element corresponding to the obtained element identification information is determined as the page element operated by the user.

[0065] Step S108-4, determining whether the target page elements include the page elements operated by the user, and if so, generating behavior record information of the user's operation behavior based on the description information and the relevant information of the target page elements.

[0066] Specifically, it is determined whether the element identification information corresponding to the target CSS style and / or the target DOM node includes the element identification information obtained from the description information; if so, it is determined that the target page element includes the page element operated by the user.

[0067] When the user operates the page elements in the current page of the first application, the CSS style of the operated page elements will inevitably change. Therefore, by determining whether the element identification information corresponding to the target CSS style and the target DOM node includes the element identification information obtained from the description information, it is possible to determine whether an abnormality occurs, thereby ensuring the validity of the generated behavior record information.

[0068] When the user operates on the current page of the first application, there will be not only operations related to the target business, such as inputting information, clicking the OK button, etc.; there will also be some operations unrelated to the target business, such as clicking on a blank area of ​​the page to light up the screen of the terminal device where the first application is located, or clicking on the screen to pause the scrolling of the page when the page is scrolling. In order to be able to trace back all the operations of the user during the business handling process and restore the entire process of business handling, in one or more embodiments of this specification, such as Figure 7 As shown, step S102 may include the following steps S102-2:

[0069] Step S102-2: if an event triggered by the user's operation behavior in the current page of the first application corresponding to the target business is monitored, event information of the event is determined and the determined event information is recorded.

[0070] Among them, event information includes event identification information, time information when the event is triggered, operation type of user operation corresponding to the event, etc. Among them, event identification information and operation type information can be obtained from the event, time information when the event is triggered can be obtained from the event, and the current time can be obtained when the event is monitored and used as the time information when the event is triggered. User operation types include click, double-click, input, slide, etc. It should be pointed out that when the user performs relevant processing of the target business in the current page of the first application, if other applications unrelated to the target business are also operated, the event triggered by the corresponding operation behavior will not be recorded. For example, when the user performs relevant processing of the target business in the current page of the first application, the user's chat application flashes, and the user clicks on the chat application. The recording device will not record the event information of the event triggered by the click operation.

[0071] Corresponding to step S102-2, Figure 7 As shown, step S108 may also include the following steps S108-6 and S108-8:

[0072] Step S108-6, acquiring corresponding target event information from the recorded event information according to the event identification information included in the acquired description information;

[0073] Step S108-8: associate the acquired description information and the related information of the determined target page element with the target event information and record them, and determine the recorded information as the behavior record information of the user's operation behavior.

[0074] Therefore, according to the behavior record information, the following information can be obtained: the user's operation behavior on the page element corresponding to a certain element identification information at a certain time point triggered an event of a certain event identification information; the operation achieved a certain purpose and caused a certain change in the page. As an example, a certain behavior record information includes event information such as event identification 11, 12:30 on June 1, 2020, and input operation. The description information includes that the user operates the page element corresponding to element identification information 0004 and enters the insurance duration of 10 years; the relevant information of the target element includes the page element corresponding to element identification information 0004 displays the number 10, etc. According to the behavior record information, the following information can be obtained: the user entered the number 10 in the page element corresponding to element identification information 0004 at 12:30 on June 1, 2020 to indicate that the insurance duration is 10 years. The input operation triggered an event with event identification 11; the page change caused by the input operation is that the page element corresponding to element identification information 0004 changes from empty to displaying the number 10. It should be pointed out that the behavior record information is only used for example and not for limitation. The form of the behavior record information can be set as needed in actual applications. For example, the relevant information of the target element can also be the code of the corresponding target CSS style.

[0075] As described above, when the recording device monitors an event triggered by the user's operating behavior in the current page of the first application corresponding to the target business, regardless of whether the event is a business processing event or other event, the event information of the event is determined and recorded, and all the user's operating behaviors in the process of handling the target business can be recorded, so that the user's target business handling process can be more realistically restored based on the behavior record information.

[0076] Furthermore, considering that the user handles the target business through the first application, usually, the first application first displays the initial interface based on the user's operation. After the user performs a series of operations in the initial interface, the first application jumps to display the process page, and finally displays the end page. In order to determine the page seen by the user and the changes in the page based on the user's operation when backtracking the handling process of the user's target business, in one or more embodiments of the present specification, the method also includes: obtaining the page information of the initial page of the first application, and saving the obtained page information. Specifically, when the first application is monitored to display the initial interface, one or more information of the DOM structure, CSS style and image information corresponding to the initial page is obtained, and the obtained information is determined as the page information of the initial page and saved.

[0077] In order to be able to trace back all the operation behaviors of the user in the process of handling the target business based on the generated behavior record information, and to restore the process of handling the target business more realistically, in one or more embodiments of this specification, Figure 8As shown, after step S108, the following steps may also be included:

[0078] Step S110: determine each generated behavior record information as target behavior record information to be saved, and save the target behavior record information according to a preset method.

[0079] It should be noted that, for operation behaviors that are not related to the target business, the recorded corresponding event information is determined as the behavior record information of the operation behavior.

[0080] Furthermore, since the generated behavior record information may also include behavior record information unrelated to the target business, such as the behavior record information of the user clicking in the blank area of ​​the page to light up the screen; in order to achieve lightweight data storage on the basis of being able to restore the user's operation behavior related to the target business, in one or more embodiments of this specification, such as Fig. 9 As shown, after step S108, the following steps may also be included:

[0081] Step S112: According to a preset selection strategy, target behavior record information is selected from each generated behavior record information, and the target behavior record information is saved according to a preset method.

[0082] Among them, the selection strategy can be set by itself as needed in actual applications, for example, determining the behavior record information related to the target business as the target behavior record information, or determining the behavior record information related to the target business and part of the behavior record information unrelated to the target business as the target behavior record information, etc., or determining the behavior record information of key operation behaviors related to the target business as the target behavior record information, etc.

[0083] Considering that the generated behavior record information often includes the user's private data, in order to avoid leakage of the user's private data, in one or more embodiments of this specification, the target behavior record information is saved according to a preset method in the above steps S110 and S112, including:

[0084] The target behavior record information is converted according to a preset conversion rule to obtain the behavior record information in a target format; and the behavior record information in the target format is saved in a designated storage area.

[0085] The conversion rules and target formats can be set as needed in actual applications. For example, the target format is in binary form. The storage area is a local storage area or a cloud storage area. By converting the target behavior record information, the security of the user's privacy data is ensured and the protection of the user's privacy data is achieved.

[0086] In order to better understand the method for recording user behaviors provided in this manual, the following further explanation is provided by taking the target businesses of financial management business and mutual aid business as examples.

[0087] When the target business is a financial management business, the first application responds to the user's startup operation and displays the initial interface; when the recording device detects that the first application displays the initial interface, it obtains the DOM structure, CSS style, image information, etc. corresponding to the initial page, and determines the obtained information as the page information of the initial page, and saves the page information. As an example, the initial page includes multiple financial management businesses. When the user selects the target financial management business (hereinafter referred to as financial management business 1) by clicking, a financial management event is triggered. When the recording device detects the financial management event, it determines the time when the event is triggered, the operation type of the user's operation, and the event identification information, etc., and records the event information as event information. When the business processing device of the first application obtains the financial management event, it updates the DOM structure and CSS style corresponding to the initial page according to the financial management event, so that the first application displays the information input interface corresponding to financial management business 1; and obtains annotation information according to the element identification information (such as 0002) of the page element clicked by the user carried by the financial management event, and the annotation information is such as "The user confirms to handle financial management business 1"; generates description information of the user's click operation according to the obtained annotation information and the element identification information 0002 carried by the financial management event, and the generated description information is such as the user operating the page element with element identification information 0002 to select to handle financial management business 1; the business processing device of the first application sends the generated description information to the recording device. The recording device receives the description information sent by the business processing module, and when it detects that there are updated target DOM nodes and target CSS styles in the DOM structure and CSS styles corresponding to the initial page, it determines the target page elements that have changed based on the user's click behavior according to the target DOM nodes and target CSS styles; according to the received description information, it is determined that the target page elements include page elements operated by the user, then according to the event identification information included in the description information, the corresponding target event information is obtained from the recorded event information, the description information, the relevant information of the target page elements and the obtained target event information are associated and recorded, and the recorded information is determined as the behavior record information of the user's click operation. For the user's operation behaviors related to the financial management business 1 in the information input interface corresponding to the financial management business 1 and other pages, the corresponding behavior record information is generated in the above manner, which will not be described in detail here.

[0088] When the target business is a mutual aid business, the first application responds to the user's startup operation and displays the initial interface; when the recording device detects that the first application displays the initial interface, it obtains the DOM structure, CSS style, image information, etc. corresponding to the initial page, and determines the obtained information as the page information of the initial page, which saves the page information. As an example, the initial page includes a join button for joining a mutual aid project. When the user clicks the join button, a join event of the mutual aid project is triggered. When the recording device detects the join event, it determines the time when the join event is triggered, the operation type of the user's operation, and the event identification information, etc., and records the event information as event information. When the business processing device of the first application obtains the joining event, it updates the DOM structure and CSS style corresponding to the initial page according to the joining event, so that the first application displays a prompt page for matters related to joining the mutual aid project; and obtains annotation information according to the element identification information (such as 0001) of the page element clicked by the user carried by the joining event; generates description information of the user's click operation based on the obtained annotation information and the element identification information 0001 carried by the joining event, and the generated description information is such as the user operating the page element with element identification information 0001 to join the mutual aid project; the business processing device of the first application sends the generated description information to the recording device. The recording device receives the description information sent by the business processing module, and when it detects that there are updated target DOM nodes and target CSS styles in the DOM structure and CSS styles corresponding to the initial page, it determines the target page elements that have changed based on the user's click behavior according to the target DOM nodes and target CSS styles; and when it is determined according to the received description information that the target page elements include page elements operated by the user, it obtains the corresponding target event information from the recorded event information according to the event identification information included in the description information, associates the description information and the relevant information of the target page elements with the obtained target event information, and determines the recorded information as the behavior record information of the user's click operation. For the user's operation behaviors related to the mutual aid business on the prompt page of related matters and other pages, the corresponding behavior record information is generated in the above manner, which will not be described in detail here.

[0089] In one or more embodiments of the present specification, when a business processing event is detected that is triggered by the user's operation behavior in the current page of the first application corresponding to the target business, the description information of the user's operation behavior is obtained from the first application; and the target page element that changes based on the user's operation behavior is determined in at least one page element included in the current page of the first application; and the behavior record information of the user's operation behavior is generated according to the obtained description information and the relevant information of the determined target page element. Thus, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated according to the description information of the user's operation behavior and the relevant information of the target page element that changes based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding repeated recording of page element information, and realizing lightweight and efficient user behavior recording on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information.

[0090] Considering the fact that blockchain cannot be tampered with, this specification also provides another application scenario diagram of a method for recording user behavior, such as Fig.10 As shown, the scenario includes: the aforementioned terminal device and a blockchain node connected to the blockchain; wherein data is stored in the blockchain, and the data includes behavior record information. Specifically, after the recording device in the terminal device generates the behavior record information in the aforementioned manner, the terminal device sends a save request to the blockchain node according to the behavior record information, so that the blockchain node saves the behavior record information to the blockchain. Thus, on the basis of realizing the effective recording of user behavior, based on the immutability of the blockchain, the authenticity and validity of the behavior record information are ensured; and further, the authenticity and credibility of the user's operation behavior traced back based on the behavior record information in the blockchain are ensured.

[0091] based on Fig.10 The application scenario architecture shown in the figure, one or more embodiments of this specification also provide another method for recording user behavior, Fig.11 A flowchart of another method for recording user behavior provided in one or more embodiments of this specification, Fig.11 The method in can be Fig.10 The terminal device in the execution; such as Fig.11 As shown, the method comprises the following steps:

[0092] Step S202, monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service;

[0093] Step S204: if the monitored event is a business processing event of the target business, obtaining description information of the user's operation behavior from the first application;

[0094] Step S206, determining a target page element that changes based on the user's operation behavior among at least one page element included in the current page;

[0095] Step S208, generating behavior record information of the user's operation behavior according to the acquired description information and the relevant information of the determined target page element;

[0096] Step S210, sending a save request to a blockchain node connected to the blockchain according to the behavior record information, so that the blockchain node saves the behavior record information to the blockchain when it determines based on the smart contract that the behavior record information meets the preset saving conditions.

[0097] Specifically, the generated behavior record information is converted according to the preset conversion rules to obtain the behavior record information in the target format; the behavior record information in the target format is signed using the user's private key to obtain signature data; a save request is sent to the blockchain node according to the behavior record information in the target format and the signature data; so that the blockchain node saves the behavior record information to the blockchain after the signature verification based on the smart contract is passed. In this way, the authenticity of the behavior record information can be ensured based on the signature data.

[0098] It should be noted that the specific implementation process of the above steps S202 to S208 is the same as the implementation process of the above steps S102 to S108, and reference may be made to the above related descriptions, and the repeated parts will not be repeated here.

[0099] In one or more embodiments of the present specification, when a business processing event triggered by the user's operating behavior in the current page of the first application corresponding to the target business is monitored, descriptive information of the user's operating behavior is obtained from the first application; and a target page element that changes based on the user's operating behavior is determined in at least one page element included in the current page of the first application; behavior record information of the user's operating behavior is generated based on the obtained description information and relevant information of the determined target page element; and a save request is sent to a blockchain node connected to the blockchain based on the behavior record information, so that the blockchain node saves the behavior record information to the blockchain. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated based on the description information of the user's operation behavior and the relevant information of the target page elements that change based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior records on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information. Furthermore, the behavior record information is saved in the blockchain, and based on the immutability of the blockchain, the authenticity and validity of the behavior record information are ensured; thereby ensuring the authenticity and credibility of the user's operation behavior traced back based on the behavior record information in the blockchain.

[0100] Corresponding to the above Fig.11 The method for recording user behavior described above is based on the same technical concept, and one or more embodiments of this specification also provide another method for recording user behavior. Fig.12 A flowchart of another method for recording user behavior provided in one or more embodiments of this specification; Fig.12 The method shown can have Fig.10 The blockchain node in is executed, such as Fig.12 As shown, the method comprises the following steps:

[0101] Step S302, receiving a save request sent by a user's terminal device; wherein the save request includes behavior record information to be saved; the behavior record information is information generated by the terminal device when monitoring a business processing event of the target business triggered by the user's operation behavior in the current page of the first application corresponding to the target business, based on the description information of the user's operation behavior obtained from the first application and the relevant information of the target page element that changes based on the user's operation behavior in at least one page element included in the current page;

[0102] Step S304, calling the smart contract in the blockchain, if it is determined based on the smart contract that the behavior record information meets the preset preservation conditions, the behavior record information is saved in the blockchain.

[0103] In order to ensure the validity of the behavior record information, the save request also includes: the signature data obtained by signing the behavior record information based on the user's private key and the user information of the user; accordingly, in step S304, it is determined based on the smart contract whether the behavior record information meets the preset preservation conditions, including: obtaining the associated public key from the preset association relationship between user information and public key based on the smart contract according to the user information; verifying the signature data according to the obtained public key; if the verification process passes, it is determined that the behavior record information meets the preset preservation conditions.

[0104] Furthermore, considering that the same user may handle multiple different target services, in order to facilitate the tracing of the user's service handling process for a certain target service, the corresponding behavior record information can be conveniently queried in the blockchain. In one or more embodiments of this specification, the behavior record information includes: the service identification information of the corresponding target service and the user's user information; wherein the user information is such as the user identification, etc. Correspondingly, after step S304, the following may also be included:

[0105] Receiving a query request sent by a querying user; wherein the query request includes user information of the user to be queried and service identification information of a target service of the user to be queried;

[0106] According to the user information and business identification information included in the query request, query the associated behavior record information from the blockchain;

[0107] The retrieved behavior record information is sent to the querying user.

[0108] In one or more embodiments of the present specification, when a blockchain node receives a save request sent by a terminal device, if it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain; wherein the behavior record information is information generated by the terminal device when it monitors a business processing event triggered by the user's operating behavior in the current page of the first application corresponding to the target business, based on the description information of the user's operating behavior obtained from the first application, and the relevant information of the target page element that changes based on the user's operating behavior in at least one page element included in the determined current page. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated based on the description information of the user's operation behavior and the relevant information of the target page elements that change based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior records on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information. Furthermore, the behavior record information is saved in the blockchain, and based on the immutability of the blockchain, the authenticity and validity of the behavior record information are ensured; thereby ensuring the authenticity and credibility of the user's operation behavior traced back based on the behavior record information in the blockchain.

[0109] Corresponding to the above Figures 2 to 4 , Figures 6 to 9 The method for recording user behavior described above is based on the same technical concept, and one or more embodiments of this specification also provide a device for recording user behavior. Fig.13 A schematic diagram of the module composition of a user behavior recording device provided in one or more embodiments of this specification, the device is used to perform Figures 2 to 4 , Figures 6 to 9 Describes the method of recording user behavior, such as Fig.13 As shown, the device comprises:

[0110] Monitoring module 401, monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service;

[0111] The acquisition module 402 acquires description information of the operation behavior from the first application if the event is a business processing event of the target business;

[0112] The determination module 403 determines a target page element that changes based on the operation behavior among at least one page element included in the current page;

[0113] The generating module 404 generates behavior record information of the operation behavior of the user according to the description information and the related information of the target page element.

[0114] The user behavior recording device provided by one or more embodiments of the present specification obtains the description information of the user's operation behavior from the first application when monitoring the business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business; and determines the target page element that changes based on the user's operation behavior in at least one page element included in the current page of the first application; generates the behavior record information of the user's operation behavior according to the obtained description information and the related information of the determined target page element. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated according to the description information of the user's operation behavior and the related information of the target page element that changes based on the user's operation behavior, without recording the information of all page elements in the page based on each operation behavior of the user, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior recording on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information.

[0115] Optionally, the first application includes a business processing module;

[0116] The acquisition module 402 receives the description information of the operation behavior sent by the business processing module; wherein the description information is information generated when the business processing module acquires the business processing event based on the annotation information associated with the page element of the user operation; the annotation information is used to describe the operational meaning of the operation behavior.

[0117] Optionally, the determination module 403 monitors whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; and

[0118] Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event;

[0119] The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

[0120] Optionally, the generating module 404 determines the page element operated by the user according to the description information;

[0121] Determine whether the target page elements include the page element operated by the user;

[0122] If so, behavior record information of the operation behavior of the user is generated according to the description information and the relevant information of the target page element.

[0123] Optionally, the generating module 404 acquires element identification information from the description information, and determines the page element corresponding to the acquired element identification information as the page element operated by the user; and

[0124] Determine whether the target CSS style and / or the element identification information corresponding to the target DOM node includes the acquired element identification information;

[0125] If so, it is determined that the target page element includes the page element operated by the user.

[0126] Optionally, if the monitoring module 401 detects an event triggered by an operation of a user on a current page of a first application corresponding to a target service, it determines event information of the event and records the event information.

[0127] Optionally, the event information includes: event identification information;

[0128] The generating module 404 acquires corresponding target event information from the recorded event information according to the event identification information included in the description information; and

[0129] The description information and the related information of the target page element are associated with the target event information and recorded, and the recorded information is determined as the behavior record information of the operation behavior of the user.

[0130] Optionally, the device further comprises: an acquisition module;

[0131] The acquisition module acquires page information of the initial page of the first application and saves the page information.

[0132] Optionally, the device further comprises: a storage module;

[0133] The saving module determines each of the behavior record information generated by the generating module 404 as target behavior record information to be saved, and saves the target behavior record information according to a preset method; or

[0134] According to a preset selection strategy, target behavior record information is selected from each of the behavior record information generated by the generating module 404, and the target behavior record information is saved according to a preset method.

[0135] Optionally, the saving module converts the target behavior record information according to a preset conversion rule to obtain the behavior record information in a target format; and

[0136] The behavior record information in the target format is saved to a designated storage area.

[0137] The user behavior recording device provided by one or more embodiments of the present specification obtains the description information of the user's operation behavior from the first application when monitoring the business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business; and determines the target page element that changes based on the user's operation behavior in at least one page element included in the current page of the first application; generates the behavior record information of the user's operation behavior according to the obtained description information and the related information of the determined target page element. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated according to the description information of the user's operation behavior and the related information of the target page element that changes based on the user's operation behavior, without recording the information of all page elements in the page based on each operation behavior of the user, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior recording on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information.

[0138] It should be noted that the embodiment of the user behavior recording device in this specification and the embodiment of the user behavior recording method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding user behavior recording method, and the repeated parts will not be repeated.

[0139] Furthermore, corresponding to the above Fig.10 The method for recording user behavior described above is based on the same technical concept, and one or more embodiments of this specification also provide another device for recording user behavior. Fig.14A schematic diagram of the module composition of another user behavior recording device provided in one or more embodiments of the present specification, wherein the device is used to perform Fig.10 Describes the method of recording user behavior, such as Fig.14 As shown, the device comprises:

[0140] Monitoring module 501, monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service;

[0141] The acquisition module 502 acquires description information of the operation behavior from the first application if the event is a business processing event of the target business;

[0142] A determination module 503 determines a target page element that changes based on the operation behavior among at least one page element included in the current page;

[0143] A generating module 504 generates behavior record information of the operation behavior of the user according to the description information and the related information of the target page element;

[0144] The sending module 505 sends a save request to the blockchain node connected to the blockchain according to the behavior record information, so that the blockchain node saves the behavior record information to the blockchain when it determines based on the smart contract that the behavior record information meets the preset saving conditions.

[0145] Optionally, the sending module 505 converts the behavior record information according to a preset conversion rule to obtain the behavior record information in a target format; and

[0146] Using the user's private key to sign the behavior record information in the target format to obtain signature data;

[0147] Send a save request to the blockchain node according to the behavior record information in the target format and the signature data.

[0148] Optionally, the first application includes a business processing module;

[0149] The acquisition module 502 receives the description information of the operation behavior sent by the business processing module; wherein the description information is information generated when the business processing module acquires the business processing event based on the annotation information associated with the page element of the user operation; the annotation information is used to describe the operational meaning of the operation behavior.

[0150] Optionally, the determination module 503 monitors whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; and

[0151] Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event;

[0152] The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

[0153] It should be pointed out that the specific implementation of the related operations of the monitoring module 501 to the generating module 504 can be found in the related description of the aforementioned monitoring module 401 to the generating module 404, which will not be repeated here.

[0154] The user behavior recording device provided by one or more embodiments of the present specification, when monitoring a business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business, obtains description information of the user's operation behavior from the first application; and determines a target page element that changes based on the user's operation behavior in at least one page element included in the current page of the first application; generates behavior record information of the user's operation behavior based on the obtained description information and the relevant information of the determined target page element; and sends a save request to the blockchain node connected to the blockchain based on the behavior record information, so that the blockchain node saves the behavior record information to the blockchain. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated based on the description information of the user's operation behavior and the relevant information of the target page elements that change based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior records on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information. Furthermore, the behavior record information is saved in the blockchain, and based on the immutability of the blockchain, the authenticity and validity of the behavior record information are ensured; thereby ensuring the authenticity and credibility of the user's operation behavior traced back based on the behavior record information in the blockchain.

[0155] It should be noted that the embodiment of the user behavior recording device in this specification and the embodiment of the user behavior recording method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned user behavior recording method, and the repeated parts will not be repeated.

[0156] Furthermore, corresponding to the above Fig.12 The method for recording user behavior described above is based on the same technical concept, and one or more embodiments of this specification also provide another device for recording user behavior. Fig.15 A schematic diagram of the module composition of another user behavior recording device provided in one or more embodiments of the present specification, wherein the device is used to perform Fig.12 Describes the method of recording user behavior, such as Fig.15 As shown, the device comprises:

[0157] A receiving module 601 receives a save request sent by a user's terminal device; wherein the save request includes behavior record information to be saved; the behavior record information is information generated by the terminal device when monitoring a business processing event of a target business triggered by an operation behavior of a user in a current page of a first application corresponding to the target business, based on obtaining description information of the operation behavior from the first application and determining relevant information of a target page element that changes based on the operation behavior in at least one page element included in the current page;

[0158] The saving module 602 calls the smart contract in the blockchain, and if it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain.

[0159] Optionally, the saving request further includes: signature data obtained by signing the behavior record information based on the private key of the user, and user information of the user;

[0160] The storage module 602 obtains the associated public key from the preset association relationship between the user information and the public key based on the smart contract and the user information; and

[0161] Performing signature verification on the signature data according to the acquired public key;

[0162] If the signature verification process is passed, it is determined that the behavior record information meets the preset storage conditions.

[0163] Optionally, the device further comprises: a query module;

[0164] The receiving module 601 further receives a query request sent by a querying user; wherein the query request includes user information of the user to be queried and service identification information of the target service of the user to be queried;

[0165] The query module queries the associated behavior record information from the blockchain according to the user information and service identification information included in the query request;

[0166] The queried behavior record information is sent to the querying user.

[0167] The user behavior recording device provided by one or more embodiments of the present specification receives a save request sent by a terminal device, and if it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain; wherein the behavior record information is information generated by the terminal device when monitoring a business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business, based on the description information of the user's operation behavior obtained from the first application, and the relevant information of the target page element that changes based on the user's operation behavior in at least one page element included in the current page. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated based on the description information of the user's operation behavior and the relevant information of the target page elements that change based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior records on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information. Furthermore, the behavior record information is saved in the blockchain, and based on the immutability of the blockchain, the authenticity and validity of the behavior record information are ensured; thereby ensuring the authenticity and credibility of the user's operation behavior traced back based on the behavior record information in the blockchain.

[0168] It should be noted that the embodiment of the user behavior recording device in this specification and the embodiment of the user behavior recording method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned user behavior recording method, and the repeated parts will not be repeated.

[0169] Further, corresponding to the above-described method for recording user behavior, based on the same technical concept, one or more embodiments of this specification also provide a user behavior recording device, which is used to execute the above-described method for recording user behavior. Fig.16 A schematic diagram of the structure of a user behavior recording device provided in one or more embodiments of this specification.

[0170] like Fig.16 As shown, the user behavior recording device may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and memory 702, and the memory 702 may store one or more storage applications or data. Among them, the memory 702 can be a short-term storage or a persistent storage. The application stored in the memory 702 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the user behavior recording device. Furthermore, the processor 701 can be configured to communicate with the memory 702 to execute a series of computer executable instructions in the memory 702 on the user behavior recording device. The user behavior recording device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, one or more keyboards 706, etc.

[0171] In a specific embodiment, the user behavior 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 user behavior recording device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0172] Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service;

[0173] If the event is a business processing event of the target business, obtaining description information of the operation behavior from the first application;

[0174] Determine a target page element that changes based on the operation behavior among at least one page element included in the current page;

[0175] Behavior record information of the operation behavior of the user is generated according to the description information and the relevant information of the target page element.

[0176] The user behavior recording device provided by one or more embodiments of the present specification obtains the description information of the user's operation behavior from the first application when monitoring the business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business; and determines the target page element that changes based on the user's operation behavior in at least one page element included in the current page of the first application; generates the behavior record information of the user's operation behavior according to the obtained description information and the related information of the determined target page element. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated according to the description information of the user's operation behavior and the related information of the target page element that changes based on the user's operation behavior, without having to record the information of all page elements in the page based on each operation behavior of the user, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior recording on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information.

[0177] Optionally, when the computer executable instruction is executed, the first application includes a business processing module, and the acquiring the description information of the operation behavior from the first application includes:

[0178] Receive description information of the operation behavior sent by the business processing module; wherein the description information is information generated by the business processing module when acquiring the business processing event based on the annotation information associated with the page element of the user operation; the annotation information is used to describe the operational meaning of the operation behavior.

[0179] Optionally, when the computer executable instructions are executed, determining a target page element that changes based on the operation behavior among at least one page element included in the current page includes:

[0180] Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event;

[0181] Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event;

[0182] The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

[0183] Optionally, when the computer executable instructions are executed, generating behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element includes:

[0184] Determine the page element operated by the user according to the description information;

[0185] Determine whether the target page elements include the page element operated by the user;

[0186] If so, behavior record information of the operation behavior of the user is generated according to the description information and the relevant information of the target page element.

[0187] Optionally, when the computer executable instruction is executed, determining the page element operated by the user according to the description information includes:

[0188] Acquire element identification information from the description information, and determine the page element corresponding to the acquired element identification information as the page element operated by the user;

[0189] The determining whether the target page element includes the page element operated by the user comprises:

[0190] Determine whether the target CSS style and / or the element identification information corresponding to the target DOM node includes the acquired element identification information;

[0191] If so, it is determined that the target page element includes the page element operated by the user.

[0192] Optionally, when the computer executable instruction is executed, the monitoring of the event triggered by the operation behavior of the user in the current page of the first application corresponding to the target business includes:

[0193] If an event triggered by an operation behavior of a user in a current page of a first application corresponding to a target service is monitored, event information of the event is determined and recorded.

[0194] Optionally, when the computer executable instructions are executed, the event information includes: event identification information;

[0195] Generating behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element includes:

[0196] According to the event identification information included in the description information, obtaining corresponding target event information from the recorded event information;

[0197] The description information and the related information of the target page element are associated with the target event information and recorded, and the recorded information is determined as the behavior record information of the operation behavior of the user.

[0198] Optionally, when the computer executable instructions are executed, the method further comprises:

[0199] Obtain page information of an initial page of the first application, and save the page information.

[0200] Optionally, when the computer executable instructions are executed, after generating the behavior record information of the operation behavior of the user, the instructions further include:

[0201] Determine each of the generated behavior record information as target behavior record information to be saved, and save the target behavior record information according to a preset method; or,

[0202] According to a preset selection strategy, target behavior record information is selected from each of the generated behavior record information, and the target behavior record information is saved according to a preset method.

[0203] Optionally, when the computer executable instruction is executed, saving the target behavior record information according to a preset method includes:

[0204] Converting the target behavior record information according to a preset conversion rule to obtain the behavior record information in a target format;

[0205] The behavior record information in the target format is saved to a designated storage area.

[0206] The user behavior recording device provided by one or more embodiments of the present specification obtains the description information of the user's operation behavior from the first application when monitoring the business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business; and determines the target page element that changes based on the user's operation behavior in at least one page element included in the current page of the first application; generates the behavior record information of the user's operation behavior according to the obtained description information and the related information of the determined target page element. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated according to the description information of the user's operation behavior and the related information of the target page element that changes based on the user's operation behavior, without having to record the information of all page elements in the page based on each operation behavior of the user, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior recording on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information.

[0207] In another specific embodiment, the user behavior 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 user behavior recording device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0208] Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service;

[0209] If the event is a business processing event of the target business, obtaining description information of the operation behavior from the first application;

[0210] Determine a target page element that changes based on the operation behavior among at least one page element included in the current page;

[0211] Generate behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element;

[0212] A save request is sent to a blockchain node connected to the blockchain according to the behavior record information, so that when the blockchain node determines based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain.

[0213] Optionally, when the computer executable instruction is executed, sending a save request to a blockchain node connected to the blockchain according to the behavior record information includes:

[0214] Converting the behavior record information according to a preset conversion rule to obtain the behavior record information in a target format;

[0215] Using the user's private key to sign the behavior record information in the target format to obtain signature data;

[0216] Send a save request to the blockchain node according to the behavior record information in the target format and the signature data.

[0217] Optionally, when the computer executable instruction is executed, the first application includes a business processing module, and the acquiring the description information of the operation behavior from the first application includes:

[0218] Receive description information of the operation behavior sent by the business processing module; wherein the description information is information generated by the business processing module when acquiring the business processing event based on the annotation information associated with the page element of the user operation; the annotation information is used to describe the operational meaning of the operation behavior.

[0219] Optionally, when the computer executable instructions are executed, determining a target page element that changes based on the operation behavior among at least one page element included in the current page includes:

[0220] Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event;

[0221] Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event;

[0222] The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

[0223] The user behavior recording device provided by one or more embodiments of the present specification, when monitoring a business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business, obtains description information of the user's operation behavior from the first application; and determines a target page element that changes based on the user's operation behavior in at least one page element included in the current page of the first application; generates behavior record information of the user's operation behavior based on the obtained description information and the relevant information of the determined target page element; and sends a save request to the blockchain node connected to the blockchain based on the behavior record information, so that the blockchain node saves the behavior record information to the blockchain. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated based on the description information of the user's operation behavior and the relevant information of the target page elements that change based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior records on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information. Furthermore, the behavior record information is saved in the blockchain, and based on the immutability of the blockchain, the authenticity and validity of the behavior record information are ensured; thereby ensuring the authenticity and credibility of the user's operation behavior traced back based on the behavior record information in the blockchain.

[0224] In another specific embodiment, the user behavior 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 user behavior recording device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0225] Receiving a save request sent by a user's terminal device; wherein the save request includes behavior record information to be saved; the behavior record information is information generated by the terminal device when monitoring a business processing event of a target business triggered by an operation behavior of a user in a current page of a first application corresponding to the target business, based on the description information of the operation behavior obtained from the first application and the relevant information of a target page element that changes based on the operation behavior in at least one page element included in the current page;

[0226] The smart contract in the blockchain is called, and if it is determined based on the smart contract that the behavior record information meets the preset preservation conditions, the behavior record information is saved in the blockchain.

[0227] Optionally, when the computer executable instruction is executed, the save request further includes: signature data obtained by signing the behavior record information based on the private key of the user, and user information of the user;

[0228] The determining, based on the smart contract, that the behavior record information meets a preset preservation condition includes:

[0229] Based on the smart contract, obtaining an associated public key from a preset association relationship between user information and public keys according to the user information;

[0230] Performing signature verification on the signature data according to the acquired public key;

[0231] If the signature verification process is passed, it is determined that the behavior record information meets the preset storage conditions.

[0232] Optionally, when the computer executable instruction is executed, the behavior record information includes: business identification information of the target business and user information of the user,

[0233] After the behavior record information is saved in the blockchain, it also includes:

[0234] Receiving a query request sent by a querying user; wherein the query request includes user information of the user to be queried and service identification information of the target service of the user to be queried;

[0235] According to the user information and service identification information included in the query request, query the associated behavior record information from the blockchain;

[0236] The queried behavior record information is sent to the querying user.

[0237] The user behavior recording device provided by one or more embodiments of the present specification, when receiving a save request sent by a terminal device, if it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain; wherein the behavior record information is information generated by the terminal device when monitoring a business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business, based on the description information of the user's operation behavior obtained from the first application, and the relevant information of the target page element that changes based on the user's operation behavior in at least one page element included in the current page. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated based on the description information of the user's operation behavior and the relevant information of the target page elements that change based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior records on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information. Furthermore, the behavior record information is saved in the blockchain, and based on the immutability of the blockchain, the authenticity and validity of the behavior record information are ensured; thereby ensuring the authenticity and credibility of the user's operation behavior traced back based on the behavior record information in the blockchain.

[0238] It should be noted that the embodiment of the user behavior recording device in this specification and the embodiment of the user behavior recording method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding user behavior recording method mentioned above, and the repeated parts will not be repeated.

[0239] Furthermore, corresponding to the above-described method for recording user behavior, based on the same technical concept, one or more embodiments of this specification further provide a storage medium for storing computer executable instructions. In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instructions stored in the storage medium are executed by a processor, the following process can be implemented:

[0240] Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service;

[0241] If the event is a business processing event of the target business, obtaining description information of the operation behavior from the first application;

[0242] Determine a target page element that changes based on the operation behavior among at least one page element included in the current page;

[0243] Behavior record information of the operation behavior of the user is generated according to the description information and the relevant information of the target page element.

[0244] When the computer executable instructions stored in the storage medium provided in one or more embodiments of the present specification are executed by the processor, when a business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business is monitored, the description information of the user's operation behavior is obtained from the first application; and the target page element that changes based on the user's operation behavior is determined in at least one page element included in the current page of the first application; and the behavior record information of the user's operation behavior is generated according to the obtained description information and the related information of the determined target page element. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated according to the description information of the user's operation behavior and the related information of the target page element that changes based on the user's operation behavior, without recording the information of all page elements in the page based on each operation behavior of the user, thereby avoiding repeated recording of page element information, and realizing lightweight and efficient user behavior recording on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information.

[0245] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the first application includes a business processing module, and the obtaining the description information of the operation behavior from the first application includes:

[0246] Receive description information of the operation behavior sent by the business processing module; wherein the description information is information generated by the business processing module when acquiring the business processing event based on the annotation information associated with the page element of the user operation; the annotation information is used to describe the operational meaning of the operation behavior.

[0247] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the determining of a target page element that changes based on the operation behavior among at least one page element included in the current page includes:

[0248] Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event;

[0249] Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event;

[0250] The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

[0251] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, generating behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element includes:

[0252] Determine the page element operated by the user according to the description information;

[0253] Determine whether the target page elements include the page element operated by the user;

[0254] If so, behavior record information of the operation behavior of the user is generated according to the description information and the relevant information of the target page element.

[0255] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, determining the page element operated by the user according to the description information includes:

[0256] Acquire element identification information from the description information, and determine the page element corresponding to the acquired element identification information as the page element operated by the user;

[0257] The determining whether the target page element includes the page element operated by the user comprises:

[0258] Determine whether the target CSS style and / or the element identification information corresponding to the target DOM node includes the acquired element identification information;

[0259] If so, it is determined that the target page element includes the page element operated by the user.

[0260] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the monitoring of events triggered by the operation behavior of the user in the current page of the first application corresponding to the target business includes:

[0261] If an event triggered by an operation behavior of a user in a current page of a first application corresponding to a target service is monitored, event information of the event is determined and recorded.

[0262] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the event information includes: event identification information;

[0263] Generating behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element includes:

[0264] According to the event identification information included in the description information, obtaining corresponding target event information from the recorded event information;

[0265] The description information and the related information of the target page element are associated with the target event information and recorded, and the recorded information is determined as the behavior record information of the operation behavior of the user.

[0266] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the method further includes:

[0267] Obtain page information of an initial page of the first application, and save the page information.

[0268] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, after generating the behavior record information of the operation behavior of the user, the following further comprises:

[0269] Determine each of the generated behavior record information as target behavior record information to be saved, and save the target behavior record information according to a preset method; or,

[0270] According to a preset selection strategy, target behavior record information is selected from each of the generated behavior record information, and the target behavior record information is saved according to a preset method.

[0271] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the target behavior record information is saved according to a preset method, including:

[0272] Converting the target behavior record information according to a preset conversion rule to obtain the behavior record information in a target format;

[0273] The behavior record information in the target format is saved to a designated storage area.

[0274] When the computer executable instructions stored in the storage medium provided in one or more embodiments of the present specification are executed by the processor, when a business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business is monitored, the description information of the user's operation behavior is obtained from the first application; and the target page element that changes based on the user's operation behavior is determined in at least one page element included in the current page of the first application; and the behavior record information of the user's operation behavior is generated according to the obtained description information and the related information of the determined target page element. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated according to the description information of the user's operation behavior and the related information of the target page element that changes based on the user's operation behavior, without recording the information of all page elements in the page based on each operation behavior of the user, thereby avoiding repeated recording of page element information, and realizing lightweight and efficient user behavior recording on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information.

[0275] In another specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:

[0276] Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service;

[0277] If the event is a business processing event of the target business, obtaining description information of the operation behavior from the first application;

[0278] Determine a target page element that changes based on the operation behavior among at least one page element included in the current page;

[0279] Generate behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element;

[0280] A save request is sent to a blockchain node connected to the blockchain according to the behavior record information, so that when the blockchain node determines based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain.

[0281] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, sending a save request to a blockchain node connected to the blockchain according to the behavior record information includes:

[0282] Converting the behavior record information according to a preset conversion rule to obtain the behavior record information in a target format;

[0283] Using the user's private key to sign the behavior record information in the target format to obtain signature data;

[0284] Send a save request to the blockchain node according to the behavior record information in the target format and the signature data.

[0285] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the first application includes a business processing module, and the obtaining the description information of the operation behavior from the first application includes:

[0286] Receive description information of the operation behavior sent by the business processing module; wherein the description information is information generated by the business processing module when acquiring the business processing event based on the annotation information associated with the page element of the user operation; the annotation information is used to describe the operational meaning of the operation behavior.

[0287] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the determining of a target page element that changes based on the operation behavior among at least one page element included in the current page includes:

[0288] Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event;

[0289] Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event;

[0290] The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

[0291] When the computer executable instructions stored in the storage medium provided by one or more embodiments of the present specification are executed by the processor, upon monitoring a business processing event triggered by the user's operating behavior in the current page of the first application corresponding to the target business, the processor obtains description information of the user's operating behavior from the first application; and determines a target page element that changes based on the user's operating behavior in at least one page element included in the current page of the first application; generates behavior record information of the user's operating behavior based on the obtained description information and the relevant information of the determined target page element; and sends a save request to the blockchain node connected to the blockchain based on the behavior record information, so that the blockchain node saves the behavior record information to the blockchain. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated based on the description information of the user's operation behavior and the relevant information of the target page elements that change based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior records on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information. Furthermore, the behavior record information is saved in the blockchain, and based on the immutability of the blockchain, the authenticity and validity of the behavior record information are ensured; thereby ensuring the authenticity and credibility of the user's operation behavior traced back based on the behavior record information in the blockchain.

[0292] In another specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:

[0293] Receiving a save request sent by a user's terminal device; wherein the save request includes behavior record information to be saved; the behavior record information is information generated by the terminal device when monitoring a business processing event of a target business triggered by an operation behavior of a user in a current page of a first application corresponding to the target business, based on the description information of the operation behavior obtained from the first application and the relevant information of a target page element that changes based on the operation behavior in at least one page element included in the current page;

[0294] The smart contract in the blockchain is called, and if it is determined based on the smart contract that the behavior record information meets the preset preservation conditions, the behavior record information is saved in the blockchain.

[0295] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the save request further includes: signature data obtained by signing the behavior record information based on the private key of the user, and user information of the user;

[0296] The determining, based on the smart contract, that the behavior record information meets a preset preservation condition includes:

[0297] Based on the smart contract, obtaining an associated public key from a preset association relationship between user information and public keys according to the user information;

[0298] Performing signature verification on the signature data according to the acquired public key;

[0299] If the signature verification process is passed, it is determined that the behavior record information meets the preset storage conditions.

[0300] Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the behavior record information includes: business identification information of the target business and user information of the user,

[0301] After the behavior record information is saved in the blockchain, it also includes:

[0302] Receiving a query request sent by a querying user; wherein the query request includes user information of the user to be queried and service identification information of the target service of the user to be queried;

[0303] According to the user information and service identification information included in the query request, query the associated behavior record information from the blockchain;

[0304] The queried behavior record information is sent to the querying user.

[0305] When the computer executable instructions stored in the storage medium provided by one or more embodiments of the present specification are executed by the processor, when a save request sent by the terminal device is received, if it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain; wherein the behavior record information is information generated by the terminal device when monitoring a business processing event triggered by the user's operation behavior in the current page of the first application corresponding to the target business, based on the description information of the user's operation behavior obtained from the first application, and the relevant information of the target page element that changes based on the user's operation behavior in at least one page element included in the current page. Therefore, by generating the user's behavior record information, after the target business is completed, the user's target business handling process can be traced back based on the behavior record information, and the user's various operation behaviors in the target business handling process can be restored, thereby solving the problem of shirking responsibility due to the difficulty in restoring the business handling process when a business dispute occurs; at the same time, the behavior record information is generated based on the description information of the user's operation behavior and the relevant information of the target page elements that change based on the user's operation behavior, without having to record the information of all page elements in the page based on each user's operation behavior, thereby avoiding the repeated recording of page element information, and realizing lightweight and efficient user behavior records on the basis of ensuring that the corresponding operation behavior can be restored based on the behavior record information. Furthermore, the behavior record information is saved in the blockchain, and based on the immutability of the blockchain, the authenticity and validity of the behavior record information are ensured; thereby ensuring the authenticity and credibility of the user's operation behavior traced back based on the behavior record information in the blockchain.

[0306] It should be noted that the embodiments of the storage medium in this specification and the embodiments of the method for recording user behavior in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding method for recording user behavior mentioned above, and the repeated parts will not be repeated.

[0307] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0308] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many 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), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0309] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. 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 can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0310] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, 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.

[0311] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0312] It should be understood by those skilled in the art that one or more embodiments of this specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0313] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0314] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0315] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0316] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0317] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0318] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0319] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0320] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0321] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0322] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.

Claims

1. A method for recording user behavior, comprising: Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service; If the event is a business processing event of the target business, obtaining description information of the operation behavior from the first application, wherein the description information is information describing the user operation behavior generated in real time by the first application according to the user operation information carried by the business processing event when the first application obtains the business processing event; Determine a target page element that changes based on the operation behavior among at least one page element included in the current page; Generate behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element; The determining of a target page element that changes based on the operation behavior among at least one page element included in the current page includes: Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event; The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

2. According to the method of claim 1, the first application includes a business processing module, and the obtaining the description information of the operation behavior from the first application includes: Receive description information of the operation behavior sent by the business processing module; wherein the description information is information generated by the business processing module when acquiring the business processing event based on the annotation information associated with the page element of the user operation; the annotation information is used to describe the operational meaning of the operation behavior.

3. The method according to claim 1, wherein generating behavior record information of the user's operation behavior according to the description information and the relevant information of the target page element comprises: Determine the page element operated by the user according to the description information; Determine whether the target page elements include the page element operated by the user; If so, behavior record information of the operation behavior of the user is generated according to the description information and the relevant information of the target page element.

4. The method according to claim 3, wherein determining the page element operated by the user according to the description information comprises: Acquire element identification information from the description information, and determine the page element corresponding to the acquired element identification information as the page element operated by the user; The determining whether the target page element includes the page element operated by the user comprises: Determine whether the target CSS style and / or the element identification information corresponding to the target DOM node includes the acquired element identification information; If so, it is determined that the target page element includes the page element operated by the user.

5. According to the method of claim 1, the monitoring of events triggered by user operation behaviors in the current page of the first application corresponding to the target service comprises: If an event triggered by an operation behavior of a user in a current page of a first application corresponding to a target service is monitored, event information of the event is determined and recorded.

6. The method according to claim 5, wherein the event information comprises: Event identification information; Generating behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element includes: According to the event identification information included in the description information, obtaining corresponding target event information from the recorded event information; The description information and the related information of the target page element are associated with the target event information and recorded, and the recorded information is determined as the behavior record information of the operation behavior of the user.

7. The method according to claim 1, further comprising: Obtain page information of an initial page of the first application, and save the page information.

8. The method according to claim 1, after generating the behavior record information of the operation behavior of the user, further comprising: Determine each of the generated behavior record information as target behavior record information to be saved, and save the target behavior record information according to a preset method; or, According to a preset selection strategy, target behavior record information is selected from each of the generated behavior record information, and the target behavior record information is saved according to a preset method.

9. The method according to claim 8, wherein the step of saving the target behavior record information according to a preset method comprises: Converting the target behavior record information according to a preset conversion rule to obtain the behavior record information in a target format; The behavior record information in the target format is saved to a designated storage area.

10. A method for recording user behavior, applied to a terminal device, comprising: Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service; If the event is a business processing event of the target business, obtaining description information of the operation behavior from the first application, wherein the description information is information describing the user operation behavior generated in real time by the first application according to the user operation information carried by the business processing event when the first application obtains the business processing event; Determine a target page element that changes based on the operation behavior among at least one page element included in the current page; Generate behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element; Sending a save request to a blockchain node connected to the blockchain according to the behavior record information, so that the blockchain node saves the behavior record information to the blockchain when determining that the behavior record information meets a preset saving condition based on the smart contract; The determining of a target page element that changes based on the operation behavior among at least one page element included in the current page includes: Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event; The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

11. The method according to claim 10, wherein sending a save request to a blockchain node connected to the blockchain according to the behavior record information comprises: Converting the behavior record information according to a preset conversion rule to obtain the behavior record information in a target format; Using the user's private key to sign the behavior record information in the target format to obtain signature data; Send a save request to the blockchain node according to the behavior record information in the target format and the signature data.

12. The method according to claim 11, wherein the first application includes a business processing module, and the step of obtaining the description information of the operation behavior from the first application includes: Receive description information of the operation behavior sent by the business processing module; wherein the description information is information generated by the business processing module when acquiring the business processing event based on the annotation information associated with the page element of the user operation; the annotation information is used to describe the operational meaning of the operation behavior.

13. A method for recording user behavior, applied to a blockchain node, comprising: Receive a save request sent by a user's terminal device; wherein the save request includes behavior record information to be saved; the behavior record information is information generated by the terminal device when it detects that the event triggered by the user's operation behavior in the current page of the first application corresponding to the target business is a business processing event of the target business, based on the description information of the operation behavior obtained from the first application and the relevant information of the target page element that changes based on the operation behavior in at least one page element included in the current page determined, wherein the description information is information describing the user operation behavior generated in real time by the first application when the business processing event is obtained according to the user operation information carried by the business processing event, the target page element is determined based on the page element corresponding to the target CSS style and / or the target DOM node, the target CSS style is the CSS style detected by the terminal device, exists in the CSS style corresponding to the current page, and is updated by the business processing module of the first application based on the business processing event, and the target DOM node is the DOM node detected by the terminal device, exists in the DOM structure corresponding to the current page, and is updated by the business processing module of the first application based on the business processing event; The smart contract in the blockchain is called, and if it is determined based on the smart contract that the behavior record information meets the preset preservation conditions, the behavior record information is saved in the blockchain.

14. The method according to claim 13, wherein the save request further comprises: Signature data obtained by signing the behavior record information based on the private key of the user, and user information of the user; The determining, based on the smart contract, that the behavior record information meets a preset preservation condition includes: Based on the smart contract, obtaining an associated public key from a preset association relationship between user information and public keys according to the user information; Performing signature verification on the signature data according to the acquired public key; If the signature verification process is passed, it is determined that the behavior record information meets the preset storage conditions.

15. The method according to claim 13, wherein the behavior record information comprises: The service identification information of the target service and the user information of the user, After the behavior record information is saved in the blockchain, it also includes: Receiving a query request sent by a querying user; wherein the query request includes user information of the user to be queried and service identification information of the target service of the user to be queried; According to the user information and service identification information included in the query request, query the associated behavior record information from the blockchain; The queried behavior record information is sent to the querying user.

16. A device for recording user behavior, comprising: A monitoring module, monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target business; an acquisition module, which acquires description information of the operation behavior from the first application if the event is a business processing event of the target business, wherein the description information is information describing the user operation behavior generated in real time by the first application according to the user operation information carried by the business processing event when the first application acquires the business processing event; A determination module, which determines a target page element that changes based on the operation behavior among at least one page element included in the current page; A generating module, generating behavior record information of the operation behavior of the user according to the description information and the related information of the target page element; The determination module monitors whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event; The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

17. The apparatus according to claim 16, wherein the first application comprises: Business processing module; The acquisition module receives the description information of the operation behavior sent by the business processing module; wherein the description information is information generated by the business processing module based on the annotation information associated with the determined page element of the user operation when the business processing module acquires the business processing event; The annotation information is used to describe the operational meaning of the operation behavior.

18. A user behavior recording device, applied to a terminal device, comprising: A monitoring module, monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target business; an acquisition module, which acquires description information of the operation behavior from the first application if the event is a business processing event of the target business, wherein the description information is information describing the user operation behavior generated in real time by the first application according to the user operation information carried by the business processing event when the first application acquires the business processing event; A determination module, which determines a target page element that changes based on the operation behavior among at least one page element included in the current page; A generating module, generating behavior record information of the operation behavior of the user according to the description information and the related information of the target page element; A sending module, which sends a save request to a blockchain node connected to the blockchain according to the behavior record information, so that the blockchain node saves the behavior record information to the blockchain when it determines based on the smart contract that the behavior record information meets the preset saving condition; The determination module monitors whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event; The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

19. A user behavior recording device, applied to a blockchain node, comprising: A receiving module receives a save request sent by a user's terminal device; wherein the save request includes behavior record information to be saved; the behavior record information is information generated by the terminal device when it detects that the event triggered by the user's operation behavior in the current page of the first application corresponding to the target business is a business processing event of the target business, based on obtaining the description information of the operation behavior from the first application and determining the relevant information of the target page element that changes based on the operation behavior in at least one page element included in the current page, wherein the description information is information describing the user operation behavior generated in real time by the first application when the business processing event is obtained according to the user operation information carried by the business processing event, the target page element is determined based on the page element corresponding to the target CSS style and / or the target DOM node, the target CSS style is the CSS style detected by the terminal device, exists in the CSS style corresponding to the current page, and is updated by the business processing module of the first application based on the business processing event, and the target DOM node is the DOM node detected by the terminal device, exists in the DOM structure corresponding to the current page, and is updated by the business processing module of the first application based on the business processing event; The saving module calls the smart contract in the blockchain, and if it is determined based on the smart contract that the behavior record information meets the preset saving conditions, the behavior record information is saved in the blockchain.

20. A device for recording user behavior, comprising: processor; as well as, a memory arranged to store computer executable instructions which, when executed, cause the processor to: Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service; If the event is a business processing event of the target business, obtaining description information of the operation behavior from the first application, wherein the description information is information describing the user operation behavior generated in real time by the first application according to the user operation information carried by the business processing event when the first application obtains the business processing event; Determine a target page element that changes based on the operation behavior among at least one page element included in the current page; Generate behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element; The determining of a target page element that changes based on the operation behavior among at least one page element included in the current page includes: Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event; The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

21. A device for recording user behavior, comprising: processor; as well as, a memory arranged to store computer executable instructions which, when executed, cause the processor to: Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service; If the event is a business processing event of the target business, obtaining description information of the operation behavior from the first application, wherein the description information is information describing the user operation behavior generated in real time by the first application according to the user operation information carried by the business processing event when the first application obtains the business processing event; Determine a target page element that changes based on the operation behavior among at least one page element included in the current page; Generate behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element; Sending a save request to a blockchain node connected to the blockchain according to the behavior record information, so that the blockchain node saves the behavior record information to the blockchain when determining that the behavior record information meets a preset saving condition based on the smart contract; The determining of a target page element that changes based on the operation behavior among at least one page element included in the current page includes: Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event; The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

22. A device for recording user behavior, comprising: processor; as well as, a memory arranged to store computer executable instructions which, when executed, cause the processor to: Receive a save request sent by a user's terminal device; wherein the save request includes behavior record information to be saved; the behavior record information is information generated by the terminal device when it detects that the event triggered by the user's operation behavior in the current page of the first application corresponding to the target business is a business processing event of the target business, based on obtaining the description information of the operation behavior from the first application and determining the relevant information of the target page element that changes based on the operation behavior in at least one page element included in the current page, wherein the description information is information describing the user operation behavior generated in real time by the first application when the business processing event is obtained according to the user operation information carried by the business processing event, the target page element is determined based on the page element corresponding to the target CSS style and / or the target DOM node, the target CSS style is the CSS style that exists in the CSS style corresponding to the current page monitored by the terminal device and is updated by the business processing module of the first application based on the business processing event, and the target DOM node is the DOM node that exists in the DOM structure corresponding to the current page monitored by the terminal device and is updated by the business processing module of the first application based on the business processing event; The smart contract in the blockchain is called, and if it is determined based on the smart contract that the behavior record information meets the preset preservation conditions, the behavior record information is saved in the blockchain.

23. A storage medium for storing computer executable instructions, wherein the computer executable instructions implement the following process when executed: Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service; If the event is a business processing event of the target business, the description information of the operation behavior is obtained from the first application, wherein: The description information is information describing the user operation behavior generated in real time by the first application according to the user operation information carried by the business processing event when the first application obtains the business processing event; Determine a target page element that changes based on the operation behavior among at least one page element included in the current page; Generate behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element; The determining of a target page element that changes based on the operation behavior among at least one page element included in the current page includes: Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event; The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

24. A storage medium for storing computer executable instructions, wherein the computer executable instructions implement the following process when executed: Monitoring events triggered by user operation behaviors in the current page of the first application corresponding to the target service; If the event is a business processing event of the target business, the description information of the operation behavior is obtained from the first application, wherein: The description information is information describing the user operation behavior generated in real time by the first application according to the user operation information carried by the business processing event when the first application obtains the business processing event; Determine a target page element that changes based on the operation behavior among at least one page element included in the current page; Generate behavior record information of the operation behavior of the user according to the description information and the relevant information of the target page element; Sending a save request to a blockchain node connected to the blockchain according to the behavior record information, so that the blockchain node saves the behavior record information to the blockchain when determining that the behavior record information meets a preset saving condition based on the smart contract; The determining of a target page element that changes based on the operation behavior among at least one page element included in the current page includes: Monitoring whether there is an updated target CSS style in the CSS style corresponding to the current page; wherein the target CSS style is updated by the business processing module of the first application based on the business processing event; Monitoring whether there is an updated target DOM node in the DOM structure corresponding to the current page; wherein the target DOM node is updated by the business processing module of the first application based on the business processing event; The page element corresponding to the target CSS style and / or the target DOM node is determined as the target page element.

25. A storage medium for storing computer executable instructions, wherein the computer executable instructions implement the following process when executed: Receive a save request sent by a user's terminal device; wherein, The save request includes behavior record information to be saved; the behavior record information is information generated when the terminal device detects that the event triggered by the user's operation behavior in the current page of the first application corresponding to the target business is a business processing event of the target business, based on obtaining the description information of the operation behavior from the first application and determining the relevant information of the target page element that changes based on the operation behavior in at least one page element included in the current page, wherein the description information is information describing the user operation behavior generated in real time by the first application when the business processing event is obtained according to the user operation information carried by the business processing event, the target page element is determined based on the page element corresponding to the target CSS style and / or the target DOM node, the target CSS style is the CSS style that exists in the CSS style corresponding to the current page monitored by the terminal device and is updated by the business processing module of the first application based on the business processing event, and the target DOM node is the DOM node that exists in the DOM structure corresponding to the current page monitored by the terminal device and is updated by the business processing module of the first application based on the business processing event; The smart contract in the blockchain is called, and if it is determined based on the smart contract that the behavior record information meets the preset preservation conditions, the behavior record information is saved in the blockchain.