Software environment installation method and device, storage medium and electronic device
The instruction recognition model automatically identifies and verifies instructions in the installation manual, solving the problem of low efficiency and errors in manual input instructions, and achieving efficient and accurate software environment installation.
Patent Information
- Application Number
- CN202210545524.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-19
- Publication Date
- 2024-09-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing environmental installation method requires manual input of a large number of instructions, which is heavy workload, low efficiency, and prone to errors, leading to errors in the installation process.
By building an instruction recognition model to identify the installation manual, obtain the installation instructions, and conduct verification and user verification according to the preset verification rules, reducing manual input, improving efficiency, and avoiding errors.
It realizes automatic identification and verification of installation instructions, reduces manual workload, improves the efficiency of environmental installation, and ensures the normal execution of the installation process.
Smart Images

Figure CN114880059B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a software environment installation method and device, a storage medium and an electronic device. Background Art
[0002] With the development of computer technology, various enterprises and organizations have widely used various application software to realize various business functions. In the process of upgrading and installing application software, it is necessary to install the corresponding software environment to install the new software version.
[0003] Currently, it is usually the environment installer who manually enters the instructions for installing the environment according to the instructions in the installation manual, manually checks the instructions and triggers the execution of the operation instructions. The installation manual refers to the operation guide for the application system developer to guide the user to install the application system version.
[0004] In the actual application process, the number of instructions involved in installing the software environment is large, ranging from dozens to hundreds to tens of thousands. Based on the existing environment installation method, each upgrade and installation requires the environment installer to manually input a large number of instructions, which is a large workload, requires a lot of human resources, and has low work efficiency. Secondly, manually inputting and checking a large amount of instruction data is prone to omissions, resulting in errors in the environment installation process. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method for installing a software environment to solve the problem of heavy workload and low efficiency in the existing manual editing and inputting of operation instructions for installing the environment.
[0006] The embodiment of the present invention also provides a software environment installation device to ensure the actual implementation and application of the above method.
[0007] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0008] A software environment installation method, comprising:
[0009] When the software environment of the application software needs to be installed, determine the installation manual corresponding to the application software;
[0010] The installation manual is identified by using the constructed instruction recognition model to obtain a plurality of installation instructions corresponding to the installation manual;
[0011] Verifying each of the installation instructions according to a preset verification rule to obtain a verification result of each of the installation instructions;
[0012] According to the verification result of each installation instruction, each installation instruction is displayed to the user, so that the user can check each installation instruction to obtain the environment installation instruction corresponding to each installation instruction;
[0013] Based on each of the environment installation instructions, the software environment of the application software is installed.
[0014] In the above method, optionally, displaying each installation instruction to the user according to the verification result of each installation instruction includes:
[0015] Among the multiple installation instructions, the installation instruction whose verification result is that it fails the verification is used as the first installation instruction;
[0016] Using, among the multiple installation instructions, an installation instruction whose verification result is that it has passed the verification as a second installation instruction;
[0017] For each of the first installation instructions, display the first installation instruction to the user in a preset highlighting manner;
[0018] For each of the second installation instructions, the second installation instruction is displayed to the user in a preset default display manner.
[0019] Optionally, the method of causing the user to check each of the installation instructions to obtain an environment installation instruction corresponding to each of the installation instructions includes:
[0020] Prompting the user to check each of the installation instructions based on the verification results of each of the installation instructions to determine the to-be-reviewed instruction corresponding to each of the installation instructions;
[0021] receiving each of the instructions to be reviewed determined by the user, and sending each of the instructions to be reviewed to a reviewer, prompting the reviewer to review each of the instructions to be reviewed;
[0022] receiving a review result of each of the instructions to be reviewed;
[0023] For each of the instructions to be reviewed, if the review result of the instruction to be reviewed is that it has passed the review, the instruction to be reviewed is used as the environment installation instruction corresponding to the corresponding installation instruction.
[0024] Optionally, the method described above, installing the software environment of the application software based on each of the environment installation instructions, includes:
[0025] Sending each of the environment installation instructions to the installation environment corresponding to the application software;
[0026] In the installation environment, each of the environment installation instructions is executed in sequence to install the software environment of the application software in the installation environment.
[0027] The above method may optionally further include:
[0028] Determine the execution result of each of the environment installation instructions, and store the execution result of each of the environment installation instructions.
[0029] The above method may optionally further include:
[0030] For each of the environment installation instructions, determining whether the environment installation instruction is the same as the corresponding installation instruction, and if the environment installation instruction is not the same as the corresponding installation instruction, determining the environment installation instruction as the target environment installation instruction;
[0031] Each target environment installation instruction is stored to use each target environment installation instruction as training data for the instruction recognition model.
[0032] A software environment installation device, comprising:
[0033] A determination unit, configured to determine an installation manual corresponding to the application software when a software environment for installing the application software is required;
[0034] an identification unit, configured to identify the installation manual by using a constructed instruction identification model, and obtain a plurality of installation instructions corresponding to the installation manual;
[0035] A verification unit, used to verify each of the installation instructions according to a preset verification rule to obtain a verification result of each of the installation instructions;
[0036] A checking unit, configured to display each of the installation instructions to the user according to the verification result of each of the installation instructions, so that the user can check each of the installation instructions to obtain the environment installation instructions corresponding to each of the installation instructions;
[0037] The installation unit is used to install the software environment of the application software based on each of the environment installation instructions.
[0038] The above device may optionally further include:
[0039] a judging unit, configured to judge, for each of the environment installation instructions, whether the environment installation instruction is the same as the installation instruction corresponding to it, and if the environment installation instruction is not the same as the installation instruction corresponding to it, determine the environment installation instruction as the target environment installation instruction;
[0040] The storage unit is used to store each target environment installation instruction so as to use each target environment installation instruction as training data for the instruction recognition model.
[0041] A storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the software environment installation method as described above.
[0042] An electronic device includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to execute the software environment installation method as described above.
[0043] A software environment installation method provided based on the above-mentioned embodiment of the present invention includes: when the software environment of the application software needs to be installed, determining the installation manual corresponding to the application software; identifying the installation manual through the constructed instruction recognition model to obtain multiple installation instructions corresponding to the installation manual; verifying each installation instruction according to the preset verification rule to obtain the verification result of each installation instruction; displaying each installation instruction to the user according to the verification result of each installation instruction, so that the user can check each installation instruction to obtain the environment installation instruction corresponding to each installation instruction; installing the software environment of the application software based on each environment installation instruction. Applying the method provided by the embodiment of the present invention, the installation manual can be identified through the instruction recognition model to obtain each installation instruction, and the environment installation instruction corresponding to each installation instruction can be obtained after the user verifies it, so as to install the software environment. The installation instruction can be obtained by identification, and the user does not need to manually input all the instructions for installing the environment. It is only necessary to verify the installation instruction obtained by identification, which can reduce the manual workload and improve the efficiency of environment installation. Secondly, it can avoid human errors and ensure the normal execution of the environment installation process. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0045] Figure 1 A method flow chart of a software environment installation method provided by an embodiment of the present invention;
[0046] Figure 2 An example diagram of a software environment installation process provided by an embodiment of the present invention;
[0047] Figure 3A schematic diagram of the architecture of a software environment installation platform provided by an embodiment of the present invention;
[0048] Figure 4 Another example diagram of a software environment installation process provided by an embodiment of the present invention;
[0049] Figure 5 A schematic diagram of an installation instruction verification interface provided by an embodiment of the present invention;
[0050] Figure 6 A schematic diagram of the structure of a software environment installation device provided by an embodiment of the present invention;
[0051] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0054] The embodiment of the present invention provides a method for installing a software environment. The method can be applied to an environment installation platform. The execution subject can be a server of the environment installation platform. The method flow chart of the method is as follows: Figure 1 As shown, including:
[0055] S101: When a software environment for installing application software is required, determining an installation manual corresponding to the application software;
[0056] In the method provided by the embodiment of the present invention, when the user needs to install the software environment of the application software, a trigger instruction can be sent through the front end. When the server receives the trigger instruction, the installation manual corresponding to the application software can be determined. Specifically, the user can upload the corresponding installation manual through the front end, and obtain the installation manual uploaded by the user as the installation manual corresponding to the application software. Alternatively, the installation manual of each application product can be pre-entered in the platform, and the installation manual corresponding to the application software can be matched from the pre-entered installation manuals according to the application software that currently needs to install the environment. In the specific processing process, the installation manual can be recorded in the form of text or image.
[0057] S102: Identify the installation manual using the constructed instruction recognition model to obtain a plurality of installation instructions corresponding to the installation manual;
[0058] In the method provided by the embodiment of the present invention, an instruction recognition model can be pre-built based on artificial intelligence machine learning to recognize and convert the content in the installation manual and output operation instructions corresponding to the content of the installation manual. The instruction recognition model can be built based on a neural network model.
[0059] In the method provided by the embodiment of the present invention, the installation manual can be input into the constructed instruction recognition model to recognize the installation manual through the instruction recognition model. After being processed by the instruction recognition model, each operation instruction corresponding to the operation guide of the installation manual can be output, and each operation instruction output by the instruction recognition model is used as each installation instruction corresponding to the installation manual.
[0060] S103: Verify each installation instruction according to a preset verification rule to obtain a verification result of each installation instruction;
[0061] In the method provided by the embodiment of the present invention, each installation instruction can be verified according to a preset verification rule to obtain a verification result of each installation instruction, and the verification result can be that the installation instruction has passed the verification or failed the verification. The preset verification rule refers to the rule that the applicable installation instruction should comply with, such as the agreement on the grammatical structure of the instruction, etc. If the installation instruction complies with the preset verification rule, the verification result of the installation instruction is determined to pass the verification, and if it does not comply with the verification rule, the verification result is determined to fail the verification.
[0062] S104: displaying each installation instruction to the user according to the verification result of each installation instruction, so that the user can check each installation instruction to obtain the environment installation instruction corresponding to each installation instruction;
[0063] In the method provided by the embodiment of the present invention, each installation instruction can be displayed to the user through the front end according to the verification result of each installation instruction, so that the user can verify each installation instruction. Specifically, when displaying each installation instruction, the user can be prompted with the verification result of each installation instruction in a predetermined manner, and the user can be prompted to modify each installation instruction that has not passed the verification, and confirm each installation instruction that has passed the verification. After the user's verification, the environment installation instruction corresponding to each installation instruction can be obtained. Specifically, for the installation instruction that has passed the verification, after the user confirms it, the installation instruction is used as its corresponding environment installation instruction. For the installation instruction that has not passed the verification, after the user modifies it, the installation instruction modified by the user is used as the environment installation instruction corresponding to the installation instruction.
[0064] S105: Install the software environment of the application software based on each of the environment installation instructions.
[0065] In the method provided by the embodiment of the present invention, the installation of the software environment is achieved by executing various environment installation instructions.
[0066] Based on the method provided by the embodiment of the present invention, when the software environment of the application software needs to be installed, the installation manual corresponding to the application software is determined; the installation manual is identified through the constructed instruction recognition model to obtain multiple installation instructions corresponding to the installation manual; each installation instruction is verified according to the preset verification rules to obtain the verification result of each installation instruction; according to the verification result of each installation instruction, each installation instruction is displayed to the user, so that the user can check each installation instruction to obtain the environment installation instruction corresponding to each installation instruction; based on each environment installation instruction, the software environment of the application software is installed. Applying the method provided by the embodiment of the present invention, the installation manual is identified through the instruction recognition model, and each installation instruction corresponding to the operation guide of the installation manual can be obtained. After the user verifies, the environment installation instruction corresponding to each installation instruction can be obtained to realize the installation of the software environment. There is no need for the user to manually input all the instructions for installing the environment, only the installation instructions obtained by identification need to be verified, which can reduce a lot of workload and improve work efficiency. Secondly, it can avoid the human errors caused by manually inputting a large number of instructions, which is conducive to ensuring the normal operation of the environment installation process.
[0067] exist Figure 1 On the basis of the method shown, in the method provided by the embodiment of the present invention, the process of displaying each installation instruction to the user according to the verification result of each installation instruction mentioned in step S104 includes:
[0068] Among the multiple installation instructions, the installation instruction whose verification result is that it fails the verification is used as the first installation instruction;
[0069] Using, among the multiple installation instructions, an installation instruction whose verification result is that it has passed the verification as a second installation instruction;
[0070] For each of the first installation instructions, display the first installation instruction to the user in a preset highlighting manner;
[0071] For each of the second installation instructions, the second installation instruction is displayed to the user in a preset default display manner.
[0072] In the method provided by the embodiment of the present invention, each installation instruction that has not passed the verification is displayed to the user in a preset highlighting manner, and each installation instruction that has passed the verification is displayed to the user in a preset default display manner. For example, all installation instructions are displayed on the front end, wherein each installation instruction that has not passed the verification is displayed in a highlighted manner (such as yellow), and each installation instruction that has passed the verification is displayed in a normal display manner without being highlighted.
[0073] exist Figure 1 On the basis of the method shown, in the method provided by the embodiment of the present invention, the process of enabling the user to check each installation instruction to obtain the environment installation instruction corresponding to each installation instruction mentioned in step S104 includes:
[0074] Prompting the user to check each of the installation instructions based on the verification results of each of the installation instructions to determine the to-be-reviewed instruction corresponding to each of the installation instructions;
[0075] In the method provided by the embodiment of the present invention, the user may be prompted to modify the installation instructions that have not passed the verification, and to confirm the installation instructions that have passed the verification, so as to verify each installation instruction. The user may modify the installation instructions that have not passed the verification through the front end. After the user completes the modification and confirmation, the verified installation instructions may be submitted, and the verified installation instructions may be used as the instructions to be reviewed. For each installation instruction, if the installation instruction has not been modified after verification, then the installation instruction is the corresponding instruction to be reviewed. If the installation instruction has been modified by the user after verification, then the installation instruction modified by the user is the instruction to be reviewed corresponding to the installation instruction. It can be understood that for each installation instruction that has not passed the verification, the corresponding instruction to be reviewed is the instruction obtained by the user modifying the installation instruction, and for each installation instruction that has passed the verification, the corresponding instruction to be reviewed is the installation instruction itself.
[0076] receiving each of the instructions to be reviewed determined by the user, and sending each of the instructions to be reviewed to a reviewer, prompting the reviewer to review each of the instructions to be reviewed;
[0077] In the method provided by the embodiment of the present invention, each instruction to be reviewed submitted by the user can be received, and each instruction to be reviewed can be sent to a reviewer to prompt the reviewer to review and submit the review result of each instruction to be reviewed.
[0078] receiving a review result of each of the instructions to be reviewed;
[0079] In the method provided in the embodiment of the present invention, the review result fed back by the reviewer can be received, and the review result of the instruction to be reviewed can be passed or failed.
[0080] For each of the instructions to be reviewed, if the review result of the instruction to be reviewed is that it has passed the review, the instruction to be reviewed is used as the environment installation instruction corresponding to the corresponding installation instruction.
[0081] In the method provided by the embodiment of the present invention, the instruction to be reviewed whose review result is that it has passed the review is used as the environment installation instruction corresponding to the corresponding installation instruction. For the instruction to be reviewed whose review result is that it has not passed the review, the review result of the instruction to be reviewed can be sent to the user, prompting the user to modify the instruction to be reviewed to request review again, until the instruction to be reviewed passes the review.
[0082] exist Figure 1 On the basis of the method shown, in the method provided by the embodiment of the present invention, the process of installing the software environment of the application software based on each of the environment installation instructions mentioned in step S105 includes:
[0083] Sending each of the environment installation instructions to the installation environment corresponding to the application software;
[0084] In the installation environment, each of the environment installation instructions is executed in sequence to install the software environment of the application software in the installation environment.
[0085] In the method provided by the embodiment of the present invention, each environment installation instruction can be sent to the installation environment corresponding to the application software, and then each environment installation instruction is executed in sequence in the installation environment to achieve the installation of the software environment.
[0086] On the basis of the method provided in the above embodiment, the method provided in the embodiment of the present invention further includes:
[0087] Determine the execution result of each of the environment installation instructions, and store the execution result of each of the environment installation instructions.
[0088] In the method provided by the embodiment of the present invention, after executing each environment installation instruction, the execution result of each environment installation instruction, such as execution success or execution failure, can be recorded and the execution result of each environment installation instruction can be stored in a designated storage area for subsequent query.
[0089] exist Figure 1 On the basis of the method shown, the method provided in the embodiment of the present invention further includes:
[0090] For each of the environment installation instructions, determining whether the environment installation instruction is the same as the corresponding installation instruction, and if the environment installation instruction is not the same as the corresponding installation instruction, determining the environment installation instruction as the target environment installation instruction;
[0091] In the method provided by the embodiment of the present invention, it can be determined whether each environment installation instruction is the same as the installation instruction corresponding to it, that is, it can be determined whether each environment installation instruction is a modified installation instruction. If the environment installation instruction is not the same as the installation instruction corresponding to it, it means that the environment installation instruction is the environment installation instruction obtained after the user modifies the corresponding installation instruction, and the environment installation instruction is used as the target environment installation instruction. It can be understood that the environment installation instruction obtained by modifying the installation instruction during the user verification process is used as the target environment installation instruction. It can be understood that the installation instruction corresponding to each target environment installation instruction is an installation instruction that is inaccurately identified by the instruction recognition model.
[0092] Each target environment installation instruction is stored to use each target environment installation instruction as training data for the instruction recognition model.
[0093] In the method provided by the embodiment of the present invention, each target environment installation instruction can be recorded and stored for subsequent training of the instruction recognition model.
[0094] In order to better illustrate the method provided by the embodiment of the present invention, the embodiment of the present invention provides another software environment installation method in combination with a specific application scenario. The method provided by the embodiment of the present invention is applied to the software environment installation of application software in the information architecture operation and maintenance scenario of a bank.
[0095] In the application process of the method provided in the embodiment of the present invention, there are some preparatory work, which mainly includes:
[0096] Sort out and design a list of installation instruction execution results, as a display of the execution results of each installation instruction involved, the content can be (but not limited to) as shown in the following table:
[0097] Table 1
[0098]
[0099] Create a task number to prepare for subsequent installation manual identification. The task number data structure can be as follows:
[0100] Table 2
[0101]
[0102] During the application of the method provided in the embodiment of the present invention:
[0103] Select the established task number, upload the installation manual, select the uploaded installation manual, initiate the installation manual identification task, the system receives the task, and returns the start information.
[0104] Select the completed manual recognition task, browse and compare the recognition results, and the system returns the recognition results.
[0105] Select the result data identified in the manual, download it, and generate a list of instruction execution results.
[0106] The instructions are sent to the installation environment for execution one by one, and the execution results are returned. The execution results are filled in the instruction execution result list for storage.
[0107] The list of instruction execution results can be queried later.
[0108] The software environment installation process provided by the embodiment of the present invention can be briefly summarized as follows: Figure 2 The process shown mainly includes:
[0109] S201: Select manual to upload;
[0110] S202: Save the operation manual;
[0111] S203: Select the manual to be searched;
[0112] S204: Identify the instruction;
[0113] S205: extract instructions;
[0114] S206: Modify the instruction;
[0115] S207: export instruction;
[0116] S208: Review instructions;
[0117] S209: Determine whether the instruction has passed the review;
[0118] S210: If the instruction passes the review, the instruction is sent; if not, return to step S206 to continue to modify the instruction;
[0119] S211: Execute instructions one by one;
[0120] S212: Return the instruction execution results one by one and register the instruction execution results.
[0121] The method provided in the embodiment of the present invention can be applied to an environment installation platform, which is for Figure 1 An instantiation of the method shown, such as Figure 3 As shown in the schematic diagram of the architecture, the installation operation user can access the environment installation platform through the intranet Http based on the browser (PC Web), and the environment installation platform may include the following modules:
[0122] Platform management module (WEB): mainly realizes user and authority management, user interface, mapping rule management, operation log, manual upload, manual management, manual query and other management.
[0123] Storage module: mainly local cache management and manual library file storage (shared storage) and database services.
[0124] The platform's internal service module mainly includes the following sub-modules:
[0125] Manual recognition submodule: The manual recognition submodule mainly calls the recognition engine to recognize the content of the installation manual, extracts the recognized installation instruction content, and then uses the content mapping rules to verify the instruction rules. Finally, it displays the verified instructions. The display supports highlighting erroneous instructions so that users can modify them.
[0126] Installation operation content export submodule: This submodule is mainly responsible for exporting, reviewing, re-modifying, and sending the content of the installation manual instructions. The review is the responsibility of the reviewing user, and the modification is completed by the handling user. The modification results will be synchronously fed back to the engine training submodule as the basis for subsequent training of the recognition engine to improve the recognition level of the recognition engine. After the review is passed, the handling staff can send the reviewed instructions to the installation environment to execute the environment installation instructions.
[0127] Instruction management submodule: mainly supports the management of identified instructions for review and subsequent engine training.
[0128] Engine training submodule: mainly supports machine learning in the process of command recognition, trains the network through learning, optimizes the algorithm, and improves recognition capabilities.
[0129] Data processing submodule: When the installation instruction is executed, the system returns the instruction execution result to the instruction management submodule, and maintains the execution result in the installation instruction execution result list table (such as Table 1) for subsequent query.
[0130] Independent engine module: mainly includes recognition engine, content extraction engine and other engines (such as sending instruction engine, receiving instruction engine, etc.), which is an important component of the platform to achieve intelligent processing.
[0131] Unified scheduling module: mainly responsible for completing the scheduling of tasks related to this platform.
[0132] In order to better illustrate the method provided by the embodiment of the present invention, Figure 4 The example diagram shown below further illustrates the environment installation process provided by the embodiment of the present invention.
[0133] like Figure 4 As shown, the environment installation process provided by the embodiment of the present invention mainly includes:
[0134] User login: mainly to complete the authentication function of the handler.
[0135] Upload installation manual: After the operator logs in, select the directory where the installation manual file is located, select the installation manual file, click Upload, and upload the installation manual file to the system for manual management. The managed manuals can be added, deleted, modified, and checked.
[0136] Query the manual: After uploading the manual, you can query it through the manual query. The query supports list query and single manual query. In the list query, select a manual record and click the Identify Manual button to enter the Identify Installation Manual function page. If you choose to click the Query button, you can view the manual content in detail.
[0137] Identify the installation manual: This is mainly to identify the manual in the system background, extract the installation instructions, and verify the instructions through rules. During this process, the front-end interface can be as follows Figure 5 As shown, it includes a box to be revised, a box to be reviewed, an export instruction button, and a submit review button. The platform can display the identified installation instructions in the box to be revised, and the instructions are displayed one by one in the box. For the instruction content that fails the verification according to the verification rules, the content will be highlighted. The user can revise the highlighted content. After the revision is completed, click the export instruction button to extract the revised instruction content to the box to be reviewed. After the operator confirms that there is no problem, select the submit review button.
[0138] Review instructions: After the reviewer logs into the system, select Instruction Management to enter the instruction query list, and select instructions with a status of pending review for review. The review supports single instruction review and batch instruction review. After the reviewer passes the review, click the Submit button, and the reviewed instructions will enter the queue to be sent. If the review fails, select the Return button to return the processed instructions to the modification queue for the handler to modify.
[0139] Send installation instructions: After the instructions are reviewed and approved, the handler can choose to send them for processing. After sending, the instructions will be sent to the waiting queue of the installation environment and wait for execution. When the relevant execution instructions in the installation environment are executed at the point, the instruction can be selected from the waiting queue for submission and execution. The execution results will be fed back to the system for registration.
[0140] Execution result query: mainly provides the query function of the execution status of the sent instructions.
[0141] The method provided in the embodiment of the present invention is based on artificial intelligence technology to intelligently identify the instructions in the installation manual and incorporate them into the system for management. The system continuously improves its recognition ability based on further training, greatly improving the automation of importing instructions during environmental installation work, making environmental installation more automatic and intelligent.
[0142] Based on the method provided by the embodiment of the present invention, manual repetitive labor in the environment installation process can be eliminated. By automatically and intelligently identifying the operation instructions in the installation manual, the installation operation instructions in the installation manual can be intelligently and automatically identified. The instruction export can greatly shorten the time for entering instructions in the environment installation process, making the installation work faster. Through the automatic identification process, the installation user can quickly build the environment.
[0143] and Figure 1 Corresponding to the software environment installation method shown in FIG. 1 , an embodiment of the present invention further provides a software environment installation device for Figure 1 The specific implementation of the method shown in is shown in the structural diagram Figure 6 As shown, including:
[0144] The determining unit 301 is used to determine the installation manual corresponding to the application software when the software environment of the application software needs to be installed;
[0145] The identification unit 302 is used to identify the installation manual through the constructed instruction recognition model to obtain multiple installation instructions corresponding to the installation manual;
[0146] The verification unit 303 is used to verify each of the installation instructions according to a preset verification rule to obtain a verification result of each of the installation instructions;
[0147] A verification unit 304, configured to display each of the installation instructions to the user according to the verification result of each of the installation instructions, so that the user can verify each of the installation instructions to obtain the environment installation instructions corresponding to each of the installation instructions;
[0148] The installation unit 305 is used to install the software environment of the application software based on each of the environment installation instructions.
[0149] Based on the device provided by the embodiment of the present invention, when the software environment of the application software needs to be installed, the installation manual corresponding to the application software is determined; the installation manual is identified through the constructed instruction recognition model to obtain multiple installation instructions corresponding to the installation manual; each installation instruction is verified according to the preset verification rule to obtain the verification result of each installation instruction; according to the verification result of each installation instruction, each installation instruction is displayed to the user, so that the user can check each installation instruction to obtain the environment installation instruction corresponding to each installation instruction; based on each environment installation instruction, the software environment of the application software is installed. The device provided by the embodiment of the present invention is applied to identify the installation manual through the instruction recognition model, and each installation instruction corresponding to the operation guide of the installation manual can be obtained. After the user verifies, the environment installation instruction corresponding to each installation instruction can be obtained to realize the installation of the software environment. There is no need for the user to manually input all the instructions for installing the environment, and only the identified installation instructions need to be verified, which can reduce a lot of workload and improve work efficiency. Secondly, it can avoid human errors caused by manually inputting a large number of instructions, which is conducive to ensuring the normal operation of the environment installation process.
[0150] On the basis of the device provided in the above embodiment, the device provided in the embodiment of the present invention further includes:
[0151] a judging unit, configured to judge, for each of the environment installation instructions, whether the environment installation instruction is the same as the installation instruction corresponding to it, and if the environment installation instruction is not the same as the installation instruction corresponding to it, determine the environment installation instruction as the target environment installation instruction;
[0152] The storage unit is used to store each of the target environment installation instructions so as to use each of the target environment installation instructions as training data for the instruction recognition model.
[0153] On the basis of the device provided in the above embodiment, in the device provided in the embodiment of the present invention, the checking unit 304 includes:
[0154] A first determining subunit is configured to use, among the multiple installation instructions, an installation instruction for which a verification result is that the installation instruction fails the verification as a first installation instruction; and use, among the multiple installation instructions, an installation instruction for which a verification result is that the installation instruction passes the verification as a second installation instruction;
[0155] The display subunit is used to display each of the first installation instructions to the user in a preset highlighted display mode; and to display each of the second installation instructions to the user in a preset default display mode.
[0156] On the basis of the device provided in the above embodiment, in the device provided in the embodiment of the present invention, the checking unit 304 includes:
[0157] A checking subunit, configured to prompt the user to check each of the installation instructions based on the verification results of each of the installation instructions, so as to determine the to-be-checked instruction corresponding to each of the installation instructions;
[0158] A review subunit, used for receiving each of the instructions to be reviewed determined by the user, and sending each of the instructions to be reviewed to a reviewer, prompting the reviewer to review each of the instructions to be reviewed;
[0159] The second determination subunit is used to receive the review result of each of the instructions to be reviewed; for each of the instructions to be reviewed, if the review result of the instruction to be reviewed is that it has passed the review, the instruction to be reviewed is used as the environment installation instruction corresponding to its corresponding installation instruction.
[0160] On the basis of the device provided in the above embodiment, in the device provided in the embodiment of the present invention, the installation unit 305 includes:
[0161] A sending subunit, used for sending each of the environment installation instructions to the installation environment corresponding to the application software;
[0162] The execution subunit is used to execute each of the environment installation instructions in sequence in the installation environment to install the software environment of the application software in the installation environment.
[0163] On the basis of the device provided in the above embodiment, the device provided in the embodiment of the present invention further includes:
[0164] The storage subunit is used to determine the execution result of each of the environment installation instructions and store the execution result of each of the environment installation instructions.
[0165] An embodiment of the present invention further provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the software environment installation method as described above.
[0166] The embodiment of the present invention further provides an electronic device, the structural diagram of which is shown in FIG. Figure 7 As shown, it specifically includes a memory 401 and one or more instructions 402, wherein the one or more instructions 402 are stored in the memory 401 and are configured to be executed by one or more processors 403 to perform the following operations:
[0167] When the software environment of the application software needs to be installed, determine the installation manual corresponding to the application software;
[0168] The installation manual is identified by using the constructed instruction recognition model to obtain a plurality of installation instructions corresponding to the installation manual;
[0169] Verifying each of the installation instructions according to a preset verification rule to obtain a verification result of each of the installation instructions;
[0170] According to the verification result of each installation instruction, each installation instruction is displayed to the user, so that the user can check each installation instruction to obtain the environment installation instruction corresponding to each installation instruction;
[0171] Based on each of the environment installation instructions, the software environment of the application software is installed.
[0172] It should be noted that the software environment installation method and device, storage medium and electronic device provided by the present invention can be used in the financial field or other fields, for example, can be used in the application scenario of business system installation and upgrade in the financial field. Other fields are any fields other than the financial field, for example, the communication service field. The above is only an example and does not limit the application field of the software environment installation method and device, storage medium and electronic device provided by the present invention.
[0173] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0174] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0175] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A software environment installation method, characterized in that: include: When the software environment of the application software needs to be installed, determine the installation manual corresponding to the application software; The installation manual is identified by using the constructed instruction recognition model to obtain a plurality of installation instructions corresponding to the installation manual, wherein the installation manual is an image; Verifying each of the installation instructions according to a preset verification rule to obtain a verification result of each of the installation instructions; According to the verification result of each installation instruction, each installation instruction is displayed to the user, so that the user can check each installation instruction to obtain the environment installation instruction corresponding to each installation instruction; Install the software environment of the application software based on each of the environment installation instructions; The step of displaying each installation instruction to the user based on the verification result of each installation instruction includes: Among the multiple installation instructions, the installation instruction whose verification result is that it fails the verification is used as the first installation instruction; Using, among the multiple installation instructions, an installation instruction whose verification result is that it has passed the verification as a second installation instruction; For each of the first installation instructions, display the first installation instruction to the user in a preset highlighting manner to prompt the user to modify the installation instructions that have not passed the verification; For each of the second installation instructions, the second installation instruction is displayed to the user in a preset default display manner.
2. The method according to claim 1, characterized in that The step of enabling the user to check each of the installation instructions to obtain an environment installation instruction corresponding to each of the installation instructions includes: Prompting the user to check each of the installation instructions based on the verification results of each of the installation instructions to determine the to-be-reviewed instruction corresponding to each of the installation instructions; receiving each of the instructions to be reviewed determined by the user, and sending each of the instructions to be reviewed to a reviewer, prompting the reviewer to review each of the instructions to be reviewed; receiving a review result of each of the instructions to be reviewed; For each of the instructions to be reviewed, if the review result of the instruction to be reviewed is that it has passed the review, the instruction to be reviewed is used as the environment installation instruction corresponding to the corresponding installation instruction.
3. The method according to claim 1, characterized in that The software environment for installing the application software based on each of the environment installation instructions includes: Sending each of the environment installation instructions to the installation environment corresponding to the application software; In the installation environment, each of the environment installation instructions is executed in sequence to install the software environment of the application software in the installation environment.
4. The method according to claim 3, characterized in that Also includes: Determine the execution result of each of the environment installation instructions, and store the execution result of each of the environment installation instructions.
5. The method according to claim 1, characterized in that Also includes: For each of the environment installation instructions, determining whether the environment installation instruction is the same as the corresponding installation instruction, and if the environment installation instruction is not the same as the corresponding installation instruction, determining the environment installation instruction as the target environment installation instruction; Each target environment installation instruction is stored to use each target environment installation instruction as training data for the instruction recognition model.
6. A software environment installation device, characterized in that: include: A determination unit, configured to determine an installation manual corresponding to the application software when a software environment for installing the application software is required; an identification unit, configured to identify the installation manual by using a constructed instruction identification model, and obtain a plurality of installation instructions corresponding to the installation manual, wherein the installation manual is an image; A verification unit, used to verify each of the installation instructions according to a preset verification rule to obtain a verification result of each of the installation instructions; A checking unit, configured to display each of the installation instructions to the user according to the verification result of each of the installation instructions, so that the user can check each of the installation instructions to obtain the environment installation instructions corresponding to each of the installation instructions; An installation unit, configured to install the software environment of the application software based on each of the environment installation instructions; The verification unit comprises: A first determining subunit is configured to use, among the multiple installation instructions, an installation instruction for which a verification result is that the installation instruction fails the verification as a first installation instruction; and use, among the multiple installation instructions, an installation instruction for which a verification result is that the installation instruction passes the verification as a second installation instruction; A display subunit is used to display each of the first installation instructions to the user in a preset highlighted manner to prompt the user to modify the installation instructions that have not passed the verification; and to display each of the second installation instructions to the user in a preset default display manner.
7. The device according to claim 6, characterized in that Also includes: a judging unit, configured to judge, for each of the environment installation instructions, whether the environment installation instruction is the same as the installation instruction corresponding to it, and if the environment installation instruction is not the same as the installation instruction corresponding to it, determine the environment installation instruction as the target environment installation instruction; The storage unit is used to store each of the target environment installation instructions so as to use each of the target environment installation instructions as training data for the instruction recognition model.
8. A storage medium, characterized in that: The storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the software environment installation method according to any one of claims 1 to 5.
9. An electronic device, characterized in that: It comprises a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors as the software environment installation method according to any one of claims 1 to 5.
