CN115982507B - Recording method, device, equipment and storage medium for triggering operation of application program - Google Patents

Recording method, device, equipment and storage medium for triggering operation of application program Download PDF

Info

Publication number
CN115982507B
CN115982507B CN202310259844.7A CN202310259844A CN115982507B CN 115982507 B CN115982507 B CN 115982507B CN 202310259844 A CN202310259844 A CN 202310259844A CN 115982507 B CN115982507 B CN 115982507B
Authority
CN
China
Prior art keywords
data
page
recording
application program
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310259844.7A
Other languages
Chinese (zh)
Other versions
CN115982507A (en
Inventor
覃龙
吴卫平
苏泉宇
林显东
陈世兵
包敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yilinyun Shenzhen Technology Co ltd
Original Assignee
Yilinyun Shenzhen Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yilinyun Shenzhen Technology Co ltd filed Critical Yilinyun Shenzhen Technology Co ltd
Priority to CN202310259844.7A priority Critical patent/CN115982507B/en
Publication of CN115982507A publication Critical patent/CN115982507A/en
Application granted granted Critical
Publication of CN115982507B publication Critical patent/CN115982507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a recording method, device, equipment and storage medium for triggering operation of an application program, and relates to the technical field of computers, wherein the method comprises the following steps: acquiring operation characteristics of each application operation of the application program, and generating a necessary operation data table based on each operation characteristic; if a request signal for recording triggering operation of an application program is received, recording initial view data of the application program; performing page operation detection on the application program to obtain at least one operation page data; comparing the operation page data with the necessary operation data table to obtain a comparison result; based on the comparison result, merging the operation page data and the initial view data to obtain merged data; and translating the combined data to obtain operation record data corresponding to the request signal. The method and the device solve the technical problem that the transmission efficiency of the current operation record data is low.

Description

Recording method, device, equipment and storage medium for triggering operation of application program
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a recording method, apparatus, device, and storage medium for triggering an application program.
Background
At present, many application programs have the function of checking user operation records, usually recording in a text form, but when the user operation process is traced according to the operation records, the text form is not only low in efficiency, but also has the defect of lacking detail records, so that the operation records in a plain text form cannot give enough trust to users, and therefore, the application program operation process is recorded by using a video recording mode, the video recording mainly records a screen of the operation records on a screen and stores the operation records into operation record data capable of being converted into video, but because the video records a large amount of invalid and repeated information, such as information when the application program is in a static state, the volume of the operation record data is huge, and the transmission efficiency of the operation record data is lower.
Disclosure of Invention
The main objective of the present application is to provide a recording method, apparatus, device and storage medium for triggering operation of an application program, which aims to solve the technical problem of low transmission efficiency of operation recording data at present.
In order to achieve the above object, the present application provides a recording method of an application trigger operation, where the recording method of the application trigger operation includes:
Acquiring operation characteristics of each application operation of the application program, and generating a necessary operation data table based on each operation characteristic;
if a request signal for recording triggering operation of an application program is received, recording initial view data of the application program, wherein the initial view data comprises style data and element data;
performing page operation detection on the application program to obtain at least one operation page data, wherein the page operation detection comprises page behavior detection and page change detection;
comparing the operation page data with the necessary operation data table to obtain a comparison result;
based on the comparison result, merging the operation page data and the initial view data to obtain merged data;
and translating the combined data to obtain operation record data corresponding to the request signal.
Optionally, the step of merging each operation page data and the initial view data based on the comparison result to obtain merged data includes:
if the comparison result shows that the operation page data exist in the necessary operation data table, aggregating the operation page data to generate aggregated data;
Combining the aggregation data and the initial view data in a key value pair mode to obtain combined data;
if the comparison result is that the operation page data do not exist in the necessary operation data table, the operation page data and the initial view data are directly combined in a key value pair mode, and the combined data are obtained.
Optionally, the aggregation data corresponds to an aggregation timestamp, the operation page data corresponds to an operation timestamp, the initial view data corresponds to an initial timestamp, and the step of merging in the form of key value pairs to obtain the merged data includes:
recording the initial view data and the initial timestamp as a first key value pair;
recording the target data and the corresponding time stamp as a second key value pair; when detecting that each operation page data exists in the necessary operation data table, the target data is the aggregation data, and the time stamp is the aggregation time stamp; when detecting that each operation page data does not exist in the necessary operation data table, the target data is the operation page data, and the time stamp is the operation time stamp;
Combining the first key value pair and each second key value pair to obtain global page data;
screening sensitive information in the global page data, and desensitizing the sensitive information to obtain a desensitization result;
and updating the global page data according to the desensitization result to obtain the combined data.
Optionally, the step of performing page operation detection on the application program to obtain operation page data includes:
judging whether page operation behaviors of the application program occur or not by carrying out page behavior detection on the application program;
if the page operation behavior occurs, detecting the page change of the application program, and judging whether the application program has a changed page or not;
and if the change page exists, taking the page information of the change page as the operation page data.
Optionally, the initial view data includes initial view data and an initial timestamp, and the step of recording the initial view data of the application program includes:
acquiring an initial page of the application program, and carrying out page analysis on the initial page to obtain the style data and the element data;
And carrying out data combination on the style data and the element data to obtain the initial view data.
Optionally, the step of generating the necessary operation data table based on each of the operation features includes:
determining a necessary index for each of the application operations based on each of the operational characteristics;
if detecting that each necessary index reaches a preset necessary level, recording corresponding application operations, and generating the necessary operation data table.
In addition, to achieve the above object, the present application further provides a recording apparatus for an application trigger operation, the recording apparatus for an application trigger operation including:
the necessary operation data table generating module is used for acquiring operation characteristics of each application operation of the application program and generating a necessary operation data table based on each operation characteristic;
the system comprises a recording initial view data module, a recording control module and a recording control module, wherein the recording initial view data module is used for recording initial view data of an application program if a request signal for recording triggering operation of the application program is received, wherein the initial view data comprises style data and element data;
the page operation detection module is used for carrying out page operation detection on the application program to obtain at least one operation page data, wherein the page operation detection comprises page behavior detection and page change detection;
The comparison module is used for comparing the operation page data with the necessary operation data table to obtain a comparison result;
the merging module is used for merging the operation page data and the initial view data based on the comparison result to obtain merged data;
and the translation module is used for translating the combined data to obtain operation record data corresponding to the request signal.
Optionally, the merging module is further configured to:
if the comparison result shows that the operation page data exist in the necessary operation data table, aggregating the operation page data to generate aggregated data;
combining the aggregation data and the initial view data in a key value pair mode to obtain combined data;
if the comparison result is that the operation page data do not exist in the necessary operation data table, the operation page data and the initial view data are directly combined in a key value pair mode, and the combined data are obtained.
Optionally, the merging module is further configured to:
recording the initial view data and the initial timestamp as a first key value pair;
Recording the target data and the corresponding time stamp as a second key value pair; when detecting that each operation page data exists in the necessary operation data table, the target data is the aggregation data, and the time stamp is the aggregation time stamp; when detecting that each operation page data does not exist in the necessary operation data table, the target data is the operation page data, and the time stamp is the operation time stamp;
combining the first key value pair and each second key value pair to obtain global page data;
screening sensitive information in the global page data, and desensitizing the sensitive information to obtain a desensitization result;
and updating the global page data according to the desensitization result to obtain the combined data.
Optionally, the page operation detection module is further configured to:
judging whether page operation behaviors of the application program occur or not by carrying out page behavior detection on the application program;
if the page operation behavior occurs, detecting the page change of the application program, and judging whether the application program has a changed page or not;
And if the change page exists, taking the page information of the change page as the operation page data.
Optionally, the recording initial view data module is further configured to:
acquiring an initial page of the application program, and carrying out page analysis on the initial page to obtain the style data and the element data;
and carrying out data combination on the style data and the element data to obtain the initial view data.
Optionally, the generating the necessary operation data table module is further configured to:
determining a necessary index for each of the application operations based on each of the operational characteristics;
if detecting that each necessary index reaches a preset necessary level, recording corresponding application operations, and generating the necessary operation data table.
The application also provides a recording device for triggering operation of the application program, wherein the recording of the triggering operation of the application program comprises the following steps: the method comprises the steps of a memory, a processor and an application triggering operation recording program which is stored in the memory and can run on the processor, wherein the application triggering operation recording program is executed by the processor to realize the application triggering operation recording method.
The present application also provides a readable storage medium, on which a recording program of an application triggering operation is stored, where the recording program of the application triggering operation, when executed by a processor, implements the steps of the recording method of the application triggering operation as described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a recording method of an application triggering operation as described above.
Compared with the current method of recording user operation by directly summarizing all information into one video file by screen capture and saving, the method comprises the steps of firstly obtaining operation characteristics of each application operation of the application program and generating a necessary operation data table based on each operation characteristic; if a request signal for recording triggering operation of an application program is received, recording initial view data of the application program, wherein the initial view data comprises style data and element data; performing page operation detection on the application program to obtain at least one operation page data, wherein the page operation detection comprises page behavior detection and page change detection; comparing the operation page data with the necessary operation data table to obtain a comparison result; based on the comparison result, merging the operation page data and the initial view data to obtain merged data; and translating the combined data to obtain operation record data corresponding to the request signal. The aim that the finally obtained target record information only comprises initial view data and record information during operation is achieved, a large amount of invalid information exists in operation record is further avoided through double detection of page operation behaviors and page changes, the effectiveness of the operation record data is improved, the volume of the operation record data can be effectively compressed based on a merging and translating processing mode, the technical defect that the volume of the operation record data is huge due to the fact that a large amount of invalid and repeated information is recorded in video is overcome, and the transmission efficiency of the operation record data is low is further caused.
Drawings
FIG. 1 is a flowchart of a first embodiment of a recording method for triggering an application program according to the present application;
FIG. 2 is a schematic diagram of the distribution of page data involved in a recording method of application triggering operations of the present application;
FIG. 3 is a schematic flow chart of merging page data in a recording method of triggering operation of an application program;
FIG. 4 is a schematic diagram of a device involved in a recording method of an application triggering operation of the present application;
fig. 5 is a schematic device structure diagram of a hardware running environment involved in a recording method of an application triggering operation of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
In order to make the above objects, features and advantages of the present application more comprehensible, the following description will make the technical solutions of the embodiments of the present application clear and complete with reference to the accompanying drawings of the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, based on the embodiments herein, which are within the scope of the protection of the present application, will be within the purview of one of ordinary skill in the art without the exercise of inventive faculty.
At present, many application programs have the function of checking user operation records, usually recording in a text form, but when the user operation process is traced according to the operation records, the text form is not only low in efficiency, but also has the defect of lacking detail records, so that the operation records in a plain text form cannot give enough trust to users, therefore, the application program operation process is recorded by using a video recording mode, the video recording mainly records and saves the operation records on a screen into operation record data which can be converted into a video form, but because the video can record a large amount of invalid and repeated information, such as information when the application program is in a static state, or repeated information of a large amount of the same operation, the factors can lead to the large volume of the operation record data, if the operation record data is applied in a system with a large amount of users, besides, the operation record data can be stored with low effectiveness, and the client can consume a large amount of user flow when transmitting the operation record data which is well recorded to the server, and the network bandwidth of the operation record data is extremely low in efficiency and the operation record data is transmitted.
In a first embodiment of the application trigger operation recording method, referring to fig. 1, the application trigger operation recording method includes:
step S10, obtaining operation characteristics of each application operation of the application program, and generating a necessary operation data table based on each operation characteristic;
in this embodiment, it should be noted that, because many identical operations exist in the actual use process by the user, so that the actual operation data is highly repeated to a great extent, in this embodiment, by establishing a necessary operation data table for subsequent comparison of each operation page data, if each operation page data exists in the necessary operation data table, the identical operation page data is aggregated, so that the data volume of the operation record data that is finally obtained is effectively reduced, the transmission efficiency of the operation record data is further improved, and the storage pressure of the server on these data resources is effectively reduced.
The application operation refers to operation flow information of each application function in the application program, taking a data acquisition function as an example, the operation flow of the data acquisition function can be a set of operation flows of entering a form filling page, filling a form and submitting the form, and the operation flows belong to the application operation; the operation characteristics refer to behavior characteristics of each application operation, and may include front and back operation steps corresponding to each application operation; the necessary operation data table records necessary operation data of each application function in the application program, and is used for comparing operation page data in the follow-up, the necessary operation refers to an operation which must be executed, taking a function of filling out a form as an example, and assuming that only an operation option of submitting the form is selected after the form is filled out, the operation of submitting the form is the operation which must be executed.
As an example, step S10 includes: the method comprises the steps of acquiring operation characteristics of each application operation of an application program, determining corresponding necessary indexes based on each operation characteristic, and generating a necessary operation data table based on each necessary index and a preset necessary level.
Step S20, if a request signal for recording triggering operation of an application program is received, recording initial view data of the application program, wherein the initial view data comprises style data and element data;
step S30, performing page operation detection on the application program to obtain at least one operation page data, wherein the page operation detection comprises page behavior detection and page change detection;
in this embodiment, it should be noted that, the request signal refers to a signal that triggers an application program to start recording user operations, and the initiation manner of the request signal may be that the user clicks an operation button to start recording, or may be that a developer buries a point in the application program, for example, when the user finishes logging into the application program, the request signal is automatically initiated, and when the user exits from logging or the static duration of a page reaches a preset duration, the request signal is automatically stopped; the initial view data refers to current page data of an application program when recording is started, and includes style data and element data, referring to fig. 2, the element data refers to a series of element data, such as elements of a window, a dialog box, a popup, a scroll bar, etc., which are included in a software or a system interface capable of meeting interaction requirements and meet user interaction requirements, and the style data refers to style data of the whole interface including interface elements, such as interface layout, interface style, interface color collocation, popup size, popup color, scroll bar length, etc.; the operation page data refers to that a user performs an operation on an application program in a recording process, the operation page data is changed, the changed page data refers to that the data information of a current page is changed, such as page skip or operations of creating/filling/submitting form information in the current page, and the like, because the user may perform operations such as enlarging/shrinking the current page, copying/pasting a picture or a font of the current page in an actual operation process, but the operations do not cause the change of the page data information, and therefore the operations do not need to be recorded; through dual detection of page operation behaviors and page changes, effective operation information of users is guaranteed to be finally recorded, a large amount of invalid information in operation records is avoided, validity of operation record data is guaranteed, and transmission efficiency of the operation record data is improved.
As an example, steps S20 to S30 include: if a request signal for recording triggering operation of an application program is received, acquiring and analyzing a current screen display page of the application program, namely an initial page, to obtain style data and element data, wherein the style data and the element data are used as initial view data; and detecting page behavior of the application program in real time, namely detecting whether a user operates the page, if so, further detecting page change, namely detecting whether the operation performed by the user causes data change of the page, recording the page data which is operated and causes page data change, and obtaining at least one operation page data.
Step S40, comparing the operation page data with the necessary operation data table to obtain a comparison result;
step S50, based on the comparison result, merging the operation page data and the initial view data to obtain merged data;
step S60, translating the merged data to obtain operation record data corresponding to the request signal.
In this embodiment, it should be noted that the comparison result is used to characterize whether each operation page data exists in the necessary operation data table.
As an example, step S40 to step S60 include: comparing the operation page data with the necessary operation data table to judge whether the operation page data exist in the necessary operation data table or not; if the operation corresponding to the operation page data is the necessary operation, the same operation page data is combined with the initial view data and desensitized after being aggregated, if the operation corresponding to the operation page data is not the necessary operation, the operation page data and the initial view data are combined and desensitized in sequence, and the combined data are obtained; in order to further compress the total volume of the merged data, the merged data is translated, the merged data is resolved into json format data and is stored, and operation record data corresponding to the request signal is obtained.
For example, referring to fig. 3, when receiving a request signal, that is, state0, initial view data is recorded, when a user performs a first operation page, that is, state1, operation page data 1 is recorded, operation page data 1 and initial view data are combined to obtain combined data 1, when detecting that a second operation page is performed by the user, that is, state2, operation page data 2 is recorded, and if recording is completed at this time, operation page data 2 and combined data 1 are combined again to obtain final operation record data, and if not completed, detection and combination are continued, and all operations of the user are sequentially recorded in this manner until recording is completed.
The step of merging the operation page data and the initial view data based on the comparison result to obtain merged data includes:
step S51, if the comparison result indicates that each operation page data exists in the necessary operation data table, aggregating each operation page data to generate aggregated data;
step S52, merging the aggregation data and the initial view data in the form of key value pairs to obtain the merged data;
step S53, if the comparison result indicates that the operation page data do not exist in the necessary operation data table, the operation page data and the initial view data are directly combined in a key value pair form, so as to obtain the combined data.
In this embodiment, it should be noted that, the aggregate data refers to data obtained by aggregating the operation page data in the form of key value pairs, and is used to represent multiple identical operation page data at different times.
As an example, steps S51 to S53 include: if the comparison result is that the operation page data exist in the necessary operation data table, the same operation page data are aggregated in a key value pair mode, and the aggregated data are generated; combining the aggregate data and the corresponding time stamp with the initial view data and the corresponding time stamp in a key value pair mode to obtain combined data; if the comparison result is that the operation page data do not exist in the necessary operation data table, the operation page data and the corresponding time stamp are directly combined with the initial view data and the corresponding time stamp in a key value pair mode, and the combined data are obtained after desensitization.
For example, assuming that the user performs a return home page operation on the submit form page at eleven points, three ten minutes performs a return home page operation on the submit form page again, and the operation of returning the home page on the submit form page exists in the necessary operation data table, these two operations are aggregated into one operation in the form of key value pairs in chronological order, that is, the aggregated data is { key, return home page, eleven points thirty minutes }.
In this embodiment, the same operation page data at different times are aggregated, and then the aggregated data and the initial view data are combined, so that the total data volume is effectively reduced, and the efficiency of operation record data transmission is further improved.
Wherein the aggregation data corresponds to an aggregation time stamp, the aggregation time stamp is recorded according to time sequence, the operation page data corresponds to an operation time stamp, the initial view data corresponds to an initial time stamp, the time stamps are all generation time of each data,
the step of merging in the form of key value pairs to obtain the merged data comprises the following steps:
step A10, recording the initial view data and the initial timestamp into a first key value pair;
Step A20, recording the target data and the corresponding time stamp into a second key value pair; when detecting that each operation page data exists in the necessary operation data table, the target data is the aggregation data, and the time stamp is the aggregation time stamp; when detecting that each operation page data does not exist in the necessary operation data table, the target data is the operation page data, and the time stamp is the operation time stamp;
step A30, merging the first key value pairs and the second key value pairs to obtain global page data;
step A40, screening sensitive information in the global page data, and desensitizing the sensitive information to obtain a desensitization result;
and step A50, updating the global page data according to the desensitization result to obtain the combined data.
In this embodiment, it should be noted that, in order to facilitate subsequent tracing of the complete operation flow of the user according to the operation time, a key value storage manner based on a timestamp is selectively established in this embodiment: { string key, string value, intestinestamp }, wherein key is a storage key, value is a value, timestamp is a timestamp, and the subsequent operation record is restored by sequentially rendering according to the sequence of the timestamp, so that the video watching experience is achieved.
As an example, steps a10 to a50 include: recording the initial view data and the initial timestamp as a first key-value pair, wherein the first key-value pair has only one group; recording the target data and the corresponding time stamp as a second key value pair; when detecting that each operation page data exists in the necessary operation data table, the target data is the aggregation data, and the time stamp is the aggregation time stamp; when detecting that each operation page data does not exist in the necessary operation data table, the target data is the operation page data, the time stamp is the operation time stamp, and at least one group of second key value pairs exists; combining the first key value pair and each second key value pair to obtain global page data, wherein the global page data is used for representing all page data before desensitization, which are operated by a user and cause page change; screening sensitive information in the global page data, and desensitizing the sensitive information to obtain a desensitization result, wherein the sensitive information can comprise information related to user privacy such as identity card information, bank card numbers, home addresses and the like, the desensitization refers to shielding the sensitive information by other characters, and the desensitization result is used for representing whether the desensitization is successful or not; and updating the global page data according to the desensitization result, namely after the desensitization is successful, so as to obtain the merged data.
For example, assuming that the user enters the home page of the application program at eleven points, starts to perform operation recording at this time, synchronously acquires view data of the home page, enters the form filling page at eleven points in one-half, submits the form at eleven points in five-half, the first key value pair may be recorded as { key1, home page, eleven points }, and the second key value pair is { key2, form filling, eleven points in one-half }; { key3, form submission, eleven-point five-point }, merging to { key1, home page, eleven-point; key2, form filling, eleven points one minute; key3, form commit, eleven-point fifth }.
And if the user identity card needs to be desensitized, screening out an identity card field from the global page data, and replacing the identity card field by using an 'x' symbol.
The step of detecting the page operation of the application program to obtain operation page data comprises the following steps:
step S31, judging whether page operation behaviors of the application program occur or not by carrying out page behavior detection on the application program;
step S32, if page operation behavior occurs, the page change detection is performed on the application program, and whether the application program has a changed page is judged;
And step S33, if a change page exists, taking the page information of the change page as the operation page data.
As an example, step S31 to step S33 include: judging whether the application program generates page operation behaviors or not by detecting the page behaviors of the application program, wherein the page operation behaviors can comprise clicking operation buttons on a page, page jumping, closing the page, refreshing the page and the like; if the page operation behavior occurs, further detecting the page change of the application program, judging whether the application program has a changed page, and if the page operation behavior does not occur, namely the current page is in a static state, not needing to record the current page information; if the change page exists, the page information of the change page is used as the operation page data, and if the change page does not exist, namely, when the user executes the operation but the operation does not cause the page change, the current page information does not need to be recorded.
Wherein the step of recording the initial view data of the application program comprises:
step S21, acquiring an initial page of the application program, and carrying out page analysis on the initial page to obtain the style data and the element data;
And S22, carrying out data combination on the style data and the element data to obtain initial view data.
As an example, steps S21 to S22 include: acquiring an initial page of the application program, carrying out page analysis on the initial page to obtain interface style data and interface element data, and carrying out data combination on the interface style data and the interface element data to obtain initial view data; and acquiring the generation time corresponding to the initial view data, and taking the generation time as the initial timestamp.
According to the embodiment, only the interface style data and the interface element data are acquired, and the logic code part is not concerned, so that the embodiment is free from being constrained by service logic and needs to be frequently adapted, and even the embodiment can be arbitrarily transplanted to completely different service systems for use, and the adaptation degree of operation records is improved.
Wherein the step of generating the necessary operation data table based on each of the operation features includes:
step S11, determining a necessary index of each application operation based on each operation characteristic;
step S12, if it is detected that each of the necessary indexes reaches a preset necessary level, recording each of the application operations, and generating a necessary operation data set.
As an example, steps S11 to S12 include: acquiring operation characteristics of each application operation, and determining a necessary index of each application operation according to each operation characteristic, wherein the necessary index is used for representing the necessary degree of each application operation in the whole operation flow; if the necessity indexes reach the preset necessity level, recording each application operation, and generating a necessary operation data table, wherein the preset necessity level can be a level representing the necessity of each application operation, such as very necessary, generally necessary and unnecessary, and a user can select and record one or more application operations under the preset necessary level according to the actual application scene.
For example, taking an operation flow of a data collection function as an example, the operation flow is entering a form filling page, filling a form, submitting the form, wherein the form filling page comprises form filling, form editing, form adding and form saving, and the submitted form page only has a first page returning operation, namely, a user can perform operations such as form filling, form editing, form adding and form saving after entering the form filling page, the operations are operation features of an application operation such as entering the form filling page, but only has a first page returning operation in the submitted form, namely, each user can only click a first page returning button after submitting the form, so that the necessity of returning the first page operation is very necessary, and each operation step reaching a very necessary level is recorded.
The embodiment provides a recording method of triggering operation of an application program, which comprises the steps of firstly obtaining operation characteristics of each application operation of the application program, and generating a necessary operation data table based on each operation characteristic; if a request signal for recording triggering operation of an application program is received, recording initial view data of the application program, wherein the initial view data comprises style data and element data; performing page operation detection on the application program to obtain at least one operation page data, wherein the page operation detection comprises page behavior detection and page change detection; comparing the operation page data with the necessary operation data table to obtain a comparison result; based on the comparison result, merging the operation page data and the initial view data to obtain merged data; and translating the combined data to obtain operation record data corresponding to the request signal. The aim that the finally obtained target record information only comprises initial view data and record information during operation is achieved, a large amount of invalid information exists in operation record is further avoided through double detection of page operation behaviors and page changes, the effectiveness of the operation record data is improved, the volume of the operation record data can be effectively compressed based on a merging and translating processing mode, the technical defect that the volume of the operation record data is huge due to the fact that a large amount of invalid and repeated information is recorded in video is overcome, and the transmission efficiency of the operation record data is low is further caused.
In addition, an embodiment of the present application further provides a recording apparatus for triggering an application program, as shown in fig. 4, where the recording apparatus for triggering an application program includes:
a necessary operation data table generation module 10 for acquiring operation characteristics of each application operation of the application program and generating a necessary operation data table based on each of the operation characteristics;
a recording initial view data module 20, configured to record initial view data of an application program if a request signal for recording a triggering operation of the application program is received, where the initial view data includes style data and element data;
the page operation detection module 30 is configured to perform page operation detection on the application program to obtain at least one operation page data, where the page operation detection includes page behavior detection and page change detection;
a comparison module 40, configured to compare each operation page data with the necessary operation data table to obtain a comparison result;
the merging module 50 is configured to merge the operation page data and the initial view data based on the comparison result, so as to obtain merged data;
the translation module 60 is configured to translate the merged data to obtain operation record data corresponding to the request signal.
Optionally, the merging module 50 is further configured to:
if the comparison result shows that the operation page data exist in the necessary operation data table, aggregating the operation page data to generate aggregated data;
combining the aggregation data and the initial view data in a key value pair mode to obtain combined data;
if the comparison result is that the operation page data do not exist in the necessary operation data table, the operation page data and the initial view data are directly combined in a key value pair mode, and the combined data are obtained.
Optionally, the merging module 50 is further configured to:
recording the initial view data and the initial timestamp as a first key value pair;
recording the target data and the corresponding time stamp as a second key value pair; when detecting that each operation page data exists in the necessary operation data table, the target data is the aggregation data, and the time stamp is the aggregation time stamp; when detecting that each operation page data does not exist in the necessary operation data table, the target data is the operation page data, and the time stamp is the operation time stamp;
Combining the first key value pair and each second key value pair to obtain global page data;
screening sensitive information in the global page data, and desensitizing the sensitive information to obtain a desensitization result;
and updating the global page data according to the desensitization result to obtain the combined data.
Optionally, the page operation detection module 30 is further configured to:
judging whether page operation behaviors of the application program occur or not by carrying out page behavior detection on the application program;
if the page operation behavior occurs, detecting the page change of the application program, and judging whether the application program has a changed page or not;
and if the change page exists, taking the page information of the change page as the operation page data.
Optionally, the recording initial view data module 20 is further configured to:
acquiring an initial page of the application program, and carrying out page analysis on the initial page to obtain the style data and the element data;
and carrying out data combination on the style data and the element data to obtain the initial view data.
Optionally, the generating the necessary operation data table module 10 is further configured to:
Determining a necessary index for each of the application operations based on each of the operational characteristics;
if detecting that each necessary index reaches a preset necessary level, recording corresponding application operations, and generating the necessary operation data table.
The application triggering operation recording device provided by the application program solves the technical problem of low transmission efficiency of the current operation recording data by adopting the application program triggering operation recording method in the embodiment. Compared with the prior art, the beneficial effects of the recording device for triggering operation of the application program provided in the embodiment of the present application are the same as the beneficial effects of the recording method for triggering operation of the application program provided in the above embodiment, and other technical features in the recording device for triggering operation of the application program are the same as the features disclosed in the method of the above embodiment, which are not repeated herein.
The embodiment of the application provides electronic equipment, the electronic equipment includes: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the recording method of the application triggering operation in the first embodiment.
Referring now to fig. 5, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device may include a processing means (e.g., a central processing unit, a graphic processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage means into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM and RAM are connected to each other via a bus. An input/output (I/O) interface is also connected to the bus.
In general, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, etc.; storage devices including, for example, magnetic tape, hard disk, etc.; a communication device. The communication means may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While electronic devices having various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from ROM. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by a processing device.
The electronic equipment provided by the application program triggering operation recording method solves the technical problem that the transmission efficiency of the current operation recording data is low. Compared with the prior art, the electronic device provided by the embodiment of the present application has the same beneficial effects as the recording method of the triggering operation of the application provided by the above embodiment, and other technical features in the electronic device are the same as the features disclosed by the method of the above embodiment, which are not described herein in detail.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above-described embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
The present embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon for executing the recording method of the application triggering operation in the above-described embodiment one.
The computer readable storage medium provided by the embodiments of the present application may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The above-described computer-readable storage medium may be contained in an electronic device; or may exist alone without being assembled into an electronic device.
The computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: acquiring operation characteristics of each application operation of the application program, and generating a necessary operation data table based on each operation characteristic; if a request signal for recording triggering operation of an application program is received, recording initial view data of the application program, wherein the initial view data comprises style data and element data; performing page operation detection on the application program to obtain at least one operation page data, wherein the page operation detection comprises page behavior detection and page change detection; comparing the operation page data with the necessary operation data table to obtain a comparison result; based on the comparison result, merging the operation page data and the initial view data to obtain merged data; and translating the combined data to obtain operation record data corresponding to the request signal.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server or as a functional module or plug-in for a system. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The computer readable storage medium provided by the application program is stored with the computer readable program instructions for executing the recording method for triggering the operation of the application program, and the technical problem that the transmission efficiency of the current operation record data is low is solved. Compared with the prior art, the beneficial effects of the computer readable storage medium provided in the embodiment of the present application are the same as the beneficial effects of the recording method of the application triggering operation provided in the above embodiment, and are not described herein.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a recording method of an application triggering operation as described above.
The computer program product solves the technical problem that the transmission efficiency of the current operation record data is low. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as the beneficial effects of the recording method of the application triggering operation provided by the above embodiment, and are not described herein.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims.

Claims (7)

1. The recording method of the application program trigger operation is characterized by comprising the following steps:
acquiring operation characteristics of each application operation of the application program, and determining a necessary index of each application operation based on each operation characteristic;
if detecting that each necessary index reaches a preset necessary level, recording corresponding application operations to generate a necessary operation data table, wherein the necessary operation data table contains operation data which are corresponding to each application function and must be executed in the application program;
if a request signal for recording triggering operation of an application program is received, recording initial view data of the application program, wherein the initial view data comprises style data and element data;
performing page operation detection on the application program to obtain at least one operation page data, wherein the page operation detection comprises page behavior detection and page change detection;
Comparing the operation page data with the necessary operation data table to obtain a comparison result;
if the comparison result shows that the operation page data exist in the necessary operation data table, aggregating the operation page data to generate aggregated data;
combining the aggregation data and the initial view data in a key value pair mode to obtain combined data;
if the comparison result is that the operation page data do not exist in the necessary operation data table, directly combining the operation page data and the initial view data in a key value pair mode to obtain combined data;
and translating the combined data to obtain operation record data corresponding to the request signal.
2. The method for recording an application program trigger operation according to claim 1, wherein the aggregation data corresponds to an aggregation time stamp, the operation page data corresponds to an operation time stamp, the initial view data corresponds to an initial time stamp, and the step of merging in the form of a key value pair to obtain the merged data includes:
recording the initial view data and the initial timestamp as a first key value pair;
Recording the target data and the corresponding time stamp as a second key value pair; when detecting that each operation page data exists in the necessary operation data table, the target data is the aggregation data, and the time stamp is the aggregation time stamp; when detecting that each operation page data does not exist in the necessary operation data table, the target data is the operation page data, and the time stamp is the operation time stamp;
combining the first key value pair and each second key value pair to obtain global page data;
screening sensitive information in the global page data, and desensitizing the sensitive information to obtain a desensitization result;
and updating the global page data according to the desensitization result to obtain the combined data.
3. The method for recording an application trigger operation according to claim 1, wherein the step of performing page operation detection on the application to obtain operation page data comprises:
judging whether page operation behaviors of the application program occur or not by carrying out page behavior detection on the application program;
if the page operation behavior occurs, detecting the page change of the application program, and judging whether the application program has a changed page or not;
And if the change page exists, taking the page information of the change page as the operation page data.
4. The method of recording an application trigger operation according to claim 1, wherein the step of recording initial view data of the application includes:
acquiring an initial page of the application program, and carrying out page analysis on the initial page to obtain the style data and the element data;
and carrying out data combination on the style data and the element data to obtain the initial view data.
5. A recording apparatus of an application trigger operation, characterized in that the recording apparatus of an application trigger operation comprises:
a necessary operation data table generating module, configured to obtain operation characteristics of each application operation of the application program, and determine a necessary index of each application operation based on each operation characteristic;
if detecting that each necessary index reaches a preset necessary level, recording corresponding application operations to generate a necessary operation data table, wherein the necessary operation data table contains operation data which are corresponding to each application function and must be executed in the application program;
The system comprises a recording initial view data module, a recording control module and a recording control module, wherein the recording initial view data module is used for recording initial view data of an application program if a request signal for recording triggering operation of the application program is received, wherein the initial view data comprises style data and element data;
the page operation detection module is used for carrying out page operation detection on the application program to obtain at least one operation page data, wherein the page operation detection comprises page behavior detection and page change detection;
the comparison module is used for comparing the operation page data with the necessary operation data table to obtain a comparison result;
the merging module is used for aggregating the operation page data to generate aggregated data if the comparison result is that the operation page data exist in the necessary operation data table;
combining the aggregation data and the initial view data in a key value pair mode to obtain combined data;
if the comparison result is that the operation page data do not exist in the necessary operation data table, directly combining the operation page data and the initial view data in a key value pair mode to obtain combined data;
And the translation module is used for translating the combined data to obtain operation record data corresponding to the request signal.
6. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method of recording an application triggering operation of any one of claims 1 to 4.
7. A readable storage medium, wherein a program implementing a recording method of an application trigger operation is stored on the readable storage medium, the program implementing the recording method of an application trigger operation being executed by a processor to implement the steps of the recording method of an application trigger operation as set forth in any one of claims 1 to 4.
CN202310259844.7A 2023-03-17 2023-03-17 Recording method, device, equipment and storage medium for triggering operation of application program Active CN115982507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310259844.7A CN115982507B (en) 2023-03-17 2023-03-17 Recording method, device, equipment and storage medium for triggering operation of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310259844.7A CN115982507B (en) 2023-03-17 2023-03-17 Recording method, device, equipment and storage medium for triggering operation of application program

Publications (2)

Publication Number Publication Date
CN115982507A CN115982507A (en) 2023-04-18
CN115982507B true CN115982507B (en) 2023-06-16

Family

ID=85968482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310259844.7A Active CN115982507B (en) 2023-03-17 2023-03-17 Recording method, device, equipment and storage medium for triggering operation of application program

Country Status (1)

Country Link
CN (1) CN115982507B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254320A (en) * 2021-06-05 2021-08-13 深圳市金斧子网络科技有限公司 Method and device for recording user webpage operation behaviors
CN113342629A (en) * 2021-06-08 2021-09-03 微民保险代理有限公司 Operation track restoration method and device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160077744A1 (en) * 2014-09-11 2016-03-17 Netapp, Inc. Deferred reference count update technique for low overhead volume metadata
CN112445757A (en) * 2020-09-08 2021-03-05 微民保险代理有限公司 Visual log storage and backtracking method and device and computer equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254320A (en) * 2021-06-05 2021-08-13 深圳市金斧子网络科技有限公司 Method and device for recording user webpage operation behaviors
CN113342629A (en) * 2021-06-08 2021-09-03 微民保险代理有限公司 Operation track restoration method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN115982507A (en) 2023-04-18

Similar Documents

Publication Publication Date Title
US11588922B2 (en) Capturing and replaying application sessions using resource files
US8326922B2 (en) Method for server-side logging of client browser state through markup language
CN109408754B (en) Webpage operation data processing method and device, electronic equipment and storage medium
CN109446025B (en) Operation behavior playback method and device, electronic equipment and readable medium
US20160359989A1 (en) Recording And Triggering Web And Native Mobile Application Events With Mapped Data Fields
CN110097397B (en) Feedback-based information pushing method and device and electronic equipment
CN112684968A (en) Page display method and device, electronic equipment and computer readable medium
CN111045653A (en) System generation method and device, computer readable medium and electronic equipment
CN114692049A (en) Browser-based screen recording method and device, electronic equipment and storage medium
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN107426588B (en) Method, system and storage device for acquiring television set configuration information
CN113360947A (en) Data desensitization method and device, computer readable storage medium and electronic equipment
CN113688341B (en) Dynamic picture decomposition method and device, electronic equipment and readable storage medium
CN115904930A (en) End-user device testing of websites and applications
CN109492163B (en) List display recording method and device, terminal equipment and storage medium
US20170147159A1 (en) Capturing and storing dynamic page state data
US9104573B1 (en) Providing relevant diagnostic information using ontology rules
CN112817817A (en) Buried point information query method and device, computer equipment and storage medium
CN115982507B (en) Recording method, device, equipment and storage medium for triggering operation of application program
CN112527643A (en) Front-end error detection method and device, electronic equipment and readable storage medium
CN115665009B (en) DNS root server state monitoring method and device, electronic equipment and medium
CN110674426A (en) Webpage behavior reporting method and device
CN111767111B (en) Page data processing method and device, electronic equipment and storage medium
CN113282285A (en) Code compiling method and device, electronic equipment and storage medium
CN113419711A (en) Page guiding method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant