Software development base construction method, software development method, software operation monitoring method and device, equipment and storage medium

The radar upper computer software development base is built through the event-driven process chain model and large language model, which solves the problem of low software development efficiency of radar upper computers of different models, realizes efficient reuse of functional module codes and reduces costs, and supports efficient reuse of radar digital models.

CN120353443AActive Publication Date: 2025-07-22BEIJING CENTURY EAST CHINA RAILWAY TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510858952.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-25
Publication Date
2025-07-22
Estimated Expiration
2045-06-25

AI Technical Summary

Technical Problem

The lack of a software development base for upper computers for different types of radars in the prior art has resulted in low efficiency and high cost in the development of radar upper computers, making it difficult to achieve efficient reuse and adaptation of functional modules.

Method used

The event-driven process chain model determines radar business events and resources, obtains the functional module code of the business processing unit, builds a radar computer software code knowledge base, and uses a large language model to expand functions to generate a software development base.

Benefits of technology

It realizes efficient reuse of functional module codes of different models of radar computer software, reduces code development volume, improves development efficiency, reduces development costs, and supports efficient reuse and function mapping of radar digital models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120353443A_ABST
    Figure CN120353443A_ABST
Patent Text Reader

Abstract

The invention provides a software development base construction method, a software development method, a software operation monitoring method and device, equipment and a storage medium, and relates to the technical field of computers, and the method comprises the steps: determining a radar service event and a resource corresponding to the radar service event; the radar service event and the resource are obtained based on an event-driven process chain model, the radar service event is used for representing the service state of the radar, and the resource comprises input data and output data required for executing the radar service event; obtaining a function module code corresponding to the service processing unit based on the radar service event and the resource; based on the function module codes, a radar upper computer software code knowledge base is constructed, and a software development base is generated. By means of the mode, efficient multiplexing of the function module codes for different types of radar upper computer software can be achieved, subsequent construction of a radar digital model is further facilitated, efficient multiplexing and function mapping of the radar digital model are achieved, and the development cost of the upper computer software is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular, to a method for constructing a software development base, a software development method, a software operation monitoring method, a device, a device and a storage medium. Background Art

[0002] ‌Software-Defined Equipment technology can flexibly configure equipment functions through software and hardware decoupling and software refactoring. The principle of this technology is to pool hardware resources through an open architecture and control the same hardware module units to execute different work processes and tasks through the logical control ability of the host computer software, so that the equipment can dynamically provide various services based on business rules, thereby realizing the dynamic definition of equipment functions.

[0003] The application of Software-Defined Equipment technology in the field of radar control not only requires the generalization, standardization and modularization of hardware, but also requires that each functional module of the host computer software can be dynamically loaded and refactored. Among them, the host computer software is used to simulate and control the radar. This poses great challenges to the design, development, testing and deployment of the host computer software of the radar, because the host computer software codes of different models of radars are different, and rewriting the corresponding host computer software codes for different models of radars will reduce the development efficiency of the host computer software.

[0004] Based on this, for the host computer software of different models of radars, how to construct a software development base for the host computer software of the radar (that is, a general development framework for the host computer software of the radar) to reduce the code development volume of the host computer software of different models of radars, improve the development efficiency of the host computer software, ensure the fidelity of the digital system, and reduce the development cost of the host computer software has become an urgent problem to be solved. Summary of the Invention

[0005] The present invention provides a method for constructing a software development base, a software development method, a software operation monitoring method, a device, a device and a storage medium, which are used to solve the defect that there is still a lack of a method for constructing a software development base for the host computer software of different models of radars in the prior art.

[0006] The present invention provides a method for constructing a software development base, including: in response to a software development base construction instruction, determining a radar service event and resources corresponding to the radar service event; the radar service event and resources are obtained based on the event-driven process chain model, the radar service event is used to characterize the service state of the radar, and the resources include input data and output data required to execute the radar service event; based on the radar service event and resources, obtaining the functional module code corresponding to the service processing unit; based on the functional module code, constructing a knowledge base of the host computer software code of the radar and generating a software development base.

[0007] According to a method for constructing a software development base provided by the present invention, the service processing unit includes a first service processing unit and a second service processing unit. The second service processing unit is an extended service processing unit corresponding to the first service processing unit. The first service processing unit directly corresponds to the radar service events one by one, and the second service processing unit corresponds to the function extension events of the radar service events one by one. Based on the radar service events and resources, the function module codes corresponding to the service processing unit are obtained, including: generating the first function module code corresponding to the first service processing unit based on the radar service events and resources corresponding to the first service processing unit; according to the function extension events, the first function module code, the radar service events and resources, generating the second function module code corresponding to the second service processing unit through a large language model.

[0008] According to a method for constructing a software development base provided by the present invention, the radar service events include at least one of a running mode event, a judgment logic event, a search mode event, a tracking mode event, a guarding mode event, a servo control strategy event, a beam control strategy event, a target reporting event, and a communication strategy event.

[0009] The present invention also provides a software development method, which is applicable to the software development base constructed by any of the above software development base construction methods, including: selecting target function module codes from all the function module codes in the radar host computer software code knowledge base; based on the target function module codes, constructing the host computer software of the target radar on the software development base.

[0010] The present invention also provides a software operation monitoring method, including: obtaining the resource management strategy and monitoring data during the operation of the host computer software; the host computer software is the host computer software constructed by the above software development method; based on the resource management strategy, performing strategy conflict detection through a semantic conflict detection algorithm to generate a strategy conflict detection result; if the strategy conflict detection result indicates the existence of a strategy conflict, performing priority arbitration and invoking a trend prediction model to obtain a resource trend prediction result according to the monitoring data; based on the resource trend prediction result, adjusting the strategy parameters of the resource management strategy.

[0011] The present invention also provides a software development base construction device, including: a service modeling sub-module, configured to determine radar service events and resources corresponding to the radar service events in response to a software development base construction instruction; the radar service events and resources are obtained based on an event-driven process chain model, and the radar service events are used to represent the service state of the radar, and the resources include input data and output data required to execute the radar service events; a code generation sub-module, configured to obtain function module codes corresponding to the service processing unit based on the radar service events and resources; a construction sub-module, configured to construct a radar host computer software code knowledge base based on the function module codes and generate a software development base.

[0012] The present invention also provides a software development device, including: a selection sub-module, configured to select target functional module code from all functional module codes in a radar host computer software code knowledge base; a development sub-module, configured to build the host computer software of a target radar on a software development base based on the target functional module code; wherein, the software development base is built by using any one of the above software development base construction methods.

[0013] The present invention also provides a software operation monitoring device, including: an acquisition sub-module, configured to acquire a resource management policy and monitoring data during the operation of the host computer software; the host computer software is the host computer software built by the above software development method; a conflict detection sub-module, configured to perform policy conflict detection through a semantic conflict detection algorithm based on the resource management policy to generate a policy conflict detection result; a trend prediction sub-module, configured to perform priority arbitration if the policy conflict detection result indicates the existence of a policy conflict, and call a trend prediction model to obtain a resource trend prediction result according to the monitoring data; a parameter adjustment sub-module, configured to adjust the policy parameters of the resource management policy based on the resource trend prediction result.

[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, it implements any one of the above software development base construction methods, or software development methods, or software operation monitoring methods.

[0015] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements any one of the above software development base construction methods, or software development methods, or software operation monitoring methods.

[0016] The software development base construction method, software development method, software operation monitoring method, device, equipment and storage medium provided by the present invention, in response to a software development base construction instruction, determine radar service events and resources corresponding to the radar service events. The radar service events and the resources corresponding to the radar service events are modeled based on the event-driven process chain model. The radar service events are used to characterize the service status of the radar, and the resources include input data and output data required to execute the radar service events. Then, based on the radar service events and the resources corresponding to the radar service events, obtain the function module code corresponding to the service processing unit, and build a radar host computer software code knowledge base according to the function module code, thereby forming a software development base. Since the function module code of the software development base has high reusability and adaptability for different models of radars, it is beneficial to realize the efficient reuse of the function module code, thus effectively reducing the code development volume of the host computer software for different models of radars, improving the development efficiency of the host computer software, and reducing the development cost of the host computer software. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0018] Figure 1 It is a flowchart of the software development base construction method provided by the present invention.

[0019] Figure 2 It is a schematic diagram of the modeling result provided by the present invention.

[0020] Figure 3 It is a flowchart of the software development method provided by the present invention.

[0021] Figure 4 It is a flowchart of the software operation monitoring method provided by the present invention.

[0022] Figure 5 It is a schematic diagram of the construction process of the software development base provided by the present invention.

[0023] Figure 6 It is a schematic diagram of the structure of the software development base construction device provided by the present invention.

[0024] Figure 7 It is a schematic diagram of the structure of the software development device provided by the present invention.

[0025] Figure 8 It is a schematic diagram of the structure of the software operation monitoring device provided by the present invention.

[0026] Figure 9 It is a schematic structural diagram of the electronic device provided by the present invention. Specific embodiments

[0027] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without making creative efforts shall fall within the protection scope of the present invention.

[0028] Please refer to Figure 1 , Figure 1 It is a schematic flowchart of the method for constructing a software development base provided by the present invention. As Figure 1 shown, in this embodiment, the method for constructing a software development base includes steps S110 to S130, and the specific steps are as follows: S110: In response to a software development base construction instruction, determine a radar service event and the resources corresponding to the radar service event.

[0029] The radar service event and the resources are obtained based on the event-driven process chain model. The radar service event is used to characterize the service state of the radar, and the resources include the input data and output data required to execute the radar service event.

[0030] Generally, a radar usually includes various operation interfaces, operation instructions, service modes, and data transmission interfaces. According to the service scenarios of the radar, different types of operations can be performed on the radar, such as power on and off, frequency band selection, transmit power adjustment, modulation mode selection, scan range adjustment, scan speed adjustment, service mode selection, etc.

[0031] Among them, the communication transmission modes of the radar include but are not limited to serial port communication, TCP (Transmission Control Protocol) communication, IP (Internet Protocol) communication, etc., and its service modes include but are not limited to search mode, tracking mode, guarding mode, etc.

[0032] Since different models of radars have differences in operation interfaces, operation instructions, service modes, data transmission interfaces, and communication transmission modes, the functional services and service processes provided by different models of radars are not exactly the same. However, there are still many common functional modules among different models of radars.

[0033] To achieve the reuse of these functional modules and rapidly construct the software development base of the radar host computer according to the business processes of different models of radars, the Event driven Process Chain (EPC) model can be utilized to model the business logic of the radar host computer software and obtain the modeling results.

[0034] The event-driven process chain model can describe the execution process of business events triggering business processes in a system (regarding the radar as a system in this embodiment) by defining elements such as events, functions, and logical connectors. Its core idea is that the business processes or business logics of the system are driven by business events, and each business event can trigger specific business functions or business processes, forming a chain reaction to ultimately achieve business goals.

[0035] In this embodiment, by using the event-driven process chain model to model the business logic of the radar host computer software, modeling results can be obtained. The modeling results are essentially a process chain composed of an event business set , a resource set , and a business processing unit set , and this process chain can be expressed as .

[0036] Among them, the event business set includes multiple radar business events, the resource set includes the resources corresponding to each radar business event, and the business processing unit set includes the business processing units corresponding to each radar business event. The radar business events, the resources corresponding to the radar business events, and the business processing units corresponding to the radar business events are in one-to-one correspondence.

[0037] Radar business events are used to represent the business states of radars. Radar business events refer to special business states that cause the start / stop or logical changes of the corresponding business processing units due to changes in radar attributes, external instructions, and external information, etc.

[0038] Resources include the input data and output data required to execute the corresponding radar business events, such as input information, processed data, or processing objects, etc.

[0039] Business processing units refer to the functional modules required by the radar host computer software. A business processing unit is a functional module, which can complete a specific behavior or specific task according to the business state represented by the corresponding radar business event. A business processing unit is used to implement the processing operation corresponding to a radar business event. Each business processing unit can be based on its corresponding radar business event and corresponding resources (denoted as ) Perform relevant information processing and service control, and trigger new radar service events and the resources corresponding to the new radar service events (denoted as ).

[0040] Optionally, the radar service events include at least one of an operating mode event, a judgment logic event, a search mode event, a tracking mode event, a guarding mode event, a servo control strategy event, a beam control strategy event, a target reporting event, and a communication strategy event.

[0041] Among them, the judgment logic event includes a correct logic event and an incorrect logic event.

[0042] In this embodiment, different radar service events can be combined according to actual needs to represent a certain special service state of the radar.

[0043] For example, the service state of a certain type of radar is "monitoring a target". The radar service events corresponding to this service state may include a search mode event (i.e., searching for a specific target), a tracking mode event (i.e., continuing to track and monitor the specific target after the specific target is searched), and a target reporting event (i.e., generating corresponding report information after the specific target is searched).

[0044] In the subsequent development process of the upper computer software, the user can simulate the operation process of different types of radars according to the service states of different types of radars, which is convenient for joint simulation with the digital twin system.

[0045] It should be noted that different from the prior art, in this embodiment, the service processes of different types of radars are not directly modeled, but the service logics of the upper computer software of different types of radars are modeled. The service processes are disassembled and modeled into different radar service events. Even if the function services and service processes provided by different types of radars are not exactly the same, the user can represent different service processes according to the combination of different radar service events, so as to realize the reuse of general radar service events and general service processing units.

[0046] S120: Based on the radar service events and resources, obtain the function module code corresponding to the service processing unit.

[0047] Specifically, a radar service event and the resources corresponding to the radar service event can correspond to a service processing unit; for each radar service event and the resources corresponding to the radar service event, a corresponding service processing unit and the function module code corresponding to the service processing unit can be generated.

[0048] S130: Based on the function module code, construct a knowledge base of the radar upper computer software code and generate a software development base.

[0049] Specifically, the local large language model is deployed through the model deployment tool Ollama, and according to each functional module code, the management of business materials and the construction of the radar host computer software code knowledge base are completed through the large language model application development platform Dify, thereby forming a software development base, where the software development base is specifically the radar host computer software development base.

[0050] Among them, the radar host computer software code knowledge base stores the functional module codes corresponding to each business processing unit, the business processes of different models of radars, and the interaction interfaces.

[0051] In the subsequent development process of the host computer software, users can utilize the model inference ability of Ollama and the knowledge base of Dify on the radar host computer software development base to achieve the call and intelligent collaboration between different functional module codes, realize the high reuse of different functional module codes, and is conducive to improving the development efficiency of the subsequent host computer software.

[0052] It should be noted that after the radar host computer software development base is constructed, for different application scenarios, a radar digital model can also be constructed based on the modeling results to support the development of virtual-real combined radar organization operation simulation, realize the optimization of the organization operation mode, improve the adaptability and intelligent level of radar equipment, and thus meet the complex and changeable application requirements.

[0053] Specifically, by analyzing the radar business events, radar functions, logical relationships, and interaction processes of different models of radars, and according to the colored Petri net theory, a radar digital model including places, transitions, input functions, and output functions is modeled to ensure its high consistency with the actual radar business logic, realize the high reuse and function mapping of the radar digital model, can greatly improve the fidelity of the digital model, and further reduce the development cost of the host computer software.

[0054] The software development base construction method provided in this embodiment, in response to the software development base construction instruction, determines the radar business events and the resources corresponding to the radar business events. The radar business events and the resources corresponding to the radar business events are modeled based on the event-driven process chain model. The radar business events are used to represent the business state of the radar, and the resources include the input data and output data required to execute the radar business events. Then, based on the radar business events and the resources corresponding to the radar business events, the functional module codes corresponding to the business processing units are obtained, and the radar host computer software code knowledge base is constructed according to the functional module codes, thereby forming a software development base. And because the functional module codes of the software development base have high reusability and adaptability when facing different models of radars, it is conducive to realizing the high reuse of functional module codes, thus effectively reducing the code development volume of the host computer software for different models of radars, improving the development efficiency of the host computer software, and reducing the development cost of the host computer software.

[0055] In some embodiments, the service processing unit includes a first service processing unit and a second service processing unit. The second service processing unit is an extended service processing unit corresponding to the first service processing unit. The first service processing unit corresponds directly one-to-one with radar service events, and the second service processing unit corresponds one-to-one with function extension events of radar service events. Based on radar service events and resources, obtaining the function module code corresponding to the service processing unit includes: generating a first function module code corresponding to the first service processing unit based on the radar service events and resources corresponding to the first service processing unit; generating a second function module code corresponding to the second service processing unit through a large language model according to function extension events, the first function module code, radar service events, and resources.

[0056] In this embodiment, by using the event-driven process chain model to model the business logic of the radar host computer software, multiple common radar service events in the software development process of different models of radars and the resources corresponding to each radar service event can be obtained; a radar service event and the resources corresponding to the radar service event can correspond to a first service processing unit. For each radar service event and the resources corresponding to the radar service event, a corresponding first service processing unit and the first function module code corresponding to the first service processing unit can be generated.

[0057] However, the event-driven process chain model can only model the common radar service events and corresponding resources of existing radars. If new business processes or business functions appear in the improved radar or newly developed radar and new service processing units need to be configured, it is impossible to develop a complete host computer software only based on the function module code corresponding to the first service processing unit.

[0058] Based on this, function extension can be performed through the local large language model deployed on the radar host computer software development base to generate new service processing units.

[0059] Generally, the improved radar or newly developed radar is usually adjusted and designed based on the functions of existing radars. Therefore, the new functions usually have some associations with the radar service events of the existing functions.

[0060] At this time, the large language model pre-deployed on the radar host computer software development base can be used to perform function extension according to function extension events, the first function module code corresponding to the existing first service processing unit, the existing radar service events, and the resources corresponding to the radar service events, and generate the second function module code corresponding to multiple second service processing units (i.e., new function modules), thereby completing the development of new function modules.

[0061] The software development base construction method provided in this embodiment uses a large language model for function expansion, which can ensure the integrity and diversity of the function module code, making the functions of the subsequent constructed host computer software more perfect.

[0062] In some embodiments, the radar service events include at least one of an operation mode event, a judgment logic event, a search mode event, a tracking mode event, a guarding mode event, a servo control strategy event, a beam control strategy event, a target reporting event, and a communication strategy event.

[0063] Among them, the judgment logic event includes a correct logic event and an incorrect logic event.

[0064] Please refer to Figure 2 , Figure 2 which is a schematic diagram of the modeling result provided by the present invention.

[0065] As Figure 2 shown, Figure 2 the dashed rectangular box in Figure 2 represents the processing operation corresponding to the radar service event, and the processing operation corresponding to one radar service event corresponds to one service processing unit. Figure 2 the circular box in

[0066] The present invention also provides a software development method. Please refer to Figure 3 , Figure 3 which is a schematic flowchart of the software development method provided by the present invention. As Figure 3 shown, in this embodiment, the software development method is applicable to the software development base constructed by using any one of the above software development base construction methods. The software development method includes steps S310 to S320, and the specific steps are as follows: S310: Select the target function module code from all the function module codes in the radar host computer software code knowledge base.

[0067] S320: Based on the target function module code, construct the host computer software of the target radar on the software development base.

[0068] Specifically, after the construction of the software development base (the software development base here is specifically the radar host computer software development base) is completed, the user can select the radar model of the target radar through the interaction interface of the radar host computer software development base by means of mouse clicking, text input, voice input, etc.

[0069] Further, the software development base of the radar host computer determines various business processes of the target radar according to the radar model of the target radar, selects the target radar service events corresponding to each business process and the service processing units corresponding to each target radar service event according to all possible business processes thereof, and then selects the target function module codes corresponding to all target radar service events from all the function module codes in the software code knowledge base of the radar host computer according to the selected target radar service events and the service processing units corresponding to each target radar service event.

[0070] Further, all the selected target function module codes are combined and called, so as to construct the host computer software of the target radar on the software development base of the radar host computer.

[0071] In the software development method provided in this embodiment, after the construction of the software development base of the radar host computer is completed, if a user wants to develop the host computer software of a specific model of radar, the target function module codes corresponding to the general radar service events can be called through the software development base of the radar host computer to form the host computer software of the specific model of radar, without having to rewrite the corresponding host computer software for the specific model of radar, realizing the high reuse of the function module codes, being beneficial to realizing the automation of the software development process, and improving the development efficiency of the host computer software.

[0072] The present invention also provides a software operation monitoring method. Please refer to Figure 4 , Figure 4 which is a schematic flow chart of the software operation monitoring method provided by the present invention. As Figure 4 shown, in this embodiment, the software operation monitoring method is applied to the operation and maintenance management background. The software operation monitoring method includes steps S410 to S440, and the specific steps are as follows: S410: Obtain the resource management policy and monitoring data during the operation of the host computer software.

[0073] The host computer software is the host computer software constructed by the above software development method.

[0074] It can be understood that to ensure the normal operation of the software development base of the radar host computer, before the modeling development of the host computer software, it is necessary to configure the development framework, operation and maintenance management background and service gateway required for software development, and provide the development environment required for the development and operation of the host computer software.

[0075] Please refer to Figure 5 , Figure 5 which is a schematic flow chart of the construction of the software development base provided by the present invention.

[0076] As Figure 5As shown in the figure, in the development framework of the software development base for the radar upper computer, Redis database is used as the in-memory database, and Mysql database is used as the hard disk database to complete the construction of the in-memory database and the hard disk database; MQ (Message Queue) is used as the message middleware; Vue3 framework and Element Plus UI framework are used as the development frameworks for the front-end components and the interactive interface, and the back-end components adopt the SpringCloud microservice architecture to complete the construction of the front-end development environment and the back-end development environment; for the map required by the radar in the interactive interface, its display and operation are implemented using Cesium (an open-source JavaScript library), and the related functions such as the information statistics and chart display of the radar are completed using Echarts (an open-source JavaScript chart library).

[0077] For the design of the business gateway of the software development base for the radar upper computer, in this embodiment, Nacos is used as the microservice registration center and configuration center, and Spring Cloud Gateway is used to build the business gateway. At the same time, the basic services of the business gateway are developed on the Spring Boot framework.

[0078] Among them, the workflow engine of the business gateway is the open-source workflow and business process management platform Camunda, and the rule orchestration of the business gateway is implemented using Apache Flink (a unified computing engine for stream processing and batch processing) and Apache Iceberg (an open-source table format for processing large-scale data sets); the communication interface of the business gateway is implemented by secondary encapsulation of Netty (a high-performance asynchronous event-driven network programming framework), and the encapsulated communication interface is easier to use and more in line with business and actual needs.

[0079] Optionally, the software development base for the radar upper computer uses Gitea (an open-source lightweight Git service component that supports code hosting, version control, branch management, and collaborative development) as the source code repository tool to set the libraries and frameworks relied on by the project. After the setting is completed, it is necessary to judge whether the setting is correct to ensure the normal callback application of the microservice and the normal operation of the code of different functional modules.

[0080] The development environment of the software development base for the radar upper computer is jointly constructed based on tools such as Docker, Harbor, Gitea, Jenkin, SonarQube, and Kubernetes.

[0081] After completing the above configuration, the business logic of the radar host computer software can be modeled based on the event-driven process chain model, and a complete software development base for the radar host computer can be constructed according to the modeling results.

[0082] Furthermore, after completing the construction of the software development base for the radar host computer, the development and operation process of the host computer software of the target radar is as follows: After the user (usually a program developer) calls various functional module codes in the code knowledge base of the radar host computer software according to the radar model of the target radar and completes the development of the host computer software of the target radar locally, relevant configuration files can be written; After self-testing the host computer software locally and passing, the complete code of the host computer software is published to the specified branch on Gitea in the development environment; The submission of the code will trigger the WebHook mechanism (WebHook is a mechanism used to trigger callback requests when an event occurs). Because the WebHook mechanism and corresponding microservice calls and pipeline operations have been configured in Jenkins (an open-source tool) when building the development environment, the WebHook mechanism can automatically trigger the execution of microservice calls and pipeline operations. At this time, Jenkins will automatically start pulling the submitted code, analyze the code using SonarQube (an open-source static code analysis tool), and at the same time compile the code according to the written configuration file, package it into a Docker image, and submit the Docker image to the Harbor image repository; Kubernetes can further pull the Docker image from the Harbor image repository according to the configuration file and perform test runs.

[0083] It should be noted that the application of software-defined equipment technology in the radar control field requires pooling existing hardware resources so that the host computer software can call existing hardware resources as needed. However, in addition to existing hardware resources, the operation of the host computer software may also require other resources, and these resources may vary according to different radar models. Based on this, the software development base of the radar host computer in this embodiment is provided with an operation and maintenance management background, and the operation and maintenance management background supports the resource customization technology of the open-source container orchestration platform Kubernetes (abbreviated as K8s).

[0084] Users can use the resource customization technology to create the resource types required for the operation of the host computer software of different models of radars, set the policy version number, effective conditions (such as effective time windows or resource thresholds, etc.), configuration parameters (such as scaling rules), dependency relationships (such as associated services or cluster references, etc.) and resource management policies of the host computer software, and record the effective status, version history and resource policy conflict detection results of the host computer software.

[0085] Among them, the user-defined resource management policy can implement the conversion of CRD resources (Custom Resource Definition, that is, resources defined through Kubernetes resource customization technology) to Kubernetes native resources. When there is a shortage of existing resources and expansion is required, the HPA (Horizontal Pod Autoscaling) mechanism provided by Kubernetes can horizontally scale the custom metrics of CRD resources automatically, and integrate traffic management rules by developing a service mesh policy generator to achieve ecological integration and management of resource management policies.

[0086] In addition, Kubernetes supports cyclic triggering of resource synchronization, which can make the configuration take effect in seconds and retain all historical versions of CRD resources for rollback calls in case of abnormalities in the host computer software.

[0087] Specifically, during the operation of the host computer software, the operation and maintenance management background can use Portainer (a containerized application management tool) to monitor the container status, and use Prometheus (a monitoring and alerting engine) and Grafana (a data visualization and analysis platform) to monitor the cluster status of Kubernetes, monitor and collect the resource management policies and monitoring data during the operation of the host computer software, and display and summarize them.

[0088] S420: Based on the resource management policy, perform policy conflict detection through a semantic conflict detection algorithm to generate a policy conflict detection result.

[0089] Furthermore, through the semantic conflict detection algorithm, perform policy conflict detection on the resource management policy during the operation of the host computer software to generate a policy conflict detection result.

[0090] S430: If the policy conflict detection result indicates the existence of a policy conflict, perform priority arbitration and call a trend prediction model to obtain a resource trend prediction result based on the monitoring data.

[0091] Specifically, if the policy conflict detection result indicates the existence of a policy conflict, trigger priority arbitration and call a trend prediction model. The trend prediction model can predict the trend of resources occupied by the host computer software based on the monitoring data to generate a resource trend prediction result.

[0092] Optionally, the trend prediction model is an LSTM (Long Short-Term Memory) model.

[0093] S440: Adjust the policy parameters of the resource management policy based on the resource trend prediction result.

[0094] Based on the resource trend prediction results, adjust the policy parameters of the resource management policy to ensure the normal operation of the host computer software.

[0095] The software operation monitoring method provided in this embodiment sets up an operation and maintenance management background on the software development base of the radar host computer, and realizes the intelligent monitoring and feedback closed-loop of the operation process of the host computer software through the operation and maintenance management background, which can ensure the normal operation of the host computer software.

[0096] The present invention also provides a software development base construction device. Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of the software development base construction device provided by the present invention. In this embodiment, the software development base construction device includes a business modeling sub-module 610, a code generation sub-module 620, and a construction sub-module 630.

[0097] The business modeling sub-module 610 is used to determine the radar business events and the resources corresponding to the radar business events in response to the software development base construction instruction.

[0098] The radar business events and resources are obtained based on the event-driven process chain model. The radar business events are used to characterize the business status of the radar, and the resources include the input data and output data required to execute the radar business events.

[0099] The code generation sub-module 620 is used to obtain the function module code corresponding to the business processing unit based on the radar business events and resources.

[0100] The construction sub-module 630 is used to build a radar host computer software code knowledge base based on the function module code and generate a software development base.

[0101] In some embodiments, the business processing unit includes a first business processing unit and a second business processing unit. The second business processing unit is an extended business processing unit corresponding to the first business processing unit. The first business processing unit is directly in one-to-one correspondence with the radar business events, and the second business processing unit is in one-to-one correspondence with the function extension events of the radar business events.

[0102] The code generation sub-module 620 is used to generate the first function module code corresponding to the first business processing unit based on the radar business events and resources corresponding to the first business processing unit; according to the function extension events, the first function module code, the radar business events and resources, generate the second function module code corresponding to the second business processing unit through a large language model.

[0103] In some embodiments, the radar service events include at least one of an operation mode event, a judgment logic event, a search mode event, a tracking mode event, a guarding mode event, a servo control strategy event, a beam control strategy event, a target reporting event, and a communication strategy event.

[0104] The present invention also provides a software development device. Please refer to Figure 7 , Figure 7 which is a schematic structural diagram of the software development device provided by the present invention. In this embodiment, the software development device includes a selection sub-module 710 and a development sub-module 720.

[0105] The selection sub-module 710 is configured to select target function module codes from all function module codes in the radar host computer software code knowledge base.

[0106] The development sub-module 720 is configured to build the host computer software of the target radar on the software development base based on the target function module codes.

[0107] Among them, the software development base is constructed by using the software development base construction method of any one of the above.

[0108] The present invention also provides a software operation monitoring device. Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of the software operation monitoring device provided by the present invention. In this embodiment, the software operation monitoring device includes an acquisition sub-module 810, a conflict detection sub-module 820, a trend prediction sub-module 830, and a parameter adjustment sub-module 840.

[0109] The acquisition sub-module 810 is configured to acquire the resource management strategy and monitoring data during the operation of the host computer software.

[0110] The host computer software is the host computer software constructed by the above software development method.

[0111] The conflict detection sub-module 820 is configured to perform policy conflict detection through a semantic conflict detection algorithm based on the resource management strategy, and generate a policy conflict detection result.

[0112] The trend prediction sub-module 830 is configured to perform priority arbitration if the policy conflict detection result indicates the existence of a policy conflict, and call a trend prediction model to obtain a resource trend prediction result according to the monitoring data.

[0113] The parameter adjustment sub-module 840 is configured to adjust the policy parameters of the resource management strategy based on the resource trend prediction result.

[0114] The present invention also provides an electronic device. Figure 9 which is a schematic structural diagram of the electronic device provided by the present invention, as shown in Figure 9As shown in the figure, the electronic device may include: a processor 910, a communication interface 920, a memory 930, and a communication bus 940. Among them, the processor 910, the communication interface 920, and the memory 930 complete their mutual communication through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the software development base construction method, or the software development method, or the software operation monitoring method.

[0115] In addition, when the logic instructions in the above-mentioned memory 930 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0116] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the software development base construction method, or the software development method, or the software operation monitoring method provided by the above-mentioned various methods.

[0117] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative labor.

[0118] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for constructing a software development base, characterized in that, Including: In response to a software development base construction instruction, determining radar service events and resources corresponding to the radar service events; the radar service events and the resources are obtained based on an event-driven process chain model, the radar service events are used to characterize the service status of the radar, and the resources include input data and output data required to execute the radar service events; Based on the radar service events and the resources, obtaining function module codes corresponding to the service processing units; Based on the function module codes, constructing a knowledge base of radar host computer software codes and generating a software development base.

2. The software development base construction method according to claim 1, characterized in that The service processing units include a first service processing unit and a second service processing unit. The second service processing unit is an extended service processing unit corresponding to the first service processing unit. The first service processing unit directly corresponds one-to-one with the radar service events, and the second service processing unit corresponds one-to-one with the function extension events of the radar service events; The obtaining function module codes corresponding to the service processing units based on the radar service events and the resources includes: Based on the radar service events and the resources corresponding to the first service processing unit, generating first function module codes corresponding to the first service processing unit; According to the function extension events, the first function module codes, the radar service events and the resources, generating second function module codes corresponding to the second service processing unit through a large language model.

3. The software development base construction method according to claim 1, characterized in that The radar service events include at least one of a running mode event, a judgment logic event, a search mode event, a tracking mode event, a guarding mode event, a servo control strategy event, a beam control strategy event, a target reporting event, and a communication strategy event.

4. A software development method, characterized in that, Applicable to a software development base constructed by the software development base construction method according to any one of claims 1 to 3, including: Selecting target function module codes from all function module codes in the knowledge base of radar host computer software codes; Based on the target function module codes, constructing the host computer software of the target radar on the software development base.

5. A software running monitoring method, characterized in that, Including: Obtaining a resource management strategy and monitoring data during the operation of the host computer software; the host computer software is the host computer software constructed by the software development method according to claim 4; Based on the resource management strategy, performing policy conflict detection through a semantic conflict detection algorithm and generating a policy conflict detection result; If the policy conflict detection result indicates that there is a policy conflict, performing priority arbitration and invoking a trend prediction model to obtain a resource trend prediction result according to the monitoring data; Based on the resource trend prediction result, adjusting the policy parameters of the resource management strategy.

6. A software development base construction device, characterized in that, Including: A service modeling sub-module, configured to determine radar service events and resources corresponding to the radar service events in response to a software development base construction instruction; The radar service events and the resources are obtained based on an event-driven process chain model, the radar service events are used to characterize the service status of the radar, and the resources include input data and output data required to execute the radar service events; A code generation sub-module, configured to obtain the function module code corresponding to the service processing unit based on the radar service event and the resource; A construction sub-module, configured to construct a knowledge base of the radar host computer software code based on the function module code and generate a software development base.

7. A software development device, characterized in that, It includes: A selection sub-module, configured to select target function module code from all the function module codes in the knowledge base of the radar host computer software code; A development sub-module, configured to construct the host computer software of the target radar on the software development base based on the target function module code; Wherein, the software development base is constructed by using the software development base construction method according to any one of claims 1 to 3.

8. A software running monitoring device, characterized in that, It includes: An acquisition sub-module, configured to acquire the resource management policy and monitoring data during the operation of the host computer software; the host computer software is the host computer software constructed by the software development method according to claim 4; A conflict detection sub-module, configured to perform policy conflict detection through a semantic conflict detection algorithm based on the resource management policy and generate a policy conflict detection result; A trend prediction sub-module, configured to, if the policy conflict detection result indicates the existence of a policy conflict, perform priority arbitration and call a trend prediction model to obtain a resource trend prediction result according to the monitoring data; A parameter adjustment sub-module, configured to adjust the policy parameters of the resource management policy based on the resource trend prediction result.

9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the software development base construction method according to any one of claims 1 to 3, or implements the software development method according to claim 4, or implements the software operation monitoring method according to claim 5.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the software development base construction method according to any one of claims 1 to 3, or implements the software development method according to claim 4, or implements the software operation monitoring method according to claim 5.

Citation Information

Patent Citations

  • Software development kit generation method and device, equipment and storage medium

    CN115543419A

  • Radar information processing architecture based on cloud native and implementation method

    CN117421093A

  • Radar software and hardware decoupling architecture implementation method based on container technology

    CN118069217A

  • Software Development Project Infrastructure Builder Tool

    US20230132531A1