CN116339697A - Test control software design method and device - Google Patents
Test control software design method and device Download PDFInfo
- Publication number
- CN116339697A CN116339697A CN202310327771.0A CN202310327771A CN116339697A CN 116339697 A CN116339697 A CN 116339697A CN 202310327771 A CN202310327771 A CN 202310327771A CN 116339697 A CN116339697 A CN 116339697A
- Authority
- CN
- China
- Prior art keywords
- module
- program
- plug
- service
- control software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012360 testing method Methods 0.000 title claims abstract description 44
- 238000013461 design Methods 0.000 claims abstract description 33
- 230000003993 interaction Effects 0.000 claims abstract description 13
- 238000000354 decomposition reaction Methods 0.000 claims abstract description 9
- 238000013515 script Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 230000004044 response Effects 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 abstract description 16
- 238000011161 development Methods 0.000 abstract description 11
- 230000006870 function Effects 0.000 abstract description 10
- 230000004888 barrier function Effects 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a test control software design method and a device. The target task book is obtained, and demand decomposition is carried out according to the target task book; determining the configuration design of a database and the design of a program script according to the decomposed requirement, and loading a target plug-in module from plug-in modules of the program library according to the configuration of the database after a host program is started; registering and checking the service of each target plug-in module to make the service provided by the target plug-in module known to other target plug-in modules. Therefore, the service functions, service flow logic, service parameters and software interaction interfaces of each software can be separated and designed into configurable loading and running, so that the system has expandability and reusability, reduces the development cost and the management cost of the software and shortens the development period of the software; meanwhile, the technical barriers among various types of measurement and control software are broken, so that software development of various measurement and control software developers for cross-model, cross-subsystem and cross-performance tasks in the existing system is easier, and the cultivation difficulty of a full stack engineer is greatly reduced.
Description
Technical Field
The present invention relates to the field of software design technologies, and in particular, to a method and an apparatus for designing test control software.
Background
The carrier rocket measurement and control software mainly comprises control system software, measurement system software, power system software and the like, and the core functions of each measurement and control software are ground test, measurement, control, test process and data receiving and analysis after test in a carrier rocket test stage; the technical state of the flight test stage is confirmed and prepared, the test of each system before shooting, the formal test, the test process, the data receiving and analyzing after the test and the like. The traditional carrier rocket measurement and control system software is respectively administrative and realized by adopting different architectures, development languages and development modes, service logic, data and interface layout are all solidified in a target code in a hard coding mode and are deployed in specific equipment and cannot be changed through configuration, and the data interfaces, protocols and operation logic of software interfaces among the measurement and control software are different. Under the new development requirement of the carrier rocket, the traditional measurement and control software is difficult to meet the design requirements of multiple models, multiple subsystems, multiple tasks and high multiplexing in face of new performance tasks or development requirements.
Disclosure of Invention
In view of the foregoing, the present invention is directed to a method and apparatus for designing test control software.
According to a first aspect of the present invention, there is provided a test control software design method applied to a test control software design apparatus, the apparatus including a host program, a program library, a database, and a program interface script;
the test control software design method comprises the following steps:
acquiring a target task book, and decomposing the requirements according to the target task book;
determining the configuration design of a database and the design of a program script according to the decomposed requirement, and loading a target plug-in module from plug-in modules of the program library according to the configuration of the database after a host program is started;
registering and checking the service of each target plug-in module to make the service provided by the target plug-in module known to other target plug-in modules.
Optionally, the plug-in module in the program library comprises a flow engine module, an interface engine module, a TCP/UDP network communication module, a protocol conversion module, a mathematical calculation module and a device driving module; the plug-in modules are mutually independent, and establish connection through service requests.
Optionally, each plug-in module is a service provider or service requester.
Optionally, each plug-in module of the program library is generated in the form of a dynamic link library.
Optionally, the database includes host program initiated parameter configuration, module and service loading configuration, data pool data configuration, interface program script related configuration, and service parameter configuration within each module.
Optionally, the business process information of the target task is stored in a database, and each business process step corresponds to a service provided by a plug-in module in the loaded program library.
According to a second aspect of the present invention, there is provided a test control software design apparatus, including a host program, a program library, a database, and a program interface script;
the host program is used for performing frame management, module management, service management, configuration management, data pool management, thread pool management and log management; the host program provides an interface for each plug-in module in the program library to acquire frame resources and data;
the program library consists of a plurality of extensible plug-in modules; when a program is started, determining the configuration design of a database and the design of a program script according to the requirement of task book decomposition;
the program interface script is responsible for the response of user interaction and the real-time display of results and states.
Optionally, each plug-in module in the library is a service provider or service requester.
According to a third aspect of the present invention, there is provided an electronic device comprising: the test control software design method comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the test control software design method when executing the computer program.
According to a fourth aspect of the present invention there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the test control software design method described previously.
The above-mentioned one or more technical solutions in the embodiments of the present disclosure at least have the following technical effects:
the embodiment of the specification provides a test control software design method and device. The target task book is obtained, and demand decomposition is carried out according to the target task book; determining the configuration design of a database and the design of a program script according to the decomposed requirement, and loading a target plug-in module from plug-in modules of the program library according to the configuration of the database after the host program is started; registering and checking the service of each target plug-in module to make the service provided by the target plug-in module known to other plug-in modules. Therefore, the service functions, service flow logic, service parameters and software interaction interfaces of the software can be separated, and the software interaction interfaces are designed to be configurable to be loaded and operated, so that the system has expandability and reusability, the development cost and the management cost of the software can be reduced, and the software development period is shortened; meanwhile, the technical barriers among various types of measurement and control software are broken, so that software development of various measurement and control software developers for cross-model, cross-subsystem and cross-performance tasks in the existing system is easier, and the cultivation difficulty of a full stack engineer is greatly reduced; the new person can get the system software more quickly; and the maintenance cost is reduced.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also throughout the drawings, like reference numerals are used to designate like parts.
In the drawings:
FIG. 1 is a flow chart of a test control software design method in an embodiment of the invention.
FIG. 2 illustrates a test control software framework composition diagram in an embodiment of the invention.
Fig. 3 shows a QML development interface design flow in an embodiment of the invention.
Fig. 4 shows a block diagram of an electronic device in an embodiment of the invention.
Fig. 5 shows a block diagram of another electronic device in an embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present invention, it should also be noted that, unless explicitly specified and limited otherwise, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
Referring to fig. 1 and 2, the present embodiment provides a test control software design method, which is applied to a test control software design device, where the device includes a host program, a program library, a database, and a program interface script;
the method comprises the steps of 101 to 103:
step 101: acquiring a target task book, and decomposing the requirements according to the target task book;
step 102: determining the configuration design of a database and the design of a program script according to the decomposed requirement, and loading a target plug-in module from plug-in modules of the program library according to the configuration of the database after a host program is started;
step 103: registering and checking the service of each target plug-in module to make the service provided by the target plug-in module known to other plug-in modules.
The target task book is a task book representing actual demands of users, is a customized task book, and can be decomposed to obtain corresponding demands. Different users provide different target task books, and correspondingly, the requirements obtained by decomposition are different, but the design of the software is not affected by the embodiment, because the database of the embodiment can be configured and designed according to the requirements of decomposition.
The host program is the core of the test control software framework, comprises the minimum functions required by the system to run, is responsible for unified task scheduling and resource management, and mainly comprises framework management, module management, service management, configuration management, data pool management, thread pool management, log management and the like.
In this embodiment, the host program provides an interface for each module to acquire the various resources and data of the framework. The main functions of the framework are framework management, module management, service management, configuration management, data pool management, thread pool management, log management and the like. The QML-based interface design is shown in fig. 3.
Specifically, the configuration management includes the configuration of the framework itself, the basic configuration of each module (such as a module name, a module library file name, a starting level of a module, whether to self-start with the framework, etc.), and the extension point and the extension configuration of each module.
The module management mainly comprises loading, starting, inquiring, running, unloading and the like of each module, and also comprises starting notification, expansion update notification, related inquiring of module expansion and expansion points and the like of the module.
The service management comprises module service registration and service call, wherein the module registers the service which can be provided by the module with the framework when initializing, the framework maintains a registration service list, and when other modules call the service, the framework searches the module which provides the service in the registration service list and calls the module to provide the service.
The data pool management provides a standard format of data interaction among the modules, provides a function of storing data into the data pool by the modules, searches the data from the data pool through the data i d and the data name, and subscribes the data of the data pool by the modules according to the requirements of the modules so that the subscribed data are subscribed to the modules simultaneously in time after being updated in the data pool.
Log management provides a log record function, and each module can record the operation behavior of a user, a module or interface call and some key processing information by using the log management function of the framework.
The program library consists of a plurality of extensible plug-in modules, provides specific services, calls and executes services for the host program and other modules, and the like, and is characterized in that part of the modules are selectively started to run in the program by the framework according to the configuration of the database, so that the expandability, the flexibility and the isolation are realized. Each plug-in module of the program library is generated in the form of a dynamic link library. The program library mainly comprises a flow engine module, an interface engine module, a TCP/UDP network communication module, a protocol conversion module, a mathematical calculation module, a device driving module and the like. Based on the thought of service oriented architecture, each module is either a service provider or a service requester. The service request module applies for the registered service to the service proxy, which process requires that it be asynchronous. And the service provided by the module is atomic operation with minimum granularity, so that the condition that the module needs to be modified due to the change of the requirement is reduced to the greatest extent. The main plug-in modules and the service interfaces provided are shown in table 1.
TABLE 1
The database comprises parameter configuration of host program starting, module and service loading configuration, data pool data configuration, configuration related to interface program script, service parameter configuration inside each module and the like. The business process information of the target task is stored in the database, each business process step corresponds to the service provided by the corresponding module loaded by the software, according to different tasks, a user only needs to self-define and arrange the service request record items in the combined database according to the service capability of the software, and the corresponding parameter information of the record items can be changed to self-adapt to different emission tasks, so that the aim of measuring and controlling the process and removing tasks of data processing is fulfilled. The database table design mainly comprises a framework configuration table, a module configuration table, a service configuration table, a data subscription table and a database table customized by each plug-in module. Refer specifically to tables 2, 3, 4.
And (5) a frame configuration table. The framework configuration table includes version information of the host program, program start-up verification information, and the like.
Table 2 frame configuration table detailed design
TABLE 3 Module configuration Table detailed design
Table 4 service configuration table detailed design
TABLE 5 data configuration Table detailed design
TABLE 6 data subscription table detail design
In addition, the module self-defined configuration table designs a corresponding configuration table according to specific requirements in the process of initializing each module and executing the service, and the host program provides an interface for reading the self-defined configuration for the module. The custom configuration table of the TCP communication module, for example, includes configuration information such as I P, port numbers, reconnection periods, etc. for all TCP connections.
The program interface script is used for responding to user interaction and displaying results and states in real time, and is mainly composed of QML scripts, wherein the QML scripts define control layouts of different interfaces of software, parameter objects bound by the controls, response event messages of the control objects and the like, focus on the control layouts, do not process business processes, decouple the interfaces from business logic and reduce the influence of interface changes on the software. The interface design is only responsible for processing the flow messages of the user triggering control event through the interface engine and the flow engine of the software in sequence, and each software engine finds a matched series of business flow items in the whole business flow according to the analysis rule and the received flow messages and sequentially calls the service items in the module to complete the measurement and control task or the data processing task.
The general ground software framework designs an interface engine plug-in module which is used for converting interaction events, periodic events and the like of an interface into flows in database configuration, the interface engine module starts QML page rendering according to a standard loading QML mode, gathers real-time monitoring QML interface events in the operation process and pushes configured data to the interface in real time.
The universal ground software interface is realized through the QML script, the QML script can be nested and dynamically loaded, different QML script files are corresponding to different software in the database configuration, and the universal ground software interface is correspondingly started without recompilation.
Meanwhile, QML is used for packaging the interface control, and the page is organized through the combination of the packaged control, so that the style of the software interface is unified, and the interface development is faster.
In summary, the embodiment of the present disclosure provides a test control software design method. The target task book is obtained, and the requirement decomposition is carried out according to the task book; determining the configuration design of a database and the design of a program script according to the decomposed requirement; registering and checking the service of each target plug-in module, so that the service provided by the plug-in module is known by other plug-in modules. Therefore, the service functions, service flow logic, service parameters and software interaction interfaces of the software can be separated, and the software interaction interfaces are designed to be configurable to be loaded and operated, so that the system has expandability and reusability, the development cost and the management cost of the software can be reduced, and the software development period is shortened; meanwhile, the technical barriers among various types of measurement and control software are broken, so that software development of various measurement and control software developers for cross-model, cross-subsystem and cross-performance tasks in the existing system is easier, and the cultivation difficulty of a full stack engineer is greatly reduced; the new person can get the system software more quickly; and the maintenance cost is reduced.
Based on the same inventive concept, the embodiments of the present invention further provide a test control software design apparatus, and the test control software design apparatus described below and the test control software design method described above may be referred to each other.
The test control software design device comprises: host program, program library, database and program interface script;
the host program is used for performing frame management, module management, service management, configuration management, data pool management, thread pool management and log management; the host program provides an interface for each target plug-in module in the program library to acquire frame resources and data;
the program library consists of a plurality of extensible plug-in modules; when a program is started, determining the configuration design of a database and the design of a program script according to the requirement of task book decomposition, and loading a target plug-in module from plug-in modules of the program library according to the configuration of a host program after the host program is started;
the program interface script is responsible for the response of user interaction and the real-time display of results and states.
Optionally, each target plug-in module is a service provider or service requester.
In summary, embodiments of the present disclosure provide a test control software design apparatus. The target task book is obtained, and demand decomposition is carried out according to the target task book; determining the configuration design of a database and the design of a program script according to the decomposed requirement, and loading a target plug-in module from plug-in modules of the program library according to the configuration of the database after a host program is started; registering and checking the service of each target plug-in module, so that the service provided by the plug-in module is known by other plug-in modules. Therefore, the service functions, service flow logic, service parameters and software interaction interfaces of the software can be separated, and the software interaction interfaces are designed to be configurable to be loaded and operated, so that the system has expandability and reusability, the development cost and the management cost of the software can be reduced, and the software development period is shortened; meanwhile, the technical barriers among various types of measurement and control software are broken, so that software development of various measurement and control software developers for cross-model, cross-subsystem and cross-performance tasks in the existing system is easier, and the cultivation difficulty of a full stack engineer is greatly reduced; the new person can get the system software more quickly; and the maintenance cost is reduced.
The application further provides an electronic device, as shown in fig. 4, where the electronic device provided in the embodiment of the application includes:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps provided in the above embodiments.
Specifically, the memory 100 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions, and the internal memory provides an environment for the operating system and the execution of the computer readable instructions in the non-volatile storage medium. The processor 200 may be, in some embodiments, a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor or other data processing chip, which provides computing and control capabilities for the electronic device, and when executing the computer program stored in the memory 100, may implement the steps of the software design method disclosed in any of the foregoing embodiments.
On the basis of the above embodiment, as a preferred implementation manner, referring to fig. 5, the electronic device further includes:
an input interface 300, coupled to the processor 200, for obtaining externally imported computer program parameters and instructions, which are stored within the memory 100 under control of the processor 200. The input interface 300 may be coupled to an input device for receiving parameters or instructions manually entered by a user. The input device can be a touch layer covered on a display screen, can also be a key, a track ball or a touch pad arranged on a terminal shell, and can also be a keyboard, a touch pad or a mouse, etc.
And a display unit 400 connected to the processor 200 for displaying data processed by the processor 200 and for displaying a visualized user interface. The display unit 400 may be an LED display, a liquid crystal display, a touch-control type liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like.
The network port 500 is connected to the processor 200 and is used for communication connection with external terminal devices. The communication technology adopted by the communication connection can be a wired communication technology or a wireless communication technology, such as a mobile high definition link technology (MHL), a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity technology (WiFi), a Bluetooth communication technology with low power consumption, a communication technology based on I EEE802.11 s, and the like.
Fig. 5 illustrates only an electronic device having assemblies 100-500, and it will be understood by those skilled in the art that the configuration illustrated in fig. 5 is not limiting of the electronic device and may include fewer or more components than illustrated, or may combine certain components, or a different arrangement of components.
The present application also provides a computer-readable storage medium, which may include: a U-disk, a removable hard disk, a Read-only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes. The storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the software design method disclosed in any of the foregoing embodiments.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. In the system disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above is merely various embodiments of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present invention, and the changes and substitutions are intended to be covered in the protection scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (10)
1. The test control software design method is characterized by being applied to a test control software design device, wherein the device comprises a host program, a program library, a database and a program interface script;
the method comprises the following steps:
acquiring a target task book, and carrying out demand decomposition according to the target task book;
determining the configuration design of a database and the design of a program script according to the decomposed requirement, and loading a target plug-in module from plug-in modules of the program library according to the configuration of the database after a host program is started;
registering and checking the service of each target plug-in module to make the service provided by the target plug-in module known to other target plug-in modules.
2. The method for designing test control software according to claim 1, wherein the plug-in modules in the program library comprise a flow engine module, an interface engine module, a TCP/UDP network communication module, a protocol conversion module, a mathematical computation module, and a device driver module; the plug-in modules are mutually independent, and establish connection through service requests.
3. The test control software design method of claim 2, wherein each plug-in module is a service provider or a service requester.
4. The test control software design method of claim 2, wherein each plug-in module of the library is generated in the form of a dynamic link library.
5. The test control software design method according to claim 1, wherein the database comprises a host program initiated parameter configuration, a module and service loading configuration, a data pool data configuration, an interface program script related configuration, and a business parameter configuration within each module.
6. The test control software design method according to claim 1, wherein the business process information of the target task is stored in a database, and each business process step corresponds to a service provided by a plug-in module in the loaded program library.
7. The test control software design device is characterized by comprising a host program, a program library, a database and a program interface script;
the host program is used for performing frame management, module management, service management, configuration management, data pool management, thread pool management and log management; the host program provides an interface for each plug-in module in the program library to acquire frame resources and data;
the program library consists of a plurality of extensible plug-in modules; when a program is started, determining the configuration design of a database and the design of a program script according to the requirement of decomposing a target task book, and loading a target plug-in module from plug-in modules of the program library according to the configuration of a host program after the host program is started;
the program interface script is responsible for the response of user interaction and the real-time display of results and states.
8. The test control software of claim 7, wherein each plug-in module in the library is a service provider or a service requester.
9. An electronic device, the electronic device comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the test control software design method of any one of claims 1-6 when the computer program is executed.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, implements the test control software design method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310327771.0A CN116339697A (en) | 2023-03-27 | 2023-03-27 | Test control software design method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310327771.0A CN116339697A (en) | 2023-03-27 | 2023-03-27 | Test control software design method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116339697A true CN116339697A (en) | 2023-06-27 |
Family
ID=86875964
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310327771.0A Pending CN116339697A (en) | 2023-03-27 | 2023-03-27 | Test control software design method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116339697A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117215958A (en) * | 2023-10-11 | 2023-12-12 | 深圳市浩科智联科技有限公司 | Vehicle-mounted application separation design software and test method thereof |
-
2023
- 2023-03-27 CN CN202310327771.0A patent/CN116339697A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117215958A (en) * | 2023-10-11 | 2023-12-12 | 深圳市浩科智联科技有限公司 | Vehicle-mounted application separation design software and test method thereof |
CN117215958B (en) * | 2023-10-11 | 2024-05-31 | 深圳市浩科智联科技有限公司 | Vehicle-mounted application separation design software and test method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106980504B (en) | Application program development method and tool and equipment thereof | |
CN109445841B (en) | Interface document management method, device, server and storage medium | |
CN111538659B (en) | Interface testing method, system, electronic equipment and storage medium of business scene | |
CN112685020B (en) | Method and device for dynamically creating service interface, electronic equipment and storage medium | |
US20210149723A1 (en) | Method and apparatus for microservice architecture reconfiguration | |
CN116339697A (en) | Test control software design method and device | |
CN112788112A (en) | Automatic publishing method, device and platform for equipment health management micro-service | |
US20080082476A1 (en) | Extensible dependency management framework and method | |
CN114048415A (en) | Form generation method and device, electronic equipment and computer readable storage medium | |
CN112817600A (en) | Program annotation compiling method and corresponding device, equipment and medium | |
CN111158777B (en) | Component calling method, device and computer readable storage medium | |
CN113885886A (en) | Method, device, system and storage medium for processing activity service | |
CN116466953B (en) | Modularized front-end development method, device, computer equipment and storage medium | |
CN112631563A (en) | System development method and device based on framework, computer equipment and storage medium | |
CN112416384A (en) | Software upgrading method and device and computer equipment | |
CN109960505A (en) | User interface components plug-in unit method, system, equipment and storage medium | |
CN114911541A (en) | Configuration information processing method and device, electronic equipment and storage medium | |
CN115373815A (en) | Task scheduling method and device, electronic equipment and storage medium | |
CN111158684B (en) | System creation method, device, electronic equipment and readable storage medium | |
CN113626001A (en) | API dynamic editing method and device based on script | |
CN114816445A (en) | System platform architecture, function publishing method and device, platform and storage medium | |
CN106570143B (en) | Method and device for sending response object | |
CN112799710B (en) | Model release system and model release method | |
CN113722538B (en) | Interface dynamic rendering method and device | |
CN112817573B (en) | Method, apparatus, computer system, and medium for building a streaming computing application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |