CN112306870A - Data processing method and device based on live APP - Google Patents

Data processing method and device based on live APP Download PDF

Info

Publication number
CN112306870A
CN112306870A CN202011177720.7A CN202011177720A CN112306870A CN 112306870 A CN112306870 A CN 112306870A CN 202011177720 A CN202011177720 A CN 202011177720A CN 112306870 A CN112306870 A CN 112306870A
Authority
CN
China
Prior art keywords
live broadcast
information
test
app
node information
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.)
Pending
Application number
CN202011177720.7A
Other languages
Chinese (zh)
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.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan Information 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 Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN202011177720.7A priority Critical patent/CN112306870A/en
Publication of CN112306870A publication Critical patent/CN112306870A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a data processing method and a device based on live APP, wherein the method comprises the following steps: responding to a trigger event, and controlling the live broadcast APP to start a virtual live broadcast room; after the virtual live broadcast room is opened, detecting current node information of the live broadcast APP during operation; when the current node information is matched with preset key node information, generating a test log corresponding to the current node information; and visualizing the test log. According to the embodiment of the invention, the performance test report aiming at the live broadcast APP is automatically generated, and the existing optimization space can be more intuitively known aiming at the performance condition of the current version by analyzing the test log related to the key node information, so that the test time and the optimization flow period are shortened.

Description

Data processing method and device based on live APP
Technical Field
The invention relates to the field of data processing, in particular to a data processing method and device based on live APP.
Background
In the test of the live App, the performance of the live App can be analyzed by counting a series of indexes such as a memory, a CPU and the like for the live App. In the prior art, a mode of manually nipping a meter to obtain data is usually adopted, but the mode of manually nipping the meter is complicated in the whole test process, errors of manual factors exist, only a result aiming at the whole timing can be obtained, and information of a required optimized space is not convenient to learn.
Disclosure of Invention
In view of the above, it is proposed to provide a live APP based data processing method and apparatus that overcome or at least partially solve the above problems, comprising:
a data processing method based on live APP, the method comprising:
responding to a trigger event, and controlling the live broadcast APP to start a virtual live broadcast room;
after the virtual live broadcast room is opened, detecting current node information of the live broadcast APP during operation;
when the current node information is matched with preset key node information, generating a test log corresponding to the current node information;
and visualizing the test log.
Optionally, the visualizing the test log includes:
determining test type information and time period information according to the test log;
and generating visual data based on a time axis according to the test type information and the time period information so as to perform visualization.
Optionally, the key node information includes any one or more of:
page response information in the virtual live broadcast room and video loading information in the virtual live broadcast room.
Optionally, the page response information in the virtual live broadcast room includes the following items:
information entering a virtual live broadcast room and construction information of a virtual live broadcast room page;
optionally, the video loading information in the virtual live broadcast room includes the following items:
the information of starting video loading, the setting information of video addresses and the loading information of the first frame of video data.
Optionally, the triggering event includes:
and starting a test instruction and finishing the last test instruction.
Optionally, the test log comprises any one or more of:
thread information, time information, current node information.
A data processing apparatus based on live APP, the apparatus comprising:
the virtual live broadcast room starting module is used for responding to a trigger event and controlling the live broadcast APP to start the virtual live broadcast room;
the current node information detection module is used for detecting current node information when the live broadcast APP operates after the virtual live broadcast room is opened;
the test log generating module is used for generating a test log corresponding to the current node information when the current node information is matched with preset key node information;
and the visualization module is used for visualizing the test log.
An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing a live APP based data processing method as described above.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a live APP based data processing method as described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the live broadcast APP is controlled to start the virtual live broadcast room in response to the trigger event, then the current node information during the operation of the live broadcast APP is detected after the virtual live broadcast room is started, and when the current node information is matched with the preset key node information, the test log corresponding to the current node information is generated, so that the test log is visualized, a performance test report for the live broadcast APP is automatically generated, and by analyzing the test log related to the key node information, the existing optimization space can be more intuitively known according to the performance condition of the current version, so that the test time is shortened, and the optimization flow cycle is shortened.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a data processing method based on live APP according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of another live APP-based data processing method according to an embodiment of the present invention;
FIG. 3a is a diagram illustrating an example of a visual analytics report provided by an embodiment of the present invention;
FIG. 3b is a schematic diagram of an example (partial) visual analysis report provided by an embodiment of the present invention;
fig. 3c is a schematic diagram of a live APP performance analysis process according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data processing apparatus based on live APP according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart illustrating steps of a data processing method based on live APP according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, responding to a trigger event, controlling the live broadcast APP to start a virtual live broadcast room;
as an example, the triggering event may include: the instruction of starting the test and the instruction of ending the previous test can enter a virtual live broadcast room of the live broadcast App in a mode of clicking a live broadcast card, for example, so that the test can be started, the test can also be carried out by repeatedly entering the virtual live broadcast room, and the test can be carried out again in the virtual live broadcast room after the previous test is ended.
In the process of testing the live broadcast APP, the live broadcast APP can be triggered and controlled to start the virtual live broadcast room by responding to the instruction for starting the test and the instruction for ending the last test so as to acquire data to test the virtual live broadcast room of the live broadcast APP.
In an example, a live broadcast list may be displayed in a live broadcast App homepage, where the live broadcast list may include entries corresponding to a plurality of virtual live broadcast rooms, for example, a live broadcast card for a virtual live broadcast room, and then a corresponding virtual live broadcast room may be opened by clicking an entry corresponding to the virtual live broadcast room.
In yet another example, a tool for testing the live APP may be preset, for example, a logging tool class (enterprise roommoptimize), which may log through operation key points in a virtual live room, that is, for some operation key points in the live APP, log information may be output through Logcat using log.i () provided by Android, where Logcat is a command line tool in the Android, and may be used to obtain log information of a program.
For example, by clicking a live card for a virtual live broadcast room, the start of a test case can be determined, and the following recording method can be specifically adopted:
EnterRoomOptimize.beign()
step 102, after the virtual live broadcast room is opened, detecting current node information of the live broadcast APP during operation;
the current node information may be information of a node currently running for a live APP program, for example, when the current node starts to prepare a video address, the node information that starts to prepare the video address may be detected; when the current node starts to set the video address, the node information for starting to set the video address can be detected.
After virtual live broadcast room is opened at live broadcast APP, can be to the virtual live broadcast room of opening, detect the current node information that live broadcast APP corresponds to further gather current node information and carry out test analysis, for example, can detect to the current node information that live broadcast APP corresponds, and then can beat the log through the node key point to virtual live broadcast room.
103, generating a test log corresponding to the current node information when the current node information is matched with preset key node information;
as an example, the key node information may include any one or more of: page response information in the virtual live broadcast room and video loading information in the virtual live broadcast room; the method can be preset for key node information, and the key node information can be used for logging through node key points in a virtual live broadcast room.
After the current node information is detected, the current node information can be judged, and then a test log corresponding to the current node information can be generated when the current node information is matched with the preset key node information.
For example, logging on a node key point can log a life cycle method important for activity of a virtual live broadcast room, a life cycle method important for fragment of the virtual live broadcast room, a start of preparing a video address, a start of setting a video address, and the like to obtain log information for the node key point, and specifically logging can be performed in the following manner:
EnterRoomOptimize.log(‘activity onCreate’)
among them, activityonCreate can be an activity-important life cycle method.
Activity is a basic component of Android, which can be a display page of live APP, and one Activity can correspond to one display page; fragment is a "Fragment" in Android that can adhere to Activity. An Activity lifecycle may be the whole process from creation to destruction of an Activity, the Activity lifecycle may include multiple lifecycle methods, and a Fragment lifecycle may also include multiple lifecycle methods, for example, oncreate may be created for the start and onResume may be available.
In an example, the node key points may be preset according to performance problems corresponding to analysis requirements, so as to be able to feed back a table pinching result, for example, when response speed test analysis is performed, it is necessary to obtain a time from when a user clicks a live broadcast card for a virtual live broadcast room until the user sees an interface of the virtual live broadcast room, and then the user clicking the live broadcast card may be preset as the node key points to perform logging operation, or logging may also be set in an onStart (interface visible) method of Activity in the live broadcast room.
For example, when the test analysis is performed on the page response speed in the virtual live broadcast room, it may be preset that the page response information in the virtual live broadcast room corresponding to the node key point includes the following items: the information entering the virtual live broadcast room and the construction information of the virtual live broadcast room page can comprise the information for starting to construct the virtual live broadcast room page and the information for completing the construction of the virtual live broadcast room page.
For another example, when the test analysis is performed on the video loading speed in the virtual live broadcast room, the information of the video loading in the virtual live broadcast room corresponding to the node key point may be preset to include the following items: the information of starting video loading, the setting information of video addresses and the loading information of the first frame of video data.
In another example, when the first frame of video message is received, it may be determined that the test case ends for one time, and specifically, the following method may be used for recording:
EnterRoomOptimize.complete()
as an example, the test log may include any one or more of: thread information, time information, current node information.
For example, when a test case ends, a test log for the test case may be automatically output, where the test log may include information such as a thread name, a timestamp, and a node name acquired by logging a node key point in a virtual live broadcast room, and the test log may be summarized as a json-format log.
And 104, visualizing the test log.
After the test log corresponding to the current node information is generated, the test log may be visualized, for example, the test log in the virtual live broadcast room may be analyzed, and a performance analysis report may be output.
For example, the summarized json format test log may be captured by Logcat to analyze the test log and output a performance analysis report, for example, the test log may be copied manually to perform log analysis.
In an example, a tool for analyzing the test log may be preset, for example, a log analysis tool may be preset through a set of tool sets suitable for an Android Studio (Android integrated development tool).
By presetting performance analysis tools (such as logging tools and log analysis tools) based on android studio, test data can be collected by repeatedly entering a virtual live broadcast room, test logs can be analyzed, and test reports containing information of threads, time consumption and the like of each key flow can be output, so that the test data can be collected automatically, data analysis and test report generation are completed, and the effect of convenient positioning is achieved, such as the time consumption condition of each thread and each service key point and the like can be obtained.
In the embodiment of the invention, the live broadcast APP is controlled to start the virtual live broadcast room in response to the trigger event, then the current node information during the operation of the live broadcast APP is detected after the virtual live broadcast room is started, and when the current node information is matched with the preset key node information, the test log corresponding to the current node information is generated, so that the test log is visualized, a performance test report for the live broadcast APP is automatically generated, and by analyzing the test log related to the key node information, the existing optimization space can be more intuitively known according to the performance condition of the current version, so that the test time is shortened, and the optimization flow cycle is shortened.
Referring to fig. 2, a flowchart illustrating steps of another live APP-based data processing method according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 201, responding to a trigger event, controlling the live broadcast APP to start a virtual live broadcast room;
in the process of testing the live broadcast APP, the live broadcast APP can be triggered and controlled to start the virtual live broadcast room by responding to the instruction for starting the test and the instruction for ending the last test so as to acquire data to test the virtual live broadcast room of the live broadcast APP.
Step 202, after the virtual live broadcast room is opened, detecting current node information of the live broadcast APP during operation;
after virtual live broadcast room is opened at live broadcast APP, can be to the virtual live broadcast room of opening, detect the current node information that live broadcast APP corresponds to further gather current node information and carry out test analysis, for example, can detect to the current node information that live broadcast APP corresponds, and then can beat the log through the node key point to virtual live broadcast room.
Step 203, when the current node information is matched with preset key node information, generating a test log corresponding to the current node information;
after the current node information is detected, the current node information can be judged, and then a test log corresponding to the current node information can be generated when the current node information is matched with the preset key node information.
Step 204, determining test type information and time period information according to the test log;
the test log may include at least two test logs, and the time period information may be time consumption information of the time period, for example, the time period information may be 864 ms.
As an example, the test type information may be a test name for a time period in the time axis of the test log, for example, the test name may be preset as a response speed for the time period from the start of the click to the presentation of the interface to the user, that is, a text display may be performed for the time period with a "response speed" on the time axis statistical report.
In a specific implementation, at least two test logs obtained by logging on the node key point of the virtual live broadcast room may be included, and then one or more test type information and time period information in a time axis for the test logs may be determined according to the at least two test logs.
In an example, the configuration information of the key process to be analyzed may be preset for the test log, and then the test log may be summarized through the configuration information, and the test log may be analyzed to extract the key information for calculation, for example, an analysis configuration file entry _ event _ configuration.json for the key process of the test log may be set, which may be a json file, which may be a list, and each item in the list may be represented as from: tag, to: tag, and tag may be a name obtained when logging (i.e., logging) an operation key point in the virtual live broadcast room, and specifically, the following manner may be adopted for configuration:
Figure BDA0002749159110000081
wherein onStart () may characterize the start of a one-pass virtual live room test, which may be the first log, and may appear in pairs with onComplete (); onCreate () may characterize the lifecycle method that live room Activity begins creating; the activity start can represent that the activity of the live broadcast room is constructed completely and starts to be presented to the user. onStart (), t active start, which may be a period of time from the start of the click to the presentation of the interface to the user, n of the period of time may be set as "response speed", and then the text information of the period of time may be displayed as the response speed on the statistical report.
The configuration information may also be: the prePlayVideo may characterize the method of starting entry into the video playback logic; setVideoPath may characterize the method of setting the live video address to the player.
Step 205, generating visualized data based on a time axis according to the test type information and the time period information for visualization.
After the test type information and the time period information are determined, visual data based on a time axis can be generated according to the test type information and the time period information for the test logs for visualization, for example, the test logs in the virtual live broadcast room can be analyzed, and a performance analysis report can be output.
For example, a json format log summarizing a test case may be analyzed for the test case, and information such as timestamps of a start point and an end point, and a thread name, a timestamp, and an operation name of a key point corresponding to the test case may be extracted.
In an example, test data of a plurality of test cases can be obtained by repeating an operation of entering a virtual live broadcast room for a plurality of times, then information such as timestamps of corresponding start points and end points, thread names of key points, timestamps, operation names and the like can be extracted for each test case, and then data obtained by analyzing the plurality of test cases can be summarized and an average value can be calculated.
In yet another example, the summarized result data for the multiple test case analyses may be output in a timeline report according to a configuration rule for visualization, for example, the analysis report may be output using Google Charts.
As shown in fig. 3a, the visualization may be an analysis report of the performance of the room (i.e., the virtual live broadcast room), the visualization data may be a timeline report of the video from the click to the first frame, and the total time (e.g., 864ms) from the click to the video viewing by the user, the time from the click to the live broadcast room interface viewing by the user, the running time of each life cycle, the time from setting the video address to loading the video, the parallel condition of each thread of the key process, and the like may be acquired from the analysis report.
By clicking on the visual analytic report, as shown in FIG. 3b, the detailed information of a certain time period in the time axis can be obtained, for example, by clicking 125ms, the detailed information of the report for the time period can be displayed, and the detailed information can be shown as onViewcreated ()2020-3-2121:40:15.40, nViewcreated () done 2020-3-2121:40: 15.165.
In order to enable those skilled in the art to better understand the above steps, the following describes an embodiment of the present invention with reference to fig. 3c, but it should be understood that the embodiment of the present invention is not limited thereto.
1. Starting a performance test for live APP;
2. designing an EnterRoomOptize tool for testing live APP (logging tool class);
3. clicking a live broadcast card aiming at the virtual live broadcast room, and determining as the beginning of a test case: neighbor ();
4. and logging the key points of the nodes of the virtual live broadcast room, such as logging the key points EnterRoom optimized. log (tag) log;
5. the first frame of video is called back, and is determined as the end EnterRoom optimized. complete (), of the test case;
6. automatically outputting a test case log when the test case is finished;
7. repeating the operation of entering the room (namely, the virtual live room) for multiple times;
8. an entry _ event _ config.json analysis configuration file is set;
9. summarizing logcat test case logs;
10. analyzing and extracting key information and calculating the summary log;
11. outputting an analysis report by using Google Charts;
12. analyzing the report;
13. the test is ended.
In the embodiment of the invention, the live broadcast APP is controlled to start the virtual live broadcast room in response to the trigger event, then the current node information during the operation of the live broadcast APP is detected after the virtual live broadcast room is started, the test log corresponding to the current node information is generated when the current node information is matched with the preset key node information, the test type information and the time period information are determined according to the test log, and then the visual data based on the time axis is generated according to the test type information and the time period information for visualization, so that the performance test report for the live broadcast APP is automatically generated, the time period information is obtained by analyzing the test log related to the key node information, the main time consumption condition can be known, the targeted optimization is facilitated, and the optimization effect is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a schematic structural diagram of a data processing apparatus based on live APP according to an embodiment of the present invention is shown, and the data processing apparatus may specifically include the following modules:
a virtual live broadcast room starting module 401, configured to respond to a trigger event, control the live broadcast APP to start a virtual live broadcast room;
a current node information detection module 402, configured to detect current node information when the live APP runs after the virtual live broadcast room is opened;
a test log generating module 403, configured to generate a test log corresponding to the current node information when the current node information matches preset key node information;
a visualization module 404, configured to visualize the test log.
In an embodiment of the present invention, the visualization module 404 includes:
the test type information and time period information determining submodule is used for determining the test type information and the time period information according to the test log;
and the visualized data generation submodule is used for generating visualized data based on a time axis according to the test type information and the time period information so as to perform visualization.
In an embodiment of the present invention, the key node information includes any one or more of the following items:
page response information in the virtual live broadcast room and video loading information in the virtual live broadcast room.
In an embodiment of the present invention, the page response information in the virtual live broadcast room includes the following items:
information entering a virtual live broadcast room and construction information of a virtual live broadcast room page;
the video loading information in the virtual live broadcast room comprises the following items:
the information of starting video loading, the setting information of video addresses and the loading information of the first frame of video data.
In an embodiment of the present invention, the trigger event includes:
and starting a test instruction and finishing the last test instruction.
In an embodiment of the invention, the test log comprises any one or more of:
thread information, time information, current node information.
In the embodiment of the invention, the live broadcast APP is controlled to start the virtual live broadcast room in response to the trigger event, then the current node information during the operation of the live broadcast APP is detected after the virtual live broadcast room is started, and when the current node information is matched with the preset key node information, the test log corresponding to the current node information is generated, so that the test log is visualized, a performance test report for the live broadcast APP is automatically generated, and by analyzing the test log related to the key node information, the existing optimization space can be more intuitively known according to the performance condition of the current version, so that the test time is shortened, and the optimization flow cycle is shortened.
An embodiment of the present invention further provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where when executed by the processor, the computer program implements the data processing method based on live APP as described above.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the data processing method based on live APP as above is implemented.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The data processing method and device based on live broadcast APP are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A data processing method based on live APP is characterized by comprising the following steps:
responding to a trigger event, and controlling the live broadcast APP to start a virtual live broadcast room;
after the virtual live broadcast room is opened, detecting current node information of the live broadcast APP during operation;
when the current node information is matched with preset key node information, generating a test log corresponding to the current node information;
and visualizing the test log.
2. The method of claim 1, wherein the visualizing the test log comprises:
determining test type information and time period information according to the test log;
and generating visual data based on a time axis according to the test type information and the time period information so as to perform visualization.
3. The method according to claim 1 or 2, wherein the key node information comprises any one or more of:
page response information in the virtual live broadcast room and video loading information in the virtual live broadcast room.
4. The method of claim 3, wherein the page response information in the virtual live room comprises a plurality of items selected from the group consisting of:
information entering the virtual live broadcast room and construction information of the virtual live broadcast room page.
5. The method of claim 3, wherein the video loading information in the virtual live broadcast room comprises a plurality of items selected from the group consisting of:
the information of starting video loading, the setting information of video addresses and the loading information of the first frame of video data.
6. The method of claim 1, wherein the triggering event comprises:
and starting a test instruction and finishing the last test instruction.
7. The method of claim 1, wherein the test log comprises any one or more of:
thread information, time information, current node information.
8. A data processing apparatus based on live APP, the apparatus comprising:
the virtual live broadcast room starting module is used for responding to a trigger event and controlling the live broadcast APP to start the virtual live broadcast room;
the current node information detection module is used for detecting current node information when the live broadcast APP operates after the virtual live broadcast room is opened;
the test log generating module is used for generating a test log corresponding to the current node information when the current node information is matched with preset key node information;
and the visualization module is used for visualizing the test log.
9. An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program when executed by the processor implementing a live APP based data processing method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements a live APP-based data processing method as claimed in any one of claims 1 to 7.
CN202011177720.7A 2020-10-28 2020-10-28 Data processing method and device based on live APP Pending CN112306870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011177720.7A CN112306870A (en) 2020-10-28 2020-10-28 Data processing method and device based on live APP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011177720.7A CN112306870A (en) 2020-10-28 2020-10-28 Data processing method and device based on live APP

Publications (1)

Publication Number Publication Date
CN112306870A true CN112306870A (en) 2021-02-02

Family

ID=74330578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011177720.7A Pending CN112306870A (en) 2020-10-28 2020-10-28 Data processing method and device based on live APP

Country Status (1)

Country Link
CN (1) CN112306870A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468068A (en) * 2021-07-21 2021-10-01 腾讯科技(深圳)有限公司 Virtual resource testing method and device, storage medium and electronic equipment
CN114697647A (en) * 2022-04-08 2022-07-01 微梦创科网络科技(中国)有限公司 Live broadcast testing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918586A (en) * 2017-10-25 2018-04-17 珠海金山网络游戏科技有限公司 A kind of resource loading efficiency analysis method and device based on daily record
CN109739762A (en) * 2018-12-29 2019-05-10 微梦创科网络科技(中国)有限公司 A kind of performance test methods and device of application program
CN109862379A (en) * 2018-12-29 2019-06-07 北京奇艺世纪科技有限公司 A kind of log processing method, device, mobile terminal and storage medium
CN110362483A (en) * 2019-06-19 2019-10-22 平安普惠企业管理有限公司 Performance data acquisition method, device, equipment and storage medium
CN111061647A (en) * 2019-12-26 2020-04-24 行吟信息科技(上海)有限公司 Software performance automatic testing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918586A (en) * 2017-10-25 2018-04-17 珠海金山网络游戏科技有限公司 A kind of resource loading efficiency analysis method and device based on daily record
CN109739762A (en) * 2018-12-29 2019-05-10 微梦创科网络科技(中国)有限公司 A kind of performance test methods and device of application program
CN109862379A (en) * 2018-12-29 2019-06-07 北京奇艺世纪科技有限公司 A kind of log processing method, device, mobile terminal and storage medium
CN110362483A (en) * 2019-06-19 2019-10-22 平安普惠企业管理有限公司 Performance data acquisition method, device, equipment and storage medium
CN111061647A (en) * 2019-12-26 2020-04-24 行吟信息科技(上海)有限公司 Software performance automatic testing method and device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468068A (en) * 2021-07-21 2021-10-01 腾讯科技(深圳)有限公司 Virtual resource testing method and device, storage medium and electronic equipment
CN113468068B (en) * 2021-07-21 2023-08-25 腾讯科技(深圳)有限公司 Virtual resource testing method and device, storage medium and electronic equipment
CN114697647A (en) * 2022-04-08 2022-07-01 微梦创科网络科技(中国)有限公司 Live broadcast testing method and device

Similar Documents

Publication Publication Date Title
CN110069463B (en) User behavior processing method, device electronic equipment and storage medium
CN107729475B (en) Webpage element acquisition method, device, terminal and computer-readable storage medium
CN110928772B (en) Test method and device
US10692048B2 (en) Apparatus and method for generating a chronological timesheet
WO2018120721A1 (en) Method and system for testing user interface, electronic device, and computer readable storage medium
CN106649063B (en) Method and system for monitoring time-consuming data during program operation
US9448908B2 (en) System and method for model based session management
US9904517B2 (en) System and method for automatic modeling of an application
CN107967209B (en) Method for detecting error in front-end webpage code, detection equipment and server
CN105843734A (en) Automatic test method and device and computing device
CN111552633A (en) Interface abnormal call testing method and device, computer equipment and storage medium
CN109815119B (en) APP link channel testing method and device
CN109271315B (en) Script code detection method, script code detection device, computer equipment and storage medium
CN110162730B (en) Information processing method, information processing device, computer equipment and storage medium
CN112306870A (en) Data processing method and device based on live APP
WO2017107679A1 (en) Historical information display method and apparatus
US20180336122A1 (en) Generating application flow entities
US9164746B2 (en) Automatic topology extraction and plotting with correlation to real time analytic data
CN109522179B (en) Server running state monitoring method and device, processor and server
CN112988776B (en) Method, device and equipment for updating text parsing rule and readable storage medium
CN112988580A (en) Test process reproduction method, device, equipment and storage medium
US20140282426A1 (en) Divide and conquer approach to scenario timeline activity attribution
CN116156266A (en) Multi-channel video data storage method, system, electronic equipment and storage medium
CN113254315B (en) Reporting method of embedded point information, embedded point method, device, medium and electronic equipment
CN115220987A (en) Data acquisition method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202