Model-driven nested waveform modeling method, system, terminal and medium

Through the model-driven nested waveform modeling method, the problem of insufficient nested waveform modeling capabilities in traditional software radio systems is solved, visual modeling and hierarchical design of nested waveforms are realized, and development efficiency and adaptability are improved. , realizing the multiplexing of sub-waveforms.

CN117472334BActive Publication Date: 2024-08-23SHANGHAI JIEFANG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311474791.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2024-08-23
Estimated Expiration
2043-11-07

AI Technical Summary

Technical Problem

The lack of nested waveform modeling capabilities in traditional software radio systems leads to inefficiency in complex waveform development and the inability to adapt to the needs of multiple scenarios.

Method used

Using a model-driven nested waveform modeling method, by creating waveform modeling views, importing waveform components, setting connection relationships, parsing model description files, establishing connection structures and setting waveform controllers, the SAD. Visual modeling and hierarchical design of sets of waveforms.

Benefits of technology

It improves the development efficiency of nested waveforms, optimizes the organizational structure of complex waveforms, and enables flexible adaptation to multiple application scenarios and unified management and reuse of sub-waveforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117472334B
    Figure CN117472334B
Patent Text Reader

Abstract

The present invention provides a nested waveform modeling method and system based on model-driven, which imports corresponding waveform components in a waveform modeling view, sets connections between waveform components, and creates a parent waveform model; creates a nested waveform, imports waveform components and sub-waveforms in the parent waveform model, parses the corresponding sub-waveform model description file, and generates a sub-waveform model; maps the generated sub-waveform model to the parent waveform model through a model description file, and establishes a connection structure between the parent waveform model and the sub-waveform model; sets a waveform controller for the nested waveform, generates a SAD.XML description file corresponding to the nested waveform, and obtains a nested waveform model. The present invention uses a model-driven modeling method to realize a visualized nested waveform modeling function, which is convenient for the development of nested waveforms; uses a nested waveform hierarchical design to optimize the organizational structure of complex waveforms to flexibly adapt to a variety of application scenarios; and uniformly manages sub-waveforms to realize the reuse of sub-waveforms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software radio, and in particular to a model-driven nested waveform modeling method, system, terminal and medium. Background Art

[0002] In the field of software radio, most of the current waveforms are single waveforms that only contain waveform components, and their application scope is mainly limited to simple and stable scenarios. However, with the development of technical equipment and the increasing complexity of application scenarios, a single waveform can no longer fully meet various needs. In order to solve this problem, the design of a single waveform has become more complicated, and the development difficulty has also increased. At present, in the development of software radio systems, general software architecture standards are usually used for design and development. The internationally widely used SCA (Software Communication Architecture) standard specification and the domestic SRTF standard specification are common references in the industry. The latest standard specifications propose the use of more complex and diverse nested waveforms to meet increasingly complex needs and special scenarios such as limited resources, and can be flexibly combined to adapt to different environments for performance, power consumption and reliability. In this field, waveform developers usually need to use a software radio integrated development environment for waveform design and development. However, the traditional integrated development environment only focuses on the modeling and development of a single waveform, and does not deeply study the modeling and development of nested waveforms, resulting in low development efficiency of complex waveforms and inability to adapt to multiple scenarios. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the present invention provides a model-driven nested waveform modeling method, system, terminal and medium.

[0004] According to one aspect of the present invention, a model-driven nested waveform modeling method is provided, comprising:

[0005] Create waveform modeling views;

[0006] Importing corresponding waveform components in the waveform modeling view, setting connection relationships between waveform components, and creating a parent waveform model and its model description file and a child waveform model and its model description file respectively;

[0007] Parsing the sub-waveform component information in the model description file of the parent waveform model, and importing the corresponding sub-waveform model as the sub-waveform component in the parent waveform model according to the sub-waveform component information, to create a nested waveform model;

[0008] Respectively parsing the model description file of the sub-waveform model and the model description file of the parent waveform model in the nested waveform model, mapping the model description file of the sub-waveform model with the model description file of the parent waveform model, and establishing a connection structure between the parent waveform model and the sub-waveform model in the nested waveform model;

[0009] A waveform controller of the nested waveform model is set to generate a SAD.XML description file corresponding to the nested waveform model to complete the nested waveform modeling.

[0010] Preferably, the creation of the parent waveform model and its model description file includes:

[0011] Add different waveform components to the created waveform modeling view, set the connection relationship between the waveform components, and obtain the parent waveform model; wherein the internal elements of the parent waveform model include: parent waveform component, port and child waveform component, and the data content of the parent waveform model includes: waveform name, ID, parent waveform component information, port information and child waveform component information; obtain the waveform name, port information, parent waveform component information and child waveform component information of the parent waveform model, and generate a model description file of the parent waveform model.

[0012] Preferably, the creation of the sub-waveform model and its model description file includes:

[0013] Different waveform components are added to the created waveform modeling view, and the connection relationship between the waveform components is set to obtain a sub-waveform model; wherein the internal elements of the sub-waveform model include: waveform components and external ports; the data content of the sub-waveform model includes: sub-waveform name, ID and external port information; the waveform name and port information of the sub-waveform model are obtained to generate a model description file of the sub-waveform model.

[0014] Preferably, mapping the model description file of the child waveform model with the model description file of the parent waveform model comprises:

[0015] Find the model description file path of the corresponding sub-waveform model according to the sub-waveform component information recorded in the model description file of the parent waveform model;

[0016] The model description file path of the sub-waveform model is recorded in the model description file of the parent waveform model to complete the mapping between the two model description files.

[0017] Preferably, the establishing of the connection structure between the parent waveform model and the child waveform model in the nested waveform model comprises:

[0018] According to the application scenario of the nested waveform, any one or more of the following connection structures can be established through the port information recorded in the model description file:

[0019] - Divide the parent waveform components and child waveform components in the parent waveform model into layers to form a hierarchical nested connection structure; wherein the parent waveform components in the hierarchical nested connection structure constitute top-level waveform components, which are directly managed by the waveform, and one of the top-level waveform components can serve as a waveform controller for the entire nested waveform model;

[0020] - Divide the sub-waveform components in the parent waveform model by domains to form multiple independent sub-waveform domain connection structures, one of which can serve as a waveform controller for the entire nested waveform model.

[0021] Preferably, the waveform controller for setting the nested waveform model comprises:

[0022] Check whether the nested waveform model has a waveform controller set. If not, check all parent waveform components or child waveform components to determine whether there is a parent waveform component or child waveform component that can serve as a model controller. If not, import a parent waveform component or child waveform component into the nested waveform. If so, select a parent waveform component or child waveform component to set as a waveform controller.

[0023] Preferably, the generating of the SAD.XML description file corresponding to the nested waveform model comprises:

[0024] The SAD.XML description file path of the corresponding sub-waveform model is found according to the model description file path of the sub-waveform model in the nested waveform model, the SAD.XML description file path of the sub-waveform is written into the sub-waveform component information in the SAD.XML description file of the parent waveform model, and the SAD.XML description file of the nested waveform model is generated according to the set format requirements.

[0025] According to another aspect of the present invention, there is provided a model-driven nested waveform modeling system, comprising:

[0026] A parent waveform model module, which is used to import corresponding waveform components in the created waveform modeling view, set connections between waveform components, and obtain a parent waveform model and its model description file;

[0027] A sub-waveform model module, which is used to import corresponding waveform components in the created waveform modeling view, set connections between waveform components, and obtain a sub-waveform model and its model description file;

[0028] A model import module, which is used to parse the sub-waveform component information in the model description file of the parent waveform model, and import the corresponding sub-waveform model as the sub-waveform component in the parent waveform model according to the sub-waveform component information to create a nested waveform model;

[0029] A model mapping module, which is used to parse the model description file of the sub-waveform model and the model description file of the parent waveform model in the nested waveform model, respectively, map the model description file of the sub-waveform model with the model description file of the parent waveform model, and establish a connection structure between the parent waveform model and the sub-waveform model in the nested waveform model;

[0030] The nested waveform modeling module is used to set the waveform controller of the nested waveform, generate the corresponding SAD.XML description file of the nested waveform model, and complete the nested waveform modeling.

[0031] According to a third aspect of the present invention, there is provided a computer terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, can be used to execute any of the above-described methods of the present invention, or to run any of the above-described systems of the present invention.

[0032] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can be used to execute any of the methods described above in the present invention, or to run any of the systems described above in the present invention.

[0033] Due to the adoption of the above technical solution, the present invention has at least one of the following beneficial effects compared with the prior art:

[0034] The model-driven nested waveform modeling method, system, terminal and medium provided by the present invention use a model-driven modeling approach to achieve a visualized nested waveform modeling function, thereby facilitating the development of nested waveforms.

[0035] The model-driven nested waveform modeling method, system, terminal and medium provided by the present invention use nested waveform layered design to optimize the organizational structure of complex waveforms to flexibly adapt to various application scenarios.

[0036] The model-driven nested waveform modeling method, system, terminal and medium provided by the present invention uniformly manage sub-waveforms and realize the reuse of sub-waveforms. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0038] Figure 1 The present invention is a workflow diagram of a model-driven nested waveform modeling method in a preferred embodiment of the present invention.

[0039] Figure 2 This is a model morphology view of a parent waveform model and a child waveform model in a preferred embodiment of the present invention.

[0040] Figure 3 It is a schematic diagram of the component modules of a model-driven nested waveform modeling system in a preferred embodiment of the present invention.

[0041] Figure 4 Schematic diagram of waveform model mapping operation in a preferred embodiment of the present invention.

[0042] Figure 5 Schematic diagram of the connection between sub-waveform and parent waveform components in a preferred embodiment of the present invention.

[0043] Figure 6 This is a waveform controller management flow chart in a preferred embodiment of the present invention.

[0044] Figure 7 It is a working schematic diagram of a nested waveform application scenario in a preferred embodiment of the present invention.

[0045] Figure 8 This is a working diagram of the second nested waveform application scenario in a preferred embodiment of the present invention.

[0046] Fig. 9 This is a flowchart of nested waveform modeling in a preferred embodiment of the present invention.

[0047] Fig.10 It is a schematic diagram of the component modules of a model-driven nested waveform modeling system in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following is a detailed description of the embodiments of the present invention: This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given. It should be pointed out that for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

[0049] In the field of software radio, waveform developers usually need to use software radio integrated development environment to design and develop waveforms. However, traditional integrated development environment has not conducted in-depth research on nested waveform modeling and development issues. In view of the above problems, an embodiment of the present invention provides a model-driven nested waveform modeling method, which facilitates the development of nested waveforms through visual nested waveform modeling; and through hierarchical design of nested waveforms, simplifies the organizational structure of complex applications, and develops waveforms that are suitable for different scenarios.

[0050] like Figure 1 As shown, the model-driven nested waveform modeling method provided in this embodiment may include:

[0051] S100, creating a waveform modeling view;

[0052] S200, importing corresponding waveform components in the waveform modeling view, setting connection relationships between waveform components, and creating a parent waveform model and its model description file and a child waveform model and its model description file respectively;

[0053] S300, parsing the sub-waveform component information in the model description file of the parent waveform model, and importing the corresponding sub-waveform model as the sub-waveform component in the parent waveform model according to the sub-waveform component information, to create a nested waveform model;

[0054] S400, respectively parsing the model description file of the sub-waveform model and the model description file of the parent waveform model in the nested waveform model, mapping the model description file of the sub-waveform model with the model description file of the parent waveform model, and establishing a connection structure between the parent waveform model and the sub-waveform model in the nested waveform model;

[0055] S500, setting a waveform controller of the nested waveform model, generating a SAD.XML description file corresponding to the nested waveform model, and completing nested waveform modeling.

[0056] In the above embodiment of the present invention, the model description file describes the waveform model, which can be used for visual modeling in the terminal, and is also used for mapping between two models to form a nested waveform model. In this embodiment, the model description file is used in the modeling terminal, and the local description file is used to enable faster access and improve data acquisition efficiency.

[0057] In some preferred implementations, the above S200, creating a parent waveform model and its model description file, may further include the following operations:

[0058] Add different waveform components to the created waveform modeling view, set the connection relationship between the waveform components, and obtain the parent waveform model; wherein the internal elements of the parent waveform model include: parent waveform component, port and child waveform component, and the data content of the parent waveform model includes: waveform name, ID, parent waveform component information, port information and child waveform component information; obtain the waveform name, port information, parent waveform component information and child waveform component information of the parent waveform model, and generate a model description file of the parent waveform model.

[0059] In this preferred embodiment, for better model visualization, the model description file may also set the model position, size, border and other appearance information as required.

[0060] In some preferred implementations, the above S200, creating a sub-waveform model and its model description file, may further include the following operations:

[0061] Different waveform components are added to the created waveform modeling view, and the connection relationship between the waveform components is set to obtain a sub-waveform model; wherein the internal elements of the sub-waveform model include: waveform components and external ports; the data content of the sub-waveform model includes: sub-waveform name, ID and external port information; the waveform name and port information of the sub-waveform model are obtained to generate a model description file of the sub-waveform model.

[0062] In some preferred implementations, the above S400, mapping the model description file of the child waveform model with the model description file of the parent waveform model, may further include the following operations:

[0063] S401, finding the model description file path of the corresponding sub-waveform model according to the sub-waveform component information recorded in the model description file of the parent waveform model;

[0064] S402, recording the model description file path of the child waveform model in the model description file of the parent waveform model, and completing the mapping between the two model description files.

[0065] In some preferred implementations, the above S400, establishing a connection structure between the parent waveform model and the child waveform model in the nested waveform model, may further include the following operations:

[0066] According to the application scenario of the nested waveform, any one or more of the following connection structures can be established through the port information recorded in the model description file:

[0067] - Divide the parent waveform components and child waveform components in the parent waveform model into layers to form a hierarchical nested connection structure; wherein the parent waveform components in the hierarchical nested connection structure constitute top-level waveform components, which are directly managed by the waveform, and one of the top-level waveform components can serve as a waveform controller for the entire nested waveform model;

[0068] - Divide the sub-waveform components in the parent waveform model by domain to form multiple independent sub-waveform domain connection structures, one of which can serve as a waveform controller for the entire nested waveform model. Further, in this structure, the parent waveform model only includes two sub-waveform components, one of which serves as a waveform controller for the nested waveform model.

[0069] In some preferred embodiments, the above S500, setting the waveform controller of the nested waveform model, may further include the following operations:

[0070] Check whether the nested waveform model has a waveform controller set. If not, check all parent waveform components or child waveform components to determine whether there is a parent waveform component or child waveform component that can serve as a model controller. If not, import a parent waveform component or child waveform component into the nested waveform. If so, select a parent waveform component or child waveform component to set as a waveform controller.

[0071] In some preferred implementations, the above S500, generating a SAD.XML description file corresponding to the nested waveform model, may further include the following operations:

[0072] The SAD.XML description file path of the corresponding sub-waveform model is found according to the model description file path of the sub-waveform model in the nested waveform model, the SAD.XML description file path of the sub-waveform is written into the sub-waveform component information in the SAD.XML description file of the parent waveform model, and the SAD.XML description file of the nested waveform model is generated according to the set format requirements.

[0073] The technical solutions and design principles provided by the above embodiments of the present invention are further described in detail below.

[0074] A nested waveform is a waveform that has a sub-waveform nested in it. The waveform being nested is called a sub-waveform, and the waveform that contains the sub-waveform is called a parent waveform. In order to achieve the nesting of waveform models, the waveform is required to have two model forms, one as the parent waveform and the other as a sub-waveform nested in the parent waveform. Figure 2As shown, the view design of two waveform model forms. From the model form view, the parent waveform model sets the waveform name above the model, and the bottom is used to display all internal elements of the waveform, including waveform components, ports and sub-waveforms, while the sub-waveform model only displays the model name and external ports. Functionally, the internal elements of the parent waveform model can include: parent waveform components, sub-waveform components, ports and other internal elements, and the connection relationship between them can be set, while the sub-waveform model can only be added to the parent waveform model as an internal element of the parent waveform, and its internal elements include: waveform components and external ports. From the model data content, the data content of the parent waveform model includes the waveform name, ID, waveform component information, port information and sub-waveform information, while the data content of the sub-waveform model only includes the waveform name, ID and external port information.

[0075] The design principle diagram of the nested waveform modeling method is as follows: Figure 3 As shown, it includes a waveform model mapping part, a waveform model connection part and a waveform controller management part, wherein the functions of each part are described as follows:

[0076] Waveform model mapping part: The function of this part is to realize the mapping between the parent waveform model and the child waveform model. Figure 4 As shown in the figure, the specific implementation method is to design a model description file to record all the information of the waveform model. When creating a sub-waveform model, parse the model description file, extract the waveform name, ID and external port information, and display it in the sub-waveform model, so as to realize the mapping between the parent waveform model and the sub-waveform model. The content of the model description file mainly includes two parts. The first part is the description of the waveform model itself, including the waveform name, type, ID, creation time, border size and position; the second part describes the internal element information of the waveform, including waveform component information, port information and sub-waveform information. The waveform component information includes the waveform component name, ID, type, border, attribute, operation and compilation information; the port information includes the port name, ID, model location, inherited interface and connected port; the sub-waveform information includes the sub-waveform model name, ID, external port information and the model description file path.

[0077] Waveform model connection part: Waveform components in a single waveform need to be connected through ports to communicate with each other. However, in nested waveforms, there are not only waveform components, but also sub-waveforms, and connections need to be established between the two. Relative to the parent waveform component, the ports inside the sub-waveform are invisible. When the sub-waveform needs to communicate with the parent waveform component, it is necessary to use external ports to expose the ports inside the sub-waveform that actually communicate with the parent waveform component. The function of this part is to use external ports to establish a connection between the parent waveform component and the sub-waveform. Figure 5As shown, the specific implementation method is to add an external port to the sub-waveform, and connect this external port to the internal port of the sub-waveform, and finally connect the port on the parent waveform component to this external port, thereby realizing the connection between the parent waveform component and the sub-waveform through the external interface.

[0078] Waveform controller management section: Each waveform must have a waveform controller to manage its components. A single waveform usually selects one of the waveform components as the waveform controller, but in a nested waveform, a sub-waveform can also be used as a waveform controller. The waveform controller is the main resource controller of the waveform, and can proxy the configuration, query, start and stop operations of waveform resources on the waveform controller. Each waveform has a corresponding SAD.XML description file to describe the waveform information, including the waveform name, waveform component information, sub-waveform information, component connection information, and waveform controller information. In the general software architecture standard, the assemblycontroller element used to describe the waveform controller information in the SAD.XML description file must exist, and the waveform component type set as the waveform controller must be a controllable waveform component. This section provides two functions, namely the waveform controller configuration function and the waveform controller detection function. The waveform controller configuration function allows the waveform controller to choose between waveform components and sub-waveforms. The waveform controller detection function detects whether the waveform controller configuration is correct when generating the SAD.XML description file. If it is abnormal, the cause of the abnormality will be analyzed.

[0079] Specific steps are as follows Figure 6 As shown:

[0080] Step 1: In the software radio integrated development environment, enter the nested waveform name and create the corresponding nested waveform modeling view;

[0081] Step 2: Import the required waveform components and sub-waveforms from the library according to the developer's waveform design, set the connection relationship between the waveform components, and complete the design of the nested waveform;

[0082] Step 3: Check whether the waveform controller is set for the waveform. If not, proceed to step 4; if it is set, proceed to step 7;

[0083] Step 4: Check all waveform components or sub-waveforms to determine whether there is an application control component or sub-waveform. If not, proceed to step 5; if so, proceed to step 6;

[0084] Step 5: Import an application control component or sub-waveform into the nested waveform;

[0085] Step 6: Select an application control component or sub-waveform to set as a waveform controller;

[0086] Step 7: Generate the nested waveform SAD.XML description file, obtain the nested waveform model and store it in the model library.

[0087] For nested waveforms, the waveforms as parent waveforms and child waveforms must be two different forms of expression. The method provided in the above embodiment of the present invention designs two waveform models for this purpose, and maps the relationship between the two through a model description file. The specific steps are as follows:

[0088] Step 1: Create a waveform model without sub-waveforms, and add different components according to the developer's design to achieve corresponding functions;

[0089] Step 2: Analyze the waveform model, obtain the model name, port, component and other information, and generate a model description file;

[0090] Step 3: In the nested waveform model, when a sub-waveform is imported, the model description file of the corresponding waveform is parsed, the waveform name, ID and external port information are read, and the sub-waveform model is generated;

[0091] Step 4: Generate a SAD.XML description file for the nested waveform, find the SAD.XML description file path of the corresponding sub-waveform according to the path of the sub-waveform model description file, and write the sub-waveform SAD.XML description file path to the sub-waveform information in the nested waveform SAD.XML description file.

[0092] For many current scenarios, a single waveform is still the best solution, but in some common cases, hierarchical nested waveforms are a better solution. The application scenarios of nested waveforms can be divided into two types: Figure 7 As shown in the figure, the first scenario is to better manage the organizational structure of complex waveforms. The complex waveform structure is encapsulated into a hierarchical organization. The entire waveform consists of multiple top-level waveform components and sub-waveforms. These top-level waveform components are waveform components directly managed by the waveform. One of the top-level waveform components serves as the waveform controller of the entire waveform. The organizational structure of the waveform can be optimized through hierarchical nesting. Figure 8 As shown in the figure, the second scenario is that in some environments with limited resources but high security, in order to ensure the secure transmission of information, multiple sub-waveforms contained in the nested waveform need to run in different domains so that the control and configuration communication between domains is minimized. In such a scenario, the parent waveform model only contains two sub-waveform components, one of which serves as the waveform controller of the nested waveform; it is beneficial to design the waveform structure into two or more independent sub-waveforms, which requires one of the sub-waveforms to be used as the waveform controller of the entire waveform.

[0093] In the field of software radio, waveform developers usually need to use software radio integrated development environment to design and develop waveforms. However, traditional integrated development environment does not deeply study the problem of nested waveform modeling and development. In view of the above problems, an embodiment of the present invention provides a model-driven nested waveform modeling method, which realizes nested waveform modeling in a radio integrated development environment terminal. Fig. 9 As shown, in a radio integrated development environment terminal, the nested waveform modeling method includes the following steps:

[0094] Step 1: In the software radio integrated development environment, enter the waveform name and create the corresponding waveform modeling view;

[0095] Step 2: According to the developer's waveform design, import the corresponding waveform components from the library, set the connections between the waveform components, and complete the creation of the waveform;

[0096] Step 3: Create a nested waveform, import waveform components and sub-waveforms from the library, parse the corresponding sub-waveform model description file, generate a sub-waveform model, repeat steps 1 to 3 according to the number of sub-waveforms, and set the connection between waveform components;

[0097] Step 4: Set the waveform controller of the nested waveform through the waveform controller management module, generate the corresponding SAD.XML description file, and then store the nested waveform model in the library.

[0098] An embodiment of the present invention provides a model-driven nested waveform modeling system.

[0099] like Fig.10 As shown, the model-driven nested waveform modeling system provided by this embodiment may include:

[0100] The parent waveform model module is used to input the waveform name and create the corresponding waveform modeling view; import the corresponding waveform components in the waveform modeling view, set the connection between the waveform components, and complete the creation of the parent waveform model;

[0101] Sub-waveform model module, which is used to create nested waveforms, import waveform components and sub-waveforms into the parent waveform model, parse the corresponding sub-waveform model description file, and generate the sub-waveform model;

[0102] A model mapping module, which is used to map the generated sub-waveform model with the parent waveform model through a model description file, and establish a connection structure between the parent waveform model and the sub-waveform model;

[0103] The nested waveform modeling module is used to set the waveform controller of the nested waveform, generate the SAD.XML description file corresponding to the nested waveform, and obtain the nested waveform model.

[0104] It should be noted that the steps in the method provided by the present invention can be implemented by using corresponding modules, devices, units, etc. in the system. Those skilled in the art can refer to the technical solution of the method to realize the composition of the system, that is, the embodiments in the method can be understood as preferred examples for constructing the system, which will not be elaborated here.

[0105] An embodiment of the present invention provides a computer terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it can be used to execute any method in the above-mentioned embodiments of the present invention, or to run any system in the above-mentioned embodiments of the present invention.

[0106] Optionally, the memory is used to store programs; the memory may include volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviated: RAM), such as static random-access memory (English: static random-access memory, abbreviated: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Random Access Memory, abbreviated: DDR SDRAM), etc.; the memory may also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory). The memory is used to store computer programs (such as applications, functional modules, etc. that implement the above method), computer instructions, etc., and the above computer programs, computer instructions, etc. can be partitioned and stored in one or more memories. And the above computer programs, computer instructions, data, etc. can be called by the processor.

[0107] The above-mentioned computer programs, computer instructions, etc. may be stored in one or more memories in partitions, and the above-mentioned computer programs, computer instructions, data, etc. may be called by a processor.

[0108] The processor is used to execute the computer program stored in the memory to implement the various steps of the method or various modules of the system involved in the above embodiments. For details, please refer to the relevant descriptions in the above method and system embodiments.

[0109] The processor and the memory may be independent structures or integrated structures. When the processor and the memory are independent structures, the memory and the processor may be coupled and connected via a bus.

[0110] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it can be used to execute any method in the above embodiments of the present invention, or to run any system in the above embodiments of the present invention.

[0111] The model-driven nested waveform modeling method, system, terminal and medium provided in the above-mentioned embodiments of the present invention use a model-driven modeling approach to realize a visualized nested waveform modeling function, thereby facilitating the development of nested waveforms; use a nested waveform hierarchical design to optimize the organizational structure of complex waveforms to flexibly adapt to a variety of application scenarios; and uniformly manage sub-waveforms to realize the reuse of sub-waveforms.

[0112] Those skilled in the art know that, in addition to implementing the system and its various devices provided by the present invention in a purely computer-readable program code, the system and its various devices provided by the present invention can be made to implement the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices provided by the present invention can be considered as a hardware component, and the devices for implementing various functions included therein can also be considered as structures within the hardware component; the devices for implementing various functions can also be considered as both software modules for implementing the method and structures within the hardware component.

[0113] All matters not covered in the above embodiments of the present invention are well known in the art.

[0114] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.

Claims

1. A nested waveform modeling method based on model-driven, characterized in that: include: Create waveform modeling views; Importing corresponding waveform components in the waveform modeling view, setting connection relationships between waveform components, and creating a parent waveform model and its model description file and a child waveform model and its model description file respectively; Parsing the sub-waveform component information in the model description file of the parent waveform model, and importing the corresponding sub-waveform model as the sub-waveform component in the parent waveform model according to the sub-waveform component information, to create a nested waveform model; Respectively parsing the model description file of the sub-waveform model and the model description file of the parent waveform model in the nested waveform model, mapping the model description file of the sub-waveform model with the model description file of the parent waveform model, and establishing a connection structure between the parent waveform model and the sub-waveform model in the nested waveform model; A waveform controller of the nested waveform model is set to generate a SAD.XML description file corresponding to the nested waveform model to complete the nested waveform modeling.

2. The model-driven nested waveform modeling method according to claim 1, characterized in that: The creation of the parent waveform model and its model description file includes: Add different waveform components to the created waveform modeling view, set the connection relationship between the waveform components, and obtain the parent waveform model; wherein the internal elements of the parent waveform model include: parent waveform component, port and child waveform component, and the data content of the parent waveform model includes: waveform name, ID, parent waveform component information, port information and child waveform component information; obtain the waveform name, port information, parent waveform component information and child waveform component information of the parent waveform model, and generate a model description file of the parent waveform model.

3. The model-driven nested waveform modeling method according to claim 1, characterized in that: The creation of the sub-waveform model and its model description file includes: Different waveform components are added to the created waveform modeling view, and the connection relationship between the waveform components is set to obtain a sub-waveform model; wherein the internal elements of the sub-waveform model include: waveform components and external ports; the data content of the sub-waveform model includes: sub-waveform name, ID and external port information; the waveform name and port information of the sub-waveform model are obtained to generate a model description file of the sub-waveform model.

4. The model-driven nested waveform modeling method according to claim 1, characterized in that: The mapping of the model description file of the child waveform model with the model description file of the parent waveform model includes: Find the model description file path of the corresponding sub-waveform model according to the sub-waveform component information recorded in the model description file of the parent waveform model; The model description file path of the sub-waveform model is recorded in the model description file of the parent waveform model to complete the mapping between the two model description files.

5. The model-driven nested waveform modeling method according to claim 1, characterized in that: The step of establishing a connection structure between a parent waveform model and a child waveform model in the nested waveform model includes: According to the application scenario of the nested waveform, any one or more of the following connection structures can be established through the port information recorded in the model description file: - Divide the parent waveform components and child waveform components in the parent waveform model into layers to form a hierarchical nested connection structure; wherein the parent waveform components in the hierarchical nested connection structure constitute top-level waveform components, which are directly managed by the waveform, and one of the top-level waveform components can serve as a waveform controller for the entire nested waveform model; - Divide the sub-waveform components in the parent waveform model by domains to form multiple independent sub-waveform domain connection structures, one of which can serve as a waveform controller for the entire nested waveform model.

6. The model-driven nested waveform modeling method according to claim 1, characterized in that: The waveform controller for setting the nested waveform model comprises: Check whether the nested waveform model has a waveform controller set. If not, check all parent waveform components or child waveform components to determine whether there is a parent waveform component or child waveform component that can serve as a model controller. If not, import a parent waveform component or child waveform component into the nested waveform. If so, select a parent waveform component or child waveform component to set as a waveform controller.

7. The model-driven nested waveform modeling method according to claim 1, characterized in that: The generating of the SAD.XML description file corresponding to the nested waveform model comprises: The SAD.XML description file path of the corresponding sub-waveform model is found according to the model description file path of the sub-waveform model in the nested waveform model, the SAD.XML description file path of the sub-waveform is written into the sub-waveform component information in the SAD.XML description file of the parent waveform model, and the SAD.XML description file of the nested waveform model is generated according to the set format requirements.

8. A model-driven nested waveform modeling system, characterized in that: include: A parent waveform model module, which is used to import corresponding waveform components in the created waveform modeling view, set connections between waveform components, and obtain a parent waveform model and its model description file; A sub-waveform model module, which is used to import corresponding waveform components in the created waveform modeling view, set connections between waveform components, and obtain a sub-waveform model and its model description file; A model import module, which is used to parse the sub-waveform component information in the model description file of the parent waveform model, and import the corresponding sub-waveform model as the sub-waveform component in the parent waveform model according to the sub-waveform component information to create a nested waveform model; A model mapping module, which is used to parse the model description file of the sub-waveform model and the model description file of the parent waveform model in the nested waveform model, respectively, map the model description file of the sub-waveform model with the model description file of the parent waveform model, and establish a connection structure between the parent waveform model and the sub-waveform model in the nested waveform model; The nested waveform modeling module is used to set the waveform controller of the nested waveform, generate the corresponding SAD.XML description file of the nested waveform model, and complete the nested waveform modeling.

9. A computer terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it can be used to perform the method described in any one of claims 1 to 7, or to run the system described in claim 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it can be used to perform the method described in any one of claims 1 to 7, or to run the system described in claim 8.