CN114840244A - Analysis engine generation method, device, equipment and storage medium - Google Patents

Analysis engine generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN114840244A
CN114840244A CN202110145896.2A CN202110145896A CN114840244A CN 114840244 A CN114840244 A CN 114840244A CN 202110145896 A CN202110145896 A CN 202110145896A CN 114840244 A CN114840244 A CN 114840244A
Authority
CN
China
Prior art keywords
atom
target analysis
analysis
target
task unit
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
CN202110145896.2A
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202110145896.2A priority Critical patent/CN114840244A/en
Publication of CN114840244A publication Critical patent/CN114840244A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Abstract

The present disclosure provides a method, an apparatus, a device and a storage medium for generating an analysis engine, wherein the method comprises: firstly, in response to a selection operation for at least one analysis atom, determining the at least one analysis atom as a target analysis atom, then obtaining parameter information of the target analysis atom, further adding the parameter information of the target analysis atom into a preset structure template to obtain a task unit corresponding to the target analysis atom, and finally, generating a target analysis engine based on the task unit corresponding to the target analysis atom. In the embodiment of the disclosure, a user can select an analysis atom based on an analysis requirement, and then an analysis engine is automatically constructed based on the selected analysis atom. In addition, the analysis atoms can be reused in the construction of different analysis engines, and the construction process of the analysis engines is further simplified.

Description

Analysis engine generation method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing, and in particular, to a method, an apparatus, a device, and a storage medium for generating an analysis engine.
Background
With the rapid expansion of the user scale of the application program, the user scene faced by the developer becomes more and more complex, once the experience problem of user feedback needs to be solved, the user scene needs to be restored for the problem, and the experience problem is solved in the restored user scene.
At present, a user scene is restored by constructing an analysis engine, and a user experience problem under the user scene is solved by operating the analysis engine, but the current method for constructing the analysis engine is complex, and the analysis engines aiming at different user scenes need to be realized independently and cannot be reused, so that the construction efficiency of the analysis engine is low, and the solution progress of the experience problem fed back by a user is influenced.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides a method, an apparatus, a device, and a storage medium for generating an analysis engine, which can automatically construct the analysis engine based on a target analysis atom selected by a user, improve the construction efficiency of the analysis engine, and simplify the construction of the analysis engine because the analysis atom used for constructing the analysis engine is reusable.
In a first aspect, the present disclosure provides a method for generating an analysis engine, the method including:
in response to a selected operation on at least one analytic atom, determining the at least one analytic atom as a target analytic atom; wherein the analytic atom is a method for implementing a specified function;
acquiring parameter information of the target analysis atom;
generating a task unit corresponding to the target analysis atom based on the parameter information of the target analysis atom and a preset code structure template;
and generating a target analysis engine based on the task unit corresponding to the target analysis atom.
Optionally, the parameter information includes an input parameter; after the generating of the target analysis engine based on the task unit corresponding to the target analysis atom, the method further includes:
and determining the input parameters of the target analysis atoms as the input parameters of the target analysis engine.
Optionally, the target analyte atom comprises a first analyte atom and a second analyte atom;
the determining the input parameters of the target analysis atoms as the input parameters of the target analysis engine includes:
merging and de-duplicating input parameters of the first analysis atom and the second analysis atom to obtain merged input parameters;
determining input parameters of the target analysis engine based on the merged input parameters; wherein the input parameters are used for verifying input data received by the target analysis engine during operation.
Optionally, the parameter information of the target analysis atom includes a next-hop execution atom of the target analysis atom; and the task unit corresponding to the target analysis atom comprises a task unit identifier corresponding to the next-hop execution atom.
Optionally, the number of target analysis atoms is multiple; before generating the target analysis engine based on the task unit corresponding to the target analysis atom, the method further includes:
determining an execution order of the target analysis atoms;
correspondingly, the generating a target analysis engine based on the task unit corresponding to the target analysis atom includes:
determining a task unit executed at the head from task units corresponding to the target analysis atoms based on the execution sequence;
determining a next-hop task unit corresponding to the last target analysis atom in the execution sequence as a result return task unit; the result returning task unit is used for returning an execution result;
and generating a target analysis engine based on the task unit corresponding to the target analysis atom, the first executed task unit and the result return task unit.
Optionally, before determining the target analysis atom, the method further includes:
receiving atomic parameter information and an atomic function code; the atomic parameter information comprises an atomic name, an input parameter and a code calling path, and the code calling path is used for calling the atomic function code;
generating an analysis atom based on the atom parameter information and the atom function code; wherein the analysis atoms are for use as optional atoms for the target analysis atoms.
In a second aspect, the present disclosure provides an apparatus for generating an analysis engine, the apparatus comprising:
a determination module for determining at least one analytic atom as a target analytic atom in response to a selected operation on the at least one analytic atom, wherein the analytic atom is a method for implementing a specified function;
the acquisition module is used for acquiring the parameter information of the target analysis atom;
the first generation module is used for generating a task unit corresponding to the target analysis atom based on the parameter information of the target analysis atom and a preset code structure template;
and the second generation module is used for generating a target analysis engine based on the task unit corresponding to the target analysis atom.
In a third aspect, the present disclosure provides a computer-readable storage medium having stored therein instructions that, when run on a terminal device, cause the terminal device to implement the above-mentioned method.
In a fourth aspect, the present disclosure provides an apparatus comprising: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the method.
In a fifth aspect, the present disclosure provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the method described above.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
the embodiment of the disclosure provides a method for generating an analysis engine, which includes the steps of firstly, determining a target analysis atom, then obtaining parameter information of the target analysis atom, further adding the parameter information of the target analysis atom into a preset structure template to obtain a task unit corresponding to the target analysis atom, and finally, generating the target analysis engine based on the task unit corresponding to the target analysis atom. In the embodiment of the disclosure, a user can select an analysis atom based on an analysis requirement, and then an analysis engine is automatically constructed based on the selected analysis atom. In addition, the analysis atoms can be reused in the construction of different analysis engines, and the construction process of the analysis engines is further simplified.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a method for generating an analysis engine according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating an execution process of an analysis engine according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a generation apparatus of an analysis engine according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a generation device of an analysis engine according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
In the embodiment of the disclosure, a user can select an analysis atom based on an analysis requirement, and then an analysis engine is automatically constructed based on the selected analysis atom. In addition, the analysis atoms can be reused in the construction of different analysis engines, and the construction process of the analysis engines is further simplified.
Specifically, the embodiment of the present disclosure provides a generation method of an analysis engine, which first determines at least one analysis atom as a target analysis atom in response to a selected operation on the at least one analysis atom. And then acquiring parameter information of the target analysis atom, further adding the parameter information of the target analysis atom into a preset structure template to obtain a task unit corresponding to the target analysis atom, and finally generating a target analysis engine based on the task unit corresponding to the target analysis atom.
Based on this, an embodiment of the present disclosure provides a method for generating an analysis engine, and with reference to fig. 1, is a flowchart of a method for generating an analysis engine provided in an embodiment of the present disclosure, where the method includes:
s101: in response to a selected operation on at least one of the analysis atoms, the at least one analysis atom is determined to be a target analysis atom.
An analysis atom, which may also be referred to as an atomic capability, is a method for implementing a certain specified function, and is used to construct a minimum unit of an analysis engine, which is reproducible and not separable.
For example, the analysis atom may be a method for implementing a component search function, a method for implementing a function of finding abnormal information of a user, or the like, and the functions that the analysis atom can implement are not limited herein.
In the embodiment of the disclosure, after receiving the selected operation for at least one analysis atom, the selected analysis atom is determined as the target analysis atom. The target analysis atom may include one or more analysis atoms, and specifically, the target analysis atom for constructing the target analysis engine may be determined from the plurality of analysis atoms by the user based on the human-computer interaction UI interface.
In practical applications, the target analysis atom may be selected from pre-created analysis atoms or created in real time based on the construction requirements of the target analysis engine.
In an alternative embodiment, prior to determining the target analytic atoms, analytic atoms may be created for use as optional atoms for the target analytic atoms. Specifically, first, atom parameter information and an atom function code are received, and then, an analysis atom is generated based on the atom parameter information and the atom function code. The atomic parameter information may include an atomic name, an atomic input parameter, a code calling path, and the like, where the code calling path is used to call the atomic function code.
In practical application, the creation function of the analysis atom can be realized based on a human-computer interaction UI interface. Firstly, when a creation operation of an analysis atom is received, a UI interface is displayed, and then a user-input atom name, such as findsuerissue, is received based on the UI interface. The user may also enter parameters for the atom of the analysis atom through the UI interface. The atomic input parameters of the analysis atom are usually JASON objects, and are used for specifying the input content of the analysis atom.
In addition, the user who creates the atom needs to specify a code calling path of the atom to be analyzed, and the code calling path can be determined based on the interaction mode of the HTTP and the server, such as a GET method or a POST method. And if the user selects the GET method, inputting a calling address corresponding to the GET method as a code calling path of the analysis atom. Similarly, if the user selects the POST method, the call address corresponding to the POST method is input as the code call path of the analysis atom.
In addition, the atom creation user needs to input the atom function code of the analysis atom, for example, the atom function code may be a specific executable code segment, that is, a URL address of an HTTP interface, and the URL address can call the corresponding code segment. The type of the atomic function code can also be one of the input contents of the user, that is, the user can also input the type of the atomic function code as a code fragment type or an HTTP interface type.
In practical application, an atom creation specification may be preset, and a user may successfully create an analysis atom based on atom parameter information and an atom function code input by the atom creation specification, so as to be used as an optional atom of a target analysis atom.
S102: and acquiring parameter information of the target analysis atom.
In the embodiment of the present disclosure, after determining a target analysis atom, parameter information of the target analysis atom is acquired. The parameter information of the target analysis atom may include atom parameter information input by a user when the target analysis atom is created, an execution order of the target analysis atom, and the like.
Specifically, the parameter information of the target analysis atom may include information such as an atom name, an input parameter, a code call path, and an execution order. The execution sequence refers to a sequential execution sequence relation among a plurality of target analysis atoms.
S103: and generating a task unit corresponding to the target analysis atom based on the parameter information of the target analysis atom and a preset code structure template.
In the embodiment of the disclosure, a code structure template is constructed in advance and used for generating a task unit corresponding to a target analysis atom. The positions corresponding to the parameter information of the target analysis atom are preset in the preset code structure template, so that after the parameter information of the target analysis atom is obtained, the parameter information is added to the corresponding position in the preset code structure template, and the task unit corresponding to the target analysis atom is generated.
Taking the target analysis atom as the "findsuerissue" analysis atom as an example, the generated task unit corresponding to the "findsuerissue" is as follows:
Figure BDA0002930256550000071
Figure BDA0002930256550000081
the underlined positions belong to inherent contents in a preset code structure template, corresponding parameters are added to the corresponding positions, and task units corresponding to the target analysis atoms can be generated.
In addition, the parameter information of the target analysis atom comprises a Next-hop execution atom of the target analysis atom, the Next-hop execution atom of the target analysis atom is added at a corresponding position in the preset code structure template, and after the task unit is generated, the task unit corresponding to the target analysis atom comprises a task unit identifier corresponding to the Next-hop execution atom, so that the execution sequence of the task units corresponding to the target analysis atoms in the target analysis engine is ensured.
S104: and generating a target analysis engine based on the task unit corresponding to the target analysis atom.
In the embodiment of the present disclosure, after the task units corresponding to the target analysis atoms are generated, the task units are combined to generate the target analysis engine.
In an optional implementation manner, the number of target analysis atoms is multiple, an execution sequence is provided between each target analysis atom, a target analysis atom to be executed first is determined based on the execution sequence, and a task unit corresponding to the target analysis atom is determined as a task unit to be executed first in the target analysis engine.
In addition, the next-hop task unit corresponding to the last executed target analysis atom is determined as a result returning task unit based on the execution sequence, that is, after the execution of the task unit corresponding to the last target analysis atom is finished, the execution of the result returning task unit is triggered for returning the execution result of the target analysis engine, for example, the execution result is stored in a preset location, such as a data set.
Finally, after the task unit executed at the head and the result return task unit are set, a target analysis engine is generated based on each task unit, the target analysis engine executes the task units according to the execution sequence, and the execution result is finally input.
Taking the target analysis engine including target analysis atoms 'findusersise', 'issubelame', 'IssueCrash' and 'sharercalback' as an example, the structure of the target analysis engine constructed based on the execution order may be: the task unit executed at the first position is a task unit corresponding to 'FindUserIssue', after the execution of the task unit corresponding to the 'FindUserIssue' is finished, the task units corresponding to 'IssuBlame' and 'IssueCrash' are sequentially executed, and finally the task unit corresponding to 'ShaperCallBack' is executed, so that the return of the execution result of the target analysis engine is realized.
In the method for generating an analysis engine provided by the embodiment of the present disclosure, first, in response to a selection operation for at least one analysis atom, the at least one analysis atom is determined as a target analysis atom, then parameter information of the target analysis atom is obtained, the parameter information of the target analysis atom is further added to a preset structure template, a task unit corresponding to the target analysis atom is obtained, and finally, the target analysis engine is generated based on the task unit corresponding to the target analysis atom. In the embodiment of the disclosure, a user can select an analysis atom based on an analysis requirement, and then an analysis engine is automatically constructed based on the selected analysis atom. In addition, the analysis atoms can be reused in the construction of different analysis engines, and the construction process of the analysis engines is further simplified.
On the basis of the above embodiment, the embodiment of the present disclosure may further determine the input parameters of the target analysis engine, so as to verify the input data received when the target analysis engine runs, and ensure the normal running of the target analysis engine.
Specifically, the parameter information for generating the target analysis atom of the target analysis engine includes an input parameter for specifying a requirement of the target analysis atom for input.
The embodiment of the present disclosure may determine the input parameters of the target analysis engine based on the input parameters of each target analysis atom included in the target analysis engine.
In an alternative embodiment, the input parameters of each target analysis atom in the target analysis engine are merged to serve as the input parameters of the target analysis engine.
In another optional implementation manner, in order to solve the problem that the input parameters of each target analysis atom are the same, the embodiment of the present disclosure may combine and deduplicate the input parameters of each target analysis atom to obtain the input parameters of the target analysis engine.
Specifically, assuming that the target analysis atom includes a first analysis atom and a second analysis atom, first, merging and de-duplicating input parameters of the first analysis atom and the second analysis atom to obtain merged input parameters. Then, determining input parameters of the target analysis engine based on the merged input parameters; wherein the input parameters are used for verifying input data received by the target analysis engine during operation.
In practical application, after the target analysis engine is generated, the target analysis engine can be put in storage and then used for processing the problem to be analyzed.
In a problem analysis scenario, an analysis engine may be first selected from a library, and then input parameters of the analysis engine are received, and the analysis engine may sequentially execute each task unit included in the analysis engine based on the input parameters, and finally output an analysis result.
In the process of executing the analysis engine, the output result of each task unit can be called back as input data, and the execution of the analysis engine is continued to be participated until the analysis result is output. The analysis result can be written back to a designated position, and can also be directly displayed on a UI interface.
As shown in fig. 2, an execution process schematic diagram of an analysis engine provided in the embodiment of the present disclosure is shown, where the analysis engine includes n +1 TASK units, TASK0-TASK sn, and based on an execution sequence, TASK0-TASK sn are executed successively until TASK END outputs an analysis result.
The target analysis engine generated by the embodiment of the disclosure comprises at least one task unit with an execution sequence, and after receiving input data, the target analysis engine can sequentially execute each task unit based on the execution sequence and finally output an analysis result.
Based on the above method embodiment, the present disclosure further provides a generation apparatus of an analysis engine, and with reference to fig. 3, a schematic structural diagram of the generation apparatus of the analysis engine provided in the embodiment of the present disclosure is shown, where the apparatus includes:
a first determination module 301, configured to determine at least one analysis atom as a target analysis atom in response to a selected operation on the at least one analysis atom; wherein the analytic atom is a method for implementing a specified function;
an obtaining module 302, configured to obtain parameter information of the target analysis atom;
the first generating module 303 is configured to generate a task unit corresponding to the target analysis atom based on the parameter information of the target analysis atom and a preset code structure template;
a second generating module 304, configured to generate a target analysis engine based on the task unit corresponding to the target analysis atom.
In an alternative embodiment, the parameter information includes input parameters; the device further comprises:
and the second determination module is used for determining the input parameters of the target analysis atoms as the input parameters of the target analysis engine.
In an alternative embodiment, the target analyte atom comprises a first analyte atom and a second analyte atom;
the second determining module includes:
the merging and de-duplication sub-module is used for merging and de-duplicating the input parameters of the first analysis atom and the second analysis atom to obtain merged input parameters;
the first determining submodule is used for determining the input parameters of the target analysis engine based on the merged input parameters; wherein the input parameters are used for verifying input data received by the target analysis engine during operation.
In an alternative embodiment, the parameter information of the target analysis atom includes a next-hop execution atom of the target analysis atom; and the task unit corresponding to the target analysis atom comprises a task unit identifier corresponding to the next-hop execution atom.
In an alternative embodiment, the number of target analyte atoms is plural; the device further comprises:
a second determination module for determining an execution order of the target analysis atoms;
accordingly, the second generating module includes:
the second determining submodule is used for determining a task unit executed at the head from the task units corresponding to the target analysis atoms based on the execution sequence;
a third determining submodule, configured to determine a next-hop task unit corresponding to a last target analysis atom in the execution sequence as a result returning task unit; the result returning task unit is used for returning an execution result;
and the generation submodule is used for generating a target analysis engine based on the task unit corresponding to the target analysis atom, the first executed task unit and the result feedback task unit.
In an alternative embodiment, the apparatus further comprises:
the receiving module is used for receiving the atomic parameter information and the atomic function code; the atomic parameter information comprises an atomic name, an input parameter and a code calling path, and the code calling path is used for calling the atomic function code;
a third generation module for generating an analysis atom based on the atom parameter information and the atom function code; wherein the analysis atoms are for use as optional atoms for the target analysis atoms.
The embodiment of the disclosure provides a generation device of an analysis engine, which first of all determines a target analysis atom, then obtains parameter information of the target analysis atom, further adds the parameter information of the target analysis atom to a preset structure template to obtain a task unit corresponding to the target analysis atom, and finally generates the target analysis engine based on the task unit corresponding to the target analysis atom. In the embodiment of the disclosure, a user can select an analysis atom based on an analysis requirement, and then an analysis engine is automatically constructed based on the selected analysis atom. In addition, the analysis atoms can be reused in the construction of different analysis engines, and the construction process of the analysis engines is further simplified.
In addition to the method and the apparatus, the present disclosure further provides a computer-readable storage medium, where instructions are stored, and when the instructions are executed on a terminal device, the terminal device is caused to implement the method for generating an analysis engine according to the present disclosure.
The embodiment of the present disclosure further provides a computer program product, which includes a computer program/instruction, and is characterized in that the computer program/instruction, when executed by a processor, implements the method for generating the analysis engine according to the embodiment of the present disclosure.
In addition, an embodiment of the present disclosure further provides a generation device of an analysis engine, as shown in fig. 4, which may include:
a processor 401, a memory 402, an input device 403, and an output device 404. The number of processors 401 in the generation device of the analysis engine may be one or more, and one processor is taken as an example in fig. 4. In some embodiments of the present disclosure, the processor 401, the memory 402, the input device 403, and the output device 404 may be connected by a bus or other means, wherein the connection by the bus is exemplified in fig. 4.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing of the generation device of the analysis engine by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The input means 403 may be used to receive input numeric or character information and to generate signal inputs relating to user settings and functional control of the generating device of the analysis engine.
Specifically, in this embodiment, the processor 401 loads an executable file corresponding to a process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions of the generation device of the analysis engine.
It is noted that, in this document, 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 apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of generating an analysis engine, the method comprising:
in response to a selected operation on at least one analytic atom, determining the at least one analytic atom as a target analytic atom; wherein the analytic atom is a method for implementing a specified function;
acquiring parameter information of the target analysis atom;
generating a task unit corresponding to the target analysis atom based on the parameter information of the target analysis atom and a preset code structure template;
and generating a target analysis engine based on the task unit corresponding to the target analysis atom.
2. The method of claim 1, wherein the parameter information comprises an input parameter; after the generating of the target analysis engine based on the task unit corresponding to the target analysis atom, the method further includes:
and determining the input parameters of the target analysis atoms as the input parameters of the target analysis engine.
3. The method of claim 2, wherein the target analytic atom comprises a first analytic atom and a second analytic atom;
the determining the input parameters of the target analysis atoms as the input parameters of the target analysis engine includes:
merging and de-duplicating input parameters of the first analysis atom and the second analysis atom to obtain merged input parameters;
determining input parameters of the target analysis engine based on the merged input parameters; wherein the input parameters are used for verifying input data received by the target analysis engine during operation.
4. The method of claim 1, wherein the parameter information of the target analysis atom comprises a next-hop execution atom of the target analysis atom; and the task unit corresponding to the target analysis atom comprises a task unit identifier corresponding to the next-hop execution atom.
5. The method of claim 1, wherein the number of target analyte atoms is plural; before generating the target analysis engine based on the task unit corresponding to the target analysis atom, the method further includes:
determining an execution order of the target analysis atoms;
correspondingly, the generating a target analysis engine based on the task unit corresponding to the target analysis atom includes:
determining a task unit executed at the head from task units corresponding to the target analysis atoms based on the execution sequence;
determining a next-hop task unit corresponding to the last target analysis atom in the execution sequence as a result return task unit; the result returning task unit is used for returning an execution result;
and generating a target analysis engine based on the task unit corresponding to the target analysis atom, the first executed task unit and the result return task unit.
6. The method of claim 1, wherein prior to determining the target analyte atoms, further comprising:
receiving atomic parameter information and an atomic function code; the atomic parameter information comprises an atomic name, an input parameter and a code calling path, and the code calling path is used for calling the atomic function code;
generating an analysis atom based on the atom parameter information and the atom function code; wherein the analysis atoms are for use as optional atoms for the target analysis atoms.
7. An apparatus for generating an analysis engine, the apparatus comprising:
a determination module to determine at least one analytic atom as a target analytic atom in response to a selected operation on the at least one analytic atom; wherein the analytic atom is a method for implementing a specified function;
the acquisition module is used for acquiring the parameter information of the target analysis atom;
the first generation module is used for generating a task unit corresponding to the target analysis atom based on the parameter information of the target analysis atom and a preset code structure template;
and the second generation module is used for generating a target analysis engine based on the task unit corresponding to the target analysis atom.
8. A computer-readable storage medium having stored therein instructions that, when run on a terminal device, cause the terminal device to implement the method of any one of claims 1-6.
9. An apparatus, comprising: memory, a processor, and a computer program stored on the memory and executable on the processor, when executing the computer program, implementing the method of any of claims 1-6.
10. A computer program product, characterized in that the computer program product comprises a computer program/instructions which, when executed by a processor, implements the method according to any of claims 1-6.
CN202110145896.2A 2021-02-02 2021-02-02 Analysis engine generation method, device, equipment and storage medium Pending CN114840244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110145896.2A CN114840244A (en) 2021-02-02 2021-02-02 Analysis engine generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110145896.2A CN114840244A (en) 2021-02-02 2021-02-02 Analysis engine generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114840244A true CN114840244A (en) 2022-08-02

Family

ID=82562083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110145896.2A Pending CN114840244A (en) 2021-02-02 2021-02-02 Analysis engine generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114840244A (en)

Similar Documents

Publication Publication Date Title
CN110221872B (en) Page jump method and device, electronic equipment and storage medium
US7178135B2 (en) Scope-based breakpoint selection and operation
CN106202100B (en) Page loading method and device
CN111901538B (en) Subtitle generating method, device and equipment and storage medium
CN107783766B (en) Method and device for cleaning files of application program
CN109344619B (en) Hot repair method and device for application program
CN111708528A (en) Method, device and equipment for generating small program and storage medium
CN110727429A (en) Front-end page generation method, device and equipment
CN113051514A (en) Element positioning method and device, electronic equipment and storage medium
CN112306482A (en) Data processing method and device
CN108399125B (en) Automatic testing method and device, computer equipment and storage medium
US10872027B2 (en) Run-time or compile-time error solutions for locating missing program elements in a programming environment
CN106919503B (en) Application program testing method and device
CN114840244A (en) Analysis engine generation method, device, equipment and storage medium
CN111736812A (en) Document code execution method and device, computer equipment and storage medium
WO2019225366A1 (en) Screen discrimination device, screen discrimination method, and program
CN111400173B (en) VTS test method, device and equipment
CN112882782B (en) Page generation method, page generation device, computer equipment and storage medium
JP2015146178A (en) Creation of test context
CN111651324B (en) Log collection method and device
CN112312630A (en) Data processing method and device
CN111367597A (en) Color switching method and device and electronic equipment
CN115442539B (en) Video editing method, device, equipment and storage medium
CN110321284B (en) Test data entry method, device, computer equipment and storage medium
CN113687884B (en) File delivery method, device, system, 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