A method and system for quickly customizing and flexibly building and deploying services for coal mine projects

By analyzing and low-code editing of coal mine projects, generating and independently deploying functional modules, the problems of low efficiency and insufficient flexibility of coal mine project deployment methods are solved, efficient and flexible deployment is achieved, and costs are reduced.

CN119179464BActive Publication Date: 2025-03-07BEIJING LANTRACK INFO TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411697032.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-07
Estimated Expiration
2044-11-26

AI Technical Summary

Technical Problem

The deployment methods of coal mine projects are inefficient, lack of flexibility, high cost, and lack of adaptability and scalability of the system.

Method used

By analyzing coal mine projects, low-code editing is realized, functional modules are generated, and independent deployment is carried out. Function modules are retrieved and combined according to application requirements, target programs are generated, deployed and tested, and the operation status is monitored in real time.

Benefits of technology

Improve deployment efficiency and flexibility, enhance system adaptability and scalability, reduce deployment costs, and reduce development and debugging time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119179464B_ABST
    Figure CN119179464B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for quickly customizing and flexibly building and deploying services for coal mine projects, including: step 1: reading and analyzing the coal mine project, and determining the functional attributes of the coal mine project according to the analysis results, and at the same time, performing low-code editing according to the functional attributes to determine multiple functional modules; step 2: deploying each functional module independently; step 3: reading the application requirements of the coal mine project, and calling and combining each functional module according to the application requirements of the coal mine project to generate a target program; step 4: deploying and testing the target program, and monitoring the running status of the target program in real time after the test passes. The deployment efficiency, deployment flexibility, and adaptability and scalability of the system are improved, and the deployment cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for quickly customizing and flexibly building and deploying services for a coal mine project. Background Art

[0002] At present, in the coal mining field, with the continuous development of technology and the increasing diversification of business needs, the requirements for information services are getting higher and higher;

[0003] Coal mine projects usually have complex system architectures and a variety of different business processes, requiring the integration of various hardware equipment, software systems, and data resources. Different coal mines may have their own unique environment, process, and management requirements. Traditional deployment methods are mostly one business process for one deployment method. This deployment method is not only inefficient and inflexible, but also has high deployment costs and defects in system adaptability and scalability.

[0004] Therefore, in order to overcome the above-mentioned defects, the present invention provides a method and system for quickly customizing and flexibly building and deploying services for coal mine projects. Summary of the invention

[0005] The present invention provides a method and system for quickly customizing and flexibly building and deploying services for coal mine projects, which are used to analyze the coal mine projects and perform low-code editing according to the analysis results, so as to obtain functional modules that can solve different businesses, and independently deploy the functional modules, which are convenient for subsequent retrieval and combination according to business needs. Secondly, the application requirements of the coal mine projects are analyzed, and the corresponding functional modules are retrieved and combined according to the analysis results, so as to realize rapid and effective generation of target programs required for the current application requirements of the coal mine projects, thereby reducing development and debugging time. Finally, the obtained target program is deployed and tested, and the running status of the target program is monitored in real time after the test passes, so as to facilitate real-time understanding of the running status of the target program, so as to make corresponding adjustments in time when abnormalities occur, thereby improving deployment efficiency, deployment flexibility, and the adaptability and scalability of the system, and reducing deployment costs.

[0006] The present invention provides a method for quickly customizing and flexibly building and deploying services for a coal mine project, comprising:

[0007] Step 1: Read and analyze the coal mine project, and determine the functional attributes of the coal mine project based on the analysis results. At the same time, perform low-code editing based on the functional attributes to determine multiple functional modules;

[0008] Step 2: Deploy each functional module independently;

[0009] Step 3: Read the application requirements of the coal mine project, and call and combine various functional modules according to the application requirements of the coal mine project to generate the target program;

[0010] Step 4: Deploy and test the target program, and monitor the running status of the target program in real time after the test passes.

[0011] Preferably, a method for quickly customizing and flexibly building and deploying services for a coal mine project, in step 1, reading and analyzing the coal mine project, and determining the functional attributes of the coal mine project based on the analysis results, including:

[0012] Based on the coal mine project input by the user terminal, the project content of the coal mine project is read, and the project keywords are determined according to the project content of the coal mine project;

[0013] Decompose the information of coal mine projects according to project keywords to obtain information items matching each project keyword;

[0014] Read the information items corresponding to each project keyword, determine the execution target corresponding to each information item, and determine the functional attributes of the coal mine project based on the project keywords and execution targets.

[0015] Preferably, a method for quickly customizing and flexibly building and deploying services for a coal mine project performs low-code editing according to functional attributes and determines multiple functional modules, including:

[0016] Read the functional attributes of the coal mine project, and determine the business requirements and business execution process of the coal mine project based on the functional attributes;

[0017] Based on the business execution process, the business requirements are divided into links, and multiple functional links are obtained based on the link division results;

[0018] Extract the business scope of each functional link and the execution purpose corresponding to the business scope based on the split results, and determine the target functional framework of each functional link based on the business scope and the corresponding execution purpose;

[0019] Determine the functional nodes and execution logic between functional nodes included in each functional link based on the target functional framework, and determine the node topology structure between different functional nodes based on the execution logic;

[0020] Retrieve target functional components from a preset low-code platform based on the node topology structure, and encapsulate the target functional components based on the node topology structure;

[0021] Perform business logic configuration on the component encapsulation results based on the execution logic, and log in to the background parameter configuration page of each target functional component based on the preset visual interface in the low-code platform based on the configuration results;

[0022] Determine the personalized parameters of the coal mine project based on business needs, and perform personalized parameter adaptation on the background parameter configuration page of each target functional component based on the personalized parameters based on the visual interface;

[0023] Extract the upper and lower interaction requirements of each target functional component based on the personalized parameter adaptation results, and determine the data docking scope of each target functional component based on the upper and lower interaction requirements;

[0024] Based on the data connection scope, multiple data interaction interfaces are reserved in the background parameter configuration page of each target functional component, and standard functional components are obtained based on the reserved results;

[0025] The standard functional components and the corresponding background parameter configuration pages are converted into executable files, and multiple functional modules required for the coal mine project are obtained based on the executable files.

[0026] Preferably, a method for quickly customizing and flexibly building and deploying services for a coal mine project, in step 2, each functional module is independently deployed, including:

[0027] Extracting configuration parameters of the functional module, and determining the node topology of the functional module according to the configuration parameters;

[0028] Determine multiple execution nodes of the functional module according to the node topology structure of the functional module;

[0029] Get the node label of each execution node, and create a target container according to the node label. At the same time, read the program script of each execution node and run the program script of each execution node in the corresponding target container.

[0030] Build a container image of the target container in the target platform, and deploy the corresponding container image in each functional module in the target platform to complete the independent deployment of each functional module.

[0031] Preferably, a method for quickly customizing and flexibly building and deploying services for a coal mine project, after completing the independent deployment of each functional module, further includes:

[0032] Reading the functional attributes of each functional module, and determining n test information elements of each functional module according to the functional attributes of each functional module, wherein the test information elements include: test content and standard results;

[0033] Input the test information element into the corresponding functional module, and run the test content in each test information element according to the internal processing logic of the functional module, and output the test response result corresponding to each test information element;

[0034] The test response result corresponding to each test information element is matched with the standard result corresponding to the test information element, and the test result of each functional module after independent deployment is output according to the matching result.

[0035] Preferably, a method for quickly customizing and flexibly building and deploying services for a coal mine project outputs the test results of each functional module after independent deployment according to the matching results, including:

[0036] Read the matching result of the test response result corresponding to each test information element and the standard result corresponding to the test information element;

[0037] Extract, according to the reading result, the number of x of the test response results corresponding to the test information elements that match the standard results corresponding to the test information elements and the number of nx of the test response results corresponding to the test information elements that do not match the standard results corresponding to the test information elements among the n test information elements;

[0038] Calculate the target ratio of x numbers to nx numbers;

[0039] Obtaining a preset threshold value, and comparing the target ratio with the preset threshold value;

[0040] When the target ratio is greater than the preset threshold, the test result of the current functional module after independent deployment is output as successful deployment;

[0041] Otherwise, the test result of the current functional module after independent deployment is output as unsuccessful deployment.

[0042] Preferably, a method for quickly customizing and flexibly building and deploying services for a coal mine project performs an alarm operation when the test result of the current functional module after independent deployment is that the deployment is unsuccessful.

[0043] Preferably, a method for quickly customizing and flexibly building and deploying services for a coal mine project, in step 3, reading the application requirements of the coal mine project, and calling and combining various functional modules according to the application requirements of the coal mine project to generate a target program, including:

[0044] Obtain the application requirements of the coal mine project, analyze the application requirements of the coal mine project, and obtain the corresponding business characteristics;

[0045] Extract the application parameters of each functional module, match the business characteristics with the application parameters, obtain the target functional module corresponding to the application requirements of the coal mine project, and call the target functional module;

[0046] Extracting configuration parameters of the target functional module, and determining the interaction logic of the target functional module based on the configuration parameters;

[0047] The target functional modules are combined based on the interaction logic to obtain the target program.

[0048] Preferably, a method for quickly customizing and flexibly building and deploying services for a coal mine project, in step 4, deploying and testing the target program, and monitoring the running status of the target program in real time after the test passes, includes:

[0049] Deploy the target program and obtain test data for the target program after successful deployment;

[0050] Test the target program according to the test data, output the running test results, and compare the running test results with the benchmark results;

[0051] When the running test result is inconsistent with the benchmark result, it is determined that the test has not passed, and the target program is redeployed until it passes the test;

[0052] When the running test result is consistent with the benchmark result, the test is considered to have passed;

[0053] At the same time, when the test passes, the running status of the target program is monitored in real time.

[0054] The present invention provides a system for quickly customizing and flexibly building and deploying services for coal mine projects, including:

[0055] The low-code editing module is used to read and analyze the coal mine project, and determine the functional attributes of the coal mine project based on the analysis results. At the same time, low-code editing is performed based on the functional attributes to determine multiple functional modules;

[0056] Deployment module, used to independently deploy each functional module;

[0057] The program generation module is used to read the application requirements of the coal mine project, and to call and combine various functional modules according to the application requirements of the coal mine project to generate the target program;

[0058] The status monitoring module is used to deploy and test the target program, and to monitor the running status of the target program in real time after the test passes.

[0059] Compared with the prior art, the present invention has the following beneficial effects:

[0060] By analyzing the coal mine project, low-code editing is implemented according to the analysis results to obtain functional modules that can solve different businesses, and the functional modules are deployed independently for subsequent retrieval and combination according to business needs. Secondly, the application requirements of the coal mine project are parsed, and the corresponding functional modules are retrieved and combined according to the analysis results, so as to quickly and effectively generate the target programs required for the current coal mine project application requirements, reducing development and debugging time. Finally, the obtained target program is deployed and tested, and the running status of the target program is monitored in real time after the test passes, so as to understand the running status of the target program in real time, so as to make corresponding adjustments in time when abnormalities occur, thereby improving deployment efficiency, deployment flexibility, as well as the adaptability and scalability of the system and reducing deployment costs.

[0061] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.

[0062] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0064] Figure 1 A flowchart of a method for quickly customizing and flexibly building and deploying services for a coal mine project in an embodiment of the present invention;

[0065] Figure 2 This is a flowchart of step 1 in a method for quickly customizing and flexibly building and deploying services for a coal mine project in an embodiment of the present invention;

[0066] Figure 3 This is a structural diagram of a system for quickly customizing and flexibly building and deploying services for a coal mine project in an embodiment of the present invention. DETAILED DESCRIPTION

[0067] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0068] Example 1

[0069] This embodiment provides a method for quickly customizing and flexibly building and deploying services for coal mine projects, such as Figure 1 As shown, including:

[0070] Step 1: Read and analyze the coal mine project, and determine the functional attributes of the coal mine project based on the analysis results. At the same time, perform low-code editing based on the functional attributes to determine multiple functional modules;

[0071] Step 2: Deploy each functional module independently;

[0072] Step 3: Read the application requirements of the coal mine project, and call and combine various functional modules according to the application requirements of the coal mine project to generate the target program;

[0073] Step 4: Deploy and test the target program, and monitor the running status of the target program in real time after the test passes.

[0074] In this embodiment, the coal mine project may be a business that requires service deployment, such as a coal mine production project and a coal mine personnel safety management project.

[0075] In this embodiment, the functional attributes may be the execution objectives and goals that the coal mine project needs to achieve.

[0076] In this embodiment, low-code editing can be to construct functional modules corresponding to different functional attributes through various functional components on the low-code development platform according to functional attributes, wherein the functional modules are coding programs corresponding to different functional attributes.

[0077] In this embodiment, independent deployment can be to store the obtained functional modules in the system, so as to facilitate the subsequent flexible construction and deployment of the required functional modules according to the needs of the coal mine project.

[0078] In this embodiment, the coal mine project application requirements may be the execution functions that the current coal mine project needs to have, that is, the business projects that need to be carried out currently.

[0079] In this embodiment, calling and combining each functional module according to the application requirements of the coal mine project can be to call and combine the required functional modules from the obtained multiple functional modules according to the application requirements of the coal mine project, thereby realizing the construction of the target program required by the current coal mine project application requirements, wherein the target level is the coding program that can solve the current coal mine project application requirements.

[0080] In this embodiment, after the test is passed, real-time monitoring of the running status of the target program can be performed by verifying the identity information of the user and monitoring the real-time running status (work log) of the target program to understand the running status of the target program in real time.

[0081] The working principle and beneficial effects of the above technical solution are: by analyzing the coal mine project, low-code editing is realized according to the analysis results, so as to obtain functional modules that can solve different businesses, and the functional modules are independently deployed, which is convenient for subsequent retrieval and combination according to business needs; secondly, the application requirements of the coal mine project are analyzed, and the corresponding functional modules are retrieved and combined according to the analysis results, so as to realize the rapid and effective generation of the target program required for the current coal mine project application requirements, reducing the development and debugging time; finally, the obtained target program is deployed and tested, and the running status of the target program is monitored in real time after the test passes, so as to understand the running status of the target program in real time, so as to make corresponding adjustments in time when abnormalities occur, thereby improving the deployment efficiency, deployment flexibility, and the adaptability and scalability of the system, and reducing the deployment cost.

[0082] Example 2

[0083] Based on Example 1, this example provides a method for quickly customizing and flexibly building and deploying services for a coal mine project, such as Figure 2 As shown, in step 1, the coal mine project is read and analyzed, and the functional attributes of the coal mine project are determined according to the analysis results, including:

[0084] Step 101: input a coal mine project based on a user terminal, read the project content of the coal mine project, and determine a project keyword according to the project content of the coal mine project;

[0085] Step 102: Decomposing the coal mine project information according to the project keywords to obtain information items matching each project keyword;

[0086] Step 103: Read the information item corresponding to each project keyword, determine the execution target corresponding to each information item, and determine the functional attributes of the coal mine project according to the project keywords and the execution targets.

[0087] In this embodiment, the project keyword may be a data segment that can characterize the specific core or main business type and purpose of the coal mine project.

[0088] In this embodiment, the information items may be different data sets obtained by splitting the coal mine project according to project keywords.

[0089] In this embodiment, the execution target may be the purpose that each information item is ultimately to achieve.

[0090] The working principle and beneficial effects of the above technical solution are: by parsing the coal mine project input by the user terminal, the information of the coal mine project is decomposed according to the project keywords, so as to effectively determine the different information items. Secondly, each information item is parsed to lock the execution target of each information item, and finally the functional attributes of the coal mine project are effectively determined according to the project keywords and execution targets, which provides a reliable reference basis for the flexible deployment of services for coal mine projects.

[0091] Example 3

[0092] Based on Example 1, this embodiment provides a method for quickly customizing and flexibly building and deploying services for a coal mine project, performing low-code editing according to functional attributes, and determining multiple functional modules, including:

[0093] Read the functional attributes of the coal mine project, and determine the business requirements and business execution process of the coal mine project based on the functional attributes;

[0094] Based on the business execution process, the business requirements are divided into links, and multiple functional links are obtained based on the link division results;

[0095] Extract the business scope of each functional link and the execution purpose corresponding to the business scope based on the split results, and determine the target functional framework of each functional link based on the business scope and the corresponding execution purpose;

[0096] Determine the functional nodes and execution logic between functional nodes included in each functional link based on the target functional framework, and determine the node topology structure between different functional nodes based on the execution logic;

[0097] Retrieve target functional components from a preset low-code platform based on the node topology structure, and encapsulate the target functional components based on the node topology structure;

[0098] Perform business logic configuration on the component encapsulation results based on the execution logic, and log in to the background parameter configuration page of each target functional component based on the preset visual interface in the low-code platform based on the configuration results;

[0099] Determine the personalized parameters of the coal mine project based on business needs, and perform personalized parameter adaptation on the background parameter configuration page of each target functional component based on the personalized parameters based on the visual interface;

[0100] Extract the upper and lower interaction requirements of each target functional component based on the personalized parameter adaptation results, and determine the data docking scope of each target functional component based on the upper and lower interaction requirements;

[0101] Based on the data connection scope, multiple data interaction interfaces are reserved in the background parameter configuration page of each target functional component, and standard functional components are obtained based on the reserved results;

[0102] The standard functional components and the corresponding background parameter configuration pages are converted into executable files, and multiple functional modules required for the coal mine project are obtained based on the executable files.

[0103] In this embodiment, the business requirements may be problems that need to be solved during the operation of the coal mine project and business functions that need to be possessed.

[0104] In this embodiment, the business execution process may be all corresponding execution steps and the interaction relationship between the steps when solving corresponding problems during the operation of the coal mine project.

[0105] In this embodiment, link splitting can be to split business needs into different links according to the business execution process, so as to facilitate the corresponding low-code editing operations on different links, among which the functional link is the result obtained after splitting the business needs into links according to the business execution process.

[0106] In this embodiment, the business scope may be the business type corresponding to each functional link, that is, the project problems that can be solved.

[0107] In this embodiment, the execution purpose may be the management result or effect that can be ultimately achieved by each functional link.

[0108] In this embodiment, the target functional framework can be the functional framework corresponding to each functional link constructed according to the business scope and the corresponding execution purpose when performing low-code editing, thereby facilitating the corresponding low-code editing operations according to the target functional framework.

[0109] In this embodiment, the function nodes may be all functions included in each function link.

[0110] In this embodiment, the execution logic may be a representation of the interaction relationship between different functional nodes when executing the management operation of the coal mine project and the order of processing data.

[0111] In this embodiment, the node topology structure may be an interaction structure between different functional nodes obtained according to the execution logic, that is, the interaction relationship between different functional nodes may be clearly identified through the node topology result.

[0112] In this embodiment, the preset low-code platform is known in advance and is used to store components corresponding to different functions.

[0113] In this embodiment, component encapsulation may be performed by bitwise docking of the obtained target functional components according to the topological structure between different functional nodes.

[0114] In this embodiment, the business logic configuration may be the configuration of the background operation data of the target functional component after the component encapsulation, so as to ensure that different target functional components can work together.

[0115] In this embodiment, the background parameter configuration page may be a script file corresponding to each target functional component.

[0116] In this embodiment, the personalized parameters may be parameter requirements determined according to business requirements and suitable for solving the current coal mine project.

[0117] In this embodiment, the upper and lower interaction requirements may be the corresponding interaction requirements when the target functional component is performing the service.

[0118] In this embodiment, the data docking scope may be a specific data interaction type corresponding to each target functional component when performing data interaction.

[0119] In this embodiment, reserving multiple data interaction interfaces in the background parameter configuration page of each target functional component based on the data docking range can be reserving the data interaction interface of each target functional component according to the data docking range, thereby facilitating the combination of different target functional components.

[0120] In this embodiment, the executable file may be a file conversion of the background parameter configuration page, thereby realizing the determination of the functional module.

[0121] The working principle and beneficial effects of the above technical solution are: by analyzing the functional attributes of the coal mine project, the business needs and business execution processes of the coal mine project can be accurately and effectively determined. At the same time, the business needs are split into links according to the business execution process, so as to facilitate the determination of the functional requirements of each link according to the results of the link splitting. Secondly, according to the functional requirements, the target functional components are retrieved from the preset low-code platform to achieve effective encapsulation of the obtained target functional components according to the functional execution logic of each link. Finally, the background parameters of each functional component after the component encapsulation are configured to ensure that the encapsulation result of the final target functional component can adapt to the business needs of the current coal mine project. Finally, the encapsulation result of the configured target component is converted into an executable file to achieve accurate and effective determination of multiple functional modules required for the coal mine project.

[0122] Example 4

[0123] Based on Example 1, this embodiment provides a method for quickly customizing and flexibly building and deploying services for a coal mine project. In step 2, each functional module is independently deployed, including:

[0124] Extracting configuration parameters of the functional module, and determining the node topology of the functional module according to the configuration parameters;

[0125] Determine multiple execution nodes of the functional module according to the node topology structure of the functional module;

[0126] Get the node label of each execution node, and create a target container according to the node label. At the same time, read the program script of each execution node and run the program script of each execution node in the corresponding target container.

[0127] Build a container image of the target container in the target platform, and deploy the corresponding container image in each functional module in the target platform to complete the independent deployment of each functional module.

[0128] In this embodiment, the node topology structure may be a connection relationship between different functional modules.

[0129] In this embodiment, the execution node may be a specific business execution link corresponding to each functional module.

[0130] In this embodiment, the node label may be a marking symbol used to distinguish different execution nodes.

[0131] In this embodiment, the target container is created according to the node label and is used to store the program script of each execution node, wherein the program script is the code editing result of each execution node.

[0132] In this embodiment, the container image may be a system file that converts the target container into one that can be recognized by the system.

[0133] The working principle and beneficial effects of the above technical solution are: by determining the configuration parameters of each functional module, the node topology structure of the functional module is determined according to the configuration parameters; secondly, multiple execution nodes of the functional module are determined according to the node topology structure, and corresponding target containers are created according to the execution nodes; finally, the program script of each execution node is run in the target container to build the container image of the target container, and finally each functional module is effectively deployed through the container image, which is convenient for subsequent needs to call and combine different functional modules.

[0134] Example 5

[0135] Based on Example 4, this embodiment provides a method for quickly customizing and flexibly building and deploying services for a coal mine project. After completing the independent deployment of each functional module, the method further includes:

[0136] Reading the functional attributes of each functional module, and determining n test information elements of each functional module according to the functional attributes of each functional module, wherein the test information elements include: test content and standard results;

[0137] Input the test information element into the corresponding functional module, and run the test content in each test information element according to the internal processing logic of the functional module, and output the test response result corresponding to each test information element;

[0138] The test response result corresponding to each test information element is matched with the standard result corresponding to the test information element, and the test result of each functional module after independent deployment is output according to the matching result.

[0139] In this embodiment, the test information element may be specific test content and standard results.

[0140] The working principle and beneficial effects of the above technical solution are: by reading the functional attributes of each functional module, the test content and the corresponding standard results of each functional module are determined according to the functional attributes; secondly, the obtained test content is input into the corresponding functional module for test operation, and the test results are matched with the standard results, so as to effectively determine the operation effect of each functional module, so as to facilitate timely adjustment of the functional module when the performance of the functional module does not meet the requirements, thereby improving the accuracy of coal mine project deployment.

[0141] Example 6

[0142] Based on Example 5, this embodiment provides a method for quickly customizing and flexibly building and deploying services for a coal mine project, and outputs the test results of each functional module after independent deployment according to the matching results, including:

[0143] Read the matching result of the test response result corresponding to each test information element and the standard result corresponding to the test information element;

[0144] Extract, according to the reading result, the number of x of the test response results corresponding to the test information elements that match the standard results corresponding to the test information elements and the number of nx of the test response results corresponding to the test information elements that do not match the standard results corresponding to the test information elements among the n test information elements;

[0145] Calculate the target ratio of x numbers to nx numbers;

[0146] Obtaining a preset threshold value, and comparing the target ratio with the preset threshold value;

[0147] When the target ratio is greater than the preset threshold, the test result of the current functional module after independent deployment is output as successful deployment;

[0148] Otherwise, the test result of the current functional module after independent deployment is output as unsuccessful deployment.

[0149] In this embodiment, the target ratio may be the ratio of the number of test response results corresponding to the test information element that match the standard result corresponding to the test information element to the number of test response results corresponding to the test information element that do not match the standard result corresponding to the test information element.

[0150] In this embodiment, the preset threshold is set in advance and can be adjusted.

[0151] The working principle and beneficial effect of the above technical solution are: by respectively determining the number of matches and the number of mismatches between the test response results corresponding to the test information element and the standard results corresponding to the test information element, and calculating the ratio of the two, it is possible to accurately and effectively determine whether the independent deployment of the functional module is successful based on the relationship between the ratio calculation result and the preset threshold.

[0152] Example 7

[0153] On the basis of Example 6, this embodiment provides a method for quickly customizing and flexibly building and deploying services for a coal mine project. When the test result of the current functional module after independent deployment is that the deployment is unsuccessful, an alarm operation is performed.

[0154] Example 8

[0155] Based on Example 1, this embodiment provides a method for quickly customizing and flexibly building and deploying services for coal mine projects. In step 3, the application requirements of the coal mine project are read, and each functional module is retrieved and combined according to the application requirements of the coal mine project to generate a target program, including:

[0156] Obtain the application requirements of the coal mine project, analyze the application requirements of the coal mine project, and obtain the corresponding business characteristics;

[0157] Extract the application parameters of each functional module, match the business characteristics with the application parameters, obtain the target functional module corresponding to the application requirements of the coal mine project, and call the target functional module;

[0158] Extracting configuration parameters of the target functional module, and determining the interaction logic of the target functional module based on the configuration parameters;

[0159] The target functional modules are combined based on the interaction logic to obtain the target program.

[0160] In this embodiment, the business characteristics may be required business parameters obtained after analyzing the application requirements of the coal mine project.

[0161] In this embodiment, the application parameters may be basic configuration parameters of each functional module.

[0162] In this embodiment, the target functional module may be a functional module corresponding to the application requirements of the coal mine project.

[0163] In this embodiment, the interaction logic may be a data interaction mode and a data interaction sequence between target functional modules.

[0164] The working principle and beneficial effects of the above technical solution are: by obtaining the application requirements of the coal mine project and analyzing the application requirements of the coal mine project, the business characteristics corresponding to the application requirements of the coal mine project can be accurately and effectively determined; secondly, the application parameters of each functional module are extracted, and the business characteristics are matched with the application parameters, so as to quickly and accurately determine the target functional modules corresponding to the application requirements of the coal mine project; finally, the obtained target functional modules are called and combined to realize the rapid and effective generation of the target program, thereby improving the generation efficiency of the target program corresponding to different coal mine projects and improving the deployment flexibility.

[0165] Example 9

[0166] Based on Example 1, this embodiment provides a method for quickly customizing and flexibly building and deploying services for a coal mine project. In step 4, the target program is deployed and tested, and when the test passes, the running status of the target program is monitored in real time, including:

[0167] Deploy the target program and obtain test data for the target program after successful deployment;

[0168] Test the target program according to the test data, output the running test results, and compare the running test results with the benchmark results;

[0169] When the running test result is inconsistent with the benchmark result, it is determined that the test has not passed, and the target program is redeployed until it passes the test;

[0170] When the running test result is consistent with the benchmark result, the test is considered to have passed;

[0171] At the same time, when the test passes, the running status of the target program is monitored in real time.

[0172] In this embodiment, the test data may be sample data for testing the target program.

[0173] In this embodiment, the benchmark result may be a standard running result corresponding to the target program, that is, an execution result that the target program needs to achieve in theory.

[0174] The working principle and beneficial effects of the above technical solution are: by using test data to test the deployed target program and comparing the test results with the benchmark results, an accurate and effective evaluation of the deployment status of the target program can be achieved, which is convenient for the management terminal to timely understand the current deployment status. Finally, after the test passes, the running status of the target program is monitored in real time, so that when an abnormality occurs in the target program, the target program can be optimized and adjusted in time, thereby reducing the deployment cost.

[0175] Embodiment 10:

[0176] This embodiment provides a system for quickly customizing and flexibly building and deploying services for coal mine projects, such as Figure 3 As shown, including:

[0177] The low-code editing module is used to read and analyze the coal mine project, and determine the functional attributes of the coal mine project based on the analysis results. At the same time, low-code editing is performed based on the functional attributes to determine multiple functional modules;

[0178] Deployment module, used to independently deploy each functional module;

[0179] The program generation module is used to read the application requirements of the coal mine project, and to call and combine various functional modules according to the application requirements of the coal mine project to generate the target program;

[0180] The status monitoring module is used to deploy and test the target program, and to monitor the running status of the target program in real time after the test passes.

[0181] The working principle and beneficial effects of the above technical solution are: by analyzing the coal mine project, low-code editing is realized according to the analysis results, so as to obtain functional modules that can solve different businesses, and the functional modules are independently deployed, which is convenient for subsequent retrieval and combination according to business needs; secondly, the application requirements of the coal mine project are analyzed, and the corresponding functional modules are retrieved and combined according to the analysis results, so as to realize the rapid and effective generation of the target program required for the current coal mine project application requirements, reducing the development and debugging time; finally, the obtained target program is deployed and tested, and the running status of the target program is monitored in real time after the test passes, so as to understand the running status of the target program in real time, so as to make corresponding adjustments in time when abnormalities occur, thereby improving the deployment efficiency, deployment flexibility, and the adaptability and scalability of the system, and reducing the deployment cost.

[0182] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for quickly customizing and flexibly building and deploying services for coal mine projects, characterized in that: include: Step 1: Read and analyze the coal mine project, and determine the functional attributes of the coal mine project based on the analysis results. At the same time, perform low-code editing based on the functional attributes to determine multiple functional modules; Step 2: Deploy each functional module independently; Step 3: Read the application requirements of the coal mine project, and call and combine various functional modules according to the application requirements of the coal mine project to generate the target program; Step 4: Deploy and test the target program, and monitor the running status of the target program in real time after the test passes; Among them, low-code editing is performed according to functional attributes to determine multiple functional modules, including: Read the functional attributes of the coal mine project, and determine the business requirements and business execution process of the coal mine project based on the functional attributes; Based on the business execution process, the business requirements are divided into links, and multiple functional links are obtained based on the link division results; Extract the business scope of each functional link and the execution purpose corresponding to the business scope based on the split results, and determine the target functional framework of each functional link based on the business scope and the corresponding execution purpose; Determine the functional nodes and execution logic between functional nodes included in each functional link based on the target functional framework, and determine the node topology structure between different functional nodes based on the execution logic; Retrieve target functional components from a preset low-code platform based on the node topology structure, and encapsulate the target functional components based on the node topology structure; Perform business logic configuration on the component encapsulation results based on the execution logic, and log in to the background parameter configuration page of each target functional component based on the preset visual interface in the low-code platform based on the configuration results; Determine the personalized parameters of the coal mine project based on business needs, and perform personalized parameter adaptation on the background parameter configuration page of each target functional component based on the personalized parameters based on the visual interface; Extract the upper and lower interaction requirements of each target functional component based on the personalized parameter adaptation results, and determine the data docking scope of each target functional component based on the upper and lower interaction requirements; Based on the data connection scope, multiple data interaction interfaces are reserved in the background parameter configuration page of each target functional component, and standard functional components are obtained based on the reserved results; Convert the standard functional components and the corresponding background parameter configuration pages into executable files, and obtain multiple functional modules required for the coal mine project based on the executable files; In step 2, each functional module is deployed independently, including: Extracting configuration parameters of the functional module, and determining the node topology of the functional module according to the configuration parameters; Determine multiple execution nodes of the functional module according to the node topology structure of the functional module; Get the node label of each execution node, and create a target container according to the node label. At the same time, read the program script of each execution node and run the program script of each execution node in the corresponding target container. Build a container image of the target container in the target platform, and deploy the corresponding container image in each functional module in the target platform to complete the independent deployment of each functional module; After completing the independent deployment of each functional module, it also includes: Reading the functional attributes of each functional module, and determining n test information elements of each functional module according to the functional attributes of each functional module, wherein the test information elements include: test content and standard results; Input the test information element into the corresponding functional module, and run the test content in each test information element according to the internal processing logic of the functional module, and output the test response result corresponding to each test information element; The test response result corresponding to each test information element is matched with the standard result corresponding to the test information element, and the test result of each functional module after independent deployment is output according to the matching result.

2. According to claim 1, a method for quickly customizing and flexibly building and deploying services for coal mine projects is characterized in that: In step 1, the coal mine project is read and analyzed, and the functional attributes of the coal mine project are determined based on the analysis results, including: Based on the coal mine project input by the user terminal, the project content of the coal mine project is read, and the project keywords are determined according to the project content of the coal mine project; Decompose the information of coal mine projects according to project keywords to obtain information items matching each project keyword; Read the information items corresponding to each project keyword, determine the execution target corresponding to each information item, and determine the functional attributes of the coal mine project based on the project keywords and execution targets.

3. According to claim 1, a method for quickly customizing and flexibly building and deploying services for coal mine projects is characterized in that: According to the matching results, the test results of each functional module after independent deployment are output, including: Read the matching result of the test response result corresponding to each test information element and the standard result corresponding to the test information element; Extract, according to the reading result, the number of x of the test response results corresponding to the test information elements that match the standard results corresponding to the test information elements and the number of nx of the test response results corresponding to the test information elements that do not match the standard results corresponding to the test information elements among the n test information elements; Calculate the target ratio of x numbers to nx numbers; Obtaining a preset threshold value, and comparing the target ratio with the preset threshold value; When the target ratio is greater than the preset threshold, the test result of the current functional module after independent deployment is output as successful deployment; Otherwise, the test result of the current functional module after independent deployment is output as unsuccessful deployment.

4. According to claim 3, a method for quickly customizing and flexibly building and deploying services for coal mine projects is characterized in that: When the test result of the current functional module after independent deployment is that the deployment is unsuccessful, an alarm operation is performed.

5. According to claim 1, a method for quickly customizing and flexibly building and deploying services for coal mine projects is characterized in that: In step 3, the application requirements of the coal mine project are read, and each functional module is retrieved and combined according to the application requirements of the coal mine project to generate a target program, including: Obtain the application requirements of the coal mine project, analyze the application requirements of the coal mine project, and obtain the corresponding business characteristics; Extract the application parameters of each functional module, match the business characteristics with the application parameters, obtain the target functional module corresponding to the application requirements of the coal mine project, and call the target functional module; Extracting configuration parameters of the target functional module, and determining the interaction logic of the target functional module based on the configuration parameters; The target functional modules are combined based on the interaction logic to obtain the target program.

6. A method for quickly customizing and flexibly building and deploying services for coal mine projects according to claim 1, characterized in that: In step 4, the target program is deployed and tested, and the running status of the target program is monitored in real time after the test passes, including: Deploy the target program and obtain test data for the target program after successful deployment; Test the target program according to the test data, output the running test results, and compare the running test results with the benchmark results; When the running test result is inconsistent with the benchmark result, it is determined that the test has not passed, and the target program is redeployed until it passes the test; When the running test result is consistent with the benchmark result, the test is considered to have passed; At the same time, when the test passes, the running status of the target program is monitored in real time.

7. A system for quickly customizing and flexibly building and deploying services for coal mine projects, characterized in that: include: The low-code editing module is used to read and analyze the coal mine project, and determine the functional attributes of the coal mine project based on the analysis results. At the same time, low-code editing is performed based on the functional attributes to determine multiple functional modules; Deployment module, used to independently deploy each functional module; The program generation module is used to read the application requirements of the coal mine project, and to call and combine various functional modules according to the application requirements of the coal mine project to generate the target program; The status monitoring module is used to deploy and test the target program, and monitor the running status of the target program in real time after the test passes; Among them, the low-code editing module includes: Read the functional attributes of the coal mine project, and determine the business requirements and business execution process of the coal mine project based on the functional attributes; Based on the business execution process, the business requirements are divided into links, and multiple functional links are obtained based on the link division results; Extract the business scope of each functional link and the execution purpose corresponding to the business scope based on the split results, and determine the target functional framework of each functional link based on the business scope and the corresponding execution purpose; Determine the functional nodes and execution logic between functional nodes included in each functional link based on the target functional framework, and determine the node topology structure between different functional nodes based on the execution logic; Retrieve target functional components from a preset low-code platform based on the node topology structure, and encapsulate the target functional components based on the node topology structure; Perform business logic configuration on the component encapsulation results based on the execution logic, and log in to the background parameter configuration page of each target functional component based on the preset visual interface in the low-code platform based on the configuration results; Determine the personalized parameters of the coal mine project based on business needs, and perform personalized parameter adaptation on the background parameter configuration page of each target functional component based on the personalized parameters based on the visual interface; Extract the upper and lower interaction requirements of each target functional component based on the personalized parameter adaptation results, and determine the data docking scope of each target functional component based on the upper and lower interaction requirements; Based on the data connection scope, multiple data interaction interfaces are reserved in the background parameter configuration page of each target functional component, and standard functional components are obtained based on the reserved results; Convert the standard functional components and the corresponding background parameter configuration pages into executable files, and obtain multiple functional modules required for the coal mine project based on the executable files; The deployment module includes: Extracting configuration parameters of the functional module, and determining the node topology of the functional module according to the configuration parameters; Determine multiple execution nodes of the functional module according to the node topology structure of the functional module; Get the node label of each execution node, and create a target container according to the node label. At the same time, read the program script of each execution node and run the program script of each execution node in the corresponding target container. Build a container image of the target container in the target platform, and deploy the corresponding container image in each functional module in the target platform to complete the independent deployment of each functional module; After completing the independent deployment of each functional module, it also includes: Reading the functional attributes of each functional module, and determining n test information elements of each functional module according to the functional attributes of each functional module, wherein the test information elements include: test content and standard results; Input the test information element into the corresponding functional module, and run the test content in each test information element according to the internal processing logic of the functional module, and output the test response result corresponding to each test information element; The test response result corresponding to each test information element is matched with the standard result corresponding to the test information element, and the test result of each functional module after independent deployment is output according to the matching result.

Citation Information

Patent Citations

  • Management and control method and system based on IDEA technical service SmartFlow

    CN114237587A

  • Design method of coal mining industry Internet of Things development platform based on low code

    CN116774977A

  • Micro-service architecture generation method and device, equipment and storage medium

    CN118245056A