Processing method, system and apparatus for operation playback of application program and medium

A technology of application program and processing method, which is applied in branch office equipment, electrical digital data processing, telephone communication, etc., can solve the problem of inability to operate and replay the application program interface of the mobile phone, and achieve labor cost saving, problem flow and time shortening, and video compatibility sex high effect

Pending Publication Date: 2021-06-11
CTRIP TRAVEL NETWORK TECH SHANGHAI0
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a processing method, system, device and medium for the operation playback of the application program in order to overcome the defect that the operation playback of the application program interface of the mobile phone cannot be performed in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Processing method, system and apparatus for operation playback of application program and medium
  • Processing method, system and apparatus for operation playback of application program and medium
  • Processing method, system and apparatus for operation playback of application program and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Such as figure 1 As shown, the present embodiment discloses a processing method of operation playback of the application, including the following steps:

[0056] Step S101, convert the source code of the application to the AST format; specifically, in the process of compiling the source code of the application, the source code can be processed to AST through the Babel (one open source tool) open source tool. format.

[0057] Step S102, the code scanning the code in the AST format is scanned to obtain an operation component in the application.

[0058] Step S103, incorporate the run script corresponding to the operation assembly to the AST format; the run script is equipped with the application's UI test tool.

[0059] Step S104, package the code that is injected into the AST format after running the script.

[0060] Step S105, after the application receives the operation instruction, the generated session ID, the server log content, the operation record script, and the operat...

Embodiment 2

[0069] Such as figure 2 As shown, this embodiment is a processing method of operation playback of the application when there is a plurality of operation recording scripts, including the following steps:

[0070] Step S201, convert the source code of the application to the AST format; specifically, during the application's source code compilation, you can use the Babel Open Source Tool to process the source code of the application as an AST format.

[0071] Step S202, the code scanning the code in the AST format is scanned to obtain an operation component in the application;

[0072] Step S203, incorporate the run script corresponding to the operation assembly to the code of the AST format; run the script to match the UI test tool of the application;

[0073] Step S204, package the code that is injected after the running script is packed;

[0074] Step S205, after the application receives the operation command, the application is generated, and the server log content, the operation...

Embodiment 3

[0083] Such as image 3 As shown, the present embodiment discloses a processing system for operation playback of an application, the processing system including:

[0084] Conversion module 1, configured to convert the source code of the application to the AST format; specifically, in the process of compiling the source code of the application, the source code of the application can be passed through Babel (one open source tool) Processing is AST format.

[0085] Scanning module 2 for static code scanning of code in the AST format to obtain an operation component in the application;

[0086] The injection module 3 is configured to inject a run script corresponding to the operating component to the AST format; the runtime script is adapted to the UI test tool of the application;

[0087] Packing module 4 for packaging the code that is injected into the AST format after running the script.

[0088] Generating module 5 for use to generate a session ID, the server log content, operation...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a processing method, system and apparatus for operation playback of an application program and a medium. The processing method for operation playback of the application program comprises: converting a source code of the application program into a code in an AST format; performing static code scanning on the code in the AST format to obtain an operation component in an application program; injecting a running script corresponding to the operation component into the code in the AST format; matching the running script with a UI test tool of the application program; and packaging the codes in the AST format after the running script is injected. The processed application program can generate the corresponding operation record script when the operation is executed, so that the condition that the UI test tool of the application program is adopted for operation playback is met, and the operation playback of the application program is further realized.

Description

Technical field [0001] The present invention relates to the field of software technology, and more particularly to processing methods, systems, devices, and media that are operated in operation playback. Background technique [0002] With the popularity of smartphones, people are increasingly relying on mobile apps in communication, social, entertainment. Mobile software is a special software for mobile software, while mobile phone software is a special software. When people use mobile phone applications everyday, they often encounter a situation in which a business operation process is required. [0003] Currently, the operation of the interface is played back, and the tool RRWEB (a playback tool) is generally used. RRWEB can record the user's operation procedure on the Web (World Wide Web, Global WAN) page and convert to serialized log data or playback. RRWEB's operating scenarios need to rely on large flow bandwidth, such as mobile H5 (the 5th version of the description web pa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36H04M1/72403H04M1/72469H04M1/72484
CPCG06F11/3672
Inventor 顾佳璐姚熠暘
Owner CTRIP TRAVEL NETWORK TECH SHANGHAI0
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products