CN109783335B - User operation recording and restoring method, device and equipment and readable storage medium - Google Patents

User operation recording and restoring method, device and equipment and readable storage medium Download PDF

Info

Publication number
CN109783335B
CN109783335B CN201811540328.7A CN201811540328A CN109783335B CN 109783335 B CN109783335 B CN 109783335B CN 201811540328 A CN201811540328 A CN 201811540328A CN 109783335 B CN109783335 B CN 109783335B
Authority
CN
China
Prior art keywords
touch operation
user
data
acquiring
target data
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
CN201811540328.7A
Other languages
Chinese (zh)
Other versions
CN109783335A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811540328.7A priority Critical patent/CN109783335B/en
Publication of CN109783335A publication Critical patent/CN109783335A/en
Application granted granted Critical
Publication of CN109783335B publication Critical patent/CN109783335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, a device, equipment and a readable storage medium for recording and restoring user operation, wherein the method comprises the following steps: when touch operation is detected, acquiring operation information of the touch operation in real time; if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal state based on the operation information; and sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data. The invention solves the technical problems that in the prior art, when a developer restores the operation behavior of a user, the restoration efficiency is low and a large amount of manpower and material resources are consumed.

Description

User operation recording and restoring method, device and equipment and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for recording and restoring user operations.
Background
At present, various problems may be encountered during the application process of a user, and in order to locate a specific problem, necessary operation data of the user needs to be collected, and the operation behavior of the user needs to be truly restored.
In the prior art, network error code recording or communication with a user and other manners are often adopted to collect necessary operation data of the user, however, the network error code recording or communication with the user and other manners are adopted to collect the necessary operation data of the user, developers cannot easily obtain effective information, simulation cannot be performed, and a great deal of energy is consumed.
Disclosure of Invention
The invention mainly aims to provide a user operation recording and restoring method, a device, equipment and a readable storage medium, and aims to solve the technical problems that in the prior art, when a developer restores the operation behavior of a user, the restoring efficiency is low and a large amount of manpower and material resources are consumed.
In order to achieve the above object, the present invention provides a user operation recording and restoring method, where the user operation recording and restoring method is applied to a user side, and the user operation recording and restoring method includes:
when touch operation is detected, acquiring operation information of the touch operation in real time;
if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal moment based on the operation information;
and sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data.
Optionally, when a touch operation is detected, the step of obtaining operation information of the touch operation in real time includes:
when a touch operation is detected, acquiring the type of the touch operation to judge whether the type of the touch operation is a sensitive operation;
if the type of the touch operation is sensitive operation, filtering operation information of the sensitive operation;
and if the type of the touch operation is non-sensitive operation, acquiring operation information of the touch operation in real time.
Optionally, the obtaining the type of the touch operation when the touch operation is detected to determine whether the type of the touch operation is a sensitive operation step includes:
when touch operation is detected, acquiring the attribute of an operation area corresponding to the touch operation;
judging whether the touch operation occurs in an account area or a password area of the application based on the attribute of the operation area;
and if the touch operation occurs in the account number area or the password area of the application, determining that the type of the touch operation is a sensitive operation.
Optionally, the step of sending the target data to a server includes:
acquiring the current network state of the user side to judge whether the user side is in a non-WIFI state;
if the user side is in a non-WIFI state, acquiring the data volume of the target data;
and if the data volume of the target data is smaller than a first preset value, the target data is sent to a server side in the non-WIFI state.
Optionally, after the step of acquiring the target data recorded by the user side from the start of the detection of the touch operation to the current abnormal time, the method includes:
extracting abnormal touch operation information of the touch operation with preset times of before-inverse-before-abnormal application from the target data;
judging whether operation record data identical to the abnormal touch operation information is prestored in the user side;
if operation record data identical to the abnormal touch operation information are prestored, acquiring a data number of the operation record data, sending the data number to the server side, so that the server side can call prestored matching data identical to the data number according to the data number, and restoring user operation based on the matching data.
Optionally, the present invention further provides a method for restoring user operation recording, where the method for restoring user operation recording is applied to a server side, and the method for restoring user operation recording includes:
receiving a data number of the operation record data sent by the user side;
searching and obtaining matching data consistent with the data number from a pre-stored database;
and obtaining target restoration operation pointed by the matching data based on the matching data and the pointing relation between each item of data stored in a pre-stored database and the corresponding restoration operation, and taking the target restoration operation as a restoration processing result of user operation.
The invention also provides a user operation recording and restoring device, which is applied to a user side and comprises:
the first acquisition module is used for acquiring operation information of the touch operation in real time when the touch operation is detected;
the second obtaining module is used for obtaining target data recorded by the user side from the moment when the touch operation is detected to the current abnormal moment based on the operation information if the application corresponding to the touch operation is detected to be in the abnormal application state;
and the third acquisition module is used for sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data.
Optionally, when a touch operation is detected, the first obtaining module includes:
the first acquisition unit is used for acquiring the type of the touch operation when the touch operation is detected so as to judge whether the type of the touch operation is sensitive operation;
the filtering unit is used for filtering the operation information of the sensitive operation if the type of the touch operation is the sensitive operation;
and the second acquisition unit is used for acquiring the operation information of the touch operation in real time if the type of the touch operation is non-sensitive operation.
Optionally, the first obtaining unit includes:
the acquiring subunit is used for acquiring the attribute of an operation area corresponding to the touch operation when the touch operation is detected;
the judging subunit is configured to judge whether the touch operation occurs in the account area of the application or the password area of the application based on the attribute of the operation area;
and the judging subunit is used for determining that the type of the touch operation is a sensitive operation if the touch operation occurs in the account number area or the password area of the application.
Optionally, the third obtaining module includes:
a third obtaining unit, configured to obtain a current network state of the user side, so as to determine whether the user side is in a non-WIFI state;
a fourth obtaining unit, configured to obtain a data size of the target data if the user side is in a non-WIFI state;
and the sending unit is used for sending the target data to a server side in the non-WIFI state if the data volume of the target data is smaller than a first preset value.
Optionally, the recording and restoring apparatus operated by the user includes:
the extraction module is used for extracting abnormal touch operation information of touch operation of preset times before and after the application of the abnormal operation from the target data;
the second judgment module is used for judging whether the user side prestores operation record data which is the same as the abnormal touch operation information;
and the fourth obtaining unit is used for obtaining the data number of the operation record data if the operation record data which is the same as the abnormal touch operation information is prestored, sending the data number to the server side, calling the prestored matching data which is consistent with the data number by the server side according to the data number, and carrying out reduction processing on user operation based on the matching data.
The invention also provides a user operation recording and restoring device, which is applied to a server terminal and comprises:
the receiving module is used for receiving the data number of the operation record data sent by the user side;
the searching module is used for searching and obtaining matched data consistent with the data serial number from a pre-stored database;
and the processing module is used for obtaining the target restoration operation pointed by the matching data based on the matching data and the pointing relation between each item of data stored in a pre-stored database and the corresponding restoration operation, and taking the target restoration operation as the restoration processing result of the user operation.
In addition, in order to achieve the above object, the present invention further provides a user operation recording and restoring apparatus, including: a memory, a processor, a communication bus and a user operation recording and restoring program stored on the memory,
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for executing the user operation recording and restoring program to realize the following steps:
when touch operation is detected, acquiring operation information of the touch operation in real time;
if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal moment based on the operation information;
and sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data.
In addition, in order to achieve the above object, the present invention further provides another user-operated recording and restoring apparatus, including: a memory, a processor, a communication bus and a user operation recording and restoring program stored on the memory,
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for executing the user operation recording and restoring program to realize the following steps:
receiving a data number of the operation record data sent by the user side;
searching a prestored database to obtain matching data with the same serial number as the data;
and obtaining target restoration operation pointed by the matching data based on the matching data and the pointing relation between each item of data stored in a pre-stored database and the corresponding restoration operation, and taking the target restoration operation as a restoration processing result of user operation.
Further, to achieve the above object, the present invention also provides a readable storage medium storing one or more programs, the one or more programs being executable by one or more processors for:
when touch operation is detected, acquiring operation information of the touch operation in real time;
if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal state based on the operation information;
and sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data.
Further, to achieve the above object, the present invention also provides a readable storage medium storing one or more programs, the one or more programs being executable by one or more processors for:
receiving a data number of the operation record data sent by the user side;
searching and obtaining matching data consistent with the data number from a pre-stored database;
and obtaining target restoration operation pointed by the matching data based on the matching data and the pointing relation between each item of data stored in a pre-stored database and the corresponding restoration operation, and taking the target restoration operation as a restoration processing result of user operation.
According to the invention, when the touch operation is detected, the operation information of the touch operation is acquired in real time; if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal moment based on the operation information; and sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data. In this embodiment, as long as the touch operation is detected, that is, the operation information of the touch operation is obtained in real time, so that when it is detected that the application corresponding to the touch operation is in the application abnormal state, the target data recorded at the user side from the time when the touch operation is detected to the current abnormal time can be obtained based on the operation information, and after the target data is obtained, the simulation reduction processing can be performed according to the target data, but human communication or guessing is not required to perform the obtaining of the target data, so that the human physical resources are solved, and the reduction efficiency of the operation behavior of the user is improved.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of a user operation recording and restoring method according to the present invention;
FIG. 2 is a detailed flowchart of the step of obtaining operation information of a touch operation in real time when the touch operation is detected according to the present invention;
fig. 3 is a schematic device structure diagram of a hardware operating environment related to the method according to the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a user operation recording and restoring method, in a first embodiment of the user operation recording and restoring method of the invention, the user operation recording and restoring method is applied to a user side, and referring to fig. 1, the user operation recording and restoring method comprises the following steps:
step S10, when touch operation is detected, acquiring operation information of the touch operation in real time;
step S20, if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal moment based on the operation information;
and step S30, sending the target data to a server side for the server side to analyze the target data, and carrying out simulation reduction processing on the target data.
The method comprises the following specific steps:
step S10, when touch operation is detected, acquiring operation information of the touch operation in real time;
in this embodiment, each time a touch operation is detected on an application at a user side, acquiring operation information of the touch operation in real time, where the acquiring operation information of the touch operation in real time when the touch operation is detected includes: firstly, when a single-touch operation is detected, acquiring operation information of the single-touch operation, specifically, the operation information of the single-touch operation includes a coordinate position (x, y), a coordinate range, a coordinate area and the like of a touch screen made by the operation, such as sliding, clicking or touching, and the like, and the specific time of the operation is, for example, when the operation is performed for 12 points, 05 minutes and 5 seconds; when the touch operation is detected, the acquiring operation information of the touch operation in real time further includes: secondly, when continuous multi-touch operation is detected, operation information of the continuous multi-touch operation is acquired, wherein the operation information of the continuous multi-touch operation comprises time interval information of different single-touch operations and operation sequence information of the different single-touch operations, and the continuous multi-touch operation means that a time interval between the different touch operations is within a preset time period, wherein the preset time period means 5 minutes or longer. The operation information of the continuous multi-touch operation and the operation information of the single-touch operation constitute operation information.
In this embodiment, referring to fig. 2, the step of acquiring operation information of the touch operation in real time when the touch operation is detected includes:
step S11, when a touch operation is detected, acquiring the type of the touch operation to judge whether the type of the touch operation is a sensitive operation;
in this embodiment, when a touch operation is detected, the type of the touch operation is also acquired, and the type of the touch operation is not the operation such as sliding or clicking, but the type of the touch operation relates to the sensitivity of the touch operation, that is, whether the touch operation is sensitive or insensitive is judged, and the sensitive touch operation refers to the operation such as an account number or a password.
The step of acquiring the type of the touch operation when the touch operation is detected to judge whether the type of the touch operation is sensitive operation comprises the following steps:
step S111, when a touch operation is detected, acquiring an attribute of an operation area corresponding to the touch operation;
when the touch operation is detected, acquiring an attribute of an operation area corresponding to the touch operation, wherein the attribute of the operation area refers to a touch operation object area of the touch operation, such as whether the touch operation object is an operation account area or a password area, or whether the touch operation is a keyboard area or a non-keyboard area.
Step S112, judging whether the touch operation occurs in the account number area of the application or the password area of the application based on the attribute of the operation area;
step S113, if the touch operation occurs in the account area of the application or the password area of the application, determining that the type of the touch operation is a sensitive operation.
And judging whether the touch operation occurs in the account number area or the password area of the application or not based on the attribute of the operation area, and if the touch operation occurs in the account number area or the password area of the application, determining that the type of the touch operation is sensitive operation.
Another way of judging the touch operation as a sensitive operation is as follows: and judging whether the touch operation occurs in the soft keyboard area of the application or the soft keyboard area of the user side, and if the touch operation occurs in the soft keyboard area of the application or the soft keyboard area of the user side, determining that the type of the touch operation is sensitive operation. The software keyboard area of the application or the software keyboard area of the user side refers to a preset keyboard area which is started when the application or the user side detects that the information to be input is sensitive information.
Optionally, another way of determining that the touch operation is a sensitive operation may also be: and judging whether the touch operation input area detects the electronic privacy lock, and if the touch operation input area detects the electronic privacy lock, determining that the type of the touch operation is sensitive operation.
In particular, the slide operation is also one of the touch operations.
Step S12, if the type of the touch operation is sensitive operation, filtering operation information of the sensitive operation;
if the type of the touch operation is a sensitive operation, filtering operation information of the sensitive operation, wherein the filtering operation information of the sensitive operation is to avoid leakage of sensitive information of a user at a user end, and in addition, after the filtering operation information of the sensitive operation, for accurate restoration, obtaining pre-stored replacement information of the sensitive operation stored or applied at the user end, and replacing the sensitive information corresponding to the sensitive operation.
And S13, if the type of the touch operation is non-sensitive operation, acquiring operation information of the touch operation in real time.
And for the touch operation of the non-sensitive operation, acquiring the operation information of the touch operation in real time.
Step S20, if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal moment based on the operation information;
in this embodiment, if the application is normally used or an abnormal state does not occur in the whole use process, after the application is used, the operation information corresponding to the application used this time is deleted, so as to prevent the excessive operation information from occupying the memory of the user side, that is, in this embodiment, the operation information is in a cache state, if it is detected that the application corresponding to the touch operation is in an application abnormal state, target data recorded by the user side from the time when the touch operation is detected to the current abnormal time is obtained based on the operation information, where the target data is a set of operation information, which is described in a specific embodiment, when the mobile phone is turned on at point 3/10/month 30 and a good house application in the mobile phone is opened, the good house application in the mobile phone starts to detect the touch operation, and when the mobile phone is used at point 4/10/month 30 and a discontinuous situation (the discontinuous situation refers to the case where the good house application is not used for more than a certain time), the target data is all operation data of the user in the good house application from point 3/10/month 30 to point 4/10/month 30. If the mobile phone is not used all the time from 10 month 30 # 3 to 10 month 30 # 4, and a discontinuous situation occurs (for example, the mobile phone is not used for 20 minutes in half at 10 month 30 # 3, but is used only at 10 month 30 # 3 # 50), the target data is all the operation data of the user in the room-in application from 10 month 30 # 3 to 10 month 30 # 4.
And step S30, sending the target data to a server side for the server side to analyze the target data, and carrying out simulation reduction processing on the target data.
After obtaining the target data, sending the target data to a server so that the server can analyze the target data and perform simulation reduction processing on the target data, wherein sending the target data to the server further comprises: and acquiring and sending the target data to a server end by adopting different sending modes according to whether the current network state of the user end is a non-WIFI state or a WIFI state, so that the server end can analyze the target data and carry out simulation reduction processing on the target data. It should be noted that, since the target data is a set of collected real operation information, the server side can perform simulation reduction processing of operations after analyzing the target data, and the server needs to respond to the target data event to simulate reduction of a user operation when acquiring the target data, and needs to set a program segment in a built-in processor in advance, where the program segment represents processing logic for simulation reduction of the user operation, and the processing logic is configured to trigger the processor to respond to the target data event when detecting the target data event, so as to simulate reduction of the user operation based on the target data event.
The method comprises the steps of acquiring operation information of touch operation in real time when the touch operation is detected; if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal state based on the operation information; and sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data. In this embodiment, as long as the touch operation is detected, that is, the operation information of the touch operation is obtained in real time, so that when it is detected that the application corresponding to the touch operation is in the application abnormal state, the target data recorded at the user side from the time when the touch operation is detected to the current abnormal time can be obtained based on the operation information, and after the target data is obtained, the simulation reduction processing can be performed according to the target data, but human communication or guessing is not required to perform the obtaining of the target data, so that the human physical resources are solved, and the reduction efficiency of the operation behavior of the user is improved.
Further, the present invention provides another embodiment of the recording and restoring method operated by the user, in which the step of sending the target data to the server includes:
step S31, acquiring the current network state of the user side to judge whether the user side is in a non-WIFI state;
the current network state of the user side is obtained to judge whether the user side is in a non-WIFI state or a WIFI state or whether the user side is in a WIFI state or a mobile network state.
Step S32, if the user side is in a non-WIFI state, acquiring the data volume of the target data;
and S33, if the data volume of the target data is smaller than a first preset value, sending the target data to a server side in the non-WIFI state.
If the user side is in a non-WIFI state, acquiring the data volume of the target data, if the data volume of the target data is smaller than a first preset value, sending the target data to a server side in the non-WIFI state, and if the data volume of the target data is larger than or equal to the first preset value, sending the target data to the server side in the WIFI state. Therefore, the excess of the user side flow caused by sending the target data is avoided, namely in the embodiment, when the user operation is recorded and restored, the user side flow condition is also considered, and the user side experience is improved.
Further, the present invention provides another embodiment of a method for recording and restoring user operations, where in this embodiment, after the step of acquiring the target data recorded at the user end from the time when the touch operation is detected to the current abnormal time, the method includes:
step A1, extracting abnormal touch operation information of touch operation with preset times of before-inverse number of application abnormality from the target data;
in this embodiment, the abnormal touch operation information of the touch operation performed by the application of the preset number of times before the abnormality is applied is extracted from the target data, for example, the target data is the total operation data of the user in the good-room application from 10 month 30 # 3 to 10 month 30 # 4 (the application abnormality time point), and the total operation of the user in the good-room application is 102 times from 10 month 30 # 3 to 10 month 30 # 4. The abnormal touch operation information of the touch operation of the last preset number of times before the abnormality is applied may refer to abnormal touch operation information of the 98 th to 102 th touch operations from the last.
Step A2, judging whether operation record data which is the same as the abnormal touch operation information is prestored in a user side;
since the user side may store the operation log data with the same abnormal touch operation information before the shutdown and the restart, in this embodiment, it is further determined whether the user side stores the operation log data with the same abnormal touch operation information in advance. The purpose of the judgment is to reduce the recovery procedures for the repeated abnormal states so as to save resources.
And step A3, if operation record data identical to the abnormal touch operation information is prestored, acquiring a data number of the operation record data, and sending the data number to the server side, so that the server side can call prestored matching data consistent with the data number according to the data number, and restore user operation based on the matching data.
If the operation record data identical to the abnormal touch operation information is prestored in the local terminal, acquiring a data number of the operation record data, and sending the data number to the server terminal, so that the server terminal can call prestored matching data consistent with the data number according to the data number, and perform restoration processing of user operation based on the matching data, that is, in this embodiment, if there is a recorded abnormal state, directly returning to the restoration processing according to a prestored solution of the recorded abnormal state, so as to reduce the matching comparison flow.
In this embodiment, by extracting, from the target data, abnormal touch operation information of the touch operation applied with a preset number of times of before-abnormal reciprocal counting; judging whether operation record data identical to the abnormal touch operation information is prestored in the user side; if operation record data identical to the abnormal touch operation information is prestored, the data number of the operation record data is obtained, the data number is sent to the server side, the server side calls prestored matching data consistent with the data number according to the data number, and restoration processing of user operation is carried out based on the matching data.
Further, the present invention provides another embodiment of the recording and reproducing method operated by the user, in which,
the user operation recording and restoring method is applied to a server side, and comprises the following steps:
step B1, receiving a data number of operation record data sent by the user side;
and receiving the data number of the operation record data sent by the user side, wherein the data number can be 1,2 or in the form of I, II and the like.
B2, searching and obtaining matched data consistent with the data number from a pre-stored database;
after the data numbers are obtained, the matching data consistent with the data numbers are searched and obtained from a pre-stored database, the consistent data numbers can refer to the same numbers, and the matching data consistent with the data numbers can also refer to the matching data obtained by matching according to the preset number mapping relation.
And B3, obtaining target restoration operation pointed by the matching data based on the matching data and the pointing relation between each item of data stored in a pre-stored database and the corresponding restoration operation, and taking the target restoration operation as a restoration processing result of user operation.
After the matching data is obtained, target restoring operation pointed by the matching data is obtained based on the matching data and the pointing relation between each item of data stored in a pre-stored database and the corresponding restoring operation, for example, the matching data is data I, the restoring operation pointed by the data I stored in the pre-stored database is that firstly, A click operation is carried out and then B sliding operation is carried out, then, the target restoring operation pointed by the matching data is determined to be the A click operation and then the B sliding operation is carried out, and the B sliding operation is carried out after the A click operation as a restoring processing result of user operation.
In this embodiment, the data number of the operation record data sent by the user side is received; searching a prestored database to obtain matching data with the same serial number as the data; and obtaining target restoration operation pointed by the matching data based on the matching data and the pointing relation between each item of data stored in a pre-stored database and the corresponding restoration operation, and taking the target restoration operation as a restoration processing result of user operation. In this embodiment, the success rate and efficiency of the reduction user operation at the server side are improved.
Further, the invention provides a system for recording and restoring user operation, which comprises a user side and a server side, wherein the user side realizes the following method:
when touch operation is detected, acquiring operation information of the touch operation in real time;
if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal state based on the operation information;
and sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data.
The server side realizes the following method:
receiving a data number of the operation record data sent by the user side;
searching and obtaining matching data consistent with the data number from a pre-stored database;
and obtaining target restoration operation pointed by the matching data based on the matching data and the pointing relation between each item of data stored in a pre-stored database and the corresponding restoration operation, and taking the target restoration operation as a restoration processing result of user operation.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The user operation recording and restoring device in the embodiment of the invention can be a PC, and also can be a terminal device such as a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, motion Picture Experts compression Standard Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression Standard Audio Layer 3) player, a portable computer and the like.
As shown in fig. 3, the user operating the recording and reproducing apparatus may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Optionally, the user-operated recording and reproducing device may further include a target user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. The target user interface may comprise a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional target user interface may also comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Those skilled in the art will appreciate that the configuration of the user-operated recording and reproducing apparatus shown in fig. 3 is not intended to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 3, a memory 1005, which is a kind of computer storage medium, may include an operating system, a network communication module, and a user-operated recording and reproducing program. The operating system is a program for managing and controlling hardware and software resources of the recording and restoring equipment operated by the user, and supports the operation of the recording and restoring program operated by the user and other software and/or programs. The network communication module is used for realizing communication among the components in the memory 1005 and communication with other hardware and software in the recording and reproducing device operated by the user.
In the user operation recording and restoring apparatus shown in fig. 3, the processor 1001 is configured to execute a user operation recording and restoring program stored in the memory 1005, and implement the steps of the user operation recording and restoring method described in any one of the above.
The specific implementation of the user operation recording and restoring device of the present invention is basically the same as the embodiments of the user operation recording and restoring method, and is not described herein again.
The invention also provides a user operation recording and restoring device, which comprises:
the first acquisition module is used for acquiring operation information of the touch operation in real time when the touch operation is detected;
the second obtaining module is used for obtaining target data recorded by the user side from the moment when the touch operation is detected to the current abnormal moment based on the operation information if the application corresponding to the touch operation is detected to be in the abnormal application state;
and the third acquisition module is used for sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data.
The specific implementation of the recording and restoring device for user operation of the present invention is substantially the same as that of the above-mentioned embodiments of the recording and restoring method for user operation, and is not described herein again.
The invention also provides a user operation recording and restoring device, which comprises:
the receiving module is used for receiving the data number of the operation record data sent by the user side;
the searching module is used for searching a prestored database to obtain matching data consistent with the data serial number;
and the processing module is used for obtaining the target restoration operation pointed by the matching data based on the matching data and the pointing relation between each item of data stored in a pre-stored database and the corresponding restoration operation, and taking the target restoration operation as the restoration processing result of the user operation.
The specific implementation of the user operation recording and restoring device of the present invention is basically the same as the embodiments of the user operation recording and restoring method, and is not described herein again.
The invention provides a readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to realize the steps of the user operation recording and restoring method.
The specific implementation of the readable storage medium of the present invention is substantially the same as the embodiments of the user operation recording and restoring method, and is not described herein again.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. A user operation recording and restoring method is characterized in that the user operation recording and restoring method is applied to a user side, and comprises the following steps:
when touch operation is detected, acquiring operation information of the touch operation in real time;
if the application corresponding to the touch operation is detected to be in an application abnormal state, acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal state based on the operation information;
sending the target data to a server side so that the server side can analyze the target data and carry out simulation reduction processing on the target data;
the step of acquiring the operation information of the touch operation in real time when the touch operation is detected comprises the following steps:
when touch operation is detected, acquiring the type of the touch operation to judge whether the type of the touch operation is sensitive operation;
if the type of the touch operation is sensitive operation, filtering operation information of the sensitive operation;
if the type of the touch operation is non-sensitive operation, acquiring operation information of the touch operation in real time;
after filtering the operation information of the sensitive operation, acquiring prestored substitute information of the sensitive operation, which is stored at a user terminal or applied, and substituting the sensitive information corresponding to the sensitive operation, wherein in the process of substituting the sensitive information, substitution is performed according to the attribute of a sensitive operation area;
the step of acquiring the target data recorded by the user side from the beginning of the detection of the touch operation to the current abnormal moment comprises the following steps:
extracting abnormal touch operation information of touch operation performed by the application of preset times of before and after abnormal operation from the target data;
judging whether operation record data identical to the abnormal touch operation information is prestored in the user side;
if operation record data identical to the abnormal touch operation information is prestored, acquiring a data number of the operation record data, and sending the data number to the server side so that the server side can call prestored matching data identical to the data number according to the data number and restore user operation based on the matching data, wherein the data numbers are identical or matched according to a preset number mapping relation to obtain the matching data.
2. The method for recording and restoring user operations according to claim 1, wherein the step of acquiring the type of the touch operation when the touch operation is detected to determine whether the type of the touch operation is a sensitive operation comprises:
when touch operation is detected, acquiring the attribute of an operation area corresponding to the touch operation;
judging whether the touch operation occurs in an account area or a password area of the application based on the attribute of the operation area;
and if the touch operation occurs in the account number area or the password area of the application, determining that the type of the touch operation is a sensitive operation.
3. The method for user operation recording and recovery according to claim 1, wherein the step of sending the target data to a server side comprises:
acquiring the current network state of the user side to judge whether the user side is in a non-WIFI state;
if the user side is in a non-WIFI state, acquiring the data volume of the target data;
and if the data volume of the target data is smaller than a first preset value, the target data is sent to a server side in the non-WIFI state.
4. A user operation recording and restoring device is characterized in that the user operation recording and restoring device is applied to a user side, and comprises:
the first acquisition module is used for acquiring operation information of the touch operation in real time when the touch operation is detected;
the second acquisition module is used for acquiring target data recorded by the user side from the moment when the touch operation is detected to the current abnormal moment based on the operation information if the application corresponding to the touch operation is detected to be in the abnormal application state;
a third obtaining module, configured to send the target data to a server, so that the server analyzes the target data and performs simulation reduction processing on the target data,
the user operation recording and restoring device is also used for realizing that:
when a touch operation is detected, acquiring the type of the touch operation to judge whether the type of the touch operation is a sensitive operation;
if the type of the touch operation is sensitive operation, filtering operation information of the sensitive operation;
if the type of the touch operation is non-sensitive operation, acquiring operation information of the touch operation in real time;
after the operation information of the sensitive operation is filtered, acquiring prestored substitute information of the sensitive operation, which is stored at a user side or applied, and substituting the sensitive information corresponding to the sensitive operation, wherein in the sensitive information substitution process, substitution is carried out according to the attribute of a sensitive operation area;
the user operation recording and restoring device is also used for:
extracting abnormal touch operation information of touch operation performed by the application of preset times of before and after abnormal operation from the target data;
judging whether operation record data identical to the abnormal touch operation information is prestored in the user side;
if operation record data identical to the abnormal touch operation information is prestored, acquiring a data number of the operation record data, and sending the data number to the server side so that the server side can call prestored matching data identical to the data number according to the data number and restore user operation based on the matching data, wherein the data numbers are identical or matched according to a preset number mapping relation to obtain the matching data.
5. A user-operated recording and reproducing apparatus, the user-operated recording and reproducing apparatus comprising: a memory, a processor, a communication bus and a user operation recording and restoring program stored on the memory,
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for executing the user operation recording and restoring program to realize the steps of the user operation recording and restoring method according to any one of claims 1 to 3.
6. A readable storage medium, having a user-operated recording and restoring program stored thereon, wherein the user-operated recording and restoring program, when executed by a processor, implements the steps of the user-operated recording and restoring method according to any one of claims 1 to 3.
CN201811540328.7A 2018-12-14 2018-12-14 User operation recording and restoring method, device and equipment and readable storage medium Active CN109783335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811540328.7A CN109783335B (en) 2018-12-14 2018-12-14 User operation recording and restoring method, device and equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811540328.7A CN109783335B (en) 2018-12-14 2018-12-14 User operation recording and restoring method, device and equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109783335A CN109783335A (en) 2019-05-21
CN109783335B true CN109783335B (en) 2023-01-10

Family

ID=66497197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811540328.7A Active CN109783335B (en) 2018-12-14 2018-12-14 User operation recording and restoring method, device and equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109783335B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209557B (en) * 2019-03-16 2022-05-17 平安科技(深圳)有限公司 User operation recording and restoring method, device and equipment and readable storage medium
CN110830651B (en) * 2019-11-04 2024-02-13 深圳传音控股股份有限公司 Terminal control method, terminal device and storage medium
CN112039971B (en) * 2020-08-26 2023-11-24 蚂蚁胜信(上海)信息技术有限公司 Data recording method and device, and data storage method and device
CN112817790A (en) * 2021-03-02 2021-05-18 腾讯音乐娱乐科技(深圳)有限公司 Method for simulating user behavior

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886015A (en) * 2014-02-20 2014-06-25 新浪网技术(中国)有限公司 Web server and page error feedback method based on webpage application
CN105320572A (en) * 2014-06-27 2016-02-10 腾讯科技(深圳)有限公司 Browser abnormity processing method, device and system
CN106326025A (en) * 2016-08-23 2017-01-11 乐视控股(北京)有限公司 Method and device for processing abnormality of browser
CN107870725A (en) * 2017-11-30 2018-04-03 广东欧珀移动通信有限公司 Record screen method, apparatus and terminal
CN108268364A (en) * 2018-01-19 2018-07-10 百度在线网络技术(北京)有限公司 Anomalous event back method, device and equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107317931A (en) * 2017-06-28 2017-11-03 深圳市金立通信设备有限公司 A kind of information processing method, terminal and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886015A (en) * 2014-02-20 2014-06-25 新浪网技术(中国)有限公司 Web server and page error feedback method based on webpage application
CN105320572A (en) * 2014-06-27 2016-02-10 腾讯科技(深圳)有限公司 Browser abnormity processing method, device and system
CN106326025A (en) * 2016-08-23 2017-01-11 乐视控股(北京)有限公司 Method and device for processing abnormality of browser
CN107870725A (en) * 2017-11-30 2018-04-03 广东欧珀移动通信有限公司 Record screen method, apparatus and terminal
CN108268364A (en) * 2018-01-19 2018-07-10 百度在线网络技术(北京)有限公司 Anomalous event back method, device and equipment

Also Published As

Publication number Publication date
CN109783335A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN109783335B (en) User operation recording and restoring method, device and equipment and readable storage medium
CN108021259B (en) False touch prevention method and electronic equipment
US9367403B2 (en) Terminal and application restoring method
CN111176960B (en) User operation behavior tracking method, device, equipment and storage medium
CN107193598B (en) Application starting method, mobile terminal and computer readable storage medium
CN106227585B (en) Application program starting method, device and equipment
CN112148579B (en) User interface testing method and device
CN107066188B (en) A kind of method and terminal sending screenshot picture
CN110222263B (en) Application program maintenance control method, device, server, terminal and storage medium
US20090228873A1 (en) Display breakpointing based on user interface events
CN109814801A (en) Using login method, device, terminal and storage medium
CN107800757B (en) User behavior recording method and device
CN106326713A (en) Unlocking method for screen of mobile terminal and mobile terminal
CN104572348A (en) Terminal
CN104035715A (en) Touch-screen based terminal control method and system
US8320838B2 (en) Host-mobile trace synchronization and comparison
CN110168566A (en) A kind of method and terminal identifying screenshot text
CN110209557A (en) User's operation records restoring method, device, equipment and readable storage medium storing program for executing
CN105512552B (en) Parameter detection method and device
CN106445319B (en) A kind of file location method and terminal
CN106034150B (en) Application program dynamic pushing method, device and system
CN115600199A (en) Security assessment method and device, electronic equipment and computer readable storage medium
CN104572349A (en) Data backup method
CN110709822A (en) Fault processing method of terminal equipment and terminal equipment
CN106940609A (en) A kind of user interface control method and terminal

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