Command information system service visualization development method and device
Through the command information system software development template and service visual secondary development tool, the XML configuration files are generated and configured, which solves the problems of high cost and low efficiency in the command information system development process, and achieves rapid and efficient development and problem positioning.
Patent Information
- Application Number
- CN202411903681.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2044-12-23
AI Technical Summary
The existing command information system has problems such as high development costs, low development efficiency and difficulty in positioning during the development process, especially in the case of high demand uncertainty and time-consuming.
XML configuration files are generated by commanding the information system software development template, and the XML configuration files are configured using service visual secondary development tools, information processing derivative classes are generated and distributed through the information sending and receiving center to realize the generation and processing of information flow.
The development process is optimized, a fast and efficient development process is achieved, the project cycle is shortened, the development efficiency is improved, and the software operation problems can be quickly positioned and solved, the development costs are reduced and the efficiency of developers is improved.
Smart Images

Figure CN119902753A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software development technology, and in particular to a command information system service visualization development method and device. Background Art
[0002] The command information system has become an important part of the current overall management, providing strong technical support for command management. With the continuous advancement of information modernization, the management department, as the main user of the command information system, often has highly dynamic and uncertain needs. In terms of development management, the needs need to reduce development costs, improve development efficiency, facilitate rapid problem location, and reduce security resource investment.
[0003] The command information system decouples business services by using message middleware and client plug-ins. By developing different functional modules independently, it can achieve flexible configuration and rapid iteration of functions. At the same time, it can select corresponding plug-ins for integration according to different tasks to meet personalized business needs. Although different services in the command information system differ in functions and application scenarios, their service business needs often have certain similarities and all need to have basic functions such as information collection, processing, analysis, storage and display.
[0004] However, the use of modular and componentized development methods can improve development efficiency to a certain extent, but the developers of each functional module are different. Each service development must start from scratch. When the uncertainty of demand is high and the development time is short, not only will the development cost investment increase, but the technical level of developers will also be high. As one of the important tools for military combat command, the command information system has very high security requirements. Once the system fails or data errors occur, it will directly affect the efficiency and accuracy of combat command. In the actual operation process, there is often a slow problem location. This may be due to the complex system structure, large amount of data, and difficulty in determining the fault point.
[0005] In view of this, how to provide a command information system service visualization development method, optimize the development process, quickly locate and solve problems that arise during software operation, reduce development costs, and improve development efficiency has become a technical problem that needs to be solved urgently. Summary of the invention
[0006] The embodiments of the present application provide a command information system service visualization development method, a command information system service visualization development device, an electronic device and a computer storage medium, which are used to solve the problem of how to optimize the development process, quickly locate and solve problems that arise during software operation, reduce development costs and improve development efficiency.
[0007] In a first aspect of an embodiment of the present application, a command information system service visualization development method is provided, comprising:
[0008] Generate an XML configuration file through a command information system software development template, wherein each information processing node is abstracted in the XML configuration file, and the XML configuration file supports dynamic loading and updating;
[0009] Using a service visualization secondary development tool to configure the XML configuration file to generate XML file information, wherein the XML file information carries a service ID, an information processing derived class, and an information flow processing entry;
[0010] The XML file information is read by the templated integrated processing unit in the command information system software development template, and based on the XML configuration information, an information processing derived class is generated by inheriting the basic message processing class, wherein the XML configuration information is stored in an information transceiver center, and the information transceiver center maintains a message queue, which is responsible for receiving the XML configuration information and distributing the XML configuration information to each information processing derived subclass;
[0011] The information processing derived subclasses in the information processing derived class process messages of a specific type to generate an information flow.
[0012] In a second aspect of an embodiment of the present application, a command information system service visualization development device is provided, comprising:
[0013] A first generating module is configured to generate an XML configuration file through a command information system software development template, wherein each information processing node is abstracted in the XML configuration file, and the XML configuration file supports dynamic loading and updating;
[0014] The second generation module is configured to use a service visualization secondary development tool to configure the XML configuration file to generate XML file information, wherein the XML file information carries a service ID, an information processing derived class, and an information flow processing entry;
[0015] The third generation module is configured to read the XML file information through the templated integrated processing unit in the command information system software development template, and generate an information processing derived class based on the XML configuration information by inheriting the basic message processing class, wherein the XML configuration information is stored in an information transceiver center, and the information transceiver center maintains a message queue responsible for receiving the XML configuration information and distributing the XML configuration information to each information processing derived subclass;
[0016] The fourth generating module is configured to process a specific type of message through each information processing derived subclass in the information processing derived class to generate an information flow.
[0017] In a third aspect of an embodiment of the present application, a computing device is provided, including:
[0018] Memory and processor;
[0019] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned command information system service visualization development method are implemented.
[0020] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned command information system service visualization development method are implemented.
[0021] The present application provides a command information system service visualization development method, comprising: first, generating an XML configuration file through a command information system software development template, wherein each information processing node is abstracted in the XML configuration file, and the XML configuration file supports dynamic loading and updating; then, using a service visualization secondary development tool, configuring the XML configuration file to generate XML file information, wherein the XML file information carries a service ID, an information processing derived class, and an information flow processing entry; secondly, reading the XML file information through a templated integrated processing unit in the command information system software development template, and based on the XML configuration information, generating an information processing derived class by inheriting a basic message processing class, wherein the XML configuration information is stored in an information transceiver center, and the information transceiver center maintains a message queue, which is responsible for receiving the XML configuration information and distributing the XML configuration information to each information processing derived subclass; finally, processing a specific type of message through each information processing derived subclass in the information processing derived class to generate an information flow.
[0022] The command information system service visualization development method provided by the embodiment of the present application has the following effects: a fast and efficient development process is achieved through service templating; the development process is optimized, the project cycle is shortened, and the development efficiency is improved; through the intuitive information flow display, we can quickly locate and solve problems; standardized frameworks and tools enable new developers to quickly integrate into the project while reducing the skill requirements for developers; more people can be involved in the project, and the development cost can be reduced and the development efficiency can be improved by optimizing the development process and reducing personnel costs.
[0023] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, which can be implemented in accordance with the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0025] Figure 1 A flowchart of a command information system service visualization development method provided in an embodiment of the present application;
[0026] Figure 2 A schematic diagram of a template development process in a command information system service visualization development method provided in an embodiment of the present application;
[0027] Figure 3 A functional flow diagram of service visualization in a command information system service visualization development method provided in an embodiment of the present application;
[0028] Figure 4 A functional flow configuration diagram in a command information system service visualization development method provided in an embodiment of the present application;
[0029] Figure 5 A schematic diagram of the structure of a command information system service visualization development device provided in an embodiment of the present application;
[0030] Figure 6 A structural block diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0032] See also Figure 1 , Figure 1 A flowchart of a command information system service visualization development method provided in an embodiment of the present application. Figure 1 As shown, the specific steps include the following steps.
[0033] Step S102: Generate an XML configuration file through the command information system software development template, wherein each information processing node is abstracted in the XML configuration file, and the XML configuration file supports dynamic loading and updating;
[0034] Step S104: using a service visualization secondary development tool to configure the XML configuration file to generate XML file information, wherein the XML file information carries a service ID, an information processing derived class, and an information flow processing entry;
[0035] Step S106: reading the XML file information through the templated integrated processing unit in the command information system software development template, and generating an information processing derived class based on the XML configuration information by inheriting the basic message processing class, wherein the XML configuration information is stored in the information transceiver center, and the information transceiver center maintains a message queue, which is responsible for receiving the XML configuration information and distributing the XML configuration information to each information processing derived subclass;
[0036] Step S108: Processing a specific type of message through each information processing derived subclass in the information processing derived class to generate an information flow.
[0037] In an embodiment of the present application, the service visualization secondary development tool is used to configure the XML configuration file and generate XML file information, including: configuring a database connection address and connecting to a database based on the database connection address; when the database connection is successful, the service visualization secondary development tool is used to create a service and generate a project file; in response to the service having been created, the original service is imported into the project file, and the functional process configuration is adjusted to generate a complete information flow, wherein the information flow includes a complete information flow from receiving information, processing information to sending information.
[0038] When the database connection is successful, the service is created using the service visualization secondary development tool, and after the project file is generated, it also includes: in response to the service not being created, a new service is created, and an information processing class corresponding to the service is created, and it is configured through the service visualization tool to inherit the information processing basic interface of the command information system software development template; multiple functional processes are added to each of the information processing classes, and a complete information flow is generated by configuring the functional processes, wherein the information flow includes a complete information flow from receiving information, processing information to sending information.
[0039] In an embodiment of the present application, after the complete information flow is generated, it includes: determining whether the information flow needs to continue the configuration process; if the information flow does not need to continue the configuration process, determining whether the information flow needs to continue to add information processing classes; if the information flow does not need to continue to add information processing classes, saving the information flow and exporting the corresponding XML configuration file to the service directory corresponding to the service; when the service is started, reading the configuration file corresponding to the information flow, and performing debugging and modification.
[0040] In an embodiment of the present application, the specific type of message is processed by each information processing derived subclass in the information processing derived class to generate an information flow, which includes: using multi-threading to process the information flow and using a thread pool to manage each thread, wherein the size of the thread pool is dynamically adjusted according to configuration requirements or actual needs.
[0041] The purpose of the embodiment of the present application is to propose a command information system service visualization development method, which can optimize the development process, quickly locate and solve problems that occur during software operation, reduce development costs, and improve development efficiency. The optimization process of this method is as follows:
[0042] (1) Command information system software development template.
[0043] By building a set of standardized command information system software development templates, we can quickly generate programs that meet basic functions and can be developed secondary. Figure 2 ,in, Figure 2 A schematic diagram of a template development process in a command information system service visualization development method provided in an embodiment of the present application.
[0044] When designing the information system service development template, the information processing nodes are abstracted and configured in the XML file. This template allows developers to configure different information processing flows by modifying the XML file without modifying the program code itself. The following is a template framework design based on object-oriented programming (OOP) and concurrent programming ideas:
[0045] 1) Generate XML configuration files through command information system software development template;
[0046] 2) Use XML configuration files to manage the configuration information of different information flows, such as data source, destination address, processing rules, etc.;
[0047] 3) The configuration file supports dynamic loading and updating, so that the information flow configuration can be adjusted without modifying the code;
[0048] 4) Design a basic message processing class, including the basic methods and interfaces for processing messages;
[0049] 5) By inheriting this base class, create different subclasses to handle specific types of messages;
[0050] 6) Establish a unified information sending and receiving center, maintain a message queue, and be responsible for receiving external information and distributing it to the corresponding processing class;
[0051] 7) After the information processing is completed, the sending and receiving center is responsible for sending the results back to the external system or storing them;
[0052] 8) To improve processing efficiency, use multiple threads or multiple processes to process multiple information flows. Use thread pools to manage multiple threads;
[0053] 9) Each type of message processing task can be assigned to an independent thread or process, and the size of the thread pool can be dynamically adjusted according to configuration or actual needs;
[0054] 10) Assign a unique identifier to each piece of information to ensure uniqueness during processing and transmission;
[0055] 11) Develop a set of unified and standard software process specifications, including code writing specifications, interface definition specifications, data processing specifications, etc. Ensure that these specifications are strictly implemented in the actual development process.
[0056] (2) Service visualization rapid development tool.
[0057] Based on the service development template, use the service visualization rapid development tool for secondary development. The tool can configure the service name, the classes included in the service, the functional flow implemented in each class, the information flow in each functional flow, and complete the closed loop. For specific steps, please refer to Figure 3 ,in, Figure 3 A functional flow diagram of service visualization in a command information system service visualization development method provided in an embodiment of the present application, specifically including the following steps.
[0058] 1) Configure the database connection address and connect to the database to ensure a successful connection;
[0059] 2) Based on the command information system service development template, use the service visualization rapid development tool to create services and generate project files, and use the service visualization rapid development tool to create the corresponding XML configuration file;
[0060] 3) If the service has been created, import the service and make necessary configuration adjustments;
[0061] 4) Create a specific information processing class, configure it through the service visualization tool to inherit the basic information processing interface of the template, and implement specific logic according to the business;
[0062] 5) Multiple functional processes can be added to each information processing class. By configuring the functional processes, each functional process forms a complete information flow from receiving information, processing information to sending information;
[0063] 6) After the configuration is completed, save and export it to the corresponding directory of the service;
[0064] 7) Read these configurations when the service starts and make debugging modifications.
[0065] The complete closed loop of each functional information flow includes a starting node, a receiving node, a data processing node, a sending node and an ending node, wherein the starting node and the ending node are mandatory, and the receiving node, the data processing node and the sending node are optional.
[0066] Developers can use this tool to perform detailed processing on each piece of information and complete secondary development at the same time.
[0067] In order to completely close the information flow in each process, the start node and the end node are set. The start node indicates the source of the message under the functional process, and the end node indicates the destination of the information under the functional process.
[0068] Message processing nodes are divided into three types, namely information receiving processing nodes, database operation processing nodes, and information sending processing nodes; message types are divided into three types, namely front-end and back-end interaction channels, service interaction channels, and internal interaction channels.
[0069] join Figure 4 ,in, Figure 4 This is a functional flow configuration diagram in a command information system service visualization development method provided in an embodiment of the present application. Figure 4 As shown, the red arrow indicates the front-end and back-end interaction, the orange arrow indicates the service interaction, and the blue arrow indicates the internal interaction; the orange circle indicates the information receiving processing node, the blue circle indicates the database operation processing node, and the red circle indicates the information sending processing node.
[0070] It should be noted that the information receiving processing node carries the node number, receiving data format, receiving data format name and node function; the database operation processing node carries the node number, receiving data format, receiving data format name, Sql operation and node function; the information sending processing node carries the node number, receiving data format, receiving data format name and node function.
[0071] The client initialization function process specifically includes the following steps.
[0072] 1) Add a source node and configure it to represent the information sent by the client to the server. The message type ID is "MSG_FROM_CLENT" and the message type name is "Client Initialization Interface".
[0073] 2) Add a receiving node, establish a connection between the source and the receiving node, and receive an initialization message from the client through the front-end and back-end interaction channel. When establishing a connection between the source and the receiving node, the message type is "MSG_FROM_CLENT"; the channel type is "front-end and back-end interaction"; and the receiving mode is "synchronous or asynchronous".
[0074] 3) Add a data processing node, and after receiving the information, transmit the message content to the data processing node through the internal channel.
[0075] 4) The data processing node operates the database, queries the initialization data and verifies it, and automatically converts the verified initialization information into an information format that meets the requirements of the internal communication mechanism.
[0076] 5) Add a sending node and establish a connection with the data processing node, and transmit the initialization information to the sending node through the internal interaction channel.
[0077] 6) Configure the message type and other related parameters on the sending node, and transmit the information back to the client through the front-end and back-end interaction channel. The information types of internal interactions are automatically generated by the tool. When the information is transmitted back to the client through the front-end and back-end interaction channel, three messages are returned. The message types are "MSG_SEND_CLENT_1", "MSG_SEND_CLENT_2" and "MSG_SEND_CLENT_3" respectively; the channel type is "front-end and back-end interaction".
[0078] 7) The client receives the initialization information and displays it successfully on the interface. At this time, the message type IDs of the client and the sink are "MSG_SEND_CLENT_1" respectively. 、 "MSG_SEND_CLENT_2", "MSG_SEND_CLENT_3".
[0079] (3) Customized expansion of process processing nodes.
[0080] Our tool design is highly flexible for the development of each process processing node, and can define and expand process nodes and process connections according to the specific needs of the project.
[0081] 1) The process node can customize the configuration information node's message type, channel type, and other processing, database scripts, etc.
[0082] 2) The connection between information processing nodes represents the process of information flowing to the next processing node. Information processing can be performed during this process, and the tool provides code writing functions.
[0083] 3) The attributes of the information processing nodes can be changed and configured according to different businesses, and the information flow can be further processed.
[0084] This application proposes a command information system service visualization rapid development method. Through predefined service development templates, developers can quickly build a service framework without writing code from scratch, which not only greatly improves development efficiency, but also ensures the consistency and maintainability of the service architecture. By using a service visualization development tool, you can not only intuitively see the flow path and processing process of information in the system, but also use the tool to process information, which helps developers better understand the system logic, discover potential problems, and perform targeted optimization. In order to meet the needs of different business scenarios, the tool allows developers to customize and expand each node in the process, whether it is adding new processing logic or replacing existing processing operations, it can be easily achieved.
[0085] The command information system service visualization development method provided by the embodiment of the present application has the following effects: a fast and efficient development process is achieved through service templating; the development process is optimized, the project cycle is shortened, and the development efficiency is improved; through the intuitive information flow display, we can quickly locate and solve problems; standardized frameworks and tools enable new developers to quickly integrate into the project while reducing the skill requirements for developers; more people can be involved in the project, and the development cost can be reduced and the development efficiency can be improved by optimizing the development process and reducing personnel costs.
[0086] Corresponding to the above method embodiment, this specification also provides a command information system service visualization development device embodiment, Figure 5 This is a schematic diagram of the structure of a command information system service visualization development device provided in an embodiment of the present application. Figure 5 As shown, the device comprises:
[0087] The first generating module 502 is configured to generate an XML configuration file through a command information system software development template, wherein each information processing node is abstracted in the XML configuration file, and the XML configuration file supports dynamic loading and updating;
[0088] The second generation module 504 is configured to use a service visualization secondary development tool to configure the XML configuration file to generate XML file information, wherein the XML file information carries a service ID, an information processing derived class, and an information flow processing entry;
[0089] The third generation module 506 is configured to read the XML file information through the template integrated processing unit in the command information system software development template, and establish a basic message processing class based on the XML configuration information, wherein the XML configuration information is stored in an information transceiver center, and the information transceiver center maintains a message queue responsible for receiving the XML configuration information and distributing the XML configuration information to each information processing derived subclass;
[0090] The fourth generation module 508 is configured to generate an information processing derived class by inheriting the basic message processing class, and process a specific type of message through each information processing derived subclass in the information processing derived class in combination with the XML configuration information to generate an information flow.
[0091] In an optional embodiment, the second generating module 504 is further configured to:
[0092] Configure a database connection address, and connect to a database based on the database connection address;
[0093] When the database connection is successful, use the service visualization secondary development tool to create the service and generate the project file;
[0094] In response to the service having been created, the original service is imported into the project file, and the functional flow configuration is adjusted to generate a complete information flow, wherein the information flow includes a complete information flow from receiving information, processing information to sending information.
[0095] In an optional embodiment, the second generating module 504 is further configured to:
[0096] In response to the service not being created, a new service is created, and an information processing class corresponding to the service is created, and the information processing basic interface of the command information system software development template is inherited through the configuration of the service visualization tool;
[0097] Add multiple functional processes in each of the information processing classes, and generate a complete information process by configuring the functional processes, wherein the information process includes a complete information process from receiving information, processing information to sending information.
[0098] In an optional embodiment, the second generating module 504 is further configured to:
[0099] Determine whether the information flow needs to continue the configuration process;
[0100] In the case that the information flow does not need to continue the configuration process, determining whether the information flow needs to continue adding information processing classes;
[0101] If the information flow does not need to continue adding information processing classes, save the information flow and export the corresponding XML configuration file to the service directory corresponding to the service;
[0102] When the service is started, the configuration file corresponding to the information flow is read and debugged and modified.
[0103] In an optional embodiment, the fourth generating module 508 is configured to:
[0104] The information flow is processed by multithreading, and each thread is managed by a thread pool, wherein the size of the thread pool is dynamically adjusted according to configuration requirements or actual requirements.
[0105] In an optional embodiment, the device further includes:
[0106] The allocation module is configured to allocate a corresponding identifier to each of the information flows.
[0107] The command information system service visualization development device provided by the embodiment of the present application has the following effects: a fast and efficient development process is achieved through service templating; the development process is optimized, the project cycle is shortened, and the development efficiency is improved; through the intuitive information flow display, we can quickly locate and solve problems; standardized frameworks and tools enable new developers to quickly integrate into the project while reducing the skill requirements for developers; more people can be involved in the project, and the development cost can be reduced and the development efficiency can be improved by optimizing the development process and reducing personnel costs.
[0108] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the command information system service visualization development device, since it is basically similar to the command information system service visualization development method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the command information system service visualization development method embodiment.
[0109] Figure 6 This is a block diagram of a computing device provided in an embodiment of the present application. The components of the computing device 600 include but are not limited to a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and the database 650 is used to store data.
[0110] The computing device 600 also includes an access device 640, which enables the computing device 600 to communicate via one or more networks 660. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 640 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).
[0111] In one embodiment of the present specification, the above components of the computing device 600 and Figure 6 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 6 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
[0112] The computing device 600 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 600 may also be a mobile or stationary server.
[0113] Among them, the processor 620 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the above-mentioned command information system service visualization development method.
[0114] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the computing device embodiment, since it is basically similar to the command information system service visualization development method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the command information system service visualization development method embodiment.
[0115] An embodiment of the present specification also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned command information system service visualization development method.
[0116] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the computer-readable storage medium embodiment, since it is basically similar to the command information system service visualization development method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the command information system service visualization development method embodiment.
[0117] An embodiment of the present specification also provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned command information system service visualization development method.
[0118] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the computer program embodiment, since it is basically similar to the command information system service visualization development method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the command information system service visualization development method embodiment.
[0119] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0120] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0121] It should be noted that the above is a description of a specific embodiment of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of the present specification.
[0122] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0123] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.
Claims
1. A command information system service visualization development method, characterized in that: include: Generate an XML configuration file through a command information system software development template, wherein each information processing node is abstracted in the XML configuration file, and the XML configuration file supports dynamic loading and updating; Using a service visualization secondary development tool to configure the XML configuration file to generate XML file information, wherein the XML file information carries a service ID, an information processing derived class, and an information flow processing entry; The XML file information is read by the templated integrated processing unit in the command information system software development template, and an information processing derived class is generated by inheriting the basic message processing class, wherein the XML configuration information is stored in an information transceiver center, and the information transceiver center maintains a message queue, which is responsible for receiving the XML configuration information and distributing the XML configuration information to each information processing derived subclass; The information processing derived subclasses in the information processing derived class process messages of a specific type to generate an information flow.
2. The method according to claim 1, characterized in that The service visualization secondary development tool is used to configure the XML configuration file to generate XML file information, including: Configure a database connection address, and connect to a database based on the database connection address; When the database connection is successful, use the service visualization secondary development tool to create the service and generate the project file; In response to the service having been created, the original service is imported into the project file, and the functional flow configuration is adjusted to generate a complete information flow, wherein the information flow includes a complete information flow from receiving information, processing information to sending information.
3. The method according to claim 2, characterized in that In the case where the database connection is successful, the service visualization secondary development tool is used to create the service and generate the project file, and the following is also included: In response to the service not being created, a new service is created, and an information processing class corresponding to the service is created, and the information processing basic interface of the command information system software development template is inherited through the configuration of the service visualization tool; Add multiple functional processes in each of the information processing classes, and generate a complete information process by configuring the functional processes, wherein the information process includes a complete information process from receiving information, processing information to sending information.
4. The method according to any one of claims 2 or 3, characterized in that: After the complete information flow is generated, it includes: Determine whether the information flow needs to continue the configuration process; In the case that the information flow does not need to continue the configuration process, determining whether the information flow needs to continue adding information processing classes; If the information flow does not need to continue adding information processing classes, save the information flow and export the corresponding XML configuration file to the service directory corresponding to the service; When the service is started, the configuration file corresponding to the information flow is read and debugged and modified.
5. The method according to claim 1, characterized in that The processing of a specific type of message by each information processing derived subclass in the information processing derived class to generate an information flow includes: The information flow is processed by multithreading, and each thread is managed by a thread pool, wherein the size of the thread pool is dynamically adjusted according to configuration requirements or actual requirements.
6. The method according to any one of claims 1 to 5, characterized in that: The method comprises: A corresponding identifier is assigned to each of the information flows.
7. A command information system service visualization development device, characterized in that: include: A first generating module is configured to generate an XML configuration file through a command information system software development template, wherein each information processing node is abstracted in the XML configuration file, and the XML configuration file supports dynamic loading and updating; The second generation module is configured to use a service visualization secondary development tool to configure the XML configuration file to generate XML file information, wherein the XML file information carries a service ID, an information processing derived class, and an information flow processing entry; The third generation module is configured to read the XML file information through the templated integrated processing unit in the command information system software development template, and generate an information processing derived class based on the XML configuration information by inheriting the basic message processing class, wherein the XML configuration information is stored in an information transceiver center, and the information transceiver center maintains a message queue responsible for receiving the XML configuration information and distributing the XML configuration information to each information processing derived subclass; The fourth generating module is configured to process a specific type of message through each information processing derived subclass in the information processing derived class to generate an information flow.
8. A computer device, characterized in that: include: at least one processor; as well as a memory in communication with the at least one processor; The memory stores computer instructions that can be executed by the at least one processor, and the at least one processor operates the computer instructions to execute the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an implementation program for information transmission, and when the program is executed by a processor, the steps of the method as claimed in claim 7 are implemented.
Citation Information
Patent Citations
Data processing method and device and storage medium
CN110245110A
Data processing method and device
CN112148353A
Task flow generation method and device, equipment and storage medium thereof
CN119002912A
Workflow assembly tool and workflow model for runtime execution
US11435871B1
Decentralized software development environment for function-based executable applications
US20240020100A1