Movatterモバイル変換


[0]ホーム

URL:


CN113157570A - Method, device and storage medium for determining trigger subject information - Google Patents

Method, device and storage medium for determining trigger subject information
Download PDF

Info

Publication number
CN113157570A
CN113157570ACN202110373274.5ACN202110373274ACN113157570ACN 113157570 ACN113157570 ACN 113157570ACN 202110373274 ACN202110373274 ACN 202110373274ACN 113157570 ACN113157570 ACN 113157570A
Authority
CN
China
Prior art keywords
function
target
determining
subject information
call link
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
CN202110373274.5A
Other languages
Chinese (zh)
Other versions
CN113157570B (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.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Music Entertainment Technology Shenzhen Co LtdfiledCriticalTencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN202110373274.5ApriorityCriticalpatent/CN113157570B/en
Publication of CN113157570ApublicationCriticalpatent/CN113157570A/en
Application grantedgrantedCritical
Publication of CN113157570BpublicationCriticalpatent/CN113157570B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种确定触发主体信息的方法、设备及存储介质,属于互联网技术领域。所述方法包括:确定目标程序中各函数之间的调用关系并确定所述目标程序中经过修改的目标函数;基于所述调用关系,确定用于调用所述目标函数的至少一条函数调用链路;基于所述至少一条函数调用链路中的第一级函数,确定所述目标函数对应的触发主体信息。采用本申请,能够确定修改后的目标函数对应的各个触发主体信息,可提示测试人员对修改后的目标函数对应的各个触发方式进行测试。

Figure 202110373274

The present application discloses a method, device and storage medium for determining trigger subject information, belonging to the technical field of the Internet. The method includes: determining a calling relationship between functions in a target program and determining a modified target function in the target program; and determining at least one function calling link for calling the target function based on the calling relationship ; Determine the trigger subject information corresponding to the target function based on the first-level function in the at least one function call chain. With the present application, each trigger subject information corresponding to the modified target function can be determined, and the tester can be prompted to test each trigger mode corresponding to the modified target function.

Figure 202110373274

Description

Method, device and storage medium for determining trigger subject information
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, a device, and a storage medium for determining trigger subject information.
Background
The gray test is to modify part of functions in the application program or repair Bug, and then release the modified version in a small range, and use the current version of the application program by part of users. The developer can determine whether the problem exists in the application program of the current version according to the use condition of part of users on the application program of the current version.
Before the application program of a new version is released formally, the application program may need to be subjected to multiple gray scale tests, and each gray scale test needs a technician to modify the codes of corresponding functions in the application program according to the problems found in the gray scale test last time. After each modification, a tester is also required to test the function corresponding to the modified function, so as to ensure that the modified application program can solve the problem found in the previous grayscale test.
For example, the application program is an application program of the category of karaoke, and it is found in a gray scale test that the application program cannot record the singing sound of the user after the user clicks 'singing recording' to start singing a song. The technician can modify the code in the function for realizing the recording function and send the modified application program to the tester for testing. The tester can click the 'singing record' in the modified application program to record the song and determine whether the modified application program can record the sound. If the sound can be recorded, it can be determined that the technician has solved the problem found in the gray scale test.
In the course of implementing the present application, the inventors found that the related art has at least the following problems:
the function modified by the technician may be directly or indirectly called by different functions, that is, the function corresponding to the function may have different triggering modes, for example, the application is an application program of the karaoke category, and the modified function is a function for realizing the audio recording function, and the function may be triggered by controls such as video singing recording, chorus recording, and singing recording set in different pages of the application program, respectively. However, since the code analysis level of the tester is generally not too high, and it is unclear which trigger modes correspond to the functions modified by the technician, when testing the functions corresponding to the modified functions, the modified functions can only be tested according to the trigger mode in which the problem was detected in the previous gray scale test, so that the tester may miss the test of the modified functions by other trigger modes, thereby causing the problem in the modified application program.
Disclosure of Invention
The embodiment of the application provides a method, equipment and a storage medium for determining trigger subject information, which can determine each piece of trigger subject information corresponding to a modified target function and prompt a tester to test each trigger mode corresponding to the modified target function. The technical scheme is as follows:
in one aspect, a method for determining trigger subject information is provided, where the method includes:
determining a calling relationship among functions in a target program and determining a modified target function in the target program;
determining at least one function calling link for calling the target function based on the calling relation;
and determining trigger main body information corresponding to the target function based on the first-level function in the at least one function call link.
Optionally, the determining a modified objective function in the target program includes:
determining the position of each function in the target program;
and determining the modified target function in the target program based on the position of each function in the target program and the position of the recorded modified code in the target program.
Optionally, the determining, based on the call relation, at least one function call link for calling the target function includes:
determining at least one function that directly and indirectly calls the target function;
and determining at least one function calling link for calling the target function based on the calling relation among the at least one function.
Optionally, the determining, based on the target function and a call relationship between the at least one function, at least one function call link for calling the target function includes:
and sequentially determining a first-stage function added to the head of the target function call link based on the call relation among the functions in the at least one function and a recursive algorithm, determining whether the first-stage function added to the head of the target function call link each time is a target class function, and if the currently added first-stage function is the target class function, determining the currently determined target function call link as the function call link in the at least one function call link.
Optionally, the objective category function includes an operation function and a page exposure function.
Optionally, the determining, based on the first-level function in the at least one function call link, trigger subject information corresponding to the target function includes:
acquiring the corresponding relation between the function identifier and the trigger subject information;
and determining trigger subject information corresponding to the target function in the corresponding relation based on the target function identification of the target function.
Optionally, before determining the call relationship between the functions in the target program, the method further includes:
receiving a program version identification sent by a test management terminal, and determining a target program based on the program version identification;
after determining the trigger subject information corresponding to the objective function, the method further includes:
and sending trigger subject information corresponding to the target function to a test management terminal so that the test management terminal displays the received trigger subject information.
Optionally, the method further includes:
receiving a function call link query request sent by a test management terminal, wherein the function call link query request carries a function identifier of a target function and target trigger main body information;
determining a target function call link in the at least one function call link based on a function identifier of a target function and target trigger subject information carried in the function call link query request;
and sending the target function call link to the test management terminal so that the test management terminal displays the received target function call link.
Optionally, the trigger body information includes page information and page operation information.
In another aspect, an apparatus for determining trigger subject information is provided, the apparatus comprising:
the first determining module is used for determining the calling relationship among functions in the target program and determining the modified target function in the target program;
a second determining module, configured to determine, based on the call relation, at least one function call link for calling the target function;
and the third determining module is used for determining trigger main body information corresponding to the target function based on the first-level function in the at least one function call link.
Optionally, the first determining module is configured to:
determining the position of each function in the target program;
and determining the modified target function in the target program based on the position of each function in the target program and the position of the recorded modified code in the target program.
Optionally, the second determining module is configured to:
determining at least one function that directly and indirectly calls the target function;
and determining at least one function calling link for calling the target function based on the calling relation among the at least one function.
Optionally, the second determining module is configured to:
and sequentially determining a first-stage function added to the head of the target function call link based on the call relation among the functions in the at least one function and a recursive algorithm, determining whether the first-stage function added to the head of the target function call link each time is a target class function, and if the currently added first-stage function is the target class function, determining the currently determined target function call link as the function call link in the at least one function call link.
Optionally, the third determining module is configured to:
acquiring the corresponding relation between the function identifier and the trigger subject information;
and determining trigger subject information corresponding to the target function in the corresponding relation based on the target function identification of the target function.
Optionally, the apparatus further includes a transceiver module, configured to:
receiving a program version identification sent by a test management terminal, and determining a target program based on the program version identification;
the transceiver module is configured to:
and sending trigger subject information corresponding to the target function to a test management terminal so that the test management terminal displays the received trigger subject information.
Optionally, the transceiver module is further configured to:
receiving a function call link query request sent by a test management terminal, wherein the function call link query request carries a function identifier of a target function and target trigger main body information;
determining a target function call link in the at least one function call link based on a function identifier of a target function and target trigger subject information carried in the function call link query request;
and sending the target function call link to the test management terminal so that the test management terminal displays the received target function call link.
In yet another aspect, a computer device is provided, which includes a processor and a memory, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the operations performed by the method for determining trigger body information as described above.
In yet another aspect, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the operations performed by the method for determining trigger body information as described above.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
according to the method and the device, the calling relationship among functions in the target program and the modified target function in the target program are determined, then at least one function calling link for calling the target function is determined according to the calling relationship, and the first-level function in the at least one function calling link for calling the target function is the function for starting triggering the target function, so that after the triggering main body information (namely the triggering main body information corresponding to the target function) of the first-level function of each function calling link is determined, the triggering main body corresponding to the modified target function can be determined. By the method and the device, the modified program does not need to be analyzed by a tester, the tester can directly obtain each trigger main body corresponding to the modified target function, and therefore the target function can be triggered according to each trigger main body to test the target function.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a method for determining trigger subject information according to an embodiment of the present application;
fig. 2 is a flowchart of a method for determining trigger subject information according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a method for determining trigger subject information according to an embodiment of the present application;
fig. 4 is a schematic diagram of a method for determining trigger subject information according to an embodiment of the present application;
fig. 5 is a flowchart of a method for determining trigger subject information according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a method for determining trigger subject information according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for determining trigger subject information according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
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.
The method for determining the trigger subject information can be realized by the terminal or realized by the terminal and the server together. The terminal can be accessed to the internet, and can be a mobile phone, a tablet personal computer, intelligent wearable equipment, a desktop computer, a notebook computer and the like. The server may be a server establishing network connection with the terminal, and the server may be a single server or a server group, and if the server is a single server, the server may be responsible for all processing in the following scheme, and if the server is a server group, different servers in the server group may be respectively responsible for different processing in the following scheme, and specific processing allocation conditions may be arbitrarily set by a technical person according to actual requirements, and are not described herein again.
Different functions in the application program can be realized by different functions in the corresponding program code, each function corresponding to the application program comprises an operation function for monitoring operation events of a user, such as clicking a control, a sliding page and the like in the application program, and after the operation function is triggered, other functions can be called to realize corresponding functions. For example, when a user clicks a music playing control in a music playing application, a function corresponding to the music playing control may call a music data downloading function, a music playing function, a lyric display function, and the like, so as to implement a function of the music playing application for playing music.
As shown in fig. 1, a function may be called through a plurality of different function call links, and when a function is modified, it may affect the different function call links to normally call the function, so after the function is modified, a tester needs to test whether the modified function can be normally called according to each function call link, thereby implementing a function corresponding to the modified function. The function of the first level in each function call link is a trigger function for triggering the modified function, and the function is generally an operation function of a user or a page exposure function. The method for determining the trigger subject information provided by the embodiment of the application can determine the trigger function corresponding to the modified function and the operation or page corresponding to the trigger function.
Fig. 2 is a method for determining trigger subject information according to an embodiment of the present application, and as shown in fig. 2, the method includes:
step 201, determining the calling relationship among the functions in the target program and determining the modified target function in the target program.
The target program is a program code corresponding to the application program to be tested, which is modified by the technician, and the target function is a function modified by the technician in the program code corresponding to the application program to be tested.
In implementation, after the technician completes modification of the target program in the programming software, the technician may obtain a program file corresponding to the target program, and if the application program is an android application program, the corresponding program file may be an apk (android application package) file. And then performing decompiling processing on the program file to obtain the calling relation of each function in the target program. As shown in fig. 3, a tested apk is a program file of a target program, and may scan and analyze each smali (a file format) file included in the apk file one by one, traverse and analyze each class to obtain an analysis class variable and a method body, and then traverse and analyze the method body to obtain a variable invoke and a function invoke. Wherein, the method body is the function caller, and the variable invoke and the function invoke are the callee. After all the function call relations are obtained, the call relations of the functions can be stored. The calling relationship of each function can be represented by a plurality of function pairs, and each function pair comprises a function caller and a callee, as shown in table one.
Watch 1
Figure BDA0003010210980000071
In addition, before storing the call relation of each function, the call relation of each function may be subjected to deduplication processing to reduce the amount of stored data.
Alternatively, the process of determining the modified objective function in the objective program may be as follows: determining the position of each function in the target program; and determining the modified target function in the target program based on the position of each function in the target program and the position of the pre-recorded modified code in the target program.
In implementation, after the target program is decompiled, the calling relationship of each function can be obtained, and the corresponding line number of each function in the target program can also be obtained. And when a technician modifies the code in the target program through the programming software, the programming software can record the position of the modified code, such as the line number of the modified code in the target program, wherein the programming development software can be git (open source distributed version control system). Thus, the function modified in the target program by the technician at this time can be determined by acquiring the line number of the modified code recorded by the programming software and the corresponding line number of each function in the target program.
Step 202, determining at least one function call link for calling the target function based on the call relation.
In implementation, after the call relation of each function and the modified target function are obtained, at least one function call link for calling the target function may be determined according to the call relation of each function. The function call chain can comprise a plurality of functions, the function of the previous stage in the function call chain can call the function of the next stage, and the target function is the function of the last stage of the function call chain.
It should be noted that, in the embodiment of the present application, at least one function call link for calling the target function may be all function call links for calling the target function.
In the embodiment of the present application, all the trigger functions corresponding to the target function may be determined by calling all the function call links corresponding to the target function, so as to prompt a tester to test the target function through each trigger function, where the process of determining each function call link for calling the target function may be as follows: determining at least one function that directly and indirectly calls the target function; and determining at least one function calling link for calling the target function based on the calling relation among the at least one function.
In implementation, at least one function for directly and indirectly calling the target function may be determined by a calling relationship between the respective functions, respectively. A function in which the target function is indirectly called is a function that calls the target function by calling another function or functions. Then, according to the calling relation of each function in at least one function, each function calling link for calling the target function is determined in sequence. In other words, in any function call link corresponding to the target function, the target function is the last-stage function in the function call link, the penultimate function in the function call link is the function for directly calling the target function, the penultimate function in the function call link is the function for directly calling the penultimate function, and so on, the first-stage function in the function call link is the trigger function for triggering the target function.
Optionally, the processing of determining at least one function call link according to the call relationship of each function in at least one function may be as follows: and determining a first-stage function added to the head of the target function call link in sequence based on the call relation among the functions in the at least one function and a recursive algorithm, determining whether the first-stage function added to the head of the target function call link each time is a target class function, and if the first-stage function added currently is the target class function, determining the currently determined target function call link as a function call link in the at least one function call link.
In implementation, functions and relationships between functions may constitute a functional relationship call graph, where each function is a vertex in the graph and the relationships between functions may be considered as directed edges between vertices. Therefore, in the embodiment of the present application, a tree with the target function as a root node may be generated according to the functional relationship call graph, and the corresponding multiple function call links for calling the target function are represented in the form of the tree. As shown in fig. 4, a first function directly calling a target function may be obtained as a first child node of a root node, then a second function calling the first function is respectively obtained as a second child node of each first child node, and so on, a function-calling relationship tree with the target function as the root node may be obtained. The specific generation of the function call relation tree can be realized by a recursive algorithm, which belongs to the prior art and is not described herein again. The number of a plurality of function call links for calling a target function in the function call relation tree is the same as the number of nodes without child nodes in the function call relation tree, each branch corresponding to a root node of the function call relation tree is a function call link, wherein a function corresponding to a node without a child node is a trigger function, namely a first-level function in the function call links, and a path from the node corresponding to each trigger function to the root node is each function call link corresponding to the target function.
When the new sub-node added to the tree is determined through the recursive algorithm, whether the function corresponding to the new sub-node added is the target class function or not can be judged. If the corresponding function is the target category function, the searching for the child node corresponding to the newly added child node can be stopped, and if the corresponding function is the target category function, the searching for the child node corresponding to the newly added child node can be continued. In addition, the existing recursive algorithm can avoid trapping dead loops in the calling relation of the query function, and the specific algorithm process is the prior art and is not described herein again.
The target category function may be an operation function and a page exposure function. Therefore, a tester can perform corresponding operation or trigger a corresponding page according to the operation function and the page exposure function in the function call link, and then the execution of the target function is triggered.
Step 203, determining trigger subject information corresponding to the target function based on the first-level function in the at least one function call link.
The first-level function is a function which can be triggered by a user through operating an application program, and after the first-level function is triggered, the first-level function can call a target function according to a function call relation, so that the execution of the target function is triggered. However, after the first-level function is obtained, the tester may not know how to operate the application program to trigger the first-level function, so in this embodiment of the present application, trigger subject information of the first-level function, that is, trigger subject information corresponding to the trigger target function, may also be determined, so as to prompt the tester to trigger the target function according to the trigger subject information, and test the target function.
The trigger body information comprises page information and page operation information. The page information is page information corresponding to a page displayable in the application program, and may be a page identifier or a page name, such as a login page, a song playing page, and the like. The page operation information is an operation that a user can perform in a page displayed by an application program, for example, a name of a control that can trigger an objective function in a certain page, such as a play button, a record button, and the like, or operation information that is performed in a certain page, such as a sliding operation, a clicking operation, and the like. Therefore, the tester can trigger the execution of the target function only by opening the corresponding page or performing corresponding operation in the corresponding page.
Optionally, determining trigger body information corresponding to the target function based on the first-level function in the at least one function call link includes: acquiring the corresponding relation between the function identifier and the trigger subject information; and determining trigger subject information corresponding to the target function in the corresponding relation based on the target function identification of the target function.
The corresponding relation between the function identifier and the trigger subject information can be obtained through two modes.
The first method is as follows: when the application program is provided with a user operation behavior reporting function, that is, when a user clicks a key, slides, and opens a page in the application program, the application program can send the user operation behavior to the corresponding service server, and the reporting function requires a technician to bury a point in the corresponding function in advance. That is, reporting logic is added in the corresponding function, and when the corresponding function is triggered, a corresponding key (key) can be reported to the server, wherein the key is a character string in the corresponding function. The service server may record the correspondence between the key and the trigger body information, as shown in table two below.
Watch two
Figure BDA0003010210980000101
The service server is a background server corresponding to the application program, and when receiving a key sent by a terminal for installing a target application program, the service server can determine the current operation of the user according to the corresponding relation recorded in the second table. The key in the above correspondence is written in the corresponding function. The correspondence between the key and the trigger body information is preset by a technician. Therefore, in the embodiment of the present application, the correspondence between the key preset by the technician and the trigger subject information may be obtained, after the first-level function is determined, the key included in the first-level function may be obtained, and the trigger subject information corresponding to each first-level function may be determined according to the correspondence between the key and the trigger subject information as set in table two.
The second method comprises the following steps: technicians can perform AOP (Aspect Oriented Programming) dynamic instrumentation in each operation function of the application program through AOP (Aspect Oriented Programming) technology, and record operation behaviors of users on the application program, for example, record operation logs of the application program. The AOP dynamic instrumentation technique is different from the first reporting function, and cannot directly obtain the recorded operation information from the function, and it is necessary for a tester to test the modified application program at a test terminal where the modified application program is installed, so as to obtain the operation information corresponding to each trigger body recorded by the application program, thereby obtaining the corresponding relationship between each function identifier and the trigger body information. The function identifier may be a control identifier, a page identifier, or the like included in the function, and thus after the first-level function is determined, the trigger body information corresponding to the target function may be determined according to the control, the page identifier, and the corresponding relationship between the function identifier and the trigger body information included in the first-level function.
It should be noted that one application program may simultaneously include a user operation behavior reporting function in the first mode and an AOP dynamic instrumentation function in the second mode. In the embodiment of the present application, the trigger body information corresponding to the objective function may be determined by using the method of the first mode, and if the trigger body information corresponding to all the objective functions cannot be determined by using the method of the first mode, the trigger body information corresponding to the remaining objective functions may be determined by using the method of the second mode.
According to the method and the device, the calling relation among the functions in the target program and the modified target function in the target program are determined, then at least one function calling link for calling the target function is determined according to the calling relation, and the first-level function in the at least one function calling link for calling the target function is the entry function for starting triggering the target function, so that after the trigger body information corresponding to the first-level function of each function calling link is determined, the trigger body corresponding to the modified target function can be determined. By the method and the device, the modified program does not need to be analyzed by a tester, the tester can directly obtain each trigger main body corresponding to the modified target function, and therefore the target function can be triggered according to each trigger main body to test the target function.
Fig. 5 is a method for determining trigger subject information according to an embodiment of the present application, where the method may be implemented by a test management terminal and a management server, and the corresponding processing is as follows:
step 501, the test management terminal sends a test notification for determining the target program to the management server.
The target program test notification includes a program version number corresponding to the target program. As shown in fig. 6, fig. 6 is a test management interface. The test management terminal can access the test management interface through the internet, and a tester can obtain a program identifier corresponding to the target program to be tested. For example, if the program development software for modifying the target program is git, the program version number corresponding to the target program may be git version (version number) of the modified target program, and git version may be provided by a technician. The tester can input the corresponding git version to the corresponding position in the test management interface, and click "begin parsing". After the tester clicks "start parsing", the test management terminal may send git version input by the tester to the management server.
Step 502, the management server receives a test notification of a target program sent by the test management terminal, determines the target program, determines a call relation among functions in the target program and determines a modified target function in the target program; determining at least one function call link for calling the target function based on the call relation; and determining trigger main body information corresponding to the target function based on the first-level function in the at least one function call link.
After receiving the test notification of the target program sent by the test management terminal, the management server may further include a program version number corresponding to the target program in the test notification of the target program to determine the target program to be tested by the tester. The processing after the target program is determined is the same as the processing in the above step 201-203, and is not described herein again.
Step 503, the management server sends the trigger subject information corresponding to the target function to the test management terminal.
And the management server obtains the trigger body information corresponding to the modified target function in the target program. And then, sending the trigger subject information corresponding to the target function to the test management terminal.
And step 504, the test management terminal displays the trigger main body information corresponding to the target function.
After the test management terminal receives the trigger subject information sent by the management server, the trigger subject information can be displayed to prompt a tester to test the modified application program.
In addition, the management server can also receive a function call link query request sent by the test management terminal. Determining a target function calling link in at least one function calling link based on a function identifier of a target function and target trigger main body information carried in a function calling link query request; and sending the target function call link to the test management terminal so that the test management terminal displays the received target function call link. The function call link query request carries a function identifier of the target function and target trigger body information.
As shown in the test management interface shown in fig. 6, a tester may click on a target function in the test management interface, and a first-level function and corresponding trigger subject information in each function call link corresponding to the target function are displayed on one side of the test management interface. The tester can click the corresponding trigger subject information and check the function call link corresponding to the clicked trigger subject information. After the tester clicks the corresponding trigger subject information, the test management terminal may send a function call link query request to the management server.
After receiving a function call link query request sent by a test management terminal, a management server may determine a target function call link in at least one function call link according to a function identifier of a target function and target trigger body information carried in the function call link query request, where the corresponding processing may be as follows:
in implementation, at least one function call link corresponding to the target function is stored through a tree structure. And determining a trigger function corresponding to the target trigger main body information in a target function call link corresponding to the determined target trigger main body information, and determining a first node corresponding to the trigger function in a function call relation tree corresponding to the target function, wherein the first node has no child node. The trigger function is the first-level function in the target function call link. After the first node is determined, it may be sequentially determined that a parent node (a second node) of the first node corresponds to the second-level function, and a parent node (a third node) of the second node corresponds to the third-level function, until the corresponding parent node is determined to be a root node of the tree, so as to obtain a target function call link corresponding to the target trigger body. And then, the target function call link can be sent to the test management terminal, so that the test management terminal displays the target function call link, and a tester is prompted to test the modified application program.
The method and the device for determining the trigger body information of the first-level function of each function call link determine the call relationship among the functions in the target program and the modified target function in the target program, then determine at least one function call link for calling the target function according to the call relationship, and determine the trigger body information corresponding to the first-level function of each function call link. Therefore, the trigger main body corresponding to the modified target function can be determined, and the modified program does not need to be analyzed by a tester, so that the tester can carry out complete test on the modified target function.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 7 is an apparatus for determining trigger subject information according to an embodiment of the present application, where the apparatus may be a server in the foregoing embodiment, and the apparatus includes:
a first determining module 710, configured to determine a call relationship between functions in a target program and determine a modified target function in the target program;
a second determining module 720, configured to determine, based on the call relation, at least one function call link for calling the target function;
a third determining module 730, configured to determine, based on the first-level function in the at least one function call link, trigger subject information corresponding to the target function.
Optionally, the first determining module 710 is configured to:
determining the position of each function in the target program;
and determining the modified target function in the target program based on the position of each function in the target program and the position of the recorded modified code in the target program.
Optionally, the second determining module 720 is configured to:
determining at least one function that directly and indirectly calls the target function;
and determining at least one function calling link for calling the target function based on the calling relation among the at least one function.
Optionally, the second determining module 720 is configured to:
and sequentially determining a first-stage function added to the head of the target function call link based on the call relation among the functions in the at least one function and a recursive algorithm, determining whether the first-stage function added to the head of the target function call link each time is a target class function, and if the currently added first-stage function is the target class function, determining the currently determined target function call link as the function call link in the at least one function call link.
Optionally, the third determining module 730 is configured to:
acquiring the corresponding relation between the function identifier and the trigger subject information;
and determining trigger subject information corresponding to the target function in the corresponding relation based on the target function identification of the target function.
Optionally, the apparatus further includes a transceiver module, configured to:
receiving a program version identification sent by a test management terminal, and determining a target program based on the program version identification;
the transceiver module is configured to:
and sending trigger subject information corresponding to the target function to a test management terminal so that the test management terminal displays the received trigger subject information.
Optionally, the transceiver module is further configured to:
receiving a function call link query request sent by a test management terminal, wherein the function call link query request carries a function identifier of a target function and target trigger main body information;
determining a target function call link in the at least one function call link based on a function identifier of a target function and target trigger subject information carried in the function call link query request;
and sending the target function call link to the test management terminal so that the test management terminal displays the received target function call link.
It should be noted that: the apparatus for determining trigger body information provided in the foregoing embodiment is only illustrated by dividing the functional modules when determining trigger body information, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the apparatus for determining trigger body information and the method for determining trigger body information provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 8 shows a block diagram of anelectronic device 800 according to an exemplary embodiment of the present application. Theelectronic device 800 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (moving picture experts group audio layer III, motion picture experts group audio layer 3), an MP4 player (moving picture experts group audio layer IV, motion picture experts group audio layer 4), a notebook computer, or a desktop computer. Theelectronic device 800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so forth.
In general, theelectronic device 800 includes: aprocessor 801 and amemory 802.
Theprocessor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. Theprocessor 801 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). Theprocessor 801 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. In some embodiments, theprocessor 801 may be integrated with a GPU (graphics processing unit) which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, theprocessor 801 may further include an AI (artificial intelligence) processor for processing computing operations related to machine learning.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory.Memory 802 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, a non-transitory computer readable storage medium inmemory 802 is used to store at least one instruction for execution byprocessor 801 to implement the method of determining trigger body information provided by method embodiments herein.
In some embodiments, theelectronic device 800 may further optionally include: aperipheral interface 803 and at least one peripheral. Theprocessor 801,memory 802 andperipheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected toperipheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of aradio frequency circuit 804, adisplay screen 805, acamera assembly 806, anaudio circuit 807, apositioning assembly 808, and apower supply 809.
Theperipheral interface 803 may be used to connect at least one peripheral related to I/O (input/output) to theprocessor 801 and thememory 802. In some embodiments, theprocessor 801,memory 802, andperipheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of theprocessor 801, thememory 802, and theperipheral interface 803 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
Theradio frequency circuit 804 is used for receiving and transmitting RF (radio frequency) signals, also called electromagnetic signals. Theradio frequency circuitry 804 communicates with communication networks and other communication devices via electromagnetic signals. Therf circuit 804 converts an electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, theradio frequency circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. Theradio frequency circuit 804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (wireless fidelity) networks. In some embodiments, theradio frequency circuit 804 may further include NFC (near field communication) related circuits, which are not limited in this application.
Thedisplay screen 805 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When thedisplay 805 is a touch display, thedisplay 805 also has the ability to capture touch signals on or above the surface of thedisplay 805. The touch signal may be input to theprocessor 801 as a control signal for processing. At this point, thedisplay 805 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, thedisplay 805 may be one, disposed on the front panel of theelectronic device 800; in other embodiments, the number of the display screens 805 may be at least two, and the at least two display screens are respectively disposed on different surfaces of theelectronic device 800 or are in a folding design; in other embodiments, thedisplay 805 may be a flexible display, disposed on a curved surface or on a folded surface of theelectronic device 800. Even further, thedisplay 805 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. Thedisplay 805 may be made of LCD (liquid crystal display), OLED (organic light-emitting diode), or other materials.
Thecamera assembly 806 is used to capture images or video. Optionally,camera assembly 806 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 of the rear cameras 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,camera assembly 806 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.
Theaudio circuit 807 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 theprocessor 801 for processing or inputting the electric signals to theradio frequency circuit 804 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of theelectronic device 800. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from theprocessor 801 or theradio frequency circuit 804 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, theaudio circuitry 807 may also include a headphone jack.
Thepositioning component 808 is configured to locate a current geographic location of theelectronic device 800 to implement navigation or LBS (location based service). Thepositioning component 808 may be a positioning component based on the united states GPS (global positioning system), the chinese beidou system, or the russian galileo system.
Thepower supply 809 is used to power the various components in theelectronic device 800. Thepower supply 809 can be ac, dc, disposable or rechargeable. When thepower supply 809 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.
In some embodiments, theelectronic device 800 also includes one or more sensors 810. The one or more sensors 810 include, but are not limited to: acceleration sensor 811, gyro sensor 812,pressure sensor 813, fingerprint sensor 814, optical sensor 815 andproximity sensor 816.
The acceleration sensor 811 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with theelectronic device 800. For example, the acceleration sensor 811 may be used to detect the components of the gravitational acceleration in three coordinate axes. Theprocessor 801 may control thedisplay 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811. The acceleration sensor 811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 812 may detect a body direction and a rotation angle of theelectronic device 800, and the gyro sensor 812 may cooperate with the acceleration sensor 811 to acquire a 3D motion of the user on theelectronic device 800. From the data collected by the gyro sensor 812, theprocessor 801 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 813 may be disposed on the side bezel ofelectronic device 800 and/or underneathdisplay screen 805. When thepressure sensor 813 is disposed on the side frame of theelectronic device 800, the holding signal of the user to theelectronic device 800 can be detected, and theprocessor 801 performs left-right hand recognition or shortcut operation according to the holding signal collected by thepressure sensor 813. When thepressure sensor 813 is disposed at a lower layer of thedisplay screen 805, theprocessor 801 controls the operability control on the UI interface according to the pressure operation of the user on thedisplay screen 805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 814 is used for collecting a fingerprint of the user, and theprocessor 801 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 814, or the fingerprint sensor 814 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, theprocessor 801 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 814 may be disposed on the front, back, or side ofelectronic device 800. When a physical button or vendor Logo is provided on theelectronic device 800, the fingerprint sensor 814 may be integrated with the physical button or vendor Logo.
The optical sensor 815 is used to collect the ambient light intensity. In one embodiment,processor 801 may control the display brightness ofdisplay 805 based on the ambient light intensity collected by optical sensor 815. Specifically, when the ambient light intensity is high, the display brightness of thedisplay screen 805 is increased; when the ambient light intensity is low, the display brightness of thedisplay 805 is reduced. In another embodiment, theprocessor 801 may also dynamically adjust the shooting parameters of thecamera assembly 806 based on the ambient light intensity collected by the optical sensor 815.
Aproximity sensor 816, also known as a distance sensor, is typically disposed on the front panel of theelectronic device 800. Theproximity sensor 816 is used to capture the distance between the user and the front of theelectronic device 800. In one embodiment, theprocessor 801 controls thedisplay 805 to switch from the bright screen state to the dark screen state when theproximity sensor 816 detects that the distance between the user and the front surface of theelectronic device 800 is gradually reduced; when theproximity sensor 816 detects that the distance between the user and the front surface of theelectronic device 800 is gradually increased, thedisplay screen 805 is controlled by theprocessor 801 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 8 does not constitute a limitation ofelectronic device 800, and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
Fig. 9 is a schematic structural diagram of a server provided in this embodiment of the present application, where theserver 900 may generate relatively large differences due to different configurations or performances, and may include one or more processors (cpus) 901 and one ormore memories 902, where thememory 902 stores at least one instruction, and the at least one instruction is loaded and executed by theprocessors 901 to implement the methods provided by the foregoing method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, including instructions executable by a processor in a terminal to perform the method of determining trigger body information in the above embodiments is also provided. The computer readable storage medium may be non-transitory. For example, the computer-readable storage medium may be a ROM (read-only memory), a RAM (random access memory), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

Translated fromChinese
1.一种确定触发主体信息的方法,其特征在于,所述方法包括:1. A method for determining triggering subject information, wherein the method comprises:确定目标程序中各函数之间的调用关系并确定所述目标程序中经过修改的目标函数;Determine the calling relationship between the functions in the target program and determine the modified target function in the target program;基于所述调用关系,确定用于调用所述目标函数的至少一条函数调用链路;Based on the calling relationship, determining at least one function call link for calling the target function;基于所述至少一条函数调用链路中的第一级函数,确定所述目标函数对应的触发主体信息。Based on the first-level function in the at least one function call chain, the trigger subject information corresponding to the target function is determined.2.根据权利要求1所述的方法,其特征在于,所述确定所述目标程序中经过修改的目标函数,包括:2. The method according to claim 1, wherein the determining the modified target function in the target program comprises:确定所述目标程序中各个函数在所述目标程序中的位置;Determine the position of each function in the target program in the target program;基于所述各个函数在目标程序中的位置以及记录的经过修改的代码在所述目标程序中的位置,确定目标程序中经过修改的目标函数。Based on the positions of the respective functions in the target program and the positions of the recorded modified codes in the target program, the modified target functions in the target program are determined.3.根据权利要求1所述的方法,其特征在于,所述基于所述调用关系,确定用于调用所述目标函数的至少一条函数调用链路,包括:3. The method according to claim 1, wherein the determining, based on the calling relationship, at least one function call link for calling the target function comprises:确定直接和间接调用目标函数的至少一个函数;Identify at least one function that directly and indirectly calls the target function;基于所述至少一个函数之间的调用关系,确定用于调用所述目标函数的至少一条函数调用链路。Based on the calling relationship between the at least one function, at least one function call link for calling the target function is determined.4.根据权利要求3所述的方法,其特征在于,所述基于所述目标函数以及所述至少一个函数之间的调用关系,确定用于调用所述目标函数的至少一条函数调用链路,包括:4. The method according to claim 3, wherein the at least one function call link for calling the target function is determined based on the calling relationship between the target function and the at least one function, include:基于至少一个函数中各函数之间的调用关系以及递归算法,依次确定添加到目标函数调用链路头部的第一级函数,并确定每次添加到目标函数调用链路头部的第一级函数是否为目标类别函数,如果当前添加的第一级函数为所述目标类别函数,则将当前确定的目标函数调用链路确定为所述至少一条函数调用链路中的函数调用链路。Based on the calling relationship between the functions in the at least one function and the recursive algorithm, the first-level functions added to the header of the target function call link are sequentially determined, and the first-level functions added to the header of the target function call link are determined each time Whether the function is a target class function, if the currently added first-level function is the target class function, the currently determined target function call link is determined as a function call link in the at least one function call link.5.根据权利要求4所述的方法,其特征在于,所述目标类别函数包括操作函数和页面曝光函数。5. The method according to claim 4, wherein the target category function comprises an operation function and a page exposure function.6.根据权利要求1所述的方法,其特征在于,所述基于所述至少一条函数调用链路中的第一级函数,确定所述目标函数对应的触发主体信息,包括:6 . The method according to claim 1 , wherein the determining the trigger subject information corresponding to the target function based on the first-level function in the at least one function call chain comprises: 6 .获取函数标识与触发主体信息的对应关系;Obtain the corresponding relationship between the function identifier and the triggering subject information;基于所述目标函数的目标函数标识,在所述对应关系中确定所述目标函数对应的触发主体信息。Based on the target function identifier of the target function, the trigger subject information corresponding to the target function is determined in the corresponding relationship.7.根据权利要求1所述的方法,其特征在于,所述确定目标程序中各函数之间的调用关系之前,所述方法还包括:7. The method according to claim 1, characterized in that, before said determining the calling relationship between the functions in the target program, the method further comprises:接收测试管理终端发送的程序版本标识,基于所述程序版本标识确定目标程序;Receive the program version identifier sent by the test management terminal, and determine the target program based on the program version identifier;所述确定所述目标函数对应的触发主体信息之后,所述方法还包括:After determining the trigger subject information corresponding to the target function, the method further includes:向测试管理终端发送目标函数对应的触发主体信息,以使所述测试管理终端对接收到的触发主体信息进行显示。Send the trigger subject information corresponding to the target function to the test management terminal, so that the test management terminal displays the received trigger subject information.8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, wherein the method further comprises:接收测试管理终端发送的函数调用链路查询请求,其中,所述函数调用链路查询请求中携带有目标函数的函数标识以及目标触发主体信息;receiving a function call link query request sent by the test management terminal, wherein the function call link query request carries the function identifier of the target function and target trigger subject information;基于所述函数调用链路查询请求中携带的目标函数的函数标识以及目标触发主体信息,在所述至少一条函数调用链路中确定目标函数调用链路;Determine a target function call link in the at least one function call link based on the function identifier of the target function and target trigger subject information carried in the function call link query request;向所述测试管理终端发送所述目标函数调用链路,以使所述测试管理终端对接收到的目标函数调用链路进行显示。Sending the target function call link to the test management terminal, so that the test management terminal displays the received target function call link.9.根据权利要求1所述的方法,其特征在于,所述触发主体信息包括页面信息以及页面操作信息。9 . The method according to claim 1 , wherein the trigger subject information includes page information and page operation information. 10 .10.一种计算机设备,其特征在于,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如权利要求1至权利要求9任一项所述的确定触发主体信息的方法所执行的操作。10. A computer device, characterized in that the computer device comprises a processor and a memory, the memory stores at least one instruction, the at least one instruction is loaded and executed by the processor to implement the method of claim 1 To the operations performed by the method for determining trigger subject information according to any one of claims 9.11.一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如权利要求1至权利要求9任一项所述的确定触发主体信息的方法所执行的操作。11. A computer-readable storage medium, characterized in that, at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the method according to any one of claims 1 to 9. The operations performed by the method for determining trigger subject information described above.
CN202110373274.5A2021-04-072021-04-07 Method, device and storage medium for determining trigger subject informationActiveCN113157570B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110373274.5ACN113157570B (en)2021-04-072021-04-07 Method, device and storage medium for determining trigger subject information

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110373274.5ACN113157570B (en)2021-04-072021-04-07 Method, device and storage medium for determining trigger subject information

Publications (2)

Publication NumberPublication Date
CN113157570Atrue CN113157570A (en)2021-07-23
CN113157570B CN113157570B (en)2025-03-18

Family

ID=76888889

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110373274.5AActiveCN113157570B (en)2021-04-072021-04-07 Method, device and storage medium for determining trigger subject information

Country Status (1)

CountryLink
CN (1)CN113157570B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114297061A (en)*2021-12-272022-04-08南京中孚信息技术有限公司Software project fault positioning method and device and electronic equipment
CN117931610A (en)*2022-10-132024-04-26腾讯科技(深圳)有限公司 Application test method, device, electronic device and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105912467A (en)*2016-04-082016-08-31腾讯科技(深圳)有限公司Performance test method and device
CN107015841A (en)*2017-03-312017-08-04腾讯科技(深圳)有限公司The preprocess method and program compiling equipment of a kind of program compiling
CN107885482A (en)*2017-11-072018-04-06广东欧珀移动通信有限公司Audio frequency playing method, device, storage medium and electronic equipment
CN107908551A (en)*2017-10-272018-04-13中国平安人寿保险股份有限公司Terminal software test method, device, terminal and computer-readable storage medium
CN108897659A (en)*2018-06-062018-11-27腾讯音乐娱乐科技(深圳)有限公司Modify journal stage method for distinguishing, device and storage medium
CN110109821A (en)*2019-03-192019-08-09深圳壹账通智能科技有限公司Software program quality evaluating method, device, computer equipment and storage medium
CN110134582A (en)*2019-04-032019-08-16口碑(上海)信息技术有限公司The processing of test case and data processing method and device
CN110162413A (en)*2018-02-122019-08-23华为技术有限公司Event-driven method and device
CN111078559A (en)*2019-12-182020-04-28广州品唯软件有限公司 Method, device, medium and computer equipment for extracting function calls in java code
CN111291374A (en)*2020-02-202020-06-16支付宝(杭州)信息技术有限公司Application program detection method, device and equipment
CN111367929A (en)*2020-03-032020-07-03腾讯科技(深圳)有限公司Data management method and device and storage medium
CN111382073A (en)*2020-03-092020-07-07腾讯科技(深圳)有限公司Automatic test case determination method, device, equipment and storage medium
CN111737100A (en)*2020-06-092020-10-02北京三快在线科技有限公司Data acquisition method, device, equipment and storage medium
CN111831532A (en)*2019-04-152020-10-27富士通株式会社 Method for constructing test scene and information processing device
WO2020233015A1 (en)*2019-05-202020-11-26平安普惠企业管理有限公司Link tracking method and apparatus
CN112445692A (en)*2019-08-272021-03-05腾讯科技(深圳)有限公司Case testing method and terminal

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105912467A (en)*2016-04-082016-08-31腾讯科技(深圳)有限公司Performance test method and device
CN107015841A (en)*2017-03-312017-08-04腾讯科技(深圳)有限公司The preprocess method and program compiling equipment of a kind of program compiling
CN107908551A (en)*2017-10-272018-04-13中国平安人寿保险股份有限公司Terminal software test method, device, terminal and computer-readable storage medium
CN107885482A (en)*2017-11-072018-04-06广东欧珀移动通信有限公司Audio frequency playing method, device, storage medium and electronic equipment
CN110162413A (en)*2018-02-122019-08-23华为技术有限公司Event-driven method and device
CN108897659A (en)*2018-06-062018-11-27腾讯音乐娱乐科技(深圳)有限公司Modify journal stage method for distinguishing, device and storage medium
CN110109821A (en)*2019-03-192019-08-09深圳壹账通智能科技有限公司Software program quality evaluating method, device, computer equipment and storage medium
CN110134582A (en)*2019-04-032019-08-16口碑(上海)信息技术有限公司The processing of test case and data processing method and device
CN111831532A (en)*2019-04-152020-10-27富士通株式会社 Method for constructing test scene and information processing device
WO2020233015A1 (en)*2019-05-202020-11-26平安普惠企业管理有限公司Link tracking method and apparatus
CN112445692A (en)*2019-08-272021-03-05腾讯科技(深圳)有限公司Case testing method and terminal
CN111078559A (en)*2019-12-182020-04-28广州品唯软件有限公司 Method, device, medium and computer equipment for extracting function calls in java code
CN111291374A (en)*2020-02-202020-06-16支付宝(杭州)信息技术有限公司Application program detection method, device and equipment
CN111367929A (en)*2020-03-032020-07-03腾讯科技(深圳)有限公司Data management method and device and storage medium
CN111382073A (en)*2020-03-092020-07-07腾讯科技(深圳)有限公司Automatic test case determination method, device, equipment and storage medium
CN111737100A (en)*2020-06-092020-10-02北京三快在线科技有限公司Data acquisition method, device, equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KAI-HSIANG HSU 等: "SAFECHAIN: Securing Trigger-Action Programming From Attack Chains", 《IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY》, vol. 14, no. 10, 31 October 2019 (2019-10-31), pages 2607 - 2622, XP011729232, DOI: 10.1109/TIFS.2019.2899758*
孙冉 等: "面向Python的函数调用路径静态提取方法研究", 《计算机仿真》, no. 04, 15 April 2019 (2019-04-15), pages 246 - 252*
胡明珏 等: "面向C#的函数调用路径生成", 《计算机仿真》, no. 09, 15 September 2016 (2016-09-15), pages 283 - 288*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114297061A (en)*2021-12-272022-04-08南京中孚信息技术有限公司Software project fault positioning method and device and electronic equipment
CN117931610A (en)*2022-10-132024-04-26腾讯科技(深圳)有限公司 Application test method, device, electronic device and storage medium

Also Published As

Publication numberPublication date
CN113157570B (en)2025-03-18

Similar Documents

PublicationPublication DateTitle
CN109582579B (en)Application program testing method and device, electronic equipment and storage medium
CN112052008B (en)Code checking method, device, computer equipment and computer readable storage medium
CN111338910B (en) Log data processing and display method, device, device and storage medium
CN111737100A (en)Data acquisition method, device, equipment and storage medium
CN111177013A (en)Log data acquisition method and device, computer equipment and storage medium
CN111752666A (en)Window display method and device and terminal
CN113760362A (en)Application program transplanting method, device, equipment and medium
CN111459466B (en)Code generation method, device, equipment and storage medium
CN112230781A (en)Character recommendation method and device and storage medium
CN114064450A (en)Application program testing method and device, electronic equipment and storage medium
CN113157570B (en) Method, device and storage medium for determining trigger subject information
CN113822322A (en)Image processing model training method and text processing model training method
CN116541889A (en)Data verification method, device, terminal and storage medium
CN112416356A (en)JSON character string processing method, device, equipment and storage medium
CN111666214A (en)Client fault tolerance test method, device, terminal, server and storage medium
CN109107163B (en)Analog key detection method and device, computer equipment and storage medium
CN113971123A (en)Application program testing method and device, testing terminal and storage medium
CN113342645B (en)Method, device, equipment and storage medium for testing business function
CN112463603B (en) Memory leak detection method, device, terminal and storage medium
CN111145723A (en)Method, device, equipment and storage medium for converting audio
CN110569064A (en)interface identifier generation method, device, equipment and storage medium
CN115774822B (en) Data updating method, device, terminal and storage medium
CN115562529A (en)Visual point burying method and device, terminal and storage medium
CN114706741A (en)Performance test method, performance test device, computer equipment and medium
CN113268234A (en)Page generation method, device, terminal and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp