CN116360799A - Detection method, device, equipment and medium for automatically executing task sheet - Google Patents

Detection method, device, equipment and medium for automatically executing task sheet Download PDF

Info

Publication number
CN116360799A
CN116360799A CN202310333205.0A CN202310333205A CN116360799A CN 116360799 A CN116360799 A CN 116360799A CN 202310333205 A CN202310333205 A CN 202310333205A CN 116360799 A CN116360799 A CN 116360799A
Authority
CN
China
Prior art keywords
task list
target task
steps
job
determining
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
CN202310333205.0A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202310333205.0A priority Critical patent/CN116360799A/en
Publication of CN116360799A publication Critical patent/CN116360799A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application discloses a detection method, device, equipment and medium for automatically executing a task sheet. Wherein the method comprises the following steps: determining a first matching value corresponding to the target task list according to the matching degree of the target task list and the template; determining an arrangement coefficient corresponding to the target task list according to the number of the job steps in the target task list; the arrangement coefficient reflects the execution risk of the target task list; judging whether an executive party can automatically execute the target task list according to at least one of a first matching value, an arrangement coefficient, an execution success rate of important operation steps in the target task list and a historical execution success rate of operation steps in the target task list; the important job steps are job steps selected in advance from the job steps of the target task list. The technical scheme can judge whether the task list can be automatically executed by the executing party, so that the execution success rate of the automatically executed task list is improved, and further the production efficiency is improved.

Description

Detection method, device, equipment and medium for automatically executing task sheet
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for detecting automatic execution of a task sheet.
Background
With the continuous increase of the traffic of application products, the production quantity of pipeline task sheets is increased, the frequency of task sheet change is also increased, and the full-automatic implementation of the deployment pipeline is one of schemes for coping with the increase of the traffic, so that how to judge whether the pipeline task sheets can be automatically implemented is a technical problem which is needed urgently.
At present, one way is to determine whether the current pipeline task sheet needs to be executed fully automatically according to subjective judgment of staff. Another way is to use a white list mechanism according to the history of the system, and if the application system is in the white list, the corresponding pipeline issued by each application can support the automatic implementation of the pipeline.
However, if the pipeline task sheet can be automatically implemented by manual judgment, subjective influences of staff exist, and the effect of automatic implementation is poor depending on personal experience. In another mode of judging whether the task list can be automatically implemented according to the white list, the consideration factor is single, and the failure rate of the task list automatic implementation is high.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for automatically executing a task list, which can judge whether the task list can be automatically implemented, reduce the implementation failure frequency of the automatically implemented task list and improve the production efficiency.
According to an aspect of the present invention, there is provided a method for detecting automatic execution of a task sheet, the method comprising:
determining a first matching value corresponding to the target task list according to the matching degree of the target task list and the template;
determining an arrangement coefficient corresponding to the target task list according to the number of the job steps in the target task list; the arrangement coefficient reflects the execution risk of the target task list;
judging whether an executive party can automatically execute the target task list according to at least one of a first matching value, an arrangement coefficient, an execution success rate of important operation steps in the target task list and a historical execution success rate of operation steps in the target task list;
the important job steps are job steps selected in advance from the job steps of the target task list.
According to another aspect of the present invention, there is provided a detection apparatus for automatically executing a task sheet, including:
the first matching value determining module is used for determining a first matching value corresponding to the target task list according to the matching degree of the target task list and the template;
the arrangement coefficient determining module is used for determining an arrangement coefficient corresponding to the target task list according to the number of the operation steps in the target task list; the arrangement coefficient reflects the execution risk of the target task list;
the automatic execution judging module is used for judging whether an executing party can automatically execute the target task list according to at least one of the first matching value, the arrangement coefficient, the execution success rate of important operation steps in the target task list and the historical execution success rate of operation steps in the target task list;
the important job steps are job steps selected in advance from the job steps of the target task list.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method for detecting automated execution of a task sheet according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the method for detecting automatic execution of a task sheet according to any one of the embodiments of the present invention when executed.
The technical scheme of the embodiment of the application comprises the following steps: determining a first matching value corresponding to the target task list according to the matching degree of the target task list and the template; determining an arrangement coefficient corresponding to the target task list according to the number of the job steps in the target task list; the arrangement coefficient reflects the execution risk of the target task list; judging whether an executive party can automatically execute the target task list according to at least one of a first matching value, an arrangement coefficient, an execution success rate of important operation steps in the target task list and a historical execution success rate of operation steps in the target task list; the important job steps are job steps selected in advance from the job steps of the target task list. The technical scheme can judge whether the task list can be automatically executed, solves the problem that the failure probability of automatic execution is high when the task list can be manually judged whether the task list can be automatically executed or not and the task list can be automatically executed through the white list, improves the execution success rate of the automatically executed task list, and further improves the production efficiency.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for detecting automated execution of a task sheet according to one embodiment of the present application;
FIG. 2 is a flowchart of a method for detecting automatic execution of a task sheet according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a detection device for automatically executing a task sheet according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device implementing a detection method for automatically executing a task sheet according to an embodiment of the present application.
Detailed Description
In order to make the present invention better understood by those skilled in the art, the following description will be made in detail, with reference to the accompanying drawings, in which embodiments of the present invention are shown, and it is apparent that the described embodiments are only some, but not all, embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," "target," and the like in the description and claims of the present invention and in the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for automatically executing a task sheet according to an embodiment of the present application, where the embodiment of the present application may be suitable for a case of judging whether an automation implementation of a pipeline task sheet is possible, where the method may be executed by a detection device for automatically executing a task sheet, where the detection device for automatically executing a task sheet may be implemented in a form of hardware and/or software, and where the detection device for automatically executing a task sheet may be configured in an electronic device having a data processing capability. As shown in fig. 1, the method includes:
s110, determining a first matching value corresponding to the target task list according to the matching degree of the target task list and the template.
The target task list can be any pipeline task list, the target task list can be a task work list of a task plan to be executed in the application program release process, and a worker can arrange the task steps to obtain the target task list. The job steps reflect automated operations, and one job step may correspond to one automated operation. By way of example, a target job ticket may be as follows: program resource preparation, first batch start alert mask, first batch F5 fade-out, first batch program change, first batch application operation, first batch application verification, first batch F5 fade-in, first batch end alert mask, second batch start alert mask, second batch F5 fade-out, second batch program change, second batch application operation, second batch application verification, second batch F5 fade-in, and second batch end alert mask.
Further, the template refers to a task list template, the template can be a task list which is already arranged and completed, and the target task list can be the same as the template or different from the template. The templates can be divided into public templates and non-public templates, the public templates reflect more common templates, the public templates refer to task sheet templates with fixed arrangement sequences, and the public templates cannot be changed after being referenced; the non-public template refers to a task list template with an unfixed arrangement sequence, the non-public template can be changed after being referenced, the non-public template can comprise a system template and a personal template, the system template can be used by multiple persons, and the personal template can be a template set by the individuals and is used by the individuals only.
In the embodiment of the application, whether the target task list can be automatically implemented by the executive is judged, multiple factors need to be considered, and the matching degree of the target task list and the template is one of the factors. Because the template may be a task sheet that has been put into production and executed in the pipeline, or even verified for multiple executions, the template has a certain degree of reliability, and the more the target task sheet matches the template, the less the target task sheet will have a chance of being in error in the automated implementation process.
Specifically, the matching degree of the target task list and the template can be determined according to whether the target task list references the template or not. Further, if the target task list refers to the template, the matching degree of the target task list and the template can be determined according to the overlapping degree of the job steps in the target task list and the job steps in the template, and obviously, the higher the overlapping degree of the job steps in the target task list and the job steps in the template is, the more the target task list and the template are matched, the lower the overlapping degree of the job steps in the target task list and the job steps in the template is, and the more the target task list and the template are not matched.
S120, determining an arrangement coefficient corresponding to the target task list according to the number of job steps in the target task list; the orchestration coefficient reflects the execution risk of the target task sheet.
The number of job steps in the target task list reflects the number of automation operations required to be executed by the target task list, the higher the number is, the more easily the target task list is problematic in the process of automation implementation, and the lower the number is, the lower the probability that the target task list is problematic in the process of automation implementation is. The corresponding relation between the arrangement coefficient and the number of job steps in the target task list can be calibrated in advance, and in an achievable scheme, the more the number of job steps in the target task list is, the smaller the corresponding arrangement coefficient is, the fewer the number of job steps in the target task list is, and the larger the corresponding arrangement coefficient is.
Specifically, the number of job steps in the target task list can be obtained through the associated information of the target task list, or the target task list is read through a pre-written read script, so that the number of job steps is obtained. Further, according to the corresponding relation between the number of the operation steps calibrated in advance and the arrangement coefficients, the arrangement coefficients corresponding to the number of the operation steps in the target task list are determined.
S130, judging whether an executive party can automatically execute the target task list according to at least one of the first matching value, the arrangement coefficient, the execution success rate of important job steps in the target task list and the historical execution success rate of job steps in the target task list.
The important job steps are job steps selected in advance from job steps of the target task list, and reflect job steps with great influence on application execution in the various job steps, for example: when the type of the operation step is program change, the operation step is an important operation step. The executive is a party capable of automatically executing the task sheet, and illustratively, the executive can be an application delivery center of a bank.
In the embodiment of the present application, since the important operation steps are important in the whole testing process, the important operation steps in the target task list need to be tested in advance, which is also called as a prefire test. Obviously, the important operation steps which are successfully executed in the test process are also more likely to be successfully executed in the automatic implementation process; important operation steps of failure execution in the test process, and the probability of failure execution in the automatic implementation process is also larger; therefore, the execution success rate of the important job steps in the target task list can reflect the success rate of the target task list in the automatic implementation process.
In the embodiment of the present application, the historical execution success rate of the job steps in the target task sheet may reflect the success rate of each job step in the previous automated implementation process, and it is obvious that the higher the historical execution success rate of the job steps in the target task sheet, the higher the success rate of the automated implementation of the target task sheet, so whether the executing party can automatically execute the target task sheet can be determined according to the historical execution success rate of the job steps in the target task sheet.
Specifically, multiplying at least one of the first matching value, the arrangement coefficient, the execution success rate of the important job steps in the target task list and the historical execution success rate of the job steps in the target task list by corresponding weights, and then carrying out corresponding operation on each numerical value to obtain the automatic execution degree of the target task list, wherein the automatic execution degree of the target task list reflects the success probability of the automatic execution of the target task list by an executing party, so that whether the executing party can automatically execute the target task list can be judged.
In this embodiment of the present application, optionally, according to at least one of the first matching value, the arrangement coefficient, the execution success rate of the important job step in the target task list, and the historical execution success rate of the job step in the target task list, it is determined whether the executing party can automatically execute the target task list, including steps A1-A2:
and step A1, carrying out weighted summation on the first matching value, the arrangement coefficient, the execution success rate of the important job steps in the target task list and the historical execution success rate of the job steps in the target task list to obtain the automatic execution degree of the target task list.
And step A2, if the automatic execution degree is greater than a preset threshold value, determining that the executive party can automatically execute the target task list.
The preset threshold may be determined according to actual situations, and the embodiment of the present application does not limit the preset threshold.
Illustratively, the degree of automation is determined according to the following formula:
E=x*A+y*B+z*C+w*D;
wherein E is the degree of automation execution, A is the first matching value, B is the scheduling coefficient, C is the execution success rate of the important job steps in the target job ticket, D is the historical execution success rate of the job steps in the target job ticket, x is the weight of the first matching value, y is the weight of the scheduling coefficient, z is the weight of the execution success rate of the important job steps in the target job ticket, and w is the weight of the historical execution success rate of the job steps in the target job ticket.
The scheme is set in such a way, the quantitative evaluation of multiple aspects of the target task list is realized, the success rate of the automatic execution of the target task list can be comprehensively projected by the automatic execution degree, the weight of each influence factor and the preset threshold value can be adjusted at any time according to the actual production condition, and the method has the characteristics of high flexibility and strong adaptability.
The technical scheme of the embodiment of the application comprises the following steps: determining a first matching value corresponding to the target task list according to the matching degree of the target task list and the template; determining an arrangement coefficient corresponding to the target task list according to the number of the job steps in the target task list; the arrangement coefficient reflects the execution risk of the target task list; judging whether an executive party can automatically execute the target task list according to at least one of a first matching value, an arrangement coefficient, an execution success rate of important operation steps in the target task list and a historical execution success rate of operation steps in the target task list; the important job steps are job steps selected in advance from the job steps of the target task list. The technical scheme can judge whether the task list can be automatically executed, solves the problem that the failure probability of automatic execution is high when the task list can be manually judged whether the task list can be automatically executed or not and the task list can be automatically executed through the white list, improves the execution success rate of the automatically executed task list, and further improves the production efficiency.
Example two
Fig. 2 is a flowchart of a method for automatically executing a task sheet according to a second embodiment of the present application, where the determining process of the first matching value, the arrangement coefficient, the execution success rate of important job steps in the target task sheet, and the historical execution success rate of job steps in the target task sheet is specified based on the foregoing embodiments.
As shown in fig. 2, the method in the embodiment of the application specifically includes the following steps:
s210, determining a first matching value corresponding to the target task list according to the matching degree of the target task list and the template.
In this embodiment of the present application, optionally, according to a matching degree between a target task list and a template, determining a first matching value corresponding to the target task list includes: if the target task list does not refer to the template, determining the first matching value as a first threshold value; if the target task list refers to the public template, determining that the first matching value is a second threshold value; the public template is an unchangeable template; if the target task list refers to the non-public template, determining the ratio of the first operation step number to the second operation step number as the first matching value; the first job step number is the same as the job step number in the non-public template of the target task sheet; the second number of job steps is the number of job steps in the target job ticket.
Wherein the first threshold and the second threshold may be predetermined.
Illustratively, if the target task sheet does not reference the template, determining that the first matching value is 0; if the target task list refers to the public template, determining that the first matching value is 1; and if the target task list references the non-public template, determining the first matching value as the ratio of the first operation step number to the second operation step number. The embodiment of the application sets the first matching value from high to low under the conditions of referencing the public template, referencing the non-public template and not referencing the template, so that the success rate of automatic implementation of the target task list under the condition of referencing the template is higher.
In an embodiment of the present application, optionally, the method further includes: determining whether the target task list references the template according to the attribute information of the target task list; and if the target task list is determined to refer to the template, determining whether the template is a public template.
Specifically, the attribute information of the target task list can reflect whether the target task list refers to the template or not and the type of the reference template, and the attribute information of the target task list can be read through a pre-written read script so as to determine whether the target task list refers to the template or not; and if the target task list is determined to refer to the template, determining whether the template is a public template.
S220, determining a target number interval corresponding to the number of job steps in the target task list.
Illustratively, the interval division of the number of job steps in the target job ticket is as follows: (0, a ], (a, b ], (b, c) and (c, ++j.) wherein the specific values of a, b and c can be determined according to the actual situation, the embodiments of the present application are not limited thereto.
S230, determining the arrangement coefficient corresponding to the target number interval based on the corresponding relation between the pre-calibrated operation step number interval and the arrangement coefficient.
The present embodiment is not limited to this, and is exemplified by the fact that if the target number interval is (0, a), the arrangement coefficient is 1, if the target number interval is (a, b), the arrangement coefficient is M, if the target number interval is (b, c), the arrangement coefficient is N, and if the target number interval is (c, ++), the arrangement coefficient is 0.
The scheme is set in such a way that when the number of the operation steps in the target task list is any value, the arrangement coefficients corresponding to the operation steps are all available.
S240, judging whether an executive party can automatically execute the target task list according to at least one of the first matching value, the arrangement coefficient, the execution success rate of important job steps in the target task list and the historical execution success rate of job steps in the target task list.
In this embodiment of the present application, optionally, a process for determining an execution success rate of an important job step in a target task sheet includes steps B1-B2:
and step B1, determining important job steps in the target job list according to the attribute information of the job steps in the target job list.
And B2, determining the ratio of the third operation step number to the important operation step number as the execution success rate of the important operation steps.
The third operation step number is the operation step number of which the test is successful in the important operation steps in the pre-launch test process.
Specifically, the type of the job step is determined according to the attribute information of the job step in the target task list, and if the type of the job step is a plurality of types calibrated in advance, such as program change, the job step is determined to be an important job step. Further, the ratio of the third number of steps to the important number of steps is determined as the execution success rate of the important steps.
For example, if no important job step exists in the target task list, determining that the execution success rate of the important job step in the target task list is 1.
In this embodiment of the present application, optionally, a process for determining a historical execution success rate of a job step in a target task sheet includes steps C1-C2:
and step C1, determining the ratio of the number of times of the historical execution success of the job step with the execution time later than the preset time to the number of times of the historical execution as the execution success rate corresponding to the job step.
And step C2, determining the product of the execution success rates corresponding to the operation steps in the target task list as the historical execution success rate.
The preset time may be determined according to an actual situation, which is not limited in the embodiment of the present application.
In the embodiment of the application, since the execution success rate of the job step changes with the lapse of time, the historical execution rate is determined according to the execution condition of the job step with the execution time after the preset time, and the actual condition is more met.
For example, if the number of job steps is 3, the historical execution success rate may be expressed as:
D=f*g*h;
wherein D is the historical execution success rate, and f, g and h are the execution success rates corresponding to 3 job steps respectively.
According to the technical scheme, the first matching value, the arrangement coefficient, the execution success rate of the important job steps in the target task list and the historical execution success rate of the job steps in the target task list are determined, the historical implementation condition of the job steps in the target task list, the matching condition of the target task list and the template, the arrangement complexity of the job steps in the target task list and the quantitative representation of the pre-launch test condition of the important job steps are realized, the various influencing factors can be reflected in the automatic execution degree, and the accuracy of judging whether the target task list can be automatically executed by an executing party is improved.
Example III
Fig. 3 is a schematic structural diagram of a detection device for automatically executing a task sheet according to the third embodiment of the present application, where the device may execute the detection method for automatically executing a task sheet according to any embodiment of the present invention, and the detection device has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 3, the apparatus includes:
a first matching value determining module 310, configured to determine a first matching value corresponding to the target task sheet according to a matching degree of the target task sheet and the template;
the arrangement coefficient determining module 320 is configured to determine an arrangement coefficient corresponding to the target task sheet according to the number of job steps in the target task sheet; the arrangement coefficient reflects the execution risk of the target task list;
an automated execution determining module 330, configured to determine whether an executing party is capable of automatically executing the target task sheet according to at least one of the first matching value, the arrangement coefficient, the execution success rate of important job steps in the target task sheet, and the historical execution success rate of job steps in the target task sheet;
the important job steps are job steps selected in advance from the job steps of the target task list.
Optionally, the first matching value determining module 310 is specifically configured to:
if the target task list does not refer to the template, determining the first matching value as a first threshold value;
if the target task list refers to the public template, determining that the first matching value is a second threshold value; the public template is an unchangeable template;
if the target task list refers to the non-public template, determining the ratio of the first operation step number to the second operation step number as the first matching value;
the first job step number is the same as the job step number in the non-public template of the target task sheet; the second number of job steps is the number of job steps in the target job ticket.
Optionally, the apparatus further includes:
the template determining module is used for determining whether the target task list refers to the template according to the attribute information of the target task list; the method comprises the steps of,
if it is determined that the target task sheet references the template, determining whether the template is a public template.
Optionally, the automatic execution determination module 330 includes:
an important job step determining unit for determining important job steps in the target job list according to attribute information of the job steps in the target job list;
an execution success rate determination unit for determining a ratio of a third number of steps to the number of important steps as an execution success rate of the important steps;
the third operation step number is the operation step number of which the test is successful in the important operation steps in the pre-launch test process.
Optionally, the automatic execution determination module 330 includes:
an execution success rate determining unit configured to determine, as an execution success rate corresponding to a job step, a ratio of a number of times of historical execution successes of the job step whose execution time is later than a preset time to a number of times of historical execution;
and the historical execution success rate determining unit is used for determining the product of the execution success rates corresponding to the job steps in the target task list as the historical execution success rate.
Optionally, the orchestration coefficient determination module 320 comprises:
the target number interval determining unit is used for determining a target number interval corresponding to the number of the job steps in the target task list;
and the arrangement coefficient determining unit is used for determining the arrangement coefficient corresponding to the target number interval based on the corresponding relation between the pre-calibrated operation step number interval and the arrangement coefficient.
Optionally, the automatic execution determination module 330 includes:
the automatic execution degree determining unit is used for carrying out weighted summation on the first matching value, the arrangement coefficient, the execution success rate of the important job steps in the target task list and the historical execution success rate of the job steps in the target task list to obtain the automatic execution degree of the target task list;
and the automatic execution judging unit is used for determining that the executive party can automatically execute the target task list if the automatic execution degree is greater than a preset threshold value.
The detection device for automatically executing the task list provided by the embodiment of the application can execute the detection method for automatically executing the task list provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the detection method of the automated execution of a task sheet.
In some embodiments, the method of detection of the automated execution of a task sheet may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the above-described detection method of task sheet automation execution may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the detection method of the task sheet automation execution in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. The detection method for automatically executing the task sheet is characterized by comprising the following steps of:
determining a first matching value corresponding to the target task list according to the matching degree of the target task list and the template;
determining an arrangement coefficient corresponding to the target task list according to the number of the job steps in the target task list; the arrangement coefficient reflects the execution risk of the target task list;
judging whether an executive party can automatically execute the target task list according to at least one of a first matching value, an arrangement coefficient, an execution success rate of important operation steps in the target task list and a historical execution success rate of operation steps in the target task list;
the important job steps are job steps selected in advance from the job steps of the target task list.
2. The method of claim 1, wherein determining a first matching value for the target job ticket based on a degree of matching of the target job ticket with the template comprises:
if the target task list does not refer to the template, determining the first matching value as a first threshold value;
if the target task list refers to the public template, determining that the first matching value is a second threshold value; the public template is an unchangeable template;
if the target task list refers to the non-public template, determining the ratio of the first operation step number to the second operation step number as the first matching value;
the first job step number is the same as the job step number in the non-public template of the target task sheet; the second number of job steps is the number of job steps in the target job ticket.
3. The method according to claim 2, wherein the method further comprises:
determining whether the target task list references the template according to the attribute information of the target task list; the method comprises the steps of,
if it is determined that the target task sheet references the template, determining whether the template is a public template.
4. The method of claim 1, wherein the determining of the execution success rate of the important job steps in the target job ticket comprises:
determining important job steps in the target task list according to the attribute information of the job steps in the target task list;
determining the ratio of the third operation step number to the important operation step number as the execution success rate of the important operation steps;
the third operation step number is the operation step number of which the test is successful in the important operation steps in the pre-launch test process.
5. The method of claim 1, wherein the determining of the historical execution success rate of job steps in the target job ticket comprises:
determining the ratio of the number of times of the history execution success of the job step with the execution time later than the preset time to the number of times of the history execution as the corresponding execution success rate of the job step;
and determining the product of the execution success rates corresponding to the job steps in the target task list as the historical execution success rate.
6. The method of claim 1, wherein determining the scheduling coefficients for the target job ticket based on the number of job steps in the target job ticket comprises:
determining a target number interval corresponding to the number of the job steps in the target task list;
and determining the arrangement coefficient corresponding to the target number interval based on the corresponding relation between the pre-calibrated operation step number interval and the arrangement coefficient.
7. The method of claim 1, wherein determining whether an executive is capable of automatically executing the target task sheet based on at least one of a first match value, an orchestration coefficient, an execution success rate of important job steps in the target task sheet, and a historical execution success rate of job steps in the target task sheet, comprises:
the first matching value, the arrangement coefficient, the execution success rate of the important job steps in the target task list and the historical execution success rate of the job steps in the target task list are weighted and summed to obtain the automatic execution degree of the target task list;
and if the automatic execution degree is greater than a preset threshold, determining that the executing party can automatically execute the target task list.
8. A detection apparatus for automatically executing a task sheet, comprising:
the first matching value determining module is used for determining a first matching value corresponding to the target task list according to the matching degree of the target task list and the template;
the arrangement coefficient determining module is used for determining an arrangement coefficient corresponding to the target task list according to the number of the operation steps in the target task list; the arrangement coefficient reflects the execution risk of the target task list;
the automatic execution judging module is used for judging whether an executing party can automatically execute the target task list according to at least one of the first matching value, the arrangement coefficient, the execution success rate of important operation steps in the target task list and the historical execution success rate of operation steps in the target task list;
the important job steps are job steps selected in advance from the job steps of the target task list.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of detection of automated execution of a task sheet according to any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the method of detection of automated execution of a task sheet according to any one of claims 1-7.
CN202310333205.0A 2023-03-30 2023-03-30 Detection method, device, equipment and medium for automatically executing task sheet Pending CN116360799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310333205.0A CN116360799A (en) 2023-03-30 2023-03-30 Detection method, device, equipment and medium for automatically executing task sheet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310333205.0A CN116360799A (en) 2023-03-30 2023-03-30 Detection method, device, equipment and medium for automatically executing task sheet

Publications (1)

Publication Number Publication Date
CN116360799A true CN116360799A (en) 2023-06-30

Family

ID=86930751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310333205.0A Pending CN116360799A (en) 2023-03-30 2023-03-30 Detection method, device, equipment and medium for automatically executing task sheet

Country Status (1)

Country Link
CN (1) CN116360799A (en)

Similar Documents

Publication Publication Date Title
CN116431505A (en) Regression testing method and device, electronic equipment, storage medium and product
CN117608904A (en) Fault positioning method and device, electronic equipment and storage medium
CN116360799A (en) Detection method, device, equipment and medium for automatically executing task sheet
CN115576827A (en) Performance test method, device, equipment and storage medium of business process software
CN116467161A (en) Application testing method and device, electronic equipment and storage medium
CN115437961A (en) Data processing method and device, electronic equipment and storage medium
CN115794473A (en) Root cause alarm positioning method, device, equipment and medium
CN114866437A (en) Node detection method, device, equipment and medium
CN114816758B (en) Resource allocation method and device
CN116225390A (en) Warehouse-in method, device, equipment and medium for software development files
CN116860652A (en) Method and device for evaluating software quality, electronic equipment and storage medium
CN115374012A (en) Automatic regression testing method and device, electronic equipment and storage medium
CN117421363A (en) Verification method, device, equipment and medium of data processing flow
CN115794623A (en) Batch task processing method and device, electronic equipment and storage medium
CN116932033A (en) Component packaging method and device, electronic equipment and storage medium
CN117632748A (en) Method and device for determining smoke emission test case, electronic equipment and storage medium
CN116150024A (en) Method and device for evaluating program to be tested and electronic equipment
CN117971430A (en) Job scheduling method, device, equipment and medium
CN117829611A (en) Subcontractor management risk assessment early warning method based on artificial intelligence
CN116227906A (en) Automatic deployment method, device, equipment and medium of assembly line
CN116820727A (en) Task processing method and device, electronic equipment and storage medium
CN117609064A (en) Unit test method and device, electronic equipment and storage medium
CN118642807A (en) Interface operation processing method and device, electronic equipment and storage medium
CN117609069A (en) Test case review method, device, equipment and storage medium
CN118674313A (en) Method and device for evaluating stability of part manufacturing process, electronic equipment and storage medium

Legal Events

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