Software development base construction method, software development method, software operation monitoring method, device, equipment and storage medium
By building a radar host computer software development base through an event-driven process chain model and a large language model, the problem of low efficiency in host computer software development for different types of radars is solved, efficient reuse of functional modules and resource management optimization are achieved, and development costs are reduced.
Patent Information
- Application Number
- CN202510858952.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2045-06-25
AI Technical Summary
The existing technology lacks a host computer software development base for different types of radars, resulting in low efficiency and high cost of host computer software code development, making it difficult to achieve efficient reuse and adaptation of functional modules.
The event-driven process chain model is used to model the business logic of the radar host computer software, generate a software development base, use a large language model to generate functional module code, and optimize resource management through semantic conflict detection and trend prediction models to build a radar host computer software code knowledge base.
It has achieved efficient development of host computer software for different types of radars, reduced the amount of code development, improved development efficiency and adaptability, optimized resource management, and reduced development costs.
Smart Images

Figure CN120353443B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a software development base construction method, a software development method, a software operation monitoring method, a device, a device and a storage medium. Background Art
[0002] Software-Defined Equipment (SDE) technology enables flexible configuration of equipment functions through hardware and software decoupling and software reconstruction. The principle of this technology is to pool hardware resources through an open architecture and, through the logical control capabilities of the host software, control the same hardware module units to execute different workflows and tasks. This enables the equipment to dynamically provide various services based on business rules, thereby achieving dynamic definition of equipment functions.
[0003] The application of software-defined equipment technology in radar control requires not only universal, standardized, and modular hardware but also dynamic loading and reconfiguration of the various functional modules of the host computer software, which is used to simulate and control the radar. This poses significant challenges to the design, development, testing, and deployment of radar host computer software. Because different radar models have different host computer software codes, rewriting the corresponding host computer software code for each radar model reduces development efficiency.
[0004] Based on this, how to build a radar host computer software development base (i.e., a general development framework for radar host computer software) for different types of radars to reduce the amount of code development for host computer software of different types of radars, improve the development efficiency of host computer software, ensure the fidelity of digital systems, and reduce the development cost of host computer software has become an urgent problem to be solved. Summary of the Invention
[0005] The present invention provides a software development base construction method, a software development method, a software operation monitoring method, a device, a equipment and a storage medium, which are used to solve the defect in the prior art that there is still a lack of a construction method for a host computer software development base for different models of radars.
[0006] The present invention provides a method for constructing a software development base, comprising: determining a radar business event and resources corresponding to the radar business event in response to a software development base construction instruction; the radar business event and the resources are obtained based on an event-driven process chain model, the radar business event is used to characterize the business state of the radar, and the resources include input data and output data required for executing the radar business event; based on the radar business event and the resources, obtaining the function module code corresponding to the business processing unit; based on the function module code, constructing a radar host computer software code knowledge base to generate a software development base.
[0007] According to a software development base construction method provided by the present invention, 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 has a direct one-to-one correspondence with a radar business event, and the second business processing unit has a one-to-one correspondence with a functional extension event of the radar business event; based on the radar business event and resources, the functional module code corresponding to the business processing unit is obtained, including: based on the radar business event and resources corresponding to the first business processing unit, generating a first functional module code corresponding to the first business processing unit; generating a second functional module code corresponding to the second business processing unit through a large language model according to the functional extension event, the first functional module code, the radar business event and the resource.
[0008] According to a software development base construction method provided by the present invention, radar business events include at least one of operation mode events, judgment logic events, search mode events, tracking mode events, control mode events, servo control strategy events, beam control strategy events, target reporting events and communication strategy events.
[0009] The present invention also provides a software development method, which is applicable to a software development base constructed by any of the above-mentioned software development base construction methods, comprising: selecting a target functional module code from all functional module codes in a radar host computer software code knowledge base; and constructing the host computer software of the target radar on the software development base based on the target functional module code.
[0010] The present invention also provides a software operation monitoring method, comprising: obtaining the resource management strategy and monitoring data of the host computer software during operation; the host computer software is the host computer software constructed by the above-mentioned software development method; based on the resource management strategy, performing policy conflict detection through a semantic conflict detection algorithm to generate a policy conflict detection result; if the policy conflict detection result is that a policy conflict exists, performing priority arbitration, calling a trend prediction model, and obtaining a resource trend prediction result based on the monitoring data; and adjusting the policy parameters of the resource management strategy based on the resource trend prediction result.
[0011] The present invention also provides a software development base construction device, including: a business modeling submodule, used to determine radar business events and resources corresponding to radar business events in response to software development base construction instructions; radar business events and resources are obtained based on an event-driven process chain model, radar business events are used to characterize the business status of the radar, and resources include input data and output data required to execute radar business events; a code generation submodule, used to obtain functional module codes corresponding to business processing units based on radar business events and resources; a construction submodule, used to construct a radar host computer software code knowledge base based on the functional module code, and generate a software development base.
[0012] The present invention also provides a software development device, comprising: a selection submodule, used to select target function module code from all function module codes in a radar host computer software code knowledge base; a development submodule, used to construct the host computer software of the target radar on a software development base based on the target function module code; wherein the software development base is constructed using any of the above-mentioned software development base construction methods.
[0013] The present invention also provides a software operation monitoring device, including: an acquisition submodule, used to obtain the resource management strategy and monitoring data of the host computer software during operation; the host computer software is the host computer software constructed by the above-mentioned software development method; a conflict detection submodule, used to perform policy conflict detection based on the resource management strategy through a semantic conflict detection algorithm, and generate a policy conflict detection result; a trend prediction submodule, used to perform priority arbitration if the policy conflict detection result is that a policy conflict exists, and call a trend prediction model to obtain a resource trend prediction result according to the monitoring data; a parameter adjustment submodule, used to adjust the policy parameters of the resource management strategy based on the resource trend prediction result.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any one of the above-mentioned software development base construction methods, software development methods, or software operation monitoring methods.
[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements any of the above-mentioned software development base construction methods, 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 respond to the software development base construction instruction to determine the radar business event and the resources corresponding to the radar business event. The radar business event and the resources corresponding to the radar business event are modeled based on the event-driven process chain model. The radar business event is used to characterize the business status of the radar. The resources include the input data and output data required to execute the radar business event. Then, based on the radar business event and the resources corresponding to the radar business event, the functional module code corresponding to the business processing unit is obtained, and a radar host computer software code knowledge base is constructed according to the functional module code, thereby forming a software development base. Since the functional module code of the software development base has high reusability and adaptability when facing different models of radars, it is conducive to realizing efficient reuse of the functional module code, thereby effectively reducing the code development amount of the host computer software of 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, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 It is a flow chart of the method for constructing a software development base provided by the present invention.
[0019] Figure 2 It is a schematic diagram of the modeling results 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 flow chart 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 structural diagram of the software development base construction device provided by the present invention.
[0024] Figure 7 It is a structural diagram of the software development device provided by the present invention.
[0025] Figure 8 It is a structural diagram of the software operation monitoring device provided by the present invention.
[0026] Figure 9 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0027] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0028] See also Figure 1 , Figure 1 This is a flow chart of the software development base construction method provided by the present invention. Figure 1 As shown, in this embodiment, the software development base construction method includes steps S110 to S130, and each step is specifically as follows:
[0029] S110: In response to a software development base construction instruction, determine a radar service event and resources corresponding to the radar service event.
[0030] Radar business events and resources are obtained based on the event-driven process chain model. Radar business events are used to characterize the business status of the radar, and resources include the input data and output data required to execute radar business events.
[0031] Generally speaking, radars usually include various operating interfaces, operating instructions, business modes and data transmission interfaces. Depending on the radar's business scenarios, different types of radar operations can be performed, such as power on and off, frequency band selection, transmit power adjustment, modulation mode selection, scanning range adjustment, scanning speed adjustment, working mode selection, etc.
[0032] Among them, the radar's communication transmission modes include but are not limited to serial communication, TCP (Transmission Control Protocol) communication and IP (Internet Protocol) communication, and its business modes include but are not limited to search mode, tracking mode, control mode, etc.
[0033] Since different types of radars have differences in operating interface, operating instructions, business mode, data transmission interface and communication transmission mode, the functional services and business processes that different types of radars can provide are not exactly the same, but there are still many common functional modules between different types of radars.
[0034] In order to achieve the reuse of these functional modules and quickly build the radar host computer software development base according to the business processes of different radar models, the event driven process chain (EPC) model can be used to model the business logic of the radar host computer software and obtain the modeling results.
[0035] The event-driven process chain model can describe the process of triggering the execution of business processes by business events in the system (in this embodiment, the radar is regarded as a system) by defining elements such as events, functions, and logical connectors. Its core concept is that the system's business processes or business logic are driven by business events. Each business event can trigger a specific business function or business process, forming a chain reaction and ultimately achieving business goals.
[0036] In this embodiment, the event-driven process chain model is used to model the business logic of the radar host computer software, and a modeling result can be obtained. The modeling result is essentially a set of event business logic. , resource set and business processing unit set The process chain , the process chain can be expressed as .
[0037] Among them, the event business set Including multiple radar business events, resource sets Including resources corresponding to each radar business event, business processing unit set Including a business processing unit corresponding to each radar business event, the radar business event, the resources corresponding to the radar business event and the business processing unit corresponding to the radar business event are in one-to-one correspondence.
[0038] Radar business events are used to represent the business status of the radar. Radar business events refer to special business states that cause the corresponding business processing unit to start, stop, or change logic due to changes in radar properties, external instructions, or external information.
[0039] Resources include input data and output data required to execute corresponding radar business events, such as input information, processing data or processing objects.
[0040] Business processing unit refers to the functional module required by the radar host computer software. A business processing unit is a functional module that can complete a specific behavior or a specific task of business activities according to the business status 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 the corresponding resource (denoted as ) to perform relevant information processing and business control, and trigger new radar business events and the resources corresponding to the new radar business events (denoted as ).
[0041] Optionally, the radar service event includes at least one of an operation mode event, a judgment logic event, a search mode event, a tracking mode event, a control mode event, a servo control strategy event, a beam control strategy event, a target reporting event, and a communication strategy event.
[0042] Among them, the judgment logic events include correct logic events and incorrect logic events.
[0043] In this embodiment, different radar service events can be combined according to actual needs to represent a special service state of the radar.
[0044] For example, the business status of a certain type of radar is "monitoring target". The radar business events corresponding to this business status may include search mode events (i.e., searching for a specific target), tracking mode events (i.e., continuing to track and monitor the specific target after searching for it), and target reporting events (i.e., generating corresponding report information after searching for a specific target).
[0045] During the subsequent development of the host computer software, users can simulate the operation process of different types of radars according to their business status, which facilitates joint simulation with the digital twin system.
[0046] It should be noted that, unlike the existing technology, this embodiment does not directly model the business processes of different types of radars, but models the business logic of the host computer software of different types of radars, and decomposes the business processes into different radar business events. Even if the functional services and business processes provided by different types of radars are not exactly the same, users can also represent different business processes based on the combination of different radar business events, thereby realizing the reuse of general radar business events and general business processing units.
[0047] S120: Based on the radar service events and resources, obtain the function module code corresponding to the service processing unit.
[0048] Specifically, a radar business event and the resources corresponding to the radar business event may correspond to a business processing unit; for each radar business event and the resources corresponding to the radar business event, a corresponding business processing unit and a functional module code corresponding to the business processing unit may be generated.
[0049] S130: Based on the functional module code, build the radar host computer software code knowledge base and generate the software development base.
[0050] Specifically, the local large language model is deployed through the model deployment tool Ollama, and based on the code of each functional module, the large language model application development platform Dify is used to complete the management of business data and the construction of the radar host computer software code knowledge base, thus forming a software development base. The software development base here is specifically the radar host computer software development base.
[0051] 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 interactive interface.
[0052] During the subsequent development of the host computer software, users can leverage Ollama's model reasoning capabilities and Dify's knowledge base on the radar host computer software development base to implement calls and intelligent collaboration between codes of different functional modules, thereby achieving high reuse of codes of different functional modules and improving the development efficiency of subsequent host computer software.
[0053] It should be noted that after building the radar host computer software development base, a radar digital model can be built based on the modeling results for different application scenarios to support the virtual and real combined radar organization and application simulation, optimize the organization and application mode, and improve the adaptability and intelligence level of radar equipment, thereby meeting complex and changing application needs.
[0054] Specifically, by analyzing the radar business events, radar functions, logical relationships and interaction processes of different types of radars, a radar digital model including library, transition, input function and output function is modeled according to the colored net theory to ensure that it is highly consistent with the actual radar business logic, realize the efficient reuse and function mapping of the radar digital model, greatly improve the realism of the digital model, and further reduce the development cost of the host computer software.
[0055] The software development base construction method provided in this embodiment responds to the software development base construction instruction to determine 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 characterize the business status of the radar. 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. Since the functional module codes of the software development base have high reusability and adaptability when facing different types of radars, it is conducive to realizing efficient reuse of functional module codes, thereby effectively reducing the code development amount of the host computer software of different types of radars, improving the development efficiency of the host computer software, and reducing the development cost of the host computer software.
[0056] 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 directly corresponds one-to-one to the radar business event, and the second business processing unit corresponds one-to-one to the functional extension event of the radar business event; based on the radar business event and resources, the functional module code corresponding to the business processing unit is obtained, including: based on the radar business event and resources corresponding to the first business processing unit, generating the first functional module code corresponding to the first business processing unit; according to the functional extension event, the first functional module code, the radar business event and the resource, generating the second functional module code corresponding to the second business processing unit through a large language model.
[0057] In this embodiment, the business logic of the radar host computer software is modeled using an event-driven process chain model, and multiple radar business events common to different types of radars in the software development process and the resources corresponding to each radar business event can be obtained; a radar business event and the resources corresponding to the radar business event can correspond to a first business processing unit, and for each radar business event and the resources corresponding to the radar business event, a corresponding first business processing unit and a first functional module code corresponding to the first business processing unit can be generated.
[0058] However, the event-driven process chain model can only model radar business events and corresponding resources that are common to existing radars. If the improved radar or the newly developed radar has new business processes or business functions and needs to configure a new business processing unit, then it is impossible to develop a complete upper computer software based only on the functional module code corresponding to the first business processing unit.
[0059] Based on this, the local large language model deployed through the radar host computer software development base can be used to expand functions and generate new business processing units.
[0060] Generally speaking, an improved radar or a newly developed radar is usually designed and adjusted based on the existing radar functions. Therefore, the new functions are usually partially related to the radar business events of the existing functions.
[0061] At this time, the large language model pre-deployed by the radar host computer software development base can be used to expand functions according to function expansion events, the first function module code corresponding to the existing first business processing unit, existing radar business events and the resources corresponding to radar business events, and generate second function module codes corresponding to multiple second business processing units (i.e., new function modules), thereby completing the development of new function modules.
[0062] 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 subsequently constructed upper computer software more complete.
[0063] In some embodiments, radar service events include at least one of operating mode events, judgment logic events, search mode events, tracking mode events, control mode events, servo control strategy events, beam control strategy events, target reporting events, and communication strategy events.
[0064] Among them, the judgment logic events include correct logic events and incorrect logic events.
[0065] See also Figure 2 , Figure 2 It is a schematic diagram of the modeling results provided by the present invention.
[0066] like Figure 2 As shown, Figure 2 The dotted rectangle in the figure represents the processing operation corresponding to the radar business event. The processing operation corresponding to a radar business event corresponds to a business processing unit. Figure 2 The circular boxes in the figure represent the hardware or devices that the radar needs to control or interact with. Figure 2 The solid rectangular box in the figure represents radar business events, which include operation mode events, judgment logic events (not shown in the figure), search mode events, tracking mode events, control mode events, servo control strategy events, beam control strategy events, target reporting events and communication strategy events. Judgment logic events include correct logic events and incorrect logic events.
[0067] The present invention also provides a software development method. Figure 3 , Figure 3 This is a flow chart of the software development method provided by the present invention. Figure 3 As shown, in this embodiment, the software development method is applicable to a software development base constructed using any of the above software development base construction methods. The software development method includes steps S310 to S320, each of which is specifically as follows:
[0068] S310: Select a target function module code from all function module codes in the radar host computer software code knowledge base.
[0069] S320: Based on the target function module code, build the host computer software of the target radar on the software development base.
[0070] Specifically, after completing the construction of the software development base (the software development base here is specifically the radar host computer software development base), the user can select the radar model of the target radar through the interactive interface of the radar host computer software development base by mouse clicks, text input, voice input, etc.
[0071] Furthermore, the radar host computer software development base determines the various business processes of the target radar according to the radar model of the target radar, and selects the target radar business events corresponding to each business process and the business processing units corresponding to each target radar business event based on all possible business processes. Then, based on each screened target radar business event and the business processing units corresponding to each target radar business event, the target function module codes corresponding to all target radar business events are selected from all function module codes in the radar host computer software code knowledge base.
[0072] Furthermore, all the selected target function module codes are combined and called, so as to build the host computer software of the target radar on the radar host computer software development base.
[0073] The software development method provided in this embodiment, after completing the construction of the radar host computer software development base, if the user wants to develop the host computer software for a specific model of radar, the radar host computer software development base can call the target functional module code corresponding to the universal radar business event to combine it into 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. This achieves a high degree of reuse of the functional module code, is conducive to realizing the automation of the software development process, and improves the development efficiency of the host computer software.
[0074] The present invention also provides a software operation monitoring method. Figure 4 , Figure 4 FIG. 1 is a flow chart of the software operation monitoring method provided by the present invention. Figure 4 As shown, in this embodiment, the software operation monitoring method is applied to the operation and maintenance management background, and the software operation monitoring method includes steps S410 to S440, each of which is specifically as follows:
[0075] S410: Obtain resource management strategies and monitoring data of the host computer software during operation.
[0076] The host computer software is the host computer software constructed by the above software development method.
[0077] It is understandable that in order to ensure the normal operation of the radar host computer software development base, before modeling and developing the host computer software, it is necessary to configure the development framework, operation and maintenance management background and business gateway required for software development, and provide the development environment required for the host computer software development and operation.
[0078] See also Figure 5 , Figure 5 It is a schematic diagram of the construction process of the software development base provided by the present invention.
[0079] like Figure 5 As shown in the figure, in the development framework of the radar host computer software development base, the Redis database is used as the memory database and the MySQL database is used as the hard disk database, thus completing the construction of the memory database and the hard disk database; MQ (Message Queue) is used as the message middleware; the Vue3 framework and the Element Plus UI framework are used as the development framework of the front-end components and interactive interface, and the back-end components use the SpringCloud microservice architecture to complete the construction of the front-end development environment and the back-end development environment; for the map required for the radar in the interactive interface, its display and operation are implemented using Cesium (an open source JavaScript library), and the radar's information statistics, chart display and other related functions are completed using Echarts (an open source JavaScript chart library).
[0080] Regarding the design of the business gateway for the radar host software development base, this embodiment uses Nacos as the microservice registration center and configuration center, and uses Spring Cloud Gateway to build the business gateway. At the same time, the basic services of the business gateway are developed on the Spring Boot framework.
[0081] The business gateway's workflow engine is Camunda, an open-source workflow and business process management platform. Its rule orchestration is implemented using Apache Flink (a computing engine that integrates stream and batch processing) and Apache Iceberg (an open-source table format for processing large-scale data sets). The business gateway's communication interface is implemented through secondary encapsulation of Netty (a high-performance asynchronous event-driven network programming framework). The encapsulated communication interface is simpler to use and more in line with business and actual needs.
[0082] Optionally, the radar host computer software development base uses Gitea (an open source lightweight Git service component that supports code hosting, version control, branch management and collaborative development) as a source code repository tool to set the libraries and frameworks that the project depends on. After the setting is completed, it is necessary to determine whether the setting is correct to ensure the normal callback application of the microservice and the normal operation of the codes of different functional modules.
[0083] The development environment of the radar host computer software development base is built based on tools such as Docker, Harbor, Gitea, Jenkin, SonarQube, and Kubernetes.
[0084] 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 radar host computer software development base can be built based on the modeling results.
[0085] Furthermore, after completing the construction of the radar host computer software development base, the development and operation process of the target radar host computer software is as follows: the user (usually a program developer) calls various functional module codes in the radar host computer software code knowledge base according to the radar model of the target radar locally and completes the development of the target radar host computer software. Then, he can write relevant configuration files; after the host computer software is self-tested locally and passes, the complete code of the host computer software is published to the designated branch on Gitea of the development environment; the submission of the code will trigger the WebHook mechanism (WebHook is a mechanism for triggering callback requests when an event occurs), because it has been in Jet when building the development environment. Jenkins (an open source tool) is configured with a WebHook mechanism and corresponding microservice calls and pipeline operations. 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 and analyze the code using SonarQube (an open source static code analysis tool). At the same time, it will 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 run a test.
[0086] It should be noted that the application of software-defined equipment technology in the radar control field requires the pooling of existing hardware resources, allowing the host computer software to access existing hardware resources as needed. However, in addition to existing hardware resources, the operation of the host computer software may also require the use of other resources, which may vary depending on the radar model. To this end, the radar host computer software development platform in this embodiment includes an operations and maintenance management backend that supports resource customization technology using the open source container orchestration platform Kubernetes (K8s).
[0087] Through resource customization technology, users can create the resource types required for the operation of the host computer software of different radar models, set the policy version number, effectiveness conditions (such as the effectiveness time window or resource threshold, etc.), configuration parameters (such as scaling rules), dependencies (such as associated services or cluster references, etc.) and resource management policies of the host computer software, and record the effectiveness status, version history and resource policy conflict detection results of the host computer software.
[0088] User-defined resource management policies enable the conversion of Custom Resource Definitions (CRDs) (resources defined using Kubernetes resource customization) into native Kubernetes resources. When existing resources are insufficient and capacity expansion is required, Kubernetes's Horizontal Pod Autoscaling (HPA) mechanism automatically scales custom metrics for CRD resources horizontally. Traffic management rules are integrated into the development of a service mesh policy generator, enabling ecosystem integration and resource management policy management.
[0089] In addition, Kubernetes supports cyclically triggered resource synchronization, which can make configuration take effect in seconds and retain all historical versions of CRD resources so that they can be rolled back when an exception occurs in the host computer software.
[0090] Specifically, during the operation of the upper 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 alarm engine) and Grafana (a data visualization and analysis platform) to monitor the Kubernetes cluster status, monitor and collect the resource management strategies and monitoring data of the upper computer software during operation, and display and summarize them.
[0091] S420: Based on the resource management policy, perform policy conflict detection using a semantic conflict detection algorithm to generate a policy conflict detection result.
[0092] Furthermore, a semantic conflict detection algorithm is used to perform policy conflict detection on the resource management policies of the host computer software during operation, and a policy conflict detection result is generated.
[0093] S430: If the policy conflict detection result is that a policy conflict exists, priority arbitration is performed, and a trend prediction model is called to obtain a resource trend prediction result based on the monitoring data.
[0094] Specifically, if the policy conflict detection result is that there is a policy conflict, priority arbitration is triggered and the trend prediction model is called. The trend prediction model can perform trend prediction on the resources occupied by the host computer software based on the monitoring data and generate resource trend prediction results.
[0095] Optionally, the trend prediction model is an LSTM (Long Short-Term Memory) model.
[0096] S440: Adjusting policy parameters of the resource management policy based on the resource trend prediction result.
[0097] Based on the resource trend prediction results, the policy parameters of the resource management strategy are adjusted to ensure the normal operation of the upper computer software.
[0098] The software operation monitoring method provided in this embodiment sets up an operation and maintenance management background in the radar host computer software development base, and realizes intelligent monitoring and feedback closed loop of the host computer software operation process through the operation and maintenance management background, which can ensure the normal operation process of the host computer software.
[0099] The present invention also provides a software development base construction device. Figure 6 , Figure 6 6. FIG. 6 is a schematic diagram of the structure 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 submodule 610, a code generation submodule 620 and a construction submodule 630.
[0100] The business modeling submodule 610 is configured to determine radar business events and resources corresponding to the radar business events in response to a software development base construction instruction.
[0101] Radar business events and resources are obtained based on the event-driven process chain model. Radar business events are used to characterize the business status of the radar, and resources include the input data and output data required to execute radar business events.
[0102] The code generation submodule 620 is used to obtain the function module code corresponding to the service processing unit based on radar service events and resources.
[0103] The construction submodule 630 is used to construct a radar host computer software code knowledge base based on the functional module code and generate a software development base.
[0104] 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 directly corresponds one-to-one to the radar business event, and the second business processing unit corresponds one-to-one to the functional extension event of the radar business event.
[0105] The code generation submodule 620 is used to generate a first functional module code corresponding to the first business processing unit based on the radar business events and resources corresponding to the first business processing unit; and generate a second functional module code corresponding to the second business processing unit through a large language model based on the function expansion event, the first functional module code, the radar business events and resources.
[0106] In some embodiments, radar service events include at least one of operating mode events, judgment logic events, search mode events, tracking mode events, control mode events, servo control strategy events, beam control strategy events, target reporting events, and communication strategy events.
[0107] The present invention also provides a software development device. Figure 7 , Figure 7 FIG. 7 is a schematic diagram of the structure of the software development device provided by the present invention. In this embodiment, the software development device includes a selection submodule 710 and a development submodule 720 .
[0108] The selection submodule 710 is used to select a target function module code from all function module codes in the radar host computer software code knowledge base.
[0109] The development submodule 720 is used to build the host computer software of the target radar on the software development base based on the target function module code.
[0110] The software development base is constructed using any of the above-mentioned software development base construction methods.
[0111] The present invention also provides a software operation monitoring device. Figure 8 , Figure 8 8 is a schematic diagram of the structure of the software operation monitoring device provided by the present invention. In this embodiment, the software operation monitoring device includes an acquisition submodule 810, a conflict detection submodule 820, a trend prediction submodule 830 and a parameter adjustment submodule 840.
[0112] The acquisition submodule 810 is used to obtain the resource management strategy and monitoring data of the host computer software during operation.
[0113] The host computer software is the host computer software constructed by the above-mentioned software development method.
[0114] The conflict detection submodule 820 is configured to perform policy conflict detection based on the resource management policy using a semantic conflict detection algorithm and generate a policy conflict detection result.
[0115] The trend prediction submodule 830 is configured to perform priority arbitration if the policy conflict detection result indicates that a policy conflict exists, and to call a trend prediction model to obtain a resource trend prediction result based on monitoring data.
[0116] The parameter adjustment submodule 840 is used to adjust the policy parameters of the resource management policy based on the resource trend prediction result.
[0117] The present invention also provides an electronic device. Figure 9 Schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930, and a communication bus 940, wherein the processor 910, the communication interface 920, and the memory 930 communicate with each other via the communication bus 940. The processor 910 may call logic instructions in the memory 930 to execute a software development base construction method, a software development method, or a software operation monitoring method.
[0118] Furthermore, the logic instructions in the aforementioned memory 930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0119] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements the software development base construction method, software development method, or software operation monitoring method provided by the above methods.
[0120] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0121] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0122] 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 it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for constructing a software development base, characterized in that: include: In response to a software development base construction instruction, determining a radar service event and a resource corresponding to the radar service event; The radar service event and the resource are obtained by modeling the service logic of the radar host computer software based on an event-driven process chain model. The modeling result of the event-driven process chain model is a process chain consisting of an event service set, a resource set, and a service processing unit set. The event service set includes the radar service event, the resource set includes the resources corresponding to the radar service event, the radar service event is used to characterize the service status of the radar, and the resources include the input data and output data required to execute the radar service event. Based on the radar service event and the resource, obtaining a function module code corresponding to a service processing unit; the service processing unit set includes the service processing unit corresponding to the radar service event; Based on the functional module code, a radar host computer software code knowledge base is constructed to generate a software development base; 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 has a direct one-to-one correspondence with the radar business event, and the second business processing unit has a one-to-one correspondence with the function extension event of the radar business event; The acquiring, based on the radar service event and the resource, a function module code corresponding to a service processing unit, includes: generating a first function module code corresponding to the first service processing unit based on the radar service event and the resource corresponding to the first service processing unit; Generate a second function module code corresponding to the second service processing unit through a large language model according to the function expansion event, the first function module code, the radar service event and the resource; 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 control mode event, a servo control strategy event, a beam control strategy event, a target reporting event, and a communication strategy event.
2. A software development method, characterized in that: A software development base constructed using the software development base construction method according to claim 1, comprising: Select the target function module code from all function module codes in the radar host computer software code knowledge base; Based on the target function module code, the host computer software of the target radar is constructed on the software development base.
3. A software operation monitoring method, characterized in that: include: Obtaining resource management strategies and monitoring data of the host computer software during operation; the host computer software is the host computer software constructed by the software development method according to claim 2; Based on the resource management policy, performing policy conflict detection using a semantic conflict detection algorithm to generate a policy conflict detection result; If the policy conflict detection result is that there is a policy conflict, priority arbitration is performed, and a trend prediction model is called to obtain a resource trend prediction result based on the monitoring data; Based on the resource trend prediction result, the policy parameters of the resource management policy are adjusted.
4. A software development base construction device, characterized in that: include: A business modeling submodule, configured to determine a radar business event and a resource corresponding to the radar business event in response to a software development base construction instruction; The radar service event and the resource are obtained by modeling the service logic of the radar host computer software based on an event-driven process chain model. The modeling result of the event-driven process chain model is a process chain consisting of an event service set, a resource set, and a service processing unit set. The event service set includes the radar service event, the resource set includes the resources corresponding to the radar service event, the radar service event is used to characterize the service status of the radar, and the resources include the input data and output data required to execute the radar service event. A code generation submodule, configured to obtain a function module code corresponding to a service processing unit based on the radar service event and the resource; The service processing unit set includes the service processing unit corresponding to the radar service event; A construction submodule is used to construct a radar host computer software code knowledge base based on the functional module code and generate a software development base; The business processing unit includes a first business processing unit and a second business processing unit, the second business processing unit being an extended business processing unit corresponding to the first business processing unit, the first business processing unit having a direct one-to-one correspondence with the radar business event, and the second business processing unit having a one-to-one correspondence with a functional extension event of the radar business event; the code generation submodule being configured to generate a first functional module code corresponding to the first business processing unit based on the radar business event corresponding to the first business processing unit and the resource; Generate a second function module code corresponding to the second service processing unit through a large language model according to the function expansion event, the first function module code, the radar service event and the resource; 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 control mode event, a servo control strategy event, a beam control strategy event, a target reporting event, and a communication strategy event.
5. A software development device, characterized in that: include: A selection submodule is used to select a target function module code from all function module codes in the radar host computer software code knowledge base; A development submodule, configured to construct the host computer software of the target radar on a software development base based on the target function module code; Wherein, the software development base is constructed using the software development base construction device described in claim 4.
6. A software operation monitoring device, characterized in that: include: An acquisition submodule for acquiring resource management strategies and monitoring data of the host computer software during operation; the host computer software is the host computer software constructed by the software development device according to claim 5; A conflict detection submodule, configured to perform policy conflict detection based on the resource management policy using a semantic conflict detection algorithm and generate a policy conflict detection result; A trend prediction submodule is configured to perform priority arbitration if the policy conflict detection result indicates that a policy conflict exists, and to call a trend prediction model to obtain a resource trend prediction result based on the monitoring data; The parameter adjustment submodule is used to adjust the policy parameters of the resource management policy based on the resource trend prediction result.
7. An electronic device comprising a memory, a processor, and a computer program stored in 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 described in claim 1, or implements the software development method described in claim 2, or implements the software operation monitoring method described in claim 3.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the software development base construction method described in claim 1, or implements the software development method described in claim 2, or implements the software operation monitoring method described in claim 3.
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