CN107153599B - Method and equipment for recording and playing back user operation - Google Patents
Method and equipment for recording and playing back user operation Download PDFInfo
- Publication number
- CN107153599B CN107153599B CN201710448857.3A CN201710448857A CN107153599B CN 107153599 B CN107153599 B CN 107153599B CN 201710448857 A CN201710448857 A CN 201710448857A CN 107153599 B CN107153599 B CN 107153599B
- Authority
- CN
- China
- Prior art keywords
- user
- json
- json statement
- statement
- server
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000009877 rendering Methods 0.000 claims abstract description 5
- 238000003860 storage Methods 0.000 claims description 35
- 230000004044 response Effects 0.000 claims description 9
- 238000012790 confirmation Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 20
- 238000012545 processing Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 10
- 238000004590 computer program Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 239000000835 fiber Substances 0.000 description 2
- 230000001902 propagating effect Effects 0.000 description 2
- 241000256844 Apis mellifera Species 0.000 description 1
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004080 punching Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Embodiments of the present disclosure relate to methods and apparatuses for recording and playing back user operations. The method for recording the user operation comprises the following steps: receiving an operation request aiming at a user interface, responding to the operation request, and acquiring a first JSON statement corresponding to the operation request; and sending a first message to the server to instruct the server to store the first JSON statement, the first message containing the first JSON statement. Further, the method of playing back the user operation includes: acquiring a first type JSON statement and a second type JSON statement; rendering a user interface based on the first type of JSON statement; and simulating the user operation based on the second type JSON statement.
Description
Technical Field
Embodiments of the present disclosure relate to the field of mobile information processing, and more particularly, to a method and apparatus for recording and playing back user operations.
Copyright declaration
The disclosure of this patent document contains material which is subject to copyright protection. The copyright is owned by the copyright owner. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the patent and trademark office official records and records.
Background
With the rapid development of mobile internet, user experience becomes one of the most user-concerned aspects of mobile applications. It is a conventional approach to collect user actions for analysis to help improve the user experience. The conventional method for collecting user operations is to create a tool class, encapsulate the recorded related request operations, and the service party uses the tool class to record on the service interface needing dotting, and such a method is generally called as a "dotting" technology.
The "dotting" technique may be, for example, by sending an http request when the user clicks, double-clicks, or slides the interface, however, this approach does not know what the user is currently operating, and requires specialized personnel to interpret. In addition, with the rapid development of services such as internet finance, some disputes based on mobile applications are also frequently generated. Therefore, how to objectively record the user's operation on the mobile application becomes a focus of attention.
Disclosure of Invention
Embodiments of the present disclosure provide a scheme for recording user operations and playing back user operations.
According to a first aspect of the present disclosure, a method of recording user operations is presented. The method comprises the following steps: receiving an operation request aiming at a user interface, responding to the operation request, and acquiring a first JSON statement corresponding to the operation request; and sending a first message to the server to instruct the server to store the first JSON statement, the first message containing the first JSON statement.
According to a second aspect of the present disclosure, a method of playing back a user operation is presented. The method comprises the following steps: acquiring a first type JSON statement and a second type JSON statement; rendering a user interface based on the first type of JSON statement; and simulating the user operation based on the second type JSON statement.
According to a third aspect of the present disclosure, an apparatus for recording a user operation is presented. The apparatus comprises: a processor; a memory coupled to the processor and storing instructions that, when executed by the processor, cause the processor to: receiving an operation request aiming at a user interface, responding to the operation request, and acquiring a first JSON statement corresponding to the operation request; and sending a first message to the server to instruct the server to store the first JSON statement, the first message containing the first JSON statement.
According to a fourth aspect of the present disclosure, a device for playback of user operations is presented. The apparatus comprises: a processor; a memory coupled to the processor and storing instructions that, when executed by the processor, cause the processor to: acquiring a first type JSON statement and a second type JSON statement; rendering a user interface based on the first type of JSON statement; and simulating the user operation based on the second type JSON statement.
In a fifth aspect of the disclosure, a computer-readable storage medium is provided. The computer readable storage medium has computer readable program instructions stored thereon which, when executed by a processing unit, cause the processing unit to implement any of the steps of the methods described according to the first and second aspects of the disclosure.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the disclosure, nor is it intended to be used to limit the scope of the disclosure.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following more particular descriptions of exemplary embodiments of the disclosure as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the disclosure.
FIG. 1 shows a schematic diagram of a record and playback user operating system architecture;
FIG. 2 shows a flow diagram of a method of recording user operations according to an embodiment of the present disclosure;
FIG. 3 shows a schematic diagram of an example user interface, according to an embodiment of the present disclosure;
FIG. 4 illustrates a flow chart of a method of updating a user interface according to an embodiment of the present disclosure;
FIG. 5 shows a schematic diagram of an updated example user interface, according to an embodiment of the present disclosure;
FIG. 6 illustrates a flow chart of a method of playing back user operations according to the present disclosure; and
FIG. 7 shows a schematic block diagram of an example device that may be used to implement embodiments of the present disclosure.
Detailed Description
Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The term "include" and variations thereof as used herein is meant to be inclusive in an open-ended manner, i.e., "including but not limited to". Unless specifically stated otherwise, the term "or" means "and/or". The term "based on" means "based at least in part on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first," "second," and the like may refer to different or the same object. Other explicit and implicit definitions are also possible below.
As described above, conventional operation recording technologies (such as "dotting" technologies) typically issue one http request when a user operates an interface (such as clicking, double clicking, dragging, sliding, etc.), and a tester manually analyzes the received http requests to understand the operations of the user. However, such techniques cannot prove the content of the page currently operated by the user, and a business party may change the page later. For example, when a user clicks to confirm a certain protocol, if only the confirmation operation of the user is recorded, the specific content of the protocol confirmed by the user at that time may not be confirmed when a subsequent dispute occurs. Furthermore, the card punching technology also fails to provide efficient playback.
To address, at least in part, the above problems, and other potential problems, embodiments of the present disclosure provide a solution for recording and playing back user operations. In the scheme, all interfaces and operation contents of the mobile application are described by JSON statements, and when an operation request of a user for a user interface is received, the JSON statements corresponding to the operation request and/or the JSON statements corresponding to the current interface can be sent to a server and encrypted for storage. In addition, the interface can be re-rendered and the user operation can be simulated based on the encrypted and stored JSON statement so as to realize the playback of the user operation. JSON (JSON Object notification, JS Object markup) is a lightweight data exchange format. It stores and represents data in a text format that is completely independent of the programming language, based on a subset of ECMAScript (the js specification specified by w3 c). The compact and clear hierarchy makes JSON an ideal data exchange language. The network transmission method is easy to read and write by people, is easy to analyze and generate by machines, and effectively improves the network transmission efficiency.
Based on the mode, the recorded content does not need to be read by professional personnel any more, can be directly played back, and is simpler and more intuitive compared with a dotting technology; the user operation interface can be recorded, so that the user real-time operation content is proved, and the stored data volume is greatly reduced compared with screen video recording software; in addition, the content of the user operation can be stored encrypted in a structure such as a blockchain, and the data cannot be tampered to provide a more reliable operation record.
Fig. 1 shows a schematic diagram of a system architecture 100 for recording and playback of user operations. It should be understood that the structure and function of the system architecture 100 as shown in FIG. 1 are for illustration purposes only and do not imply any limitation as to the scope of the present disclosure. Embodiments of the present disclosure may be embodied in different structures and/or functions.
As shown in fig. 1, the system architecture 100 may include a user-operable client 102. In some embodiments, the client 102 may comprise a mobile client, such as a telephone, a mobile telephone, a pager, a laptop computer, a palmtop computer, a PDA (personal digital Assistant), or the like. In some embodiments, the client 102 may also include a laptop, desktop, kiosk, or the like. The client 102 may be configured to provide a user interface to a user, receive user operations on the user interface, communicate with a server to send corresponding user operation requests, communicate with the server to receive data from the server, and so on.
The system architecture 100 may also include a server 104. The server 104 may be configured to receive user operation requests from clients, provide data to clients in response to user operation requests, store user operation requests, and the like. Additionally, the system architecture 100 may also include a storage device 106. The storage device 106 may be configured to store operation request information from a user of the client. In some embodiments, storage device 106 may be a storage device disposed locally to the server, a remote storage device disposed remotely from the server, or a distributed storage, etc. In some embodiments, storage device 106 may also be cloud storage or blockchain storage.
A method of recording user operations according to the present disclosure will be described below with reference to fig. 2-3. Fig. 2 shows a flowchart of a method 200 of recording user operations according to an embodiment of the present disclosure, and fig. 3 shows a schematic diagram of an example user interface 300 according to an embodiment of the present disclosure.
In block 202, the client 102 receives a user request for an operation of a user interface. The operation request includes but is not limited to clicking, double clicking, dragging, sliding, touching and the like of the user interface. For example, in the user interface 300 shown in fig. 3, the client may receive a user's click operation on the login button 302 and the registration button 304.
In particular, in some embodiments, JSON statements may be used to describe the user interface and the data that needs to be transferred in response to a user operation. In which the display portion of the interface 300 (such as the login button 302 and the registration button 304) can be described based on JSON statements, and at the same time, the response to the user operation can also be described based on JSON statements. Such a development framework provides a basis for the secure and efficient recording and playback of user operations, as will be explained in more detail below. For convenience of description, the user clicking the login button 302 will be taken as an example herein.
In block 204, the client 102 obtains a first JSON statement corresponding to the user operation. Specifically, in the example shown in FIG. 3, based on the JSON development framework described above, the client 102 can obtain that the first JSON statement corresponding to clicking the login button 302 is click: { commands [ ' present ' + path + ' logic.
In block 206, the client sends a first message corresponding to the user operation to the server. In particular, in some embodiments, the client 102 may encapsulate the first JSON statement into an http message for sending to the server 104, and the server 104 will extract and store the first JSON statement in the storage device 106 in response to receiving the first message.
In some embodiments, the first message may also include identifier information of the user. In some embodiments, the identifier information for the user may include physical address information (such as an IMME number and MAC address, etc.) for the client 104. Specifically, the user identifier information may include browser information, operating system information, an advertisement Identifier (IDFA), a VENDO Identifier (IDFV), and the like of the client. In some embodiments, the identifier information of the user may further include biometric information of the user, such as fingerprint information, iris information, face information, and voice information.
These user identifiers are used to uniquely identify the user devices and may be piggybacked in the first information. In some embodiments, the user identifier information may be encapsulated in the header of the http message. The user identifier information will also be extracted by server 104 and stored in storage device 106 along with the first JSON statement.
In addition, in some embodiments, in response to the user operation request, the client 102 may further obtain a second JSON statement corresponding to the current interface and send the second JSON statement to the server 104 for storage. Specifically, in block 208, the client 102 obtains a second JSON statement corresponding to the user interface. Taking the user interface 300 shown in fig. 3 as an example, the user can obtain all JSON statements (i.e., the second JSON statement) corresponding to the current interface.
In block 210, the client sends a second message corresponding to the user interface to the server. In particular, in some embodiments, the client 102 may encapsulate the second JSON statement into an http message for sending to the server 104, and the server 104 will extract and store the second JSON statement in the storage device 106 in response to receiving the second message.
By storing the JSON statement corresponding to the current interface, the situation that the specific page corresponding to the user record operation cannot be confirmed can be effectively avoided. For example, when a user clicks to determine a specific agreement provided by a service provider, the user often does not store the specific content of the agreement at that time, and when a subsequent dispute needs to determine the content of the agreement, it cannot be guaranteed whether the agreement is modified by the service provider. On the contrary, by the method disclosed by the invention, the JSON statement of the interface corresponding to the user operation is also sent to the server for encrypted storage, so that the problem can be effectively avoided.
In addition, information received by the client 102 from the server 104 will also be saved as part of the playback user operation. In particular, fig. 4 shows a flow diagram of a method 400 of updating a user interface according to an embodiment of the present disclosure, and fig. 5 shows a schematic diagram of an updated example user interface 500 according to an embodiment of the present disclosure. Still taking the example shown in fig. 3 as an example, when the user clicks the login button 302, a first message and/or a second message is sent to the server, which may provide the login interface 500 based on the messages.
Specifically, at block 402, the client 102 receives a message (referred to as a "third message" for ease of description) from the server 104 to update the user interface. Specifically, in some embodiments, the server 104 may send a JSON statement (referred to as a "third JSON statement" for convenience of description) corresponding to the new user interface through an http message.
At block 404, the client 102 retrieves a third JSON statement. In particular, in some embodiments, the client 102 may extract the third JSON statement from an http message sent by the server 104. In block 406, to ensure the integrity of the stored information for subsequent playback functions, the client 102 may also send a fourth message to the server to instruct the server 104 to store the third JSON statement. In particular, in some embodiments, the client 102 may encapsulate the third JSON statement into an http message for sending to the server 104, and the server 104 will extract and store the fourth JSON statement in the storage device 106 in response to receiving the fourth message.
Based on the above approach, a first JSON statement reflecting a user operation, a second JSON statement reflecting an interface targeted by the user operation, and a third JSON statement corresponding to an updated interface received from the server may all be intercepted at the client 102 and sent to the server 104 for encrypted storage. In particular, example code implementing interception at the client 102 is as follows.
In some embodiments, the first JSON statement, the user identifier, the second JSON statement, and/or the third JSON statement may be encrypted in a chain of memory blocks. A blockchain is a distributed storage structure that verifies and stores data based on a blockchain data structure, generates and updates data using a distributed node consensus algorithm, cryptographically secures data transmission and access, and programs and manipulates data using smart contracts composed of automated script code, thus ensuring non-tampering of data stored therein, thereby making stored data more trustworthy. Specifically, multiple JSON statements sent by a client may be stored in a blockchain using an intelligent contract for ethernet.
Based on the above method of recording user operations, a method of playing back user operations is also presented herein. As shown in fig. 6, fig. 6 illustrates a flow chart of a method 600 of playing back user operations according to the present disclosure.
At block 602, the client 102 may obtain a first type JSON statement and a second type JSON statement, where the first type JSON statement is the JSON statement corresponding to the user interface, and specifically, the first type JSON statement may be the stored second JSON statement and the stored third JSON statement. Taking the interface 300 and the click on login button 302 shown in fig. 3 as examples, the client may receive the first type JSON statement corresponding to the interface 300, the second type JSON statement corresponding to the click on login button 302 by the user, and the first type JSON statement for updating the page to the login page 500.
At block 604, the client 102 may render a user interface based on the retrieved JSON statement of the first type. At block 606, the client 102 may simulate a user operation based on the retrieved JSON statement of the second type. Specifically. The client 102 may render the user interface 300 according to the second JSON statement corresponding to the interface 300, simulate the operation of the user based on the first JSON statement corresponding to clicking the login button 302, and render the login interface 500 based on the third JSON statement corresponding to the login interface 500. Therefore, the playback of user operation is realized, and compared with screen recording, the mode can greatly reduce the storage capacity so as to improve the efficiency of the system.
Fig. 7 illustrates a schematic block diagram of an example device 700 that may be used to implement embodiments of the present disclosure. For example, the client 102 as shown in FIG. 1 may be implemented by the device 700. As shown, device 700 includes a Central Processing Unit (CPU)701 that may perform various appropriate actions and processes in accordance with computer program instructions stored in a Read Only Memory (ROM)702 or computer program instructions loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The various processes and processes described above, such as method 200 and/or method 600, may be performed by processing unit 701. For example, in some embodiments, method 200 and/or method 400 may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM 702 and/or communications unit 709. When loaded into RAM 703 and executed by CPU 701, may perform one or more of the acts of method 200 and/or method 600 described above.
The present disclosure may be methods, apparatus, systems, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for carrying out various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions 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. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart 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 disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (15)
1. A method of recording user operations:
an operation request for a user interface is received,
responding to the operation request, and acquiring a first JSON statement corresponding to the operation request;
responding to the operation request, and acquiring a second JSON statement corresponding to the user interface;
sending a first message to a server to instruct the server to store the first JSON statement, wherein the first message contains the first JSON statement, and the first message further comprises the JSON statement corresponding to the user interface; and
sending a second message to the server to instruct the server to store the second JSON statement, the second message containing the second JSON statement,
the user interface displays a user protocol, the operation request is confirmation of the user to the user protocol, and the second JSON statement at least describes content of the user protocol.
2. The method of claim 1, further comprising:
updating the user interface in response to a third message received from the server, the third message containing a third JSON statement corresponding to the update; and
sending a fourth message to the server to instruct the server to store the third JSON statement, the fourth message containing the third JSON statement.
3. The method of claim 2, wherein the first, second, and/or third JSON statement is stored encrypted in a chain of blocks.
4. The method of claim 1, wherein the first message further comprises identifier information of a user.
5. The method of claim 4, wherein the identifier information comprises a physical address of the user-operated device and/or biometric information of the user.
6. A method of playing back user operations:
acquiring a first type JSON statement and a second type JSON statement;
rendering a user interface based on the first type of JSON statement; and
simulating user operation based on the second type JSON statement;
the user interface displays a user protocol, the user operation is confirmation of the user protocol by a user, and the first type JSON statement at least describes content of the user protocol.
7. The method of claim 6, wherein the first type of JSON statement and/or the second type of JSON statement are stored encrypted in a chain of blocks.
8. An apparatus for recording user operations, comprising:
a processor;
a memory coupled to the processor and storing instructions that, when executed by the processor, cause the processor to:
an operation request for a user interface is received,
responding to the operation request, and acquiring a first JSON statement corresponding to the operation request;
responding to the operation request, and acquiring a second JSON statement corresponding to the user interface; sending a first message to a server to instruct the server to store the first JSON statement, wherein the first message contains the first JSON statement, and the first message further comprises the JSON statement corresponding to the user interface; and
sending a second message to the server to instruct the server to store the second JSON statement, the second message containing the second JSON statement,
the user interface displays a user protocol, the operation request is confirmation of the user to the user protocol, and the second JSON statement at least describes content of the user protocol.
9. The apparatus of claim 8, the acts further comprising:
updating the user interface in response to a third message received from the server, the third message containing a third JSON statement corresponding to the update; and
sending a fourth message to the server to instruct the server to store the third JSON statement, the fourth message containing the third JSON statement.
10. The apparatus of claim 9, wherein the first, second, and/or third JSON statement is stored encrypted in a chain of blocks.
11. The apparatus of claim 8, wherein the first message further comprises identifier information of a user.
12. The device of claim 11, wherein the identifier information comprises a physical address of the user-operated device and/or biometric information of the user.
13. An apparatus for playback of user operations, comprising:
a processor;
a memory coupled to the processor and storing instructions that, when executed by the processor, cause the processor to:
acquiring a first type JSON statement and a second type JSON statement;
rendering a user interface based on the first type of JSON statement; and
simulating user operation based on the second type JSON statement;
the user interface displays a user protocol, the user operation is confirmation of the user protocol by a user, and the first type JSON statement at least describes content of the user protocol.
14. The apparatus of claim 13, wherein the first type of JSON statement and/or the second type of JSON statement are stored encrypted in a chain of blocks.
15. A computer-readable storage medium having computer-readable program instructions stored thereon for performing the method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710448857.3A CN107153599B (en) | 2017-06-14 | 2017-06-14 | Method and equipment for recording and playing back user operation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710448857.3A CN107153599B (en) | 2017-06-14 | 2017-06-14 | Method and equipment for recording and playing back user operation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107153599A CN107153599A (en) | 2017-09-12 |
CN107153599B true CN107153599B (en) | 2021-02-26 |
Family
ID=59795690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710448857.3A Expired - Fee Related CN107153599B (en) | 2017-06-14 | 2017-06-14 | Method and equipment for recording and playing back user operation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107153599B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107945312A (en) * | 2017-10-31 | 2018-04-20 | 深圳市轱辘车联数据技术有限公司 | A kind of vehicle checking method and its equipment |
CN107979639A (en) * | 2017-11-21 | 2018-05-01 | 重庆金窝窝网络科技有限公司 | Action processing method and device based on block chain |
CN110619584B (en) * | 2018-06-20 | 2024-06-11 | 喜地霁石文化传媒(北京)有限公司 | Block chain access system and method and application in crowd funding digital transaction |
CN109542534A (en) * | 2018-11-06 | 2019-03-29 | 北京指掌易科技有限公司 | A method of realizing that app is automatically configured |
CN110046991B (en) | 2018-12-12 | 2020-08-11 | 阿里巴巴集团控股有限公司 | Data processing method and system based on intelligent contract of block chain |
CN111522608B (en) * | 2019-02-03 | 2023-09-22 | 北京数聚鑫云信息技术有限公司 | Method and device for improving execution rate of analog operation |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493790A (en) * | 2009-02-27 | 2009-07-29 | 北京中星微电子有限公司 | Record playback system and record playback method |
CN104714948A (en) * | 2013-12-11 | 2015-06-17 | 部落邦(北京)科技有限责任公司 | Method, system and thermodynamic diagram display device for replaying user web page operation behavior |
CN104883547A (en) * | 2015-06-16 | 2015-09-02 | 浙江宇视科技有限公司 | IPC access method based on physical port of network access equipment, and NVR |
CN104951393A (en) * | 2014-03-25 | 2015-09-30 | 中国电信股份有限公司 | Testing method and device |
CN105005543A (en) * | 2015-06-29 | 2015-10-28 | 浪潮通用软件有限公司 | Interface generation apparatus and method |
CN106302725A (en) * | 2016-08-16 | 2017-01-04 | 成都索贝数码科技股份有限公司 | A kind of realization method and system of interactive data |
CN106686037A (en) * | 2015-11-09 | 2017-05-17 | 广州市动景计算机科技有限公司 | Page detecting method, device, equipment and system |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101594261B (en) * | 2008-05-28 | 2011-06-15 | 北京百问百答网络技术有限公司 | Method and system for monitoring counterfeit website |
CN101620564B (en) * | 2008-06-30 | 2011-10-19 | 福建升腾资讯有限公司 | Method for automatically testing recording playback mode of terminal system |
CN101620565B (en) * | 2008-07-04 | 2012-05-09 | 福建升腾资讯有限公司 | Automatic function testing method of terminal system |
US8745096B1 (en) * | 2010-03-31 | 2014-06-03 | Amazon Technologies, Inc. | Techniques for aggregating data from multiple sources |
CN101950390A (en) * | 2010-09-21 | 2011-01-19 | 山东中创软件工程股份有限公司 | Method and system for playing service flow back |
CN102609341A (en) * | 2011-07-08 | 2012-07-25 | 李康 | Hardware equipment automation testing system and testing method thereof |
CN102902619B (en) * | 2011-07-29 | 2015-09-09 | 阿里巴巴集团控股有限公司 | The regression testing method of web application and device |
CN103365770B (en) * | 2012-04-09 | 2016-01-13 | 上海马乐软件有限公司 | Mobile terminal software test macro and method for testing software |
CN102799428A (en) * | 2012-06-28 | 2012-11-28 | 北京大学 | Operation recording and playback method for interactive software |
CN103957266B (en) * | 2014-05-07 | 2018-02-23 | 熊猫电子集团有限公司 | A kind of equipment centralized Control method of communication system |
CN105335283B (en) * | 2014-08-01 | 2018-07-06 | 阿里巴巴集团控股有限公司 | application testing method and device in terminal device |
CN104166551B (en) * | 2014-08-14 | 2017-11-24 | 华为技术有限公司 | A kind of application interface development approach and development device |
CN104572447B (en) * | 2014-12-19 | 2017-09-29 | 中国电子科技集团公司第十五研究所 | Operation flow recording and replaying method and system based on Android operation system |
CN104731943B (en) * | 2015-03-31 | 2019-09-13 | 华为技术有限公司 | A kind of server and data processing method |
CN106649061B (en) * | 2015-11-04 | 2019-12-10 | 阿里巴巴集团控股有限公司 | Method and equipment for recording operation log of user in web system |
CN106790683B (en) * | 2017-02-10 | 2019-12-17 | 合一网络技术(北京)有限公司 | Network data display method and device based on mobile terminal |
-
2017
- 2017-06-14 CN CN201710448857.3A patent/CN107153599B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493790A (en) * | 2009-02-27 | 2009-07-29 | 北京中星微电子有限公司 | Record playback system and record playback method |
CN104714948A (en) * | 2013-12-11 | 2015-06-17 | 部落邦(北京)科技有限责任公司 | Method, system and thermodynamic diagram display device for replaying user web page operation behavior |
CN104951393A (en) * | 2014-03-25 | 2015-09-30 | 中国电信股份有限公司 | Testing method and device |
CN104883547A (en) * | 2015-06-16 | 2015-09-02 | 浙江宇视科技有限公司 | IPC access method based on physical port of network access equipment, and NVR |
CN105005543A (en) * | 2015-06-29 | 2015-10-28 | 浪潮通用软件有限公司 | Interface generation apparatus and method |
CN106686037A (en) * | 2015-11-09 | 2017-05-17 | 广州市动景计算机科技有限公司 | Page detecting method, device, equipment and system |
CN106302725A (en) * | 2016-08-16 | 2017-01-04 | 成都索贝数码科技股份有限公司 | A kind of realization method and system of interactive data |
Non-Patent Citations (1)
Title |
---|
基于X窗口系统的操作回放模型研究;周笑庭 等;《中国民航飞行学院学报》;20030630;第14卷(第2期);81-83页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107153599A (en) | 2017-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107153599B (en) | Method and equipment for recording and playing back user operation | |
US20230130047A1 (en) | Native activity tracking using credential and authentication management in scalable data networks | |
US11936652B2 (en) | Proxied multi-factor authentication using credential and authentication management in scalable data networks | |
US10785222B2 (en) | Credential and authentication management in scalable data networks | |
CN110771126B (en) | System for matching and attributing user equipment events | |
US9934003B2 (en) | System and method for creating a development and operational platform for mobile applications | |
US11108835B2 (en) | Anomaly detection for streaming data | |
CN104866290B (en) | A kind of method and apparatus for data transmission | |
WO2020207085A1 (en) | Method and device for information sharing, electronic device, and storage medium | |
US12067136B2 (en) | Display method, display device, and electronic device | |
CN109521956B (en) | Cloud storage method, device, equipment and storage medium based on block chain | |
US10152400B2 (en) | Method and system for dynamically unblocking customers in critical workflows by pushing community contributed solutions just-in-time when an error is encountered | |
US11765112B2 (en) | Context driven dynamic actions embedded in messages | |
US10097613B2 (en) | Systems and methods for enhancing performance of resource state polling | |
CN110161870B (en) | Internet of things equipment control method and system | |
HK1237054A (en) | Method and device for recording and replaying opertions of user | |
US10516767B2 (en) | Unifying realtime and static data for presenting over a web service | |
CN111010449B (en) | Image information output method, system, device, medium, and electronic apparatus | |
CN111949472B (en) | A method and device for recording application logs | |
CN116887304B (en) | Network slice determination method, device, electronic device and storage medium | |
US20240414147A1 (en) | Systems and methods for secure sending of linked content with automated tracking | |
CN107707434A (en) | Communication means for Utilities Electric Co.'s intelligence community service platform | |
CN109691023A (en) | Resolver | |
CN118585188A (en) | A method and device for processing page information | |
CN117591982A (en) | Verification method, system, device, 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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1237054 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210226 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: WD Ref document number: 1237054 Country of ref document: HK |