A command information system service visual development method and device

Through the command information system software development template and service visualization tools, XML configuration files and information flow processing are generated, which solves the problems of high cost and low efficiency of command information system development, and realizes rapid problem location and cost reduction.

CN119902753BActive Publication Date: 2025-10-10NO 15 INST OF CHINA ELECTRONICS TECH GRP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411903681.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-10-10
Estimated Expiration
2044-12-23

AI Technical Summary

Technical Problem

The development cost of existing command information systems is high, the efficiency is low, and problem location is difficult. Especially under highly dynamic demands, system failures affect the efficiency and accuracy of combat command.

Method used

Use the command information system software development template to generate XML configuration files, configure information flows through service visualization secondary development tools, and use the information transceiver center and information processing derived classes to generate information flows. Dynamic loading and updating are supported to achieve templated development and information flow processing.

Benefits of technology

Optimize the development process, quickly locate problems, reduce development costs, improve development efficiency, reduce developer skill requirements, and shorten project cycles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902753B_ABST
    Figure CN119902753B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of software development, in particular to a command information system service visual development method, which comprises the following steps: generating an XML configuration file through a command information system software development template; configuring the XML configuration file by using a service visual secondary development tool to generate XML file information; reading the XML file information through a templateized comprehensive processing unit in the command information system software development template, and generating an information processing derived class by inheriting a basic message processing class based on the XML configuration information; and processing a specific type of message through each information processing derived subclass in the information processing derived class to generate an information flow. By using the method, a quick and efficient development process can be realized through service templating; the development process is optimized, the project cycle is shortened, and the development efficiency is improved; and quick positioning and problem solving can be realized through intuitive information flow display.
Need to check novelty before this filing date? Find Prior Art

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] Command information systems have become a crucial component of current coordinated management, providing strong technical support for command and management. With the continuous advancement of information modernization, management departments, as the primary users of command information systems, often face highly dynamic and uncertain needs. Development management demands include reducing development costs, improving development efficiency, facilitating rapid problem location, and reducing resource investment.

[0003] The command information system decouples business services through the use of message-based middleware and client plug-ins. By independently developing different functional modules, this allows for flexible configuration and rapid iteration. Furthermore, plug-ins can be integrated based on specific tasks to meet personalized business needs. Although different services in the command information system differ in functionality and application scenarios, their service business requirements often share similarities, requiring basic functions such as information collection, processing, analysis, storage, and presentation.

[0004] While modular and component-based development can improve development efficiency to a certain extent, each functional module requires a different developer, and each service must be developed from scratch. When demand uncertainty is high and development time is short, not only does this increase development costs, but it also places high demands on the developer's technical proficiency. As a crucial tool for military combat command, command information systems (CISs) require extremely high security. System failures or data errors directly impact the efficiency and accuracy of combat command. In actual operation, problem location is often slow. This can be due to complex system structures, large data volumes, and difficulty identifying 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 urgently needs to be solved. 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 a 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 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 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] The first generation module is configured to generate an XML configuration file using 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] a third generation module configured to read the XML file information through a 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 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 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. 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 generating an information processing derived class based on the XML configuration information 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 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 application of the command information system service visualization development method provided in the embodiment of the present application has the following effects: through service templates, a fast and efficient development process is achieved; the development process is optimized, the project cycle is shortened, and development efficiency is improved; through 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; enabling more people to participate in the project, and reducing development costs and improving development efficiency by optimizing development processes 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 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 skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present application. The same reference symbols are used throughout the drawings to represent the same components. In the 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 of 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] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although 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. Rather, 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 This is a flow chart of a command information system service visualization development method provided in the embodiment of this application. Figure 1 As shown, the specific steps include the following steps.

[0033] Step S102: Generate an XML configuration file using 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: 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 the 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;

[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 the database connection address and connecting to the database based on the database connection address; when the database connection is successful, the service visualization secondary development tool is used to create the 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 process is generated by configuring the functional processes, wherein the information process includes a complete information process 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: judging whether the information flow needs to continue the configuration process; if the information flow does not need to continue the configuration process, judging 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 multiple threads 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 this application is to propose a command information system service visualization development method that can optimize the development process, quickly locate and solve problems that arise 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 the template development process in a command information system service visualization development method provided in an embodiment of the present application.

[0044] When designing an information system service development template, information processing nodes are abstracted and configured in XML files. This template allows developers to configure different information processing flows by modifying the XML files without modifying the program code itself. The following is a template framework design based on object-oriented programming (OOP) and concurrent programming concepts:

[0045] 1) Generate XML configuration files using the 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) Configuration files support dynamic loading and updating, so that information flow configuration can be adjusted without modifying the code;

[0048] 4) Design a basic message processing class, including 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 streams. Use a thread pool 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 unified, standardized set of software process specifications, including code writing specifications, interface definition specifications, data processing specifications, etc., and ensure that these specifications are strictly enforced during 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 This is 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, it includes 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 template's basic information processing interface, and implement specific logic based on 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 perform 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 complete the closed loop of the information flow in each process, a start node and an 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: information receiving processing nodes, database operation processing nodes, and information sending processing nodes; message types are divided into three types: 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 the 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 performs database operations, queries and verifies the initialization data, 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. Among them, 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 message and displays it successfully on the interface. At this point, 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 message type, channel type and other processing, database scripts, etc.

[0082] 2) Information processing node interconnection represents information in the process of flowing to the next processing node, in which information processing can be carried out, and the tool provides code writing function.

[0083] 3) The attribute of the information processing node can be changed and configured according to different businesses, and the information flow can be further processed.

[0084] The application provides a command information system service visual rapid development method. Through a pre-defined service development template, a developer quickly builds a service framework without writing codes from scratch, which greatly improves the development efficiency and ensures the consistency and maintainability of the service architecture. Through the use of the service visual development tool, the flow path and processing process of information in the system can be directly observed, and the tool can also be used to process information, which helps the developer better understand the system logic, find potential problems, and make targeted optimization. In order to meet the needs of different business scenarios, the tool allows the developer to customize and expand each node in the process, whether it is to add new processing logic or to replace existing processing operations, which can be easily realized.

[0085] The command information system service visual development method provided by the application has the following effects: through service templating, a rapid and efficient development process is realized; the development process is optimized, the project cycle is shortened, and the development efficiency is improved; through intuitive information flow display, problems can be quickly located and solved; the standardized framework and tool enable new developers to quickly integrate into the project, while reducing the skill requirements for developers; more people can participate in the project, and the development cost is reduced and the development efficiency is improved through the optimization of the development process and the reduction of personnel cost.

[0086] Corresponding to the above method embodiment, the specification also provides a command information system service visual development device embodiment, Figure 5 A structural diagram of a command information system service visual development device provided by the application embodiment is shown in the figure. Figure 5 As shown in the figure, the device comprises:

[0087] A first generation 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] A second generation module 504 is configured to configure the XML configuration file by using a service visual secondary development tool to generate XML file information, wherein the XML file information carries a service ID, an information processing derived class and an information flow processing item;

[0089] The third generation module 506 is configured to read the XML file information through the templated 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 specific types of messages 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] Configuring a database connection address, and connecting 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 being 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.

[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, configured through a service visualization tool, and inherits the information processing basic interface of the command information system software development template;

[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] If the information flow does not need to continue the configuration process, determine whether the information flow needs to continue adding information processing classes;

[0101] If the information process does not need to add any more information processing classes, save the information process 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 multi-threading, 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 needs.

[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 development efficiency is improved; through 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] The various embodiments in this specification are described in a progressive manner. Similar portions between the various embodiments can be referenced to each other. Each embodiment focuses on the differences from the other embodiments. In particular, the command information system service visualization development apparatus is generally similar to the command information system service visualization development method embodiment, so its description is relatively simple. For relevant portions, refer to the description of the command information system service visualization development method embodiment.

[0109] Figure 6 This is a block diagram of a computing device according to 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 a database 650 is used to store data.

[0110] The computing device 600 also includes an access device 640 that 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)) whether wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, or a near field communication (NFC) interface.

[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. Figure 6 The computing device structure block diagram shown is for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art may add or replace other components as needed.

[0112] 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, personal digital assistant, laptop computer, notebook computer, netbook computer, etc.), a mobile phone (e.g., a smartphone), a wearable computing device (e.g., a smartwatch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or personal computer (PC). Computing device 600 may also be a mobile or stationary server.

[0113] 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] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referenced to each other. Each embodiment focuses on the differences from the other embodiments. In particular, the computing device embodiment is generally similar to the command information system service visualization development method embodiment, so the description is relatively simple. For relevant parts, refer to the 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] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referenced to each other. Each embodiment focuses on the differences from other embodiments. In particular, the computer-readable storage medium embodiment is generally similar to the command information system service visualization development method embodiment, so its description is relatively simple. For relevant parts, refer to the description of the command information system service visualization development method embodiment.

[0117] An embodiment of the present specification further 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] The various embodiments in this specification are described in a progressive manner. Similar portions between the various embodiments can be referenced to each other. Each embodiment focuses on the differences between the other embodiments. In particular, the computer program embodiment is generally similar to the command information system service visualization development method embodiment, so its description is relatively simple. For relevant portions, refer to the description of the command information system service visualization development method embodiment.

[0119] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0120] The computer readable medium can include any entity or apparatus capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium can include appropriate additions or subtractions according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.

[0121] It should be noted that the above describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different than the order in the embodiments and still achieve the desired result. In addition, the processes depicted in the figures do not necessarily require the particular order shown or sequential order to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous. Secondly, those skilled in the art should know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the embodiments of the specification.

[0122] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0123] The preferred embodiments of the present specification disclosed above are only used to help explain the present specification. The alternative embodiments do not describe all the details and limit the invention to the specific embodiments described. Obviously, according to the content of the embodiments of the present specification, many modifications and changes can be made. The present specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of the present specification, so that those skilled in the art can well understand and use the present specification. The present specification is limited by the claims and their entire 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 a 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 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 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: Configuring a database connection address, and connecting 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 being 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.

3. The method according to claim 2, characterized in that When the database connection is successful, the service is created using the service visualization secondary development tool and the project file is generated, and the following steps are 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, configured through a service visualization tool, and inherits the information processing basic interface of the command information system software development template; 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; If the information flow does not need to continue the configuration process, determine whether the information flow needs to continue adding information processing classes; If the information process does not need to add any more information processing classes, save the information process 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, wherein 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 using multiple threads, and each thread is managed using a thread pool, wherein the size of the thread pool is dynamically adjusted according to configuration requirements or actual needs.

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: The first generation module is configured to generate an XML configuration file using 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; a third generation module configured to read the XML file information through a 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 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 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 communicative connection 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 according to any one of claims 1 to 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 according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Data processing method and device and storage medium

    CN110245110A

  • Task flow generation method and device, equipment and storage medium thereof

    CN119002912A