CN117149359B - Software definition simulation development platform and method for data chain equipment - Google Patents

Software definition simulation development platform and method for data chain equipment Download PDF

Info

Publication number
CN117149359B
CN117149359B CN202311406685.5A CN202311406685A CN117149359B CN 117149359 B CN117149359 B CN 117149359B CN 202311406685 A CN202311406685 A CN 202311406685A CN 117149359 B CN117149359 B CN 117149359B
Authority
CN
China
Prior art keywords
algorithm
component
link
link model
module
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.)
Active
Application number
CN202311406685.5A
Other languages
Chinese (zh)
Other versions
CN117149359A (en
Inventor
周远
肖辉明
习勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dayao Information Technology Hunan Co ltd
Original Assignee
Dayao Information Technology Hunan Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Dayao Information Technology Hunan Co ltd filed Critical Dayao Information Technology Hunan Co ltd
Priority to CN202311406685.5A priority Critical patent/CN117149359B/en
Publication of CN117149359A publication Critical patent/CN117149359A/en
Application granted granted Critical
Publication of CN117149359B publication Critical patent/CN117149359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration

Abstract

The invention relates to a software definition simulation development platform and a method for data chain equipment, wherein the development platform comprises the following components: an algorithm loading module configured to drag an algorithm component; a link model building module configured to build the algorithm component combinations as a link model; the system configuration management module is configured to execute the creation, modification and storage of the link model and the addition, deletion and modification of the algorithm components to the component library; the analysis and compiling engine module is configured to perform attribute inspection and logical relation compiling on the algorithm components to generate an executable file; the system scheduling module is configured to allocate threads and thread priorities for the algorithm components according to the executable files, and output the visualized graph according to the input and output data quantity of the algorithm components after the algorithm components are operated. The invention can call a plurality of algorithms to carry out joint debugging development, brings the advantages of high collaborative development efficiency, short development time and the like, and also provides a visual graph for a user side to carry out signal link observation analysis.

Description

Software definition simulation development platform and method for data chain equipment
Technical Field
The invention relates to the technical field of communication modeling, in particular to a software definition simulation development platform and method for data link equipment.
Background
With the increasing intensity of electronic countermeasure, simulating an enemy data chain, and enhancing the detection, identification and anti-interference communication capability of own parties is very necessary. The simulation of the data chain is difficult from the aspect of the hardware board card, and the simulation modeling is mainly adopted.
The existing simulation modeling development platform surrounding a data chain has the defects that each functional module and algorithm component have own standard and lack unified standards, when an overall system is to be built, joint debugging difficulty of different modules and algorithm components is high, development progress is seriously dragged, meanwhile, because of the phenomena of conflict and discomfort among the components, the realized functions of the built overall system are not more, and the degree of freedom is limited.
Disclosure of Invention
First, the technical problem to be solved
In view of the above-mentioned shortcomings and disadvantages of the prior art, the present invention provides a software-defined simulation development platform and method for data chain equipment, which solves the technical problems of the existing simulation modeling development platform surrounding the data chain that the joint debugging difficulty is large and the functional implementation freedom is limited due to the phenomena of large joint debugging difficulty and conflict and discomfort among different modules and multiple algorithm components.
(II) technical scheme
In order to achieve the above purpose, the main technical scheme adopted by the invention comprises the following steps:
in a first aspect, an embodiment of the present invention provides a software-defined emulation development platform for a data link device, including:
the algorithm loading module is configured to drag algorithm components from a preset component library according to the received component drag instruction;
the link model construction module is configured to analyze the received model creation instruction, send a component dragging instruction to the algorithm loading module and construct the dragged algorithm component into a link model according to a specified data link communication protocol rule and a logical relation combination between the algorithm components;
the system configuration management module is configured to analyze task requirements transmitted by a preset man-machine interaction interface, execute at least one operation of creating, modifying and storing a link model according to analysis results, send a model creation instruction to the link model building module when the creating operation of the link model is executed, and/or perform at least one operation of adding, deleting, modifying and searching an algorithm component of the component library according to analysis results;
the analysis and compiling engine module is configured to perform attribute inspection of the algorithm component and compiling of the logic relation of the algorithm component on the built link model to generate an executable file;
the system scheduling module is configured to allocate threads and thread priorities for each algorithm component configured by the link model according to the received executable file, and after the functional process of each algorithm component is operated according to the allocated threads and thread priorities, the acquired input and output data quantity of the algorithm component is converted into visual data for signal link observation and analysis.
Optionally, elements encompassed by the link model include canvas, algorithm components, and parameter interaction interfaces;
canvas, setting canvas information through a preset model attribute component;
the algorithm components are displayed in the canvas in the form of icons, the links among the algorithm components represent the dependency relations among the algorithm components in the canvas, and then the link model is displayed in the form of a model formed by the icons and the links;
and the parameter interaction interface is used for a user to configure parameters of each algorithm component through the human-computer interaction interface.
Optionally, the link model building module includes: a link-level management unit and a component-level management unit;
the link-level management unit includes:
a link model creation subunit configured to provide a set-sized build area within which link model building is performed;
the link model modification subunit is configured to adjust the parameter configuration of any algorithm component in real time in the link model construction process;
a link model saving subunit configured to generate an encrypted file recording information and connection relations of each algorithm component;
the component level management unit includes:
a component add-drop sub-unit configured to perform at least one of adding, deleting, modifying, and searching an algorithm component of the component library;
and the synchronous updating subunit is configured to synchronously update the component information after at least one operation of adding, deleting, modifying and searching the component into the component library.
Optionally, the parsing and compiling engine module includes:
the analysis unit is configured to analyze and check the attribute of the algorithm component one by one for the established link model;
and the compiling engine unit is configured to code and compile the logic relation among the algorithm components shown by the verified link model according to the DML configuration information of each algorithm component, and generate an executable file.
Optionally, the system scheduling module includes:
a thread allocation unit configured to allocate one thread to each algorithm component in the built link model to perform a corresponding algorithm function;
the thread priority giving unit is configured to give different priorities to each algorithm component thread in the built link model according to the upstream-downstream relation of the algorithm components, and acquire the input and output data size of each algorithm component in real time;
the upstream and downstream notification unit is configured to notify an upstream and downstream node assembly of any algorithm assembly to input and output corresponding data after the data processing of the algorithm assembly is completed;
the visual data output unit is used for converting the acquired input and output data quantity of the algorithm component into visual signals for processing analysis or into visual graphs for the observation and analysis of the signal link by the observation instrument after the link model runs successfully;
the observation instrument comprises a frequency spectrograph and an oscilloscope, and the visualization graph comprises a signal spectrogram, a time domain graph and a constellation diagram.
Optionally, providing a developer view and a user view on the scope;
the developer views build a link model through the algorithm assembly and are used for showing microscopic algorithm development steps;
the user view is used for showing macroscopic link protocol flow by repackaging and rendering the link model;
the microscopic algorithm development step refers to debugging operation of time domain, frequency domain information and constellation diagrams of all signal link nodes; macroscopic link protocol flow refers to a flow involving the traffic transport feature presentation layer.
Optionally, a plurality of algorithm components are stored in a preset component library, and the attributes of the algorithm components include input, output, connection relation and signal processing logic functions.
Optionally, the method comprises: the on-line component development module is configured to provide a programming template file and an algorithm import interface for the user side to carry out the compiling work of the algorithm components comprising input and output port definition, variable definition and signal processing program logic described by a programming language, and to provide the existing modeling algorithm library with the algorithm import interface for importing the algorithm components.
Optionally, the method comprises: the visual signal analysis module is configured to acquire a two-dimensional time-frequency pattern P of the visual signal 1 And signal template P 0 Performing matching measurement;
the visual data analysis module comprises:
a data segmentation unit configured to segment the signal in time by t 0 ,t 1 …t n
A time domain matching unit configured to match the time domain characteristics P of the segmented signal 1,tn And signal template time domain feature P 0,t Performing cross correlation operation, and marking as T (tn);
a frequency domain matching unit configured to match the frequency domain characteristics P of the segmented signal 1,fn And signal template frequency domain feature P 0,f Performing cross-correlation operation, and marking as F (fn);
a trueness evaluation unit configured to perform signal trueness evaluation and feedback by a trueness evaluation function, the trueness evaluation function being T R =W 1 *E[T(tn)]+W 2 *E[F(fn)]The value is 0-1. Wherein E [. Cndot.]Representing the desire, coefficient factor W 1 、W 2 The optimal coefficients can be fitted by using a neural network unit built in the platform.
In a second aspect, an embodiment of the present invention provides a software defined emulation method for a data link device, including:
pulling algorithm components from a preset component library according to the received component pulling instruction;
analyzing the received model creation instruction, sending an assembly dragging instruction to an algorithm loading module, and constructing the dragged algorithm assembly into a link model according to a specified data link communication protocol rule and a logical relation combination between the algorithm assembly;
analyzing task requirements transmitted by a preset man-machine interaction interface, executing at least one operation among creation, modification and storage of a link model according to analysis results, sending a model creation instruction to a link model building module when the creation operation of the link model is executed, and/or executing at least one operation among addition, deletion, modification and search of an algorithm component of a component library according to analysis results;
performing attribute inspection of the algorithm component and compiling of the logic relation of the algorithm component on the constructed link model to generate an executable file;
and distributing threads and thread priorities for each algorithm component configured by the link model according to the received executable file, and converting the acquired input and output data quantity of the algorithm component into visual data for signal link observation and analysis after running the functional process of each algorithm component according to the distributed threads and thread priorities.
(III) beneficial effects
The beneficial effects of the invention are as follows:
by means of the implementation of the functions of the algorithm loading module, the link model building module, the system configuration management module and the system scheduling module, the development platform provided by the invention can call the function modules with various specifications and various algorithms to carry out joint debugging development, so that the conflict between each function module and the algorithm is avoided, and the advantages of high collaborative development efficiency, short development time and the like are brought. Then, the invention converts the received business requirement into the instruction according to the platform rule, and can automatically generate the loading link model, thereby being beneficial to shortening the model development period.
The invention provides a rich algorithm component library, so that a user focuses on the whole link development without paying excessive attention to detailed implementation, and the development difficulty is reduced; meanwhile, a secondary development interface is provided, the original component library is expanded and iterated and optimized, and the algorithm requirement of a user is met when the service is increasingly complex. In addition, the invention also supports friendly signal visualization graphics for signal link observation and analysis at the user side.
The invention provides a feasible solution for modeling a whole set of data link equipment, and lays a solid foundation for the follow-up actual data link equipment.
Drawings
FIG. 1 is a schematic workflow diagram of each module of a software-defined simulation development platform for a data link device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a software and hardware architecture of a software-defined simulation development platform for a data chain device according to an embodiment of the present invention;
FIG. 3 is a package form of an algorithm component of a software defined emulation development platform for a data link device according to an embodiment of the present invention;
FIG. 4 is a rule example of a software-defined simulation development platform for data link devices according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of collaborative development of a software-defined simulation development platform for a data link device according to an embodiment of the present invention;
FIG. 6 is a diagram of a development host interface for an embodiment of a software-defined emulation development platform for data-chain devices according to an embodiment of the present invention;
fig. 7 is a schematic flow chart of a software-defined simulation development method for a data link device according to an embodiment of the present invention.
Detailed Description
The invention will be better explained for understanding by referring to the following detailed description of the embodiments in conjunction with the accompanying drawings.
As shown in fig. 1, a software-defined simulation development platform for a data link device according to an embodiment of the present invention includes: the algorithm loading module is configured to drag algorithm components from a preset component library according to the received component drag instruction; the link model construction module is configured to analyze the received model creation instruction, send a component dragging instruction to the algorithm loading module and construct the dragged algorithm component into a link model according to a specified data link communication protocol rule and a logical relation combination between the algorithm components; the system configuration management module is configured to analyze task requirements transmitted by a preset man-machine interaction interface, execute at least one operation of creating, modifying and storing a link model according to analysis results, send a model creation instruction to the link model building module when the creating operation of the link model is executed, and/or perform at least one operation of adding, deleting, modifying and searching an algorithm component of the component library according to analysis results; the analysis and compiling engine module is configured to perform attribute inspection of the algorithm component and compiling of the logic relation of the algorithm component on the built link model to generate an executable file; the system scheduling module is configured to allocate threads and thread priorities for each algorithm component configured by the link model according to the received executable file, and after the functional process of each algorithm component is operated according to the allocated threads and thread priorities, the acquired input and output data quantity of the algorithm component is converted into visual data for signal link observation and analysis.
By means of the implementation of the functions of the algorithm loading module, the link model building module, the system configuration management module and the system scheduling module, the development platform provided by the invention can call the function modules with various specifications and various algorithms to carry out joint debugging development, so that the conflict between each function module and the algorithm is avoided, and the advantages of high collaborative development efficiency, short development time and the like are brought. Then, the invention converts the received business requirement into the instruction according to the platform rule, and can automatically generate the loading link model, thereby being beneficial to shortening the model development period.
The invention provides a rich algorithm component library, so that a user focuses on the whole link development without paying excessive attention to detailed implementation, and the development difficulty is reduced; meanwhile, a secondary development interface is provided, the original component library is expanded and iterated and optimized, and the algorithm requirement of a user is met when the service is increasingly complex. In addition, the invention also supports friendly signal visualization graphics for signal link observation and analysis at the user side.
The invention provides a feasible solution for modeling a whole set of data link equipment, and lays a solid foundation for the follow-up actual data link equipment.
In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Referring to fig. 1 and fig. 2, the development platform core provided by the present invention is "modularization" based on software definition technology, and is specifically divided into: the system comprises an algorithm loading module, a signal link construction module, a model configuration management module, an analysis and compiling engine module, a system scheduling module and an online component development module, and the modules are described in detail below.
Firstly, a plurality of algorithm components are stored in a preset component library, and the algorithm components refer to an algorithm framework which is a general and reusable template for solving a certain problem or flow. The method is realized by adopting C++ or python and relates to general algorithm components such as information source information sink, channel encoding and decoding, modulation and demodulation, filtering, data framing, stream operation, radio frequency receiving and transmitting and the like. The properties of the algorithm components relate to: input, output, connection and signal processing logic functions. The packaged form of the algorithm component is referred to in fig. 3. The interface of the component library interacting with the development platform is defined in the platform-specific DML language, and a rule example is shown in fig. 4.
Secondly, a link model building module: the input is an algorithm component dragged to the development platform, the output is a link model, namely the algorithm components are combined according to the logic relationship among the algorithm components and the communication protocol rule of the appointed data chain, and the link model is built. The communication protocol rule of the data link is composed of a link layer and a physical layer, the link layer relates to mechanisms such as retransmission protocol, the physical layer comprises source coding, data message framing, channel coding, modulation and the like, and more detailed parameter setting can be carried out according to actual scenes. The logic relationship among the algorithm components is determined according to the respective characteristics of the algorithm group price, and comprises a dependency relationship, a sequence relationship and an iteration relationship.
In one embodiment, a specific outer army data link device communication protocol is taken as an example for explanation, and inquiry and response messages are divided, wherein the frame format of the inquiry message is as follows:
preamble code Phase reference frame Address code
5 frames 1 frame 2 frames
The response message frame format is:
preamble code Phase reference frame Start code Data message Stop code for whistle station
5 frames 1 frame 2 frames Several frames 2 frames
30 bits per frame, wherein the data frames are encoded by 24bit original messages into 30 bits using extended hamming encoding. And (3) to a physical layer, firstly adopting 8PSK digital modulation and then carrying out modulation by 16 paths of single tones to form a baseband simulation signal. The algorithm component relates to components such as data framing, extended hamming coding, PSK modulation, multipath single tone modulation and the like, which are sequentially connected to form a link model.
In another embodiment, a civil communication device, the communication message frame format is composed of 112 bits, and each bit field is defined as follows:
1-5 6-8 9-32 33-88 89-112
link format Transmitter status ICAO code Extended message Reservation
After the data is framed, pulse position coding is adopted to form simulation signals. The algorithm component is composed of a data framing component and a PPM coding component (the on and off of the pulse are represented by 0 and 1). I.e. first the link layer processing and then the physical layer processing. Component dependencies follow the general communication signal processing flow.
The elements of the model include canvas, component library, wire, and parameter interaction interface. In the link model construction process, the canvas is supported to set the size of the area where each component is located through the model attribute component, namely the size, the length and the width of the canvas. The component library provides various algorithm component selections, and the connection lines represent the dependency relations among the algorithm components; the algorithm component is displayed in a canvas in the form of an icon, and the link model is displayed in the form of a model formed by the icon and the connecting line; and the parameter interaction interface is used for a user to configure parameters of each algorithm component.
Next, the system configuration management module is divided into a link-level management unit and a component-level management unit. The link-level management unit includes: a link model creation subunit configured to provide a set-sized build area within which link model building is performed; the link model modification subunit is configured to adjust the parameter configuration of any algorithm component in real time in the link model construction process; a link model storage subunit configured to generate an encrypted file for recording information and connection relationships of each algorithm component, that is, a drc format project file (drc format, which is an encrypted file for recording detailed information and connection relationships of each component, and which can only be parsed by a development platform); the development platform is used for opening the format file, and the original link model can be parsed again. The component level management unit includes: a component add-drop sub-unit configured to perform at least one of adding, deleting, modifying, and searching an algorithm component of the component library; and the synchronous updating subunit is configured to synchronously update the component information after at least one operation of adding, deleting, modifying and searching the component into the component library.
In turn, the parsing and compiling engine module includes: the analysis unit is configured to analyze and test the attributes of the algorithm components one by one for the established link model, if the attribute test is incorrect, the analysis unit prompts the error report log, and the analysis is performed again after the components are checked. And the compiling engine unit is configured to code and compile the logic relation among the algorithm components shown by the verified link model according to the DML configuration information of each algorithm component, and generate an executable file in a python format.
Then, the system scheduling module: a thread allocation unit configured to allocate one thread to each algorithm component in the built link model to perform a corresponding algorithm function; the thread priority giving unit is configured to give different priorities to each algorithm component thread in the built link model according to the upstream-downstream relation of the algorithm components, and acquire the input and output data size of each algorithm component in real time; the upstream and downstream notification unit is configured to notify an upstream and downstream node assembly of any algorithm assembly to input and output corresponding data after the data processing of the algorithm assembly is completed; the visual data output unit is used for converting the acquired input and output data quantity of the algorithm component into visual signals for processing analysis or into visual graphs for the observation and analysis of the signal link by the observation instrument after the link model runs successfully; the observation instrument comprises a frequency spectrograph and an oscilloscope, the visual graph comprises a signal spectrogram, a time domain graph and a constellation diagram, and parameters such as power intensity, EVM and the like are displayed in real time.
Further, analysis and observation of the signal flow can be revealed through virtual instrument components such as a spectrometer, an oscilloscope and the like. Providing two view modes, namely, a developer view, and using a component to link, so as to show microscopic algorithm development steps; and secondly, a user view is used for repackaging and rendering the link, hiding technical details and displaying a macroscopic link protocol flow. The microscopic algorithm development step refers to debugging operation of time domain, frequency domain information and constellation diagrams of all signal link nodes; macroscopic link protocol flow refers to a flow involving a service transmission feature presentation layer, such as whether a mosaic exists or not when transmitting an image, how a packet loss rate and a frame error rate change, etc.
In turn, the platform further comprises: the visual signal analysis module is configured to acquire a two-dimensional time-frequency pattern P of the visual signal 1 And signal template P 0 A matching metric is performed.
The visual data analysis module comprises:
a data segmentation unit configured to segment the signal in time by t 0 ,t 1 …t n
A time domain matching unit configured to match the time domain characteristics P of the segmented signal 1,tn And signal template time domain feature P 0,t A cross-correlation operation is performed, denoted T (tn).
A frequency domain matching unit configured to match the frequency domain characteristics P of the segmented signal 1,fn And signal template frequency domain feature P 0,f The cross-correlation operation is performed and denoted as F (fn).
A trueness evaluation unit configured to perform signal trueness evaluation and feedback by a trueness evaluation function, the trueness evaluation function being T R =W 1 *E[T(tn)]+W 2 *E[F(fn)]The value is 0-1. Wherein E [. Cndot.]Representing the desire, coefficient factor W 1 、W 2 The optimal coefficients can be fitted by using a neural network unit built in the platform.
In the visual signal analysis module, to analyze the reality of the simulation signal, the platform acquires the two-dimensional time-frequency pattern P of the signal in real time 1 And signal template P 0 A matching metric is performed. The template is a real signal sample which is acquired and is manufactured through time-frequency extraction analysis. The matching measurement is divided into two processes of time domain correlation and frequency domain correlation. Segmenting the signal by time t 0 ,t 1 …t n Samples were prepared. Time domain correlation, the time domain feature P of the segmented signal 1,tn And signal template time domain feature P 0,t The cross-correlation operation is performed and denoted as T (T) n ) The method comprises the steps of carrying out a first treatment on the surface of the Frequency domain correlation, the frequency domain characteristics P of the segmented signal 1,fn And signal template frequency domain feature P 0,f The cross-correlation operation is performed and denoted as F (F) n ). The authenticity evaluation function is T R =W 1 *E[T(t n )]+W 2 *E[F(f n )]The value is 0-1. Wherein E [. Cndot.]Representing the desire to find. Coefficient factor W 1 、W 2 The optimal coefficients can be fitted by using a neural network unit built in the platform. And through signal authenticity evaluation feedback, the simulation data is more similar to the actual scene data.
Furthermore, the platform further comprises: the on-line component development module is configured to provide a programming template file and an algorithm import interface for the user side to carry out the compiling work of the algorithm components comprising input and output port definition, variable definition and signal processing program logic described by a programming language, and to provide the existing modeling algorithm library with the algorithm import interface for importing the algorithm components. Specifically, when the user self-defines the component, the algorithm component is newly built, the development platform provides python\C++ programming template files (suffix names are. Cc and. Py), input and output ports are well defined, variables, signal processing program logic is described by programming language, DML format files are configured, and the components can be imported after compiling and installing are successful. And meanwhile, providing a matlab algorithm import interface.
It should be noted that, as shown in fig. 5, the development platform is deployed on a server, and a plurality of computer terminals in a local area network can access the development platform through respective browsers to perform online collaborative development.
In a specific embodiment, each module in the development platform specifically performs the following tasks:
(1) And opening the development platform, compressing the basic component library into a tar.gz format, and updating the system configuration management module. Entering the development main interface shown in fig. 6, the left side display platform displays the existing algorithm component library, and loading the algorithm is completed by dragging the left side component to the editing area.
(2) And building the assemblies one by one according to the requirements of a data link communication protocol, completing the construction of a signal link model, entering an online assembly development module when the required assemblies are not in a list, customizing an algorithm assembly, importing an existing assembly library, and dragging from a main interface.
(3) After the link model is edited, checking grammar to be error-free, storing the current model, and outputting drc format project file.
(4) And the analysis and compilation engine module starts working and outputs the python format file.
(5) And running the file, starting the system scheduling module to work, and popping up a waveform display window, wherein the waveform display window comprises a time domain waveform, a frequency domain waveform, a digital constellation diagram and the like, so that a user can analyze whether a link logic function is realized or not.
(6) After confirming the link logic, switching the view, and packaging the developed link model into a certain type of equipment for display.
In addition, as shown in fig. 7, the invention also provides a software defined simulation method for the data link equipment, which comprises the following steps:
s1, dragging an algorithm component from a preset component library according to a received component dragging instruction.
S2, analyzing the received model creation instruction, sending a component dragging instruction to the algorithm loading module, and building the dragged algorithm component into a link model according to a specified logical relation combination between the data link communication protocol rule and the algorithm component.
S3, analyzing task requirements transmitted by a preset man-machine interaction interface, executing at least one operation of creating, modifying and storing a link model according to analysis results, sending a model creation instruction to a link model building module when executing the creation operation of the link model, and/or executing at least one operation of adding, deleting, modifying and searching algorithm components of a component library according to analysis results.
S4, performing attribute inspection of the algorithm component and compiling of the logic relation of the algorithm component on the built link model to generate an executable file.
S5, distributing threads and thread priorities for each algorithm component configured by the link model according to the received executable file, and converting the acquired input and output data quantity of the algorithm component into visual data for signal link observation and analysis after running the functional process of each algorithm component according to the distributed threads and thread priorities.
In summary, the invention provides a software defined simulation development platform and a method for data chain equipment, which provides an autonomous controllable simulation development platform for data chain equipment simulation, wherein the development platform adopts a B/S architecture based on a software defined technology to realize signal programming visualization; meanwhile, the development platform is deployed on a server, and the collaborative development efficiency is remarkably improved by means of a local area network.
Since the system/device described in the foregoing embodiments of the present invention is a system/device used for implementing the method of the foregoing embodiments of the present invention, those skilled in the art will be able to understand the specific structure and modification of the system/device based on the method of the foregoing embodiments of the present invention, and thus will not be described in detail herein. All systems/devices used in the methods of the above embodiments of the present invention are within the scope of the present invention.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions.
It should be noted that any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim of the present invention. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the inventive arrangements where several means are recited, several of these means can be embodied by one and the same item of hardware. The use of the terms first, second, third, etc. are for convenience of description only and do not denote any order. These terms may be understood as part of the component name.
Furthermore, it should be noted that in the description of the present specification, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to a specific feature, structure, material, or characteristic described in connection with the embodiment or example being included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art upon learning the basic inventive concepts. Therefore, the present invention should be construed as including the preferred embodiments and all changes and modifications that fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, the present invention should also include such modifications and variations provided that they fall within the scope of the present invention and the equivalents thereof.

Claims (2)

1. A software defined simulation development platform oriented to data chain equipment is characterized in that the development platform is deployed on a server, and a plurality of computer terminals in a local area network with the development platform access the development platform through respective browsers to perform online collaborative development, wherein the development platform comprises:
the algorithm loading module is configured to drag algorithm components from a preset component library according to the received component drag instruction;
the link model construction module is configured to analyze the received model creation instruction, send a component dragging instruction to the algorithm loading module and construct the dragged algorithm component into a link model according to a specified data link communication protocol rule and a logical relation combination between the algorithm components;
the link model construction module comprises: a link-level management unit and a component-level management unit; the link-level management unit includes: a link model creation subunit configured to provide a set-sized build area within which link model building is performed; the link model modification subunit is configured to adjust the parameter configuration of any algorithm component in real time in the link model construction process; a link model saving subunit configured to generate an encrypted file recording information and connection relations of each algorithm component; the component level management unit includes: a component add-drop sub-unit configured to perform at least one of adding, deleting, modifying, and searching an algorithm component of the component library; a synchronous updating subunit configured to synchronously update the component information after at least one of the operations of adding, deleting, modifying, and searching the component is completed into the component library;
the system configuration management module is configured to analyze task requirements transmitted by a preset man-machine interaction interface, execute at least one operation of creating, modifying and storing a link model according to analysis results, send a model creation instruction to the link model building module when the creating operation of the link model is executed, and/or perform at least one operation of adding, deleting, modifying and searching an algorithm component of the component library according to analysis results;
the analysis and compiling engine module is configured to perform attribute inspection of the algorithm component and compiling of the logic relation of the algorithm component on the built link model to generate an executable file;
the parsing and compiling engine module includes: the analysis unit is configured to analyze and check the attribute of the algorithm component one by one for the established link model; the compiling engine unit is configured to code compile the logic relationship among the algorithm components shown by the tested link model according to the DML configuration information of each algorithm component, and generate an executable file;
the system scheduling module is configured to allocate threads and thread priorities for each algorithm component configured by the link model according to the received executable file, and after the functional process of each algorithm component is operated according to the allocated threads and thread priorities, the acquired input and output data quantity of the algorithm component is converted into visual data for signal link observation and analysis;
the system scheduling module comprises: a thread allocation unit configured to allocate one thread to each algorithm component in the built link model to perform a corresponding algorithm function; the thread priority giving unit is configured to give different priorities to each algorithm component thread in the built link model according to the upstream-downstream relation of the algorithm components, and acquire the input and output data size of each algorithm component in real time; the upstream and downstream notification unit is configured to notify an upstream and downstream node assembly of any algorithm assembly to input and output corresponding data after the data processing of the algorithm assembly is completed; the visual data output unit is used for converting the acquired input and output data quantity of the algorithm component into visual signals for processing analysis or into visual graphs for the observation and analysis of the signal link by the observation instrument after the link model runs successfully;
the on-line component development module is configured to provide a programming template file and an algorithm import interface for a user side to carry out algorithm component compiling work comprising input and output port definition, variable definition and signal processing program logic described by a programming language, and provide an existing modeling algorithm library for importing the algorithm component through the algorithm import interface;
the visual signal analysis module is configured to acquire a two-dimensional time-frequency pattern P of the visual signal 1 And signal template P 0 Performing matching measurement;
the visual data analysis module comprises: a data segmentation unit configured to segment the signal in time by t 0 ,t 1 …t n The method comprises the steps of carrying out a first treatment on the surface of the A time domain matching unit configured to match the time domain characteristics P of the segmented signal 1,tn And signal template time domain feature P 0,t Performing cross correlation operation, and marking as T (tn); a frequency domain matching unit configured to match the frequency domain characteristics P of the segmented signal 1,fn And signal template frequency domain feature P 0,f Performing cross-correlation operation, and marking as F (fn); a reality evaluation unit configured toSignal authenticity evaluation and feedback are carried out through an authenticity evaluation function, wherein the authenticity evaluation function is T R =W 1 *E[T(tn)]+W 2 *E[F(fn)]The value is 0-1; e [. Cndot.]Representing the desire, coefficient factor W 1 、W 2 Fitting an optimal coefficient by adopting a neural network unit built in a development platform;
wherein,
a plurality of algorithm components are stored in a preset component library, and the attributes of the algorithm components comprise input, output, connection relation and signal processing logic functions;
the communication protocol rule of the data link consists of a link layer and a physical layer, wherein the link layer relates to a retransmission protocol mechanism, and the physical layer comprises source coding, data message framing, channel coding and modulation; carrying out link layer processing in a communication protocol rule, and then carrying out physical layer processing; the logic relationship among the algorithm components is determined according to the respective characteristics of the algorithm components, and comprises a dependency relationship, a sequence relationship and an iteration relationship;
the elements included in the link model comprise canvas, algorithm components and parameter interaction interfaces; canvas, setting canvas information through a preset model attribute component; the algorithm components are displayed in the canvas in the form of icons, the links among the algorithm components represent the dependency relations among the algorithm components in the canvas, and then the link model is displayed in the form of a model formed by the icons and the links; the parameter interaction interface is used for a user to configure parameters of each algorithm component through the human-computer interaction interface;
providing a developer view and a user view on an observation instrument, wherein the developer view builds a link model through an algorithm assembly and is used for showing microscopic algorithm development steps; the user view is used for showing macroscopic link protocol flow by repackaging and rendering the link model; microscopic algorithm development steps refer to debugging operations related to time domain, frequency domain information and constellation diagrams of all signal link nodes; macroscopic link protocol flow refers to a flow involving a traffic transmission feature display layer; the observation instrument comprises a frequency spectrograph and an oscilloscope, and the visual graph comprises a signal spectrogram, a time domain graph and a constellation diagram.
2. A software defined simulation method for a data chain device, applied to the development platform as claimed in claim 1, comprising:
pulling algorithm components from a preset component library according to the received component pulling instruction;
analyzing the received model creation instruction, sending an assembly dragging instruction to an algorithm loading module, and constructing the dragged algorithm assembly into a link model according to a specified data link communication protocol rule and a logical relation combination between the algorithm assembly;
analyzing task requirements transmitted by a preset man-machine interaction interface, executing at least one operation among creation, modification and storage of a link model according to analysis results, sending a model creation instruction to a link model building module when the creation operation of the link model is executed, and/or executing at least one operation among addition, deletion, modification and search of an algorithm component of a component library according to analysis results;
performing attribute inspection of the algorithm component and compiling of the logic relation of the algorithm component on the constructed link model to generate an executable file;
and distributing threads and thread priorities for each algorithm component configured by the link model according to the received executable file, and converting the acquired input and output data quantity of the algorithm component into visual data for signal link observation and analysis after running the functional process of each algorithm component according to the distributed threads and thread priorities.
CN202311406685.5A 2023-10-27 2023-10-27 Software definition simulation development platform and method for data chain equipment Active CN117149359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311406685.5A CN117149359B (en) 2023-10-27 2023-10-27 Software definition simulation development platform and method for data chain equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311406685.5A CN117149359B (en) 2023-10-27 2023-10-27 Software definition simulation development platform and method for data chain equipment

Publications (2)

Publication Number Publication Date
CN117149359A CN117149359A (en) 2023-12-01
CN117149359B true CN117149359B (en) 2024-01-26

Family

ID=88910406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311406685.5A Active CN117149359B (en) 2023-10-27 2023-10-27 Software definition simulation development platform and method for data chain equipment

Country Status (1)

Country Link
CN (1) CN117149359B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395610A (en) * 2006-01-20 2009-03-25 明导公司 Modelling and simulation method
CN102289593A (en) * 2011-08-22 2011-12-21 上海交通大学 Multidisciplinary virtual experiment interactive simulation solution system
CN102752831A (en) * 2012-06-25 2012-10-24 华为技术有限公司 Frequency band searching method and device
US8352229B1 (en) * 2009-01-26 2013-01-08 Xilinx, Inc. Reloadable just-in-time compilation simulation engine for high level modeling systems
KR101579896B1 (en) * 2014-10-20 2015-12-24 연세대학교 산학협력단 System and Method for Analyzing Cable State using Multi Band Signal
CN105278936A (en) * 2014-06-25 2016-01-27 成都普中软件有限公司 Common software modeling method for building software model based on software meta-model
CN105608258A (en) * 2015-12-16 2016-05-25 苏州同元软控信息技术有限公司 Model based system design and information flow visualization simulation system and method
CN110597586A (en) * 2019-08-19 2019-12-20 北京邮电大学 Method and device for large screen layout of componentized layout based on dragging
CN112529080A (en) * 2020-12-11 2021-03-19 深圳龙岗智能视听研究院 Image generation method based on spectral feature discrimination
CN113065198A (en) * 2021-04-14 2021-07-02 苏州同元软控信息技术有限公司 Passenger vehicle suspension simulation software generation method and device and electronic equipment
CN113515348A (en) * 2021-07-16 2021-10-19 江苏师范大学 Simulator modeling method and device based on opportunity action flow
CN113987829A (en) * 2021-11-10 2022-01-28 北京机电工程研究所 Simulation modeling supporting platform
CN116431284A (en) * 2023-04-10 2023-07-14 浙江源创智控技术有限公司 Low-code simulation modeling platform for central air-conditioning cold source system
CN116738516A (en) * 2023-06-29 2023-09-12 浙江正泰仪器仪表有限责任公司 Method and device for constructing three-dimensional simulation model, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8352907B2 (en) * 2009-08-10 2013-01-08 International Business Machines Corporation Software application recreation
US10394583B2 (en) * 2016-03-31 2019-08-27 Ca, Inc. Automated model generation for a software system
US11093665B2 (en) * 2017-10-25 2021-08-17 Lockheed Martin Corporation System and method for simulation visualization

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395610A (en) * 2006-01-20 2009-03-25 明导公司 Modelling and simulation method
US8352229B1 (en) * 2009-01-26 2013-01-08 Xilinx, Inc. Reloadable just-in-time compilation simulation engine for high level modeling systems
CN102289593A (en) * 2011-08-22 2011-12-21 上海交通大学 Multidisciplinary virtual experiment interactive simulation solution system
CN102752831A (en) * 2012-06-25 2012-10-24 华为技术有限公司 Frequency band searching method and device
CN105278936A (en) * 2014-06-25 2016-01-27 成都普中软件有限公司 Common software modeling method for building software model based on software meta-model
KR101579896B1 (en) * 2014-10-20 2015-12-24 연세대학교 산학협력단 System and Method for Analyzing Cable State using Multi Band Signal
CN105608258A (en) * 2015-12-16 2016-05-25 苏州同元软控信息技术有限公司 Model based system design and information flow visualization simulation system and method
CN110597586A (en) * 2019-08-19 2019-12-20 北京邮电大学 Method and device for large screen layout of componentized layout based on dragging
CN112529080A (en) * 2020-12-11 2021-03-19 深圳龙岗智能视听研究院 Image generation method based on spectral feature discrimination
CN113065198A (en) * 2021-04-14 2021-07-02 苏州同元软控信息技术有限公司 Passenger vehicle suspension simulation software generation method and device and electronic equipment
CN113515348A (en) * 2021-07-16 2021-10-19 江苏师范大学 Simulator modeling method and device based on opportunity action flow
CN113987829A (en) * 2021-11-10 2022-01-28 北京机电工程研究所 Simulation modeling supporting platform
CN116431284A (en) * 2023-04-10 2023-07-14 浙江源创智控技术有限公司 Low-code simulation modeling platform for central air-conditioning cold source system
CN116738516A (en) * 2023-06-29 2023-09-12 浙江正泰仪器仪表有限责任公司 Method and device for constructing three-dimensional simulation model, computer equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
一种跳频数据链通信仿真软件的设计与实现方法;蒋强;韩淑娟;钱博;冯永新;;沈阳理工大学学报(第03期) *
数据链系统通用建模与仿真框架;王文政;曹琦;;指挥控制与仿真(第04期) *
王文政 ; 曹琦 ; .数据链系统通用建模与仿真框架.指挥控制与仿真.2016,(第04期), *
蒋强 ; 韩淑娟 ; 钱博 ; 冯永新 ; .一种跳频数据链通信仿真软件的设计与实现方法.沈阳理工大学学报.2016,(第03期), *

Also Published As

Publication number Publication date
CN117149359A (en) 2023-12-01

Similar Documents

Publication Publication Date Title
CN103198009B (en) A kind of universal testing method, system and related device
US7881440B2 (en) Method for automatic graphical profiling of a system
CN108958736A (en) Page generation method, device, electronic equipment and computer-readable medium
US11528195B2 (en) System for creating network troubleshooting procedure
CN109032923A (en) Method for testing software, device based on call chain, terminal
US20160277357A1 (en) Firewall testing
CN110531962A (en) Development process method, equipment and the computer readable storage medium of small routine
CN106202685B (en) A kind of software and hardware cooperating simulation accelerator operation environmental structure method and apparatus
CN110868324A (en) Service configuration method, device, equipment and storage medium
KR20140116438A (en) Graphical representation of an order of operations
US20210232494A1 (en) Network application testing using domain-specific natural language
CN117149359B (en) Software definition simulation development platform and method for data chain equipment
US8935144B2 (en) System and method for examining concurrent system states
CN111488275B (en) UI (user interface) automatic testing method and device, storage medium and electronic equipment
CN112527678A (en) Method, apparatus, device and storage medium for testing protocol
CN115562634A (en) Radar-service-flow-oriented visual development platform
CN108132779A (en) A kind of design and verification method of the visualization DF based on ARINC661
CN114238128A (en) Test case generation method and device, electronic equipment and computer readable medium
CN114579120A (en) Application code processing method and device, electronic equipment and storage medium
US8572567B2 (en) Specifying and processing composed patterns
US20190347078A1 (en) Generating Application Mock-Ups Based on Captured User Sessions
Pulido Applying behavior driven development practices and tools to low-code technology
CN109117355A (en) Method and apparatus for analyzing information flow system performance
US20220197607A1 (en) System and method for developing user interface applications
WO2011079463A1 (en) Method and apparatuses for testing on-line services

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
GR01 Patent grant
GR01 Patent grant