CN110989883A - Recording method and device for data transfer mode, storage medium and terminal - Google Patents

Recording method and device for data transfer mode, storage medium and terminal Download PDF

Info

Publication number
CN110989883A
CN110989883A CN201911199654.0A CN201911199654A CN110989883A CN 110989883 A CN110989883 A CN 110989883A CN 201911199654 A CN201911199654 A CN 201911199654A CN 110989883 A CN110989883 A CN 110989883A
Authority
CN
China
Prior art keywords
data transfer
interface
target
commodity display
display interface
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.)
Granted
Application number
CN201911199654.0A
Other languages
Chinese (zh)
Other versions
CN110989883B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201911199654.0A priority Critical patent/CN110989883B/en
Publication of CN110989883A publication Critical patent/CN110989883A/en
Application granted granted Critical
Publication of CN110989883B publication Critical patent/CN110989883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a recording method, a recording device, a storage medium and a terminal of a data transfer mode, wherein the method comprises the following steps: identifying a data transfer entry of a commodity display interface in the displayed target application; receiving simulated touch operation aiming at the data transfer inlet, and displaying a target data transfer interface; and when the target data transfer interface is not matched with a preset data transfer interface, returning to the commodity display interface, repeating the step of identifying the data transfer inlet of the commodity display interface in the displayed target application, and synchronously recording. In the implementation mode, the simulation test can remove the limitation caused by factors such as time, regions and the like, the reproduction of the payment cutting behavior of the target application can be carried out at any time and any place, the payment cutting behavior can be accurately and efficiently reproduced in time when being found, and the evidence obtaining difficulty is reduced.

Description

Recording method and device for data transfer mode, storage medium and terminal
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for recording a data transfer mode, a storage medium, and a terminal.
Background
At present, most application research and development manufacturers choose to graft own research and development products onto other cooperation platforms for operation, and through the mode (namely, joint operation), the research and development manufacturers and the operation platforms can achieve win-win. Taking a game as an example, research and development manufacturers provide necessary resources such as a game client, a game update package, a recharging system, a customer service system and the like, and a cooperation platform provides resources such as a platform renting right, an advertisement space and the like for cooperation operation.
The payment switching behavior/phenomenon existing in the joint operation process can bring huge loss to the operation platform. In short, the payment is that a research and development manufacturer bypasses a platform payment channel in a certain mode and directly brings the recharge of a user into a pocket of the research and development manufacturer, so that the research and development manufacturer avoids the separation from an operation platform.
For the payment-cutting behavior, the operation platform generally adopts a manual test mode to reproduce the payment-cutting behavior and then obtain evidence, and when the platform monitors that the payment-cutting behavior exists in the cooperative product, the manual test cannot be used for accurately and efficiently reproducing the payment-cutting behavior in time due to the limitation of conditions such as time, regions and the like, and the platform is difficult to obtain evidence.
Disclosure of Invention
The embodiment of the application provides a recording method and device of a data transfer mode, a storage medium and a terminal, and can solve the problems that manual testing cannot timely, accurately and efficiently reproduce payment and a platform is difficult to obtain evidence. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for recording a data transfer mode, where the method includes:
identifying a data transfer entry of a commodity display interface in the displayed target application;
receiving simulated touch operation aiming at the data transfer inlet, and displaying a target data transfer interface;
and when the target data transfer interface is not matched with a preset data transfer interface, returning to the commodity display interface, repeating the step of identifying the data transfer inlet of the commodity display interface in the displayed target application, and synchronously recording.
In a second aspect, an embodiment of the present application provides a recording apparatus for data transfer, where the apparatus includes:
the data transfer entrance identification module is used for identifying a data transfer entrance of a commodity display interface in the displayed target application;
the target data transfer interface display module is used for receiving the simulated touch operation aiming at the data transfer inlet and displaying a target data transfer interface;
and the recording module is used for returning to the commodity display interface when the target data transfer interface is not matched with a preset data transfer interface, repeating the step of identifying the data transfer inlet of the commodity display interface in the displayed target application and synchronously recording.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the above methods.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of any one of the above methods when executing the program.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, a terminal first identifies a data transfer entry of a displayed commodity display interface in a target application, then receives a simulated touch operation for the data transfer entry, displays the target data transfer interface, when the target data transfer interface is not matched with a preset data transfer interface, backs to the commodity display interface, repeats the step of identifying the data transfer entry of the displayed commodity display interface in the target application, and synchronously records the data transfer entry. In the implementation mode, the simulation test can remove the limitation caused by factors such as time, regions and the like, the reproduction of the payment cutting behavior of the target application can be carried out at any time and any place, the payment cutting behavior can be accurately and efficiently reproduced in time when being found, and the evidence obtaining difficulty is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a recording method of a data transfer mode according to an embodiment of the present application;
2a-2c are schematic diagrams of a process for performing a cut payment behavior test on a target application according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a recording method of a data transfer mode according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a recording method of a data transfer mode according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a recording apparatus in a data transfer mode according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a recording apparatus in a data transfer mode according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a recording apparatus in a data transfer mode according to an embodiment of the present application;
fig. 8 is a block diagram of a terminal structure according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The following describes in detail a recording method of a data transfer method provided in an embodiment of the present application with reference to fig. 1 to 4.
Fig. 1 is a schematic flow chart of a recording method of a data transfer method according to an embodiment of the present application.
As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, identifying a data transfer entrance of a commodity display interface in the displayed target application;
the application program is a computer program running on an operating system for processing a specific task, and the target application in the embodiment of the present application is an application program having data transfer and data storage functions.
The method comprises the steps of creating a testing environment capable of simulating manual clicking/touch actions, receiving touch operation aiming at a target application by a terminal under the testing environment, displaying a commodity display interface of the target application, and identifying a data transfer inlet on the commodity display interface by using an image identification method. The simulation touch operation which can be received by the terminal in the test environment comprises but is not limited to operations of starting an application, updating the application, displaying a target interface, returning to the previous interface and the like; simulating to click a mall identification on the application main interface to enter the mall, displaying a commodity display interface, wherein a data transfer identification on the commodity display interface is a data transfer inlet, and the data transfer identification can be a purchase key, a recharge button and the like; the image recognition method includes, but is not limited to, a neural network-based image recognition method, a wavelet moment-based image recognition method, and the like. Of course, the mall identification may exist on other interfaces besides the main interface of the target application.
S102, receiving simulated touch operation aiming at the data transfer inlet, and displaying a target data transfer interface;
and after the data transfer inlet on the commodity display interface is identified by using an image identification method, simulating and clicking the data transfer inlet to enter the data transfer interface, and defining the interface as a target data transfer interface. Specifically, the terminal receives the simulated touch operation aiming at the data transfer entrance of the commodity display interface, displays a target data transfer interface and executes the next step.
S103, when the target data transfer interface is not matched with a preset data transfer interface, returning to the commodity display interface, repeating the step of identifying the data transfer inlet of the commodity display interface in the displayed target application, and synchronously recording.
And matching the displayed target data transfer interface with a preset data transfer interface, and determining whether the target application has payment switching behavior according to a matching result. When the displayed target data transfer interface is not matched with the preset data transfer interface, the target data transfer interface pulled up by clicking the data transfer inlet is indicated to be an unofficial/regular data transfer interface, when data transfer is carried out through the interface, the operation platform is crossed, and the target application has payment switching behavior. At the moment, the simulation returns to the commodity display interface to reproduce the tangential payment behavior and synchronously record the process: and identifying a data transfer entrance on the commodity display interface again, receiving the simulated touch operation aiming at the data transfer entrance, and displaying a target data transfer interface. The synchronous recording can be that the recording screen function is opened when the commodity display interface is returned, and the synchronous recording can completely record the operation process so as to facilitate subsequent evidencing.
It should be noted that, if the synchronous recording fails or an interruption occurs during the recording process, the recorded content may be selected to be deleted; meanwhile, the user also needs to return to the commodity display interface again, execute the simulation operation again and synchronously record. And when the recording is finished, the recording result can be stored in the local terminal.
Please refer to fig. 2a-2c, which are schematic diagrams illustrating a process of performing a cut payment behavior test on a target application according to an embodiment of the present application.
The interface shown in fig. 2a is a pre-stored payment interface (i.e. an official/regular payment interface), and the interface shown in fig. 2b is a merchandise display interface of an application store, which lists a plurality of payment applications: application A-application D; under the test environment, after the target application B is simulated and clicked, pulling up a target payment interface, and matching the target payment interface with a prestored payment interface; when the target payment interface is the interface shown in fig. 2c, the obtained target payment interface is not matched with the pre-stored payment interface, the payment bypasses the operation platform, the application B has a payment switching behavior, and at this moment, the application B backs to the commodity display interface, re-simulates the whole process once and starts a screen recording function to perform synchronous recording.
The embodiment of the application provides a test environment capable of simulating manual click/touch operation, under the test environment, a terminal can automatically identify a data transfer inlet of a commodity display interface and receive simulation operation, then a target data transfer interface is matched with a preset data transfer interface, and the terminal automatically executes the next step according to a matching result: and when the target data transfer interface is not matched with the preset data transfer interface, determining that the tested application has payment switching behavior, and controlling the terminal to return to the commodity display interface and repeat the simulation operation for evidence collection (the evidence collection is carried out in a synchronous recording mode). This embodiment is cut the test of payment action and is collected evidence and go on through analog operation completely to application, and whole journey need not artifical the participation, has realized automatic test and has collected evidence, has also improved test and efficiency of collecting evidence when saving manpower consumption.
Fig. 3 is a schematic flow chart of a recording method of a data transfer method according to an embodiment of the present application.
As shown in fig. 3, the method of the embodiment of the present application may include the steps of:
s201, reading a target application from a resource pool, downloading and installing the target application, wherein the resource pool comprises an application set to be tested;
the resource pool in this embodiment refers to a collection of various application programs having a data transfer function. Before testing, all monitored application programs with payment-related behavior can be uniformly placed in a resource pool, a group of terminals (such as smart phones) are distributed to form a sandbox testing environment, and then simulation operation is executed. The monitoring mode of the payment-cutting behavior of the application program comprises bill checking, finding in comments of the user on the application program and the like; the sandbox test environment may provide a complete set of services, such as running applications, simulating manual clicks, and a network environment that may switch network protocol addresses (i.e., IP addresses).
During testing, firstly, selecting a target application from a resource pool, then simulating and clicking a download identifier corresponding to the target application, and downloading and installing the target application. When the downloading is finished, the terminal can give corresponding feedback, such as vibration feedback, voice feedback and the like; certainly, when the target application is not downloaded successfully, the same action can be simulated repeatedly under the sandbox test environment, and the target application is downloaded again until the application is downloaded successfully.
S202, receiving the simulated touch operation aiming at the target application, and displaying a commodity display interface of the target application;
during the simulation test, the simulation touch operation received by the terminal includes but is not limited to: a start operation, a click operation for a certain physical key, a return operation, and the like. The steps are simply explained by taking the main interface containing the mall identification as an example: after the target application is successfully downloaded and installed, the terminal receives starting operation aiming at the target application, displays a main interface, then receives clicking operation aiming at the mall identification on the main interface, and displays a commodity display interface.
S203, intercepting a displayed commodity display interface of the target application to obtain commodity display interface pictures, wherein the commodity display interface pictures comprise at least one picture;
before the data transfer entrance is simulated and clicked to pull up the target data transfer interface, the data transfer entrance on the commodity display interface needs to be determined, so that after the commodity display interface is displayed, the commodity display interface needs to be intercepted, a commodity display interface picture is obtained, and then the commodity display interface picture is subjected to image analysis processing. Specifically, the terminal receives a simulated screen capture operation for the commodity display interface and captures a commodity display interface picture. In order to ensure the accuracy of subsequent image analysis results, the commodity display interface can be intercepted for multiple times, and image analysis processing can be carried out on multiple commodity display interface pictures.
S204, carrying out optical character recognition processing on the commodity display interface picture, and determining a data transfer inlet of the commodity display interface;
in the embodiment of the application, an Optical Character Recognition (OCR) method is used to analyze and process the image of the product display interface picture, where OCR refers to a process of scanning text/data and then analyzing and processing an image file to obtain text and layout information.
After the step S203 successfully captures the commodity display interface picture, the terminal immediately starts an OCR recognition function to recognize a data transfer entry on the captured picture. If a single picture of the commodity display interface is captured in the step S203 and the picture fails to identify the data transfer entry, the step S203 may be returned to receive the simulated screen capture operation for the commodity display interface again, and then a picture is obtained for identification until the identification is successful; or, in step S203, multiple commodity display interface pictures may be cut at one time to perform OCR recognition.
S205, receiving the simulated touch operation aiming at the data transfer entrance, and displaying a target data transfer interface;
this step can be referred to as S102, and is not described herein.
S206, when the target data transfer interface is not matched with a preset data transfer interface, returning to the commodity display interface, repeating the step of identifying the data transfer inlet of the commodity display interface in the displayed target application, and synchronously recording;
this step can be referred to as S103, and is not described herein.
And S207, acquiring a recorded video, and sending the recorded video and the application identifier of the target application to an operation center.
The application identifier of the target application may be an application name, an application code, or the like, as long as different application programs can be distinguished. The recorded video is stored in the local terminal, and when the information is sent to the operation center, the recorded video and the application identifier of the target application can be sent together, so that the operator can conveniently know the application program corresponding to the video.
Specifically, the process of sending the recorded video and the application identifier of the target application to the operation center is as follows: and the terminal receives a simulation sending instruction aiming at the video and the application identifier and sends the video and the application identifier to an operation center. After receiving the video and the application identifier, the operator may take further measures, such as punishing an application developer with the video as an evidence, or repairing a vulnerability of the operating platform, and the like. Of course, when the video and the application identifier are not successfully transmitted to the operation center, the terminal may further continue to receive the transmission instruction and retransmit the video and the application identifier.
In the embodiment, the application program with payment switching behavior, which is detected in advance, is placed in a resource pool, and then the payment switching test is performed on the application program in the resource pool by using a sandbox test environment; a plurality of terminals can be placed in the sandbox testing environment, so that payment switching tests can be simultaneously carried out on a plurality of application programs in the resource pool; during testing, the terminal firstly reads a target application to be tested from the resource pool, and then executes corresponding simulation operation aiming at the target application: simulating a touch display commodity display interface, simulating screen capture for OCR recognition, simulating a touch display target data transfer interface, determining whether the target data transfer interface is matched with a preset data transfer interface or not, returning to the commodity display interface when the target data transfer interface is not matched with the preset data transfer interface, repeating the operation, and recording a screen for evidence collection; the payment switching detection is carried out on the application programs on the operation platform in advance, the subsequent simulation test range can be reduced, the plurality of terminals are simultaneously distributed and controlled under the test environment, the test on all the application programs in the resource pool can be accelerated, and the test efficiency is improved.
Fig. 4 is a schematic flow chart of a recording method of a data transfer method according to an embodiment of the present application.
As shown in fig. 4, the method of the embodiment of the present application may include the steps of:
s301, identifying a data transfer entrance of a commodity display interface in the displayed target application;
this step can be referred to as S101, and is not described herein.
S302, receiving simulated touch operation aiming at the data transfer inlet, and displaying a target data transfer interface;
this step can be referred to as S102, and is not described herein.
S303, when the target data transfer interface is matched with a preset data transfer interface, switching a network protocol address, repeating the steps of receiving the simulated touch operation aiming at the data transfer inlet and displaying the target data transfer interface;
and matching the displayed target data transfer interface with a preset data transfer interface, and determining whether the target application has payment switching behavior according to a matching result. When the displayed target data transfer interface is matched with the preset data transfer interface, the fact that the target data transfer interface pulled up by clicking the data transfer inlet is an official/regular data transfer interface under the current network protocol address (IP address) is shown, when data transfer is carried out through the interface, the operation platform cannot be crossed, and the target application does not have payment switching behaviors.
Particularly, the target application does not find the payment switching behavior under the current network protocol address and does not represent that the payment switching behavior does not exist under other network protocol addresses, so when the payment switching behavior is not found under the current network protocol address, the commodity display interface is required to be simulated and returned, the network protocol address is required to be switched (a test environment can provide a network environment capable of switching the network protocol address), the data transfer inlet on the commodity display interface is identified again, the touch operation is received, the target data transfer interface is displayed, and whether the target data transfer interface pulled up by the simulated touch operation is matched with the prestored data transfer interface is continuously judged. If the target data transfer interface under the switched network protocol address is still matched with the prestored data transfer interface, continuing to switch the network protocol address and repeating the operation process.
S304, acquiring the switching times of the network protocol address;
before the application is subjected to simulation test, a plurality of network protocol addresses are stored in the terminal in advance.
Acquiring the total number of prestored network protocol addresses, and determining the upper limit value of times that the network protocol addresses can be switched during target application test (the upper limit value is less than or equal to the total number of the prestored network protocol addresses); and after the target data transfer interface is displayed, acquiring the switching times of the target application network protocol address, and executing the next step.
S305, when the switching times reach the set times and the target data transfer interface under the current network protocol is matched with the preset data transfer interface, stopping switching the network protocol address, and when the next period arrives, re-executing the step of receiving the simulated touch operation aiming at the data transfer inlet and displaying the target data transfer interface.
The number of times is set as the upper limit value in step S304. If the switching times of the target application network protocol address reach the set times and the target data transfer interface under the last switched network protocol address is not matched with the prestored data transfer interface, indicating that the target application has payment switching behavior under the last network protocol address, and at the moment, simulating to rollback to a commodity display interface to repeat the operation process, and starting synchronous recording to record the process; if the switching times of the target application network protocol address reach the set times and the target data transfer interface under the network protocol address switched each time is matched with the prestored data transfer interface, the switching of the network protocol address is stopped, the cycle test is completed, and the next test cycle is started after the interval of fixed time. The duration of the interval may be, for example, 20min, 30min, or the like. The payment behavior is secretly and irregularly cut, and the terminal load can be increased through the continuity test; the periodic test is selected, so that on one hand, the terminal operation amount can be reduced, the equipment loss is reduced, on the other hand, the payment test can be performed on the target application without interruption, the behavior can be found timely, and evidence obtaining can be repeated.
Of course, in the embodiment of the present application, the payment switching behavior test may be performed on the target application one by one under a plurality of pre-stored network protocol addresses, and if the target application does not have the payment switching behavior under each pre-stored network protocol address, the next test period is entered after a fixed time interval.
In this embodiment, when performing a cut payment behavior test on an application program, if a target data transfer interface is matched with a preset data transfer interface after a simulation operation is performed, it can only be indicated that the application program does not have a cut payment behavior under a current network protocol address, at this time, a terminal network protocol address needs to be switched, and the cut payment behavior test is performed on the application program again to determine whether the application program has a cut payment behavior under other network protocol addresses. In the embodiment, the secrecy and irregularity of the payment switching behavior are also considered, so that the payment switching test of the application program is stopped after the network protocol address is switched for a certain number of times, and the test is started again when the next period is reached, so that the terminal operation amount under the test environment can be effectively reduced through the periodic test, and the equipment loss is reduced.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 5 is a schematic structural diagram of a recording apparatus for data transfer according to an exemplary embodiment of the present application. The recording device of the data transfer mode can be realized by software, hardware or the combination of the software and the hardware to be all or part of the terminal, and can also be integrated on a server as an independent module. The recording device of the data transfer mode in the embodiment of the present application is applied to a terminal, and the device 1 includes a data transfer entry identification module 11, a target data transfer interface display module 12, and a recording module 13, where:
the data transfer entrance identification module 11 is used for identifying a data transfer entrance of a commodity display interface in the displayed target application;
the target data transfer interface display module 12 is configured to receive a simulated touch operation for the data transfer entry and display a target data transfer interface;
and the recording module 13 is configured to, when the target data transfer interface is not matched with a preset data transfer interface, return to the commodity display interface, repeat the step of identifying the data transfer entry of the commodity display interface in the displayed target application, and record synchronously.
Fig. 6 is a schematic structural diagram of a recording apparatus for data transfer according to an exemplary embodiment of the present application.
Optionally, as shown in fig. 6, the recording apparatus 1 for data transfer mode provided in this embodiment of the present application further includes:
a target application reading module 14, configured to read a target application from a resource pool, and download and install the target application, where the resource pool includes an application set to be tested;
the commodity display interface display module 15 is configured to receive the simulated touch operation for the target application and display a commodity display interface of the target application;
the data transfer entry identification module 11 includes:
the commodity display interface picture obtaining unit 111 is configured to intercept a commodity display interface of a displayed target application, and obtain at least one commodity display interface picture;
a data transfer entry determining unit 112, configured to perform optical character recognition processing on the commodity display interface picture, and determine a data transfer entry of the commodity display interface;
and the recorded video sending module 16 is configured to obtain a recorded video, and send the recorded video and the application identifier of the target application to an operation center.
Fig. 7 is a schematic structural diagram of a recording apparatus for data transfer according to an exemplary embodiment of the present application.
Optionally, as shown in fig. 7, the recording apparatus 1 for data transfer mode provided in this embodiment of the present application further includes:
a network protocol address switching module 17, configured to switch a network protocol address when the target data transfer interface matches a preset data transfer interface, and repeat the steps of receiving a simulated touch operation for the data transfer entry and displaying the target data transfer interface;
a switching frequency obtaining module 18, configured to obtain switching frequency of the network protocol address;
and the period execution module 19 is configured to stop switching the network protocol address when the switching times reach the set times and the target data transfer interface under the current network protocol matches the preset data transfer interface, and re-execute the step of receiving the simulated touch operation for the data transfer entry when the next period reaches, and display the target data transfer interface.
It should be noted that, when the recording apparatus of the data transfer method provided in the foregoing embodiment executes the recording method of the data transfer method, only the division of the functional modules is taken as an example, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the recording apparatus of the data transfer mode and the recording method of the data transfer mode provided in the above embodiments belong to the same concept, and details of implementation processes are found in the method embodiments, which are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, a terminal firstly identifies a data transfer inlet of a commodity display interface in a displayed target application, then receives a simulation touch operation aiming at the data transfer inlet, displays the target data transfer interface, backs to the commodity display interface when the target data transfer interface is not matched with a preset data transfer interface, repeats the step of identifying the data transfer inlet of the commodity display interface in the displayed target application, and synchronously records. In the implementation mode, the simulation test can remove the limitation caused by factors such as time, regions and the like, the reproduction of the payment cutting behavior of the target application can be carried out at any time and any place, the payment cutting behavior can be accurately and efficiently reproduced in time when being found, and the evidence obtaining difficulty is reduced.
The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the method of any one of the foregoing embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
The embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the steps of any of the above-mentioned embodiments of the method are implemented.
Please refer to fig. 8, which is a block diagram of a terminal according to an embodiment of the present disclosure.
As shown in fig. 8, the terminal 600 includes: a processor 601 and a memory 602.
In this embodiment, the processor 601 is a control center of a computer system, and may be a processor of an entity machine or a processor of a virtual machine. The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments of the present application, a non-transitory computer readable storage medium in the memory 602 is used to store at least one instruction for execution by the processor 601 to implement a method in embodiments of the present application.
In some embodiments, the terminal 600 further includes: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a display screen 604, a camera 605, and an audio circuit 606.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments of the present application, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments of the present application, any one or both of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on separate chips or circuit boards. The embodiment of the present application is not particularly limited to this.
The display screen 604 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 604 is a touch display screen, the display screen 604 also has the ability to capture touch signals on or over the surface of the display screen 604. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display screen 604 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments of the present application, the display screen 604 may be one, and is provided as a front panel of the terminal 600; in other embodiments of the present application, the display screens 604 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folding design; in still other embodiments of the present application, the display 604 may be a flexible display disposed on a curved surface or a folded surface of the terminal 600. Even further, the display screen 604 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 604 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera 605 is used to capture images or video. Optionally, the camera 605 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments of the present application, camera 605 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 606 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pick-up microphone.
Power supply 607 is used to provide power to the various components in terminal 600. The power supply 607 may be ac, dc, disposable or rechargeable. When power supply 607 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
The block diagram of the terminal structure shown in the embodiments of the present application does not constitute a limitation to the terminal 600, and the terminal 600 may include more or less components than those shown, or combine some components, or adopt a different arrangement of components.
In this application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it is to be understood that the terms "upper", "lower", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or unit must have a specific direction, be configured and operated in a specific orientation, and thus, should not be construed as limiting the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Accordingly, all equivalent changes made by the claims of this application are intended to be covered by this application.

Claims (9)

1. A recording method of a data transfer mode is characterized by comprising the following steps:
identifying a data transfer entry of a commodity display interface in the displayed target application;
receiving simulated touch operation aiming at the data transfer inlet, and displaying a target data transfer interface;
and when the target data transfer interface is not matched with a preset data transfer interface, returning to the commodity display interface, repeating the step of identifying the data transfer inlet of the commodity display interface in the displayed target application, and synchronously recording.
2. The method of claim 1, wherein the identifying the data transfer portal for the merchandise display interface in the displayed target application comprises:
intercepting a commodity display interface of the displayed target application to obtain a commodity display interface picture, wherein the commodity display interface picture comprises at least one picture;
and carrying out optical character recognition processing on the commodity display interface picture, and determining a data transfer inlet of the commodity display interface.
3. The method of claim 1, further comprising:
and when the target data transfer interface is matched with a preset data transfer interface, switching a network protocol address, and repeating the steps of receiving the simulated touch operation aiming at the data transfer inlet and displaying the target data transfer interface.
4. The method of claim 3, wherein after repeating the step of receiving a simulated touch operation for the data transfer entry and displaying a target data transfer interface, further comprising:
acquiring the switching times of the network protocol address;
and when the switching times reach the set times and a target data transfer interface under the current network protocol is matched with a preset data transfer interface, stopping switching the network protocol address, and when the next period arrives, re-executing the step of receiving the simulated touch operation aiming at the data transfer inlet and displaying the target data transfer interface.
5. The method according to claim 1, wherein when the target data transfer interface does not match a preset data transfer interface, returning to the goods presentation interface, and after the step of identifying the data transfer entry of the goods presentation interface in the presented target application and the synchronous recording are performed, further comprising:
and acquiring a recorded video, and sending the recorded video and the application identifier of the target application to an operation center.
6. The method of claim 1, wherein before identifying the data transfer portal for the merchandise display interface in the displayed target application, further comprising:
reading a target application from a resource pool, downloading and installing the target application, wherein the resource pool comprises an application set to be tested;
and receiving the simulated touch operation aiming at the target application, and displaying a commodity display interface of the target application.
7. A recording apparatus of a data transfer mode, the apparatus comprising:
the data transfer entrance identification module is used for identifying a data transfer entrance of a commodity display interface in the displayed target application;
the target data transfer interface display module is used for receiving the simulated touch operation aiming at the data transfer inlet and displaying a target data transfer interface;
and the recording module is used for returning to the commodity display interface when the target data transfer interface is not matched with a preset data transfer interface, repeating the step of identifying the data transfer inlet of the commodity display interface in the displayed target application and synchronously recording.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
9. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-6 are implemented when the program is executed by the processor.
CN201911199654.0A 2019-11-29 2019-11-29 Recording method and device for data transfer mode, storage medium and terminal Active CN110989883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911199654.0A CN110989883B (en) 2019-11-29 2019-11-29 Recording method and device for data transfer mode, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911199654.0A CN110989883B (en) 2019-11-29 2019-11-29 Recording method and device for data transfer mode, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN110989883A true CN110989883A (en) 2020-04-10
CN110989883B CN110989883B (en) 2021-08-20

Family

ID=70088340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911199654.0A Active CN110989883B (en) 2019-11-29 2019-11-29 Recording method and device for data transfer mode, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN110989883B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857914A (en) * 2020-07-06 2020-10-30 上海意略明数字科技股份有限公司 Method and device for acquiring operation information of application program on terminal, storage medium and terminal
CN112631619A (en) * 2020-12-25 2021-04-09 西安雷风电子科技有限公司 Method and system for automatically installing executable program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166947A1 (en) * 2010-12-28 2012-06-28 Yamaha Corporation Online real-time session control method for electronic music device
CN108509232A (en) * 2018-03-29 2018-09-07 北京小米移动软件有限公司 Screen recording method, device and computer readable storage medium
CN108803993A (en) * 2018-06-13 2018-11-13 南昌黑鲨科技有限公司 Exchange method, intelligent terminal and the computer readable storage medium of application program
CN108810437A (en) * 2018-05-28 2018-11-13 努比亚技术有限公司 Record screen method, terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166947A1 (en) * 2010-12-28 2012-06-28 Yamaha Corporation Online real-time session control method for electronic music device
CN108509232A (en) * 2018-03-29 2018-09-07 北京小米移动软件有限公司 Screen recording method, device and computer readable storage medium
CN108810437A (en) * 2018-05-28 2018-11-13 努比亚技术有限公司 Record screen method, terminal and computer readable storage medium
CN108803993A (en) * 2018-06-13 2018-11-13 南昌黑鲨科技有限公司 Exchange method, intelligent terminal and the computer readable storage medium of application program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857914A (en) * 2020-07-06 2020-10-30 上海意略明数字科技股份有限公司 Method and device for acquiring operation information of application program on terminal, storage medium and terminal
CN111857914B (en) * 2020-07-06 2021-10-01 上海意略明数字科技股份有限公司 Method and device for acquiring operation information of application program on terminal, storage medium and terminal
CN112631619A (en) * 2020-12-25 2021-04-09 西安雷风电子科技有限公司 Method and system for automatically installing executable program

Also Published As

Publication number Publication date
CN110989883B (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN103793323B (en) The automatic testing equipment and its automatic test approach of embedded software
CN111782492B (en) Page first screen loading duration testing method and device, computer equipment and medium
CN110210219B (en) Virus file identification method, device, equipment and storage medium
CN111552470A (en) Data analysis task creation method and device in Internet of things and storage medium
CN110989883B (en) Recording method and device for data transfer mode, storage medium and terminal
CN111488088B (en) Equipment state identification method and device and intelligent terminal
CN110532188B (en) Page display test method and device
CN111008135A (en) APP test method, device, equipment and storage medium
CN111625381A (en) Method, device and equipment for reproducing running scene of application program and storage medium
CN111177013A (en) Log data acquisition method and device, computer equipment and storage medium
CN106093635A (en) Mobile terminal ageing testing method, Apparatus and system
CN111061550A (en) Task processing method, device, equipment and storage medium
CN109975688A (en) General evaluating method and device for heterogeneous chip
CN112437294A (en) Method, device and equipment for testing identity hiding function and storage medium
CN111338933A (en) Buried point verification method, device, equipment and storage medium
CN104102560B (en) The method and device of system performance testing
CN109656800A (en) Test method, device, terminal and the storage medium of image recognition application
CN105893249A (en) Software testing method and device
CN112052167A (en) Method and device for generating test script code
CN117171000A (en) Application program APP testing method and device, electronic equipment and storage medium
CN114025116B (en) Video generation method, device, readable medium and electronic equipment
CN114945188A (en) Bluetooth device testing method and device, electronic device and readable storage medium
CN114067246A (en) Video annotation method, video annotation device, video model testing method, video annotation model testing device, electronic equipment and storage medium
CN113591090A (en) Method, device and equipment for reporting program bug and storage medium
CN113468069A (en) Application testing method and device, computer equipment and storage medium

Legal Events

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