CN112181485B - Script execution method and device, electronic equipment and storage medium - Google Patents
Script execution method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112181485B CN112181485B CN202011126150.9A CN202011126150A CN112181485B CN 112181485 B CN112181485 B CN 112181485B CN 202011126150 A CN202011126150 A CN 202011126150A CN 112181485 B CN112181485 B CN 112181485B
- Authority
- CN
- China
- Prior art keywords
- script
- execution
- determining
- scripts
- target
- 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.)
- Active
Links
- 238000013515 script Methods 0.000 title claims abstract description 600
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000004044 response Effects 0.000 claims abstract description 29
- 238000012795 verification Methods 0.000 claims abstract description 27
- 238000012545 processing Methods 0.000 claims abstract description 10
- 238000012360 testing method Methods 0.000 claims description 41
- 238000011161 development Methods 0.000 claims description 17
- 238000012163 sequencing technique Methods 0.000 claims description 9
- 238000004422 calculation algorithm Methods 0.000 claims description 6
- 239000000284 extract Substances 0.000 abstract description 4
- 230000018109 developmental process Effects 0.000 description 15
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 235000019800 disodium phosphate Nutrition 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 238000012552 review Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
- G06F9/45508—Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
- G06F9/45512—Command shells
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to data processing and provides a script execution method, a script execution device, electronic equipment and a storage medium. The method can extract a plurality of script names from a script execution request, acquire a plurality of scripts to be executed corresponding to the script names from a version control system, perform grammar verification, determine a target script, order the target script based on the script names to obtain a script list, execute the target script in the script list according to the sequence from front to back, interrupt the execution of any script when detecting that the execution of any script fails, determine the execution environment where the execution of any script fails, determine the breakpoint position where the execution of any script is interrupted, and determine any script, the execution environment and the breakpoint position as the response result of the script execution request. The invention improves script execution efficiency and saves resources. Furthermore, the present invention relates to blockchain techniques, and the response results may be stored in the blockchain.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a script execution method, a script execution device, an electronic device, and a storage medium.
Background
In the system development process, a plurality of environments are generally needed, such as a development environment, a system test environment, a user test environment and the like, a developer generally executes scripts in the development environment, the system test environment and the user test environment generally need to be executed by a test manager or a version manager, no matter the developer, the tester or the version manager currently copies the scripts to a PLSQL tool manually for execution, however, because different types of scripts need to be executed by different tools, the smooth execution of the scripts depends on judging the script types by professionals, the script execution efficiency is reduced, and the development progress is affected. Meanwhile, different environments need different user roles to participate, so that when a developer forgets to inform a tester to execute in a test environment after the development environment finishes script development, related functions of the test environment cannot be tested, and in addition, the existing script execution scheme can also cause repeated execution of the script, so that resources are wasted.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a script execution method, apparatus, electronic device, and storage medium, which can not only improve script execution efficiency, but also avoid problems of missing execution and repeated execution of the script, and save resources.
In one aspect, the present invention provides a script execution method, where the script execution method includes:
when a script execution request is received, extracting a plurality of script names from the script execution request;
acquiring a plurality of scripts to be executed corresponding to the script names from a version control system;
carrying out grammar verification on the plurality of scripts to be executed, and determining the scripts to be executed passing the grammar verification as target scripts;
sorting the target scripts based on the script names to obtain a script list;
executing target scripts in the script list in a front-to-back order;
when detecting that any script fails to execute, interrupting the execution of the any script;
determining an execution environment in which the arbitrary script fails to execute, and determining a breakpoint position at which the arbitrary script is interrupted to execute;
and determining the random script, the execution environment and the breakpoint position as a response result of the script execution request.
According to a preferred embodiment of the present invention, the extracting a plurality of script names from the script execution request includes:
acquiring a thread connection pool, and acquiring any idle thread from the thread connection pool;
Analyzing the message of the script execution request by using the arbitrary idle thread to obtain message information carried by the script execution request;
and acquiring a preset label, and acquiring information corresponding to the preset label from the message information as the script names.
According to a preferred embodiment of the present invention, the obtaining, from the version control system, a plurality of scripts to be executed corresponding to the plurality of script names includes:
determining a database path where a database in the version control system is located;
acquiring a configuration table from the database path;
traversing file names in the configuration table, and determining the traversed file names which are the same as the script names as target names;
and acquiring a plurality of file storage paths of the plurality of target names, and acquiring the plurality of scripts to be executed from the file storage paths.
According to a preferred embodiment of the present invention, the grammar checking of the plurality of scripts to be executed includes:
acquiring script instructions in each script to be executed;
determining the data volume of the script instruction, and determining an execution thread according to the data volume;
determining an instruction type to which the script instruction belongs, and acquiring a preset format according to the instruction type;
Detecting whether the script instruction accords with the preset format or not by utilizing the execution thread;
when detecting that any script instruction does not accord with the preset format, determining that the any script instruction does not pass the grammar check, and determining a script to be executed, in which the any script instruction is located, as an error script.
According to a preferred embodiment of the invention, the method further comprises:
extracting target instructions which do not pass grammar verification in the error script, and determining the instruction position of the target instructions;
generating prompt information of the error script according to the target instruction and the instruction position;
and sending the prompt information to terminal equipment of the appointed contact person.
According to a preferred embodiment of the present invention, the sorting the target scripts based on the plurality of script names, and obtaining a script list includes:
determining creation time of the script names, and determining target number of script names with the same creation time;
when the target number is larger than a preset value, extracting a sequence number in each script name, and sequencing the target scripts according to the sequence from small to large of the sequence numbers to obtain a script list; or alternatively
And when the target quantity is smaller than or equal to the preset value, sequencing the target scripts according to the order of the creation time from small to large to obtain the script list.
According to a preferred embodiment of the present invention, after determining the arbitrary script, the execution environment, and the breakpoint location as a response result of the script execution request, the method further includes:
encrypting the response result by adopting a symmetric encryption algorithm to obtain a ciphertext, and detecting the environment type of the execution environment;
when the execution environment is a development environment, determining a creating user of the arbitrary script, and sending the ciphertext to equipment of the creating user; or alternatively
When the execution environment is a test environment, determining a test user of the random script, sending the ciphertext to equipment of the test user, receiving a test report submitted by the test user, and sending the test report to equipment of the creation user.
In another aspect, the present invention also provides a script execution device, including:
an extracting unit, configured to extract a plurality of script names from a script execution request when the script execution request is received;
An obtaining unit, configured to obtain a plurality of scripts to be executed corresponding to the plurality of script names from a version control system;
the determining unit is used for carrying out grammar verification on the plurality of scripts to be executed and determining the scripts to be executed which pass the grammar verification as target scripts;
the ordering unit is used for ordering the target scripts based on the script names to obtain a script list;
an execution unit configured to execute the target scripts in the script list in the order from front to back;
an interruption unit, configured to interrupt execution of any script when failure of execution of the any script is detected;
the determining unit is further used for determining an execution environment where the arbitrary script fails to execute and determining a breakpoint position where the arbitrary script is interrupted to execute;
the determining unit is further configured to determine the arbitrary script, the execution environment, and the breakpoint position as a response result of the script execution request.
In another aspect, the present invention also proposes an electronic device, including:
a memory storing computer readable instructions; and
And a processor executing the computer readable instructions stored in the memory to implement the script execution method.
In another aspect, the present invention also proposes a computer readable storage medium having stored therein computer readable instructions that are executed by a processor in an electronic device to implement the script execution method.
According to the technical scheme, when the script execution request is received, a plurality of script names are extracted from the script execution request, all scripts to be processed can be comprehensively acquired, a plurality of scripts to be executed corresponding to the script names are acquired from a version control system, because after the scripts are developed, developers can timely upload the scripts to the version control system, therefore, the latest scripts corresponding to the script names can be acquired from the version control system, grammar check is carried out on the scripts to be executed, the scripts to be executed which are verified through grammar check are determined to be target scripts, grammar check of the scripts is carried out before executing the scripts, script execution failure caused by grammar error can be avoided, script execution success rate is improved, occupation of threads caused by repeated execution of the scripts is avoided, a script list is obtained based on the script names, when the execution of any script is interrupted according to the target scripts in the script list, execution of any script is detected, grammar check is carried out in any execution environment of any script, the execution environment is determined to be the place when the execution failure of any script is detected, the execution environment is determined to be interrupted, and the execution position of any script is determined to be interrupted, and the execution position of the breakpoint is accurately is determined, and the execution of the breakpoint execution environment is accurately is avoided through the breakpoint execution position is determined, and the program execution position is accurately is determined, and the problem is solved when the execution of the breakpoint execution is completed is well is determined, and the program execution position is determined The execution environment and the breakpoint position are determined as a response result of the script execution request. The invention realizes the automatic execution of the script, can avoid the problems of missing execution and repeated execution of the script, saves resources, and simultaneously, the smooth execution of the script does not need to depend on manual execution of professionals, thereby improving the execution efficiency of the script and accelerating the development progress.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the script execution method of the present invention.
FIG. 2 is a functional block diagram of a preferred embodiment of the script execution device of the present invention.
Fig. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present invention for implementing a script execution method.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a preferred embodiment of the script execution method of the present invention. The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs.
The script execution method is applied to one or more electronic devices, wherein the electronic devices are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored computer readable instructions, and the hardware comprises, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (Field-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices and the like.
The electronic device may be any electronic product that can interact with a user in a human-computer manner, such as a personal computer, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game console, interactive internet protocol television (Internet Protocol Television, IPTV), smart wearable device, etc.
The electronic device may comprise a network device and/or a user device. Wherein the network device includes, but is not limited to, a single network electronic device, a group of electronic devices made up of multiple network electronic devices, or a Cloud based Cloud Computing (Cloud Computing) made up of a large number of hosts or network electronic devices.
The network on which the electronic device is located includes, but is not limited to: the internet, wide area networks, metropolitan area networks, local area networks, virtual private networks (Virtual Private Network, VPN), etc.
S10, when a script execution request is received, extracting a plurality of script names from the script execution request.
In at least one embodiment of the present invention, the message information carried in the script execution request includes: request number, preset label and said script names.
Further, the plurality of script names refer to file names of a plurality of script files. The plurality of script names may be in the form of a sequence number-UM number. For example, the script name is 3-jiababen 231.
In at least one embodiment of the present invention, the electronic device extracting a plurality of script names from the script execution request includes:
acquiring a thread connection pool, and acquiring any idle thread from the thread connection pool;
analyzing the message of the script execution request by using the arbitrary idle thread to obtain message information carried by the script execution request;
and acquiring a preset label, and acquiring information corresponding to the preset label from the message information as the script names.
The preset tag refers to a pre-defined tag, for example, the preset tag may be a name.
By acquiring the idle thread from the thread connection pool, the time for creating the idle thread can be saved, the message of the script execution request is processed by the idle thread, the processing of other requests with higher priority by the thread is saved, meanwhile, the whole script execution request is not required to be analyzed, the analysis efficiency of the script execution request is improved, and the script names can be accurately extracted from the script execution request by presetting the mapping relation between the labels and the script names.
In at least one embodiment of the present invention, by acquiring the plurality of script names, all scripts that need to be processed can be comprehensively acquired
S11, acquiring a plurality of scripts to be executed corresponding to the script names from the version control system.
In at least one embodiment of the invention, the version control system (version control system) is a system that records one or several file content changes for later review of a particular version revision. The version control system can be applied not only to text files of software source code, but also to version control of any type of file. For example: the version control system may include, but is not limited to: svn, git, etc.
In at least one embodiment of the present invention, the plurality of scripts to be executed may include database scripts.
In at least one embodiment of the present invention, the electronic device obtaining, from a version control system, a plurality of scripts to be executed corresponding to the plurality of script names includes:
determining a database path where a database in the version control system is located;
acquiring a configuration table from the database path;
traversing file names in the configuration table, and determining the traversed file names which are the same as the script names as target names;
and acquiring a plurality of file storage paths of the plurality of target names, and acquiring the plurality of scripts to be executed from the file storage paths.
And storing a plurality of file names and file storage paths of each file name in the configuration table.
By the implementation mode, the plurality of scripts to be executed can be acquired quickly and accurately.
In at least one embodiment of the present invention, since the developer can upload the script to the version control system in time after the script is developed, the latest script corresponding to the script name can be acquired from the version control system.
S12, carrying out grammar verification on the plurality of scripts to be executed, and determining the scripts to be executed which pass the grammar verification as target scripts.
In at least one embodiment of the present invention, the target script refers to a script to be executed checked by a grammar such as a format.
In at least one embodiment of the present invention, the electronic device performing syntax checking on the plurality of scripts to be executed includes:
acquiring script instructions in each script to be executed;
determining the data volume of the script instruction, and determining an execution thread according to the data volume;
determining an instruction type to which the script instruction belongs, and acquiring a preset format according to the instruction type;
detecting whether the script instruction accords with the preset format or not by utilizing the execution thread;
When detecting that any script instruction does not accord with the preset format, determining that the any script instruction does not pass the grammar check, and determining a script to be executed, in which the any script instruction is located, as an error script.
Wherein the instruction types may include, but are not limited to: JAVA type, C language type, etc.
Further, the preset format refers to an instruction format specific to the instruction type.
By the implementation mode, the proper execution thread can be determined according to the data quantity of the script instruction, and grammar verification of the script to be executed is facilitated.
In at least one embodiment of the invention, the method further comprises:
extracting target instructions which do not pass grammar verification in the error script, and determining the instruction position of the target instructions;
generating prompt information of the error script according to the target instruction and the instruction position;
and sending the prompt information to terminal equipment of the appointed contact person.
Wherein the designated contact may be a developer responsible for script development.
Through the embodiment, when the script to be executed fails to pass the grammar verification, the target instruction which causes the script to be executed to fail the verification can be timely obtained, and the target instruction is timely sent to the terminal equipment of the appointed contact person, so that a prompting effect is achieved.
S13, sequencing the target scripts based on the script names to obtain a script list.
In at least one embodiment of the present invention, the script list stores the target script and sequence numbers of the target script in the script list.
In at least one embodiment of the present invention, the electronic device ordering the target script based on the plurality of script names, the obtaining a script list includes:
determining creation time of the script names, and determining target number of script names with the same creation time;
when the target number is larger than a preset value, extracting a sequence number in each script name, and sequencing the target scripts according to the sequence from small to large of the sequence numbers to obtain a script list; or alternatively
And when the target quantity is smaller than or equal to the preset value, sequencing the target scripts according to the order of the creation time from small to large to obtain the script list.
Wherein the preset value is a positive integer, and the preset value is generally set to 1.
According to the embodiment, when the target number is smaller than or equal to the preset value, the target scripts can be ordered directly according to the creation time of the script names, the sequence numbers in the script names do not need to be extracted, and ordering efficiency is improved.
In at least one embodiment of the present invention, by ordering the target scripts, the target scripts can be executed according to a certain logic order, so that script execution is more standard, and management of the scripts is facilitated.
S14, executing the target scripts in the script list according to the sequence from front to back.
In at least one embodiment of the present invention, for example, the script list is sequence number 1: a target script A; sequence number 2: a target script B; serial number 3: target script C. Therefore, the electronic device executes the target script a, then executes the target script B, and finally executes the target script C in the order from front to back.
S15, when detecting that any script fails to execute, interrupting the execution of the any script.
In at least one embodiment of the present invention, during the execution of the target script, a failure of the execution of the target script may occur due to a grammar error of the target script, etc. When the execution failure of any script affects the execution of the instruction of the script which is not executed in the any script, the execution efficiency is reduced. Therefore, when the arbitrary script is detected, the execution of the arbitrary script is interrupted, the arbitrary script is suspended, and the relevant contact staff can update and repair the arbitrary script conveniently.
S16, determining an execution environment where the arbitrary script fails to execute, and determining a breakpoint position where the arbitrary script is interrupted to execute.
In at least one embodiment of the present invention, the execution environment may be a development environment, a system test environment, or a user test environment, which is not limited by the present invention.
Further, the breakpoint position refers to a position of a script instruction that causes the failure of execution of the arbitrary script. For example, the breakpoint location may be line 10.
In at least one embodiment of the present invention, the electronic device determining an execution environment in which the arbitrary script fails to execute includes:
acquiring an environment identifier of the execution of the random script currently executed;
and determining the execution environment by using the environment identifier.
In at least one embodiment of the present invention, the electronic device determines an interrupt instruction that causes the interrupt of the arbitrary script, determines a number of lines where the interrupt instruction is located in the arbitrary script, and determines the number of lines as the breakpoint position.
In at least one embodiment of the invention, the execution environment and the breakpoint position can be accurately determined by timely interrupting the execution of any script, so that the execution can be started from the breakpoint position after the script is repaired, repeated execution of script programs in the script is avoided, and meanwhile, the determination of the breakpoint position is beneficial to reminding a developer of a specific position where a problem occurs.
And S17, determining the arbitrary script, the execution environment and the breakpoint position as response results of the script execution request.
It should be emphasized that, to further ensure the privacy and security of the response results, the response results may also be stored in a blockchain node.
In at least one embodiment of the present invention, the response result refers to a result obtained by processing the script execution request.
In at least one embodiment of the present invention, after determining the arbitrary script, the execution environment, and the breakpoint location as a response result of the script execution request, the method further includes:
encrypting the response result by adopting a symmetric encryption algorithm to obtain a ciphertext, and detecting the environment type of the execution environment;
when the execution environment is a development environment, determining a creating user of the arbitrary script, and sending the ciphertext to equipment of the creating user; or alternatively
When the execution environment is a test environment, determining a test user of the random script, sending the ciphertext to equipment of the test user, receiving a test report submitted by the test user, and sending the test report to equipment of the creation user.
Through the implementation manner, the sending address of the ciphertext can be determined according to the environment type of the execution environment, so that a direct responsible person can receive a response result in time.
According to the technical scheme, when the script execution request is received, a plurality of script names are extracted from the script execution request, all scripts to be processed can be comprehensively acquired, a plurality of scripts to be executed corresponding to the script names are acquired from a version control system, because after the scripts are developed, developers can timely upload the scripts to the version control system, therefore, the latest scripts corresponding to the script names can be acquired from the version control system, grammar check is carried out on the scripts to be executed, the scripts to be executed which are verified through grammar check are determined to be target scripts, grammar check of the scripts is carried out before executing the scripts, script execution failure caused by grammar error can be avoided, script execution success rate is improved, occupation of threads caused by repeated execution of the scripts is avoided, a script list is obtained based on the script names, when the execution of any script is interrupted according to the target scripts in the script list, execution of any script is detected, grammar check is carried out in any execution environment of any script, the execution environment is determined to be the place when the execution failure of any script is detected, the execution environment is determined to be interrupted, and the execution position of any script is determined to be interrupted, and the execution position of the breakpoint is accurately is determined, and the execution of the breakpoint execution environment is accurately is avoided through the breakpoint execution position is determined, and the program execution position is accurately is determined, and the problem is solved when the execution of the breakpoint execution is completed is well is determined, and the program execution position is determined The execution environment and the breakpoint position are determined as a response result of the script execution request. The invention realizes the automatic execution of the script, can avoid the problems of missing execution and repeated execution of the script, saves resources, and simultaneously, the smooth execution of the script does not need to depend on manual execution of professionals, thereby improving the execution efficiency of the script and accelerating the development progress.
FIG. 2 is a functional block diagram of a preferred embodiment of the script execution apparatus of the present invention. The script execution device 11 includes an extracting unit 110, an acquiring unit 111, a determining unit 112, a sorting unit 113, an executing unit 114, an interrupting unit 115, a generating unit 116, a transmitting unit 117, and an encrypting unit 118. The module/unit referred to herein is a series of computer readable instructions capable of being retrieved by the processor 13 and performing a fixed function and stored in the memory 12. In the present embodiment, the functions of the respective modules/units will be described in detail in the following embodiments.
When a script execution request is received, the extraction unit 110 extracts a plurality of script names from the script execution request.
In at least one embodiment of the present invention, the message information carried in the script execution request includes: request number, preset label and said script names.
Further, the plurality of script names refer to file names of a plurality of script files. The plurality of script names may be in the form of a sequence number-UM number. For example, the script name is 3-jiababen 231.
In at least one embodiment of the present invention, the extracting unit 110 extracts a plurality of script names from the script execution request includes:
Acquiring a thread connection pool, and acquiring any idle thread from the thread connection pool;
analyzing the message of the script execution request by using the arbitrary idle thread to obtain message information carried by the script execution request;
and acquiring a preset label, and acquiring information corresponding to the preset label from the message information as the script names.
The preset tag refers to a pre-defined tag, for example, the preset tag may be a name.
By acquiring the idle thread from the thread connection pool, the time for creating the idle thread can be saved, the message of the script execution request is processed by the idle thread, the processing of other requests with higher priority by the thread is saved, meanwhile, the whole script execution request is not required to be analyzed, the analysis efficiency of the script execution request is improved, and the script names can be accurately extracted from the script execution request by presetting the mapping relation between the labels and the script names.
In at least one embodiment of the present invention, by acquiring the plurality of script names, all scripts that need to be processed can be comprehensively acquired
The acquisition unit 111 acquires a plurality of scripts to be executed corresponding to the plurality of script names from the version control system.
In at least one embodiment of the invention, the version control system (version control system) is a system that records one or several file content changes for later review of a particular version revision. The version control system can be applied not only to text files of software source code, but also to version control of any type of file. For example: the version control system may include, but is not limited to: svn, git, etc.
In at least one embodiment of the present invention, the plurality of scripts to be executed may include database scripts.
In at least one embodiment of the present invention, the obtaining unit 111 obtains, from the version control system, a plurality of scripts to be executed corresponding to the plurality of script names, including:
determining a database path where a database in the version control system is located;
acquiring a configuration table from the database path;
traversing file names in the configuration table, and determining the traversed file names which are the same as the script names as target names;
and acquiring a plurality of file storage paths of the plurality of target names, and acquiring the plurality of scripts to be executed from the file storage paths.
And storing a plurality of file names and file storage paths of each file name in the configuration table.
By the implementation mode, the plurality of scripts to be executed can be acquired quickly and accurately.
In at least one embodiment of the present invention, since the developer can upload the script to the version control system in time after the script is developed, the latest script corresponding to the script name can be acquired from the version control system.
The determination unit 112 performs syntax verification on the plurality of scripts to be executed, and determines the scripts to be executed that pass the syntax verification as target scripts.
In at least one embodiment of the present invention, the target script refers to a script to be executed checked by a grammar such as a format.
In at least one embodiment of the present invention, the determining unit 112 performs syntax checking on the plurality of scripts to be executed includes:
acquiring script instructions in each script to be executed;
determining the data volume of the script instruction, and determining an execution thread according to the data volume;
determining an instruction type to which the script instruction belongs, and acquiring a preset format according to the instruction type;
detecting whether the script instruction accords with the preset format or not by utilizing the execution thread;
When detecting that any script instruction does not accord with the preset format, determining that the any script instruction does not pass the grammar check, and determining a script to be executed, in which the any script instruction is located, as an error script.
Wherein the instruction types may include, but are not limited to: JAVA type, C language type, etc.
Further, the preset format refers to an instruction format specific to the instruction type.
By the implementation mode, the proper execution thread can be determined according to the data quantity of the script instruction, and grammar verification of the script to be executed is facilitated.
In at least one embodiment of the present invention, the extracting unit 110 extracts a target instruction that fails to pass the grammar check in the error script, and determines an instruction position where the target instruction is located;
generating unit 116 generates prompt information of the error script according to the target instruction and the instruction position;
the transmitting unit 117 transmits the prompt information to the terminal device of the designated contact.
Wherein the designated contact may be a developer responsible for script development.
Through the embodiment, when the script to be executed fails to pass the grammar verification, the target instruction which causes the script to be executed to fail the verification can be timely obtained, and the target instruction is timely sent to the terminal equipment of the appointed contact person, so that a prompting effect is achieved.
The sorting unit 113 sorts the target scripts based on the plurality of script names, resulting in a script list.
In at least one embodiment of the present invention, the script list stores the target script and sequence numbers of the target script in the script list.
In at least one embodiment of the present invention, the sorting unit 113 sorts the target scripts based on the plurality of script names, and the obtaining a script list includes:
determining creation time of the script names, and determining target number of script names with the same creation time;
when the target number is larger than a preset value, extracting a sequence number in each script name, and sequencing the target scripts according to the sequence from small to large of the sequence numbers to obtain a script list; or alternatively
And when the target quantity is smaller than or equal to the preset value, sequencing the target scripts according to the order of the creation time from small to large to obtain the script list.
Wherein the preset value is a positive integer, and the preset value is generally set to 1.
According to the embodiment, when the target number is smaller than or equal to the preset value, the target scripts can be ordered directly according to the creation time of the script names, the sequence numbers in the script names do not need to be extracted, and ordering efficiency is improved.
In at least one embodiment of the present invention, by ordering the target scripts, the target scripts can be executed according to a certain logic order, so that script execution is more standard, and management of the scripts is facilitated.
The execution unit 114 executes the target scripts in the script list in the order from front to back.
In at least one embodiment of the present invention, for example, the script list is sequence number 1: a target script A; sequence number 2: a target script B; serial number 3: target script C. Therefore, the electronic device executes the target script a, then executes the target script B, and finally executes the target script C in the order from front to back.
When detecting that any script fails to execute, the interrupt unit 115 interrupts the execution of the any script.
In at least one embodiment of the present invention, during the execution of the target script, a failure of the execution of the target script may occur due to a grammar error of the target script, etc. When the execution failure of any script affects the execution of the instruction of the script which is not executed in the any script, the execution efficiency is reduced. Therefore, when the arbitrary script is detected, the execution of the arbitrary script is interrupted, the arbitrary script is suspended, and the relevant contact staff can update and repair the arbitrary script conveniently.
The determining unit 112 determines an execution environment in which the arbitrary script is executed when it fails, and determines a breakpoint position at which the arbitrary script is interrupted to be executed.
In at least one embodiment of the present invention, the execution environment may be a development environment, a system test environment, or a user test environment, which is not limited by the present invention.
Further, the breakpoint position refers to a position of a script instruction that causes the failure of execution of the arbitrary script. For example, the breakpoint location may be line 10.
In at least one embodiment of the present invention, the determining unit 112 determines an execution environment in which the arbitrary script fails to execute, including:
acquiring an environment identifier of the execution of the random script currently executed;
and determining the execution environment by using the environment identifier.
In at least one embodiment of the present invention, the determining unit 112 determines an interrupt instruction that causes the arbitrary script to be interrupted, determines the number of lines in which the interrupt instruction is located in the arbitrary script, and determines the number of lines as the breakpoint position.
In at least one embodiment of the invention, the execution environment and the breakpoint position can be accurately determined by timely interrupting the execution of any script, so that the execution can be started from the breakpoint position after the script is repaired, repeated execution of script programs in the script is avoided, and meanwhile, the determination of the breakpoint position is beneficial to reminding a developer of a specific position where a problem occurs.
The determining unit 112 determines the arbitrary script, the execution environment, and the breakpoint position as a response result of the script execution request.
It should be emphasized that, to further ensure the privacy and security of the response results, the response results may also be stored in a blockchain node.
In at least one embodiment of the present invention, the response result refers to a result obtained by processing the script execution request.
In at least one embodiment of the present invention, after determining the arbitrary script, the execution environment, and the breakpoint position as a response result of the script execution request, the encryption unit 118 encrypts the response result by using a symmetric encryption algorithm to obtain a ciphertext, and detects an environment type to which the execution environment belongs;
when the execution environment is a development environment, determining a creating user of the arbitrary script, and sending the ciphertext to equipment of the creating user; or alternatively
When the execution environment is a test environment, the determining unit 112 determines a test user of the arbitrary script, sends the ciphertext to a device of the test user, receives a test report submitted by the test user, and sends the test report to a device of the creation user.
Through the implementation manner, the sending address of the ciphertext can be determined according to the environment type of the execution environment, so that a direct responsible person can receive a response result in time.
According to the technical scheme, when the script execution request is received, a plurality of script names are extracted from the script execution request, all scripts to be processed can be comprehensively acquired, a plurality of scripts to be executed corresponding to the script names are acquired from a version control system, because after the scripts are developed, developers can timely upload the scripts to the version control system, therefore, the latest scripts corresponding to the script names can be acquired from the version control system, grammar check is carried out on the scripts to be executed, the scripts to be executed which are verified through grammar check are determined to be target scripts, grammar check of the scripts is carried out before executing the scripts, script execution failure caused by grammar error can be avoided, script execution success rate is improved, occupation of threads caused by repeated execution of the scripts is avoided, a script list is obtained based on the script names, when the execution of any script is interrupted according to the target scripts in the script list, execution of any script is detected, grammar check is carried out in any execution environment of any script, the execution environment is determined to be the place when the execution failure of any script is detected, the execution environment is determined to be interrupted, and the execution position of any script is determined to be interrupted, and the execution position of the breakpoint is accurately is determined, and the execution of the breakpoint execution environment is accurately is avoided through the breakpoint execution position is determined, and the program execution position is accurately is determined, and the problem is solved when the execution of the breakpoint execution is completed is well is determined, and the program execution position is determined The execution environment and the breakpoint position are determined as a response result of the script execution request. The invention realizes the automatic execution of the script, can avoid the problems of missing execution and repeated execution of the script, saves resources, and simultaneously, the smooth execution of the script does not need to depend on manual execution of professionals, thereby improving the execution efficiency of the script and accelerating the development progress.
Fig. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present invention for implementing a script execution method.
In one embodiment of the invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and computer readable instructions, such as script execution programs, stored in the memory 12 and executable on the processor 13.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the electronic device 1 and does not constitute a limitation of the electronic device 1, and may include more or less components than illustrated, or may combine certain components, or different components, e.g. the electronic device 1 may further include input-output devices, network access devices, buses, etc.
The processor 13 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor 13 is an operation core and a control center of the electronic device 1, connects various parts of the entire electronic device 1 using various interfaces and lines, and executes an operating system of the electronic device 1 and various installed applications, program codes, etc.
The processor 13 executes the operating system of the electronic device 1 and various types of applications installed. The processor 13 executes the application program to implement the steps of the various script execution method embodiments described above, such as the steps shown in fig. 1.
Illustratively, the computer readable instructions may be partitioned into one or more modules/units that are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules/units may be a series of computer readable instructions capable of performing a specific function, the computer readable instructions describing a process of executing the computer readable instructions in the electronic device 1. For example, the computer-readable instructions may be divided into an extraction unit 110, an acquisition unit 111, a determination unit 112, a sorting unit 113, an execution unit 114, an interruption unit 115, a generation unit 116, a transmission unit 117, and an encryption unit 118.
The memory 12 may be used to store the computer readable instructions and/or modules, and the processor 13 may implement various functions of the electronic device 1 by executing or executing the computer readable instructions and/or modules stored in the memory 12 and invoking data stored in the memory 12. The memory 12 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. Memory 12 may include non-volatile and volatile memory, such as: hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other storage device, also including volatile memory, such as: a variable memory.
The memory 12 may be an external memory and/or an internal memory of the electronic device 1. Further, the memory 12 may be a physical memory, such as a memory bank, a TF Card (Trans-flash Card), or the like.
The integrated modules/units of the electronic device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the present invention may also be implemented by implementing all or part of the processes in the methods of the embodiments described above, by instructing the associated hardware by means of computer readable instructions, which may be stored in a computer readable storage medium, the computer readable instructions, when executed by a processor, implementing the steps of the respective method embodiments described above.
Wherein the computer readable instructions comprise computer readable instruction code which may be in the form of source code, object code, executable files, or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), and so forth.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
In connection with fig. 1, the memory 12 in the electronic device 1 stores computer readable instructions that the processor 13 may execute to implement:
when a script execution request is received, extracting a plurality of script names from the script execution request;
acquiring a plurality of scripts to be executed corresponding to the script names from a version control system;
carrying out grammar verification on the plurality of scripts to be executed, and determining the scripts to be executed passing the grammar verification as target scripts;
sorting the target scripts based on the script names to obtain a script list;
Executing target scripts in the script list in a front-to-back order;
when detecting that any script fails to execute, interrupting the execution of the any script;
determining an execution environment in which the arbitrary script fails to execute, and determining a breakpoint position at which the arbitrary script is interrupted to execute;
and determining the random script, the execution environment and the breakpoint position as a response result of the script execution request.
In particular, the specific implementation method of the processor 13 on the computer readable instructions may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The computer readable storage medium has stored thereon computer readable instructions, wherein the computer readable instructions are executed by the processor 13 to perform the steps of:
when a script execution request is received, extracting a plurality of script names from the script execution request;
Acquiring a plurality of scripts to be executed corresponding to the script names from a version control system;
carrying out grammar verification on the plurality of scripts to be executed, and determining the scripts to be executed passing the grammar verification as target scripts;
sorting the target scripts based on the script names to obtain a script list;
executing target scripts in the script list in a front-to-back order;
when detecting that any script fails to execute, interrupting the execution of the any script;
determining an execution environment in which the arbitrary script fails to execute, and determining a breakpoint position at which the arbitrary script is interrupted to execute;
and determining the random script, the execution environment and the breakpoint position as a response result of the script execution request.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.
Claims (6)
1. A script execution method, characterized in that the script execution method comprises:
when a script execution request is received, extracting a plurality of script names from the script execution request, including: acquiring a thread connection pool, and acquiring any idle thread from the thread connection pool; analyzing the message of the script execution request by using the arbitrary idle thread to obtain message information carried by the script execution request; acquiring a preset label, and acquiring information corresponding to the preset label from the message information as the script names;
acquiring a plurality of scripts to be executed corresponding to the script names from a version control system;
carrying out grammar verification on the plurality of scripts to be executed, and determining the scripts to be executed passing the grammar verification as target scripts; the grammar checking of the plurality of scripts to be executed comprises the following steps: acquiring script instructions in each script to be executed; determining the data volume of the script instruction, and determining an execution thread according to the data volume; determining an instruction type to which the script instruction belongs, and acquiring a preset format according to the instruction type; detecting whether the script instruction accords with the preset format or not by utilizing the execution thread; when detecting that any script instruction does not accord with the preset format, determining that the any script instruction does not pass the grammar check, and determining a script to be executed, in which the any script instruction is located, as an error script; sorting the target scripts based on the script names to obtain a script list;
Executing target scripts in the script list in a front-to-back order;
when detecting that any script fails to execute, interrupting the execution of the any script;
determining an execution environment where the arbitrary script fails to execute, including: acquiring an environment identifier of the execution of the random script currently executed; determining the execution environment by using the environment identifier, and determining the breakpoint position of the execution of the random script interrupted;
determining the random script, the execution environment and the breakpoint position as a response result of the script execution request;
encrypting the response result by adopting a symmetric encryption algorithm to obtain a ciphertext, and detecting the environment type of the execution environment; when the execution environment is a development environment, determining a creating user of the arbitrary script, and sending the ciphertext to equipment of the creating user; or when the execution environment is a test environment, determining a test user of the arbitrary script, sending the ciphertext to the equipment of the test user, receiving a test report submitted by the test user, and sending the test report to the equipment of the creation user;
Extracting target instructions which do not pass grammar verification in the error script, and determining the instruction position of the target instructions; generating prompt information of the error script according to the target instruction and the instruction position; and sending the prompt information to terminal equipment of the appointed contact person.
2. The script execution method of claim 1, wherein the obtaining, from a version control system, a plurality of scripts to be executed corresponding to the plurality of script names comprises:
determining a database path where a database in the version control system is located;
acquiring a configuration table from the database path;
traversing file names in the configuration table, and determining the traversed file names which are the same as the script names as target names;
and acquiring a plurality of file storage paths of the plurality of target names, and acquiring the plurality of scripts to be executed from the file storage paths.
3. The script execution method of claim 1, wherein the sorting the target script based on the plurality of script names to obtain a script list comprises:
determining creation time of the script names, and determining target number of script names with the same creation time;
When the target number is larger than a preset value, extracting a sequence number in each script name, and sequencing the target scripts according to the sequence from small to large of the sequence numbers to obtain a script list; or alternatively
And when the target quantity is smaller than or equal to the preset value, sequencing the target scripts according to the order of the creation time from small to large to obtain the script list.
4. A script execution device, characterized in that the script execution device comprises:
an extracting unit, configured to extract, when a script execution request is received, a plurality of script names from the script execution request, including: acquiring a thread connection pool, and acquiring any idle thread from the thread connection pool; analyzing the message of the script execution request by using the arbitrary idle thread to obtain message information carried by the script execution request; acquiring a preset label, and acquiring information corresponding to the preset label from the message information as the script names;
an obtaining unit, configured to obtain a plurality of scripts to be executed corresponding to the plurality of script names from a version control system;
the determining unit is used for carrying out grammar verification on the plurality of scripts to be executed and determining the scripts to be executed which pass the grammar verification as target scripts; the grammar checking of the plurality of scripts to be executed comprises the following steps: acquiring script instructions in each script to be executed; determining the data volume of the script instruction, and determining an execution thread according to the data volume; determining an instruction type to which the script instruction belongs, and acquiring a preset format according to the instruction type; detecting whether the script instruction accords with the preset format or not by utilizing the execution thread; when detecting that any script instruction does not accord with the preset format, determining that the any script instruction does not pass the grammar check, and determining a script to be executed, in which the any script instruction is located, as an error script;
The ordering unit is used for ordering the target scripts based on the script names to obtain a script list;
an execution unit configured to execute the target scripts in the script list in the order from front to back;
an interruption unit, configured to interrupt execution of any script when failure of execution of the any script is detected;
the determining unit is further configured to determine an execution environment in which the arbitrary script fails to execute, where the execution environment includes: acquiring an environment identifier of the execution of the random script currently executed; determining the execution environment by using the environment identifier, and determining the breakpoint position of the execution of the random script interrupted;
the determining unit is further configured to determine the arbitrary script, the execution environment, and the breakpoint position as a response result of the script execution request;
the encryption unit is used for carrying out encryption processing on the response result by adopting a symmetric encryption algorithm to obtain a ciphertext and detecting the environment type of the execution environment; when the execution environment is a development environment, determining a creating user of the arbitrary script, and sending the ciphertext to equipment of the creating user; or when the execution environment is a test environment, determining a test user of the arbitrary script, sending the ciphertext to the equipment of the test user, receiving a test report submitted by the test user, and sending the test report to the equipment of the creation user;
The extracting unit is further used for extracting target instructions which do not pass grammar verification in the error script and determining the instruction positions of the target instructions;
the generating unit is used for generating prompt information of the error script according to the target instruction and the instruction position;
and the sending unit is used for sending the prompt information to the terminal equipment of the appointed contact person.
5. An electronic device, the electronic device comprising:
a memory storing computer readable instructions; and
A processor executing computer readable instructions stored in the memory to implement the script execution method of any of claims 1 to 3.
6. A computer-readable storage medium, characterized by: stored in the computer readable storage medium are computer readable instructions that are executed by a processor in an electronic device to implement the script execution method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011126150.9A CN112181485B (en) | 2020-10-20 | 2020-10-20 | Script execution method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011126150.9A CN112181485B (en) | 2020-10-20 | 2020-10-20 | Script execution method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112181485A CN112181485A (en) | 2021-01-05 |
CN112181485B true CN112181485B (en) | 2024-03-15 |
Family
ID=73923498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011126150.9A Active CN112181485B (en) | 2020-10-20 | 2020-10-20 | Script execution method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112181485B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113297028A (en) * | 2021-03-18 | 2021-08-24 | 中国平安人寿保险股份有限公司 | Script execution method and device, computer equipment and storage medium |
CN114398104B (en) * | 2022-01-19 | 2024-06-04 | 中国平安人寿保险股份有限公司 | Script processing method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108885568A (en) * | 2016-03-30 | 2018-11-23 | 亚马逊技术有限公司 | First already present data set is handled at on-demand code execution environments |
CN109726107A (en) * | 2018-06-01 | 2019-05-07 | 平安普惠企业管理有限公司 | Test method, device, equipment and storage medium |
CN110377583A (en) * | 2019-06-17 | 2019-10-25 | 平安普惠企业管理有限公司 | Database script executes method, apparatus, computer equipment and storage medium |
US10496532B1 (en) * | 2019-08-14 | 2019-12-03 | Capital One Services, Llc | Automatically reconfiguring a performance test environment |
CN111142899A (en) * | 2019-12-12 | 2020-05-12 | 东软集团股份有限公司 | Database script execution method and device, storage medium and electronic equipment |
-
2020
- 2020-10-20 CN CN202011126150.9A patent/CN112181485B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108885568A (en) * | 2016-03-30 | 2018-11-23 | 亚马逊技术有限公司 | First already present data set is handled at on-demand code execution environments |
CN109726107A (en) * | 2018-06-01 | 2019-05-07 | 平安普惠企业管理有限公司 | Test method, device, equipment and storage medium |
CN110377583A (en) * | 2019-06-17 | 2019-10-25 | 平安普惠企业管理有限公司 | Database script executes method, apparatus, computer equipment and storage medium |
US10496532B1 (en) * | 2019-08-14 | 2019-12-03 | Capital One Services, Llc | Automatically reconfiguring a performance test environment |
CN111142899A (en) * | 2019-12-12 | 2020-05-12 | 东软集团股份有限公司 | Database script execution method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112181485A (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113050900B (en) | Screen sharing method, device, equipment and storage medium | |
US10275329B2 (en) | Fault isolation and identification in versioned microservices | |
CN112181485B (en) | Script execution method and device, electronic equipment and storage medium | |
CN112541009B (en) | Data query method, device, electronic equipment and storage medium | |
CN112015663B (en) | Test data recording method, device, equipment and medium | |
CN111797351A (en) | Page data management method and device, electronic equipment and medium | |
WO2022041889A1 (en) | Fund routing method and apparatus, electronic device, and storage medium | |
CN111814045B (en) | Data query method, device, electronic equipment and storage medium | |
CN111367531A (en) | Code processing method and device | |
CN112181482B (en) | Version verification method and device, electronic equipment and storage medium | |
CN112199483B (en) | Information input assisting method and device, electronic equipment and storage medium | |
CN111651363A (en) | Test data acquisition method, test data acquisition device, electronic device and medium | |
CN112819305A (en) | Service index analysis method, device, equipment and storage medium | |
CN112395319B (en) | Cache sharing method and device, server and storage medium | |
CN115037790B (en) | Abnormal registration identification method, device, equipment and storage medium | |
CN112817742B (en) | Data migration method, device, equipment and storage medium | |
CN114398104B (en) | Script processing method, device, equipment and storage medium | |
CN112667501A (en) | Link testing method and device based on automatic baffle and related equipment | |
CN112434237A (en) | Page loading method and device, electronic equipment and storage medium | |
CN112667659B (en) | Feature processing method and related equipment | |
CN116361170A (en) | Big data testing method, device, server and storage medium | |
CN112287329B (en) | Service instance verification method and device, electronic equipment and storage medium | |
CN113076331B (en) | Method, device, equipment, storage medium and program product for processing middle-stage data | |
CN113760777B (en) | Application program pressure test method, device, equipment and storage medium | |
CN113360398B (en) | Hybrid application program testing method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |