CN113296853A - Model-driven independent port modeling method and terminal - Google Patents

Model-driven independent port modeling method and terminal Download PDF

Info

Publication number
CN113296853A
CN113296853A CN202110592301.8A CN202110592301A CN113296853A CN 113296853 A CN113296853 A CN 113296853A CN 202110592301 A CN202110592301 A CN 202110592301A CN 113296853 A CN113296853 A CN 113296853A
Authority
CN
China
Prior art keywords
port
independent
independent port
creating
component
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.)
Granted
Application number
CN202110592301.8A
Other languages
Chinese (zh)
Other versions
CN113296853B (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.)
Chengdu Xieying Technology Co ltd
Original Assignee
Chengdu Xieying Technology 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 Chengdu Xieying Technology Co ltd filed Critical Chengdu Xieying Technology Co ltd
Priority to CN202110592301.8A priority Critical patent/CN113296853B/en
Publication of CN113296853A publication Critical patent/CN113296853A/en
Application granted granted Critical
Publication of CN113296853B publication Critical patent/CN113296853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms
    • G06F9/4486Formation of subprogram jump address

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a model-driven independent port modeling method and a terminal, which communicate with an equipment assembly through an independent port, compared with the traditional port, the independent port of the invention does not depend on the assembly, high coupling with the assembly is removed, interaction and communication can be carried out through the independent port only by establishing connection with the assembly, the encapsulation and replaceability of the assembly are ensured to a greater extent, the independent port can be used by a plurality of assemblies, the reusability is realized, the communication between the assemblies is completed in a more concise and flexible mode, and the development efficiency is greatly improved.

Description

Model-driven independent port modeling method and terminal
Technical Field
The invention belongs to the technical field of radio, and particularly relates to an independent port modeling method based on model driving and a terminal.
Background
The port is an external window of the packaged component in the SCA software communication architecture, in the packaged component, all the interaction back and forth of the component passes through the port, and the externally visible behavior of the component is just the sum of the ports of the component, on one hand, because of the component dependency of the port, the port must be created on the component, and the port is not reusable and independent, sometimes for the interaction among a plurality of components, a large number of ports must be established on the component to connect the plurality of components, which wastes system resources and labor cost greatly, and when the number of the ports is further increased, a person skilled in the art usually expends a great deal of energy on maintaining the ports, which makes the person skilled in the art feel a lot of headache. On the other hand, the conventional modeling method must load platform device components on the waveform diagram so as to enable communication between the components through component port connection, and when the number of the components increases, the waveform application diagram becomes more and more complex and chaotic, and is also extremely difficult for a person skilled in the art to expand and maintain.
In the traditional modeling mode, because of the limitation of the component port, a platform equipment model can only be loaded on a graph of waveform application and can only be communicated through the component port, but the method of the independent port can realize the layering of the platform equipment model and the waveform application by utilizing the characteristics of the method, all communication is maintained by the independent port, and platform equipment is not loaded on the waveform application in a forced manner, so that the complexity of the application waveform graph is greatly reduced, and the method is more beneficial to maintenance and expansion.
Disclosure of Invention
Aiming at the defects in the prior art, the model-driven independent port modeling method and the terminal provided by the invention solve the problems that the existing modeling method is limited by component ports and the development efficiency is low.
In order to achieve the purpose of the invention, the invention adopts the technical scheme that: an independent port modeling method based on model driving comprises the following steps:
s1, creating a plug-in of an independent port;
s2, creating an independent port in RSA (rivest, Shamir and Adleman) in a radio software development integration environment based on the created plug-in;
and S3, connecting the created independent port into the component, and realizing independent port modeling.
Further, the step S1 includes the following sub-steps:
s11, creating a top-level independent port interface class and defining the attribute and operation of the top-level independent port interface class;
s12, creating an interface when the independent port is realized by the independent port interface class, and realizing the attribute and operation defined in the interface;
s13, creating the realization classes of 3 different types of independent ports and inheriting the realization classes of the interfaces of the independent ports, and defining the corresponding operation;
s14, creating a graphic style of an independent port based on SWT;
and S15, constructing and updating site engineering based on the created interface, the implementation class and the graphic style, and compiling the site engineering to obtain an eclipse plug-in jar package.
Further, in the step S13, the independent ports of the 3 different types are a DTLTCR independent port, a DUBTCR independent port, and a FSP Domainfinder independent port, respectively.
Further, the step S2 includes the following sub-steps:
s21, importing the created plug-in into a radio software development integration environment (RSA);
s22, sequentially creating a DTLTCR independent port, a DUBTCR independent port and an FSP DomainFinder independent port in an RSA (radio software development integration) environment.
Further, in step S22, the method for creating any one of the DTLTCR independent port and the DUBTCR independent port specifically includes:
a1, starting a process of creating an independent port in radio software development integration environment RSA;
a2, determining the name of the created independent port;
a3, determining the port connection type under the creation name;
a4, selecting a component for connecting independent ports;
a5, selecting a combination mode of independent ports;
a6, assigning the independent ports subjected to attribute configuration in the steps A2-A5 to corresponding IDL interfaces.
Further, in the step S22:
when a DTLTCR independent Port is created, when a Port connection type is selected, a Port or an Interface is selected, when the Port is selected, the name of a Port loaded to equipment of a specified component in operation is referred, and when the Interface is selected, the Port is analyzed as an Interface supported by an assembly in operation; when the component is selected, resolving the DTLTCR independent port into any port loaded to the specified component in operation;
when the DUBTCR independent port is created, a selected using device is included besides the connected component, when the component is selected, the selected component has a using device relation, and when the device is selected to be used, the DUBTCR independent port is resolved into any port on the using device meeting the component;
for creating the DTLTCR independent port and the DUBTCR independent port, when the binding mode is selected, the selected binding mode is Provides or Uses.
Further, in the step S22, the method for creating the FSP domain fander independent port specifically includes:
b1, starting a process of creating an independent port in radio software development integration environment RSA;
b2, determining the domain searching type;
b3, determining the connection type;
b4, selecting port name and combination mode;
b5, assigning the independent port to the corresponding IDL interface after the attribute configuration of the steps B2-B5.
Further, in step B4, the selected combination is Provides or Uses.
A terminal comprising a memory, a processor and a computer program stored on the memory and operable on the processor, the processor being operable when executing the computer program to perform an independent port modelling method.
The invention has the beneficial effects that:
(1) compared with the traditional component port, the model-driven independent port method has independence, can realize the decoupling of the component and the port, and avoids the component dependence of the traditional port;
(2) the invention also has reusability, can be used by different components together, is beneficial to the maintenance of technical personnel and saves system resources;
(3) the invention has 3 kinds of independent ports of different types, can meet the use of the independent ports under different conditions during modeling, and technicians can use the independent ports to realize the interaction between the components in a more flexible and accurate mode only by simple configuration without considering the complex dependence between the ports of the traditional components.
(4) The method of the invention uses the independent port to make the modeling more concise and elegant, the structure more clear and definite, and simultaneously, the modeling efficiency is greatly improved, and the modeling cost is reduced.
Drawings
FIG. 1 is a flow chart of a model-driven independent port modeling method according to the present invention.
Detailed Description
The following description of the embodiments of the present invention is provided to facilitate the understanding of the present invention by those skilled in the art, but it should be understood that the present invention is not limited to the scope of the embodiments, and it will be apparent to those skilled in the art that various changes may be made without departing from the spirit and scope of the invention as defined and defined in the appended claims, and all matters produced by the invention using the inventive concept are protected.
As shown in fig. 1, a model-driven independent port modeling method includes the following steps:
s1, creating a plug-in of an independent port;
s2, creating an independent port in RSA (rivest, Shamir and Adleman) in a radio software development integration environment based on the created plug-in;
and S3, connecting the created independent port into the component, and realizing independent port modeling.
Step S1 of the present embodiment includes the following substeps:
s11, creating a top-level independent port interface class and defining the attribute and operation of the top-level independent port interface class;
s12, creating an interface when the independent port is realized by the independent port interface class, and realizing the attribute and operation defined in the interface;
s13, creating the realization classes of 3 different types of independent ports and inheriting the realization classes of the interfaces of the independent ports, and defining the corresponding operation;
s14, creating a graphic style of an independent port based on SWT;
and S15, constructing and updating site engineering based on the created interface, the implementation class and the graphic style, and compiling the site engineering to obtain an eclipse plug-in jar package.
In the step S13, the 3 different types of independent ports are DTLTCR independent port, DUBTCR independent port, and FSP Domainfinder independent port, respectively, and the different types of independent ports use different scenes and have their own specific fields and attributes;
dtltcr (devicethatloadloadthiscompentanref) independent port, the connection allows a software radio Core Framework (Core Framework-CF) to locate loadable devices that participate in the connection. A usage port, which may be used as a modeling time, provides a port, or component port, DTLTCR FSP provides information on how to resolve the DTLTCR port at runtime by indicating which device loaded a particular component instance.
DUBTCR (DeviceUseByThisComponentRef) independent port, connected to allow a Core Framework (Core Framework-CF) to locate devices participating in the connection based on the used device relationships of the component. It can be used as a usage port at modeling time, provide a port or component port, dubbtcr FSP provides information on how to use device relationships to resolve the dubbtcr port at runtime, and such connections are necessary for dynamic connections of devices that are not loaded.
The FSP Domainfinder independent port is intended for use by a device or node for software radio modeling.
Step S2 of the present embodiment includes the following substeps:
s21, importing the created plug-in into a radio software development integration environment (RSA);
s22, sequentially creating a DTLTCR independent port, a DUBTCR independent port and an FSP DomainFinder independent port in an RSA (radio software development integration) environment.
In step S22, the method for creating any one of the DTLTCR independent port and the DUBTCR independent port specifically includes:
a1, starting a process of creating an independent port in radio software development integration environment RSA;
a2, determining the name of the created independent port;
a3, determining the port connection type under the creation name;
a4, selecting a component for connecting independent ports;
a5, selecting a combination mode of independent ports;
a6, assigning the independent ports subjected to attribute configuration in the steps A2-A5 to corresponding IDL interfaces.
In the above step S22:
when a DTLTCR independent Port is created, when a Port connection type is selected, a Port or an Interface is selected, when the Port is selected, the name of a Port loaded to equipment of a specified component in operation is referred, and when the Interface is selected, the Port is analyzed as an Interface supported by an assembly in operation; when the component is selected, resolving the DTLTCR independent port into any port loaded to the specified component in operation;
when the DUBTCR independent port is created, a selected using device is included besides the connected component, when the component is selected, the selected component has a using device relation, and when the device is selected to be used, the DUBTCR independent port is resolved into any port on the using device meeting the component;
for creating the DTLTCR independent port and the DUBTCR independent port, when the binding mode is selected, the selected binding mode is Provides or Uses.
In step S22, the method for creating the FSP domain fundender independent port specifically includes:
b1, starting a process of creating an independent port in radio software development integration environment RSA;
b2, determining a domain lookup type for indicating whether to connect to a port of a server or directly to a service using its port;
b3, determining the connection type to indicate the name of the service port;
b4, selecting port name and combination mode;
wherein the selected binding mode is Provides or Uses.
B5, assigning the independent port to the corresponding IDL interface after the attribute configuration of the steps B2-B5.
Based on the model-driven independent port modeling method provided by the embodiment of the invention, the embodiment of the invention also provides a terminal, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor can be used for executing any one of the methods when executing the computer program.
The method for modeling the independent port provided by the embodiment of the invention communicates with the equipment component through the independent port, compared with the traditional port, the independent port provided by the invention does not depend on the component, is not highly coupled with the component, can interact and communicate through the independent port only by establishing connection with the component, ensures the encapsulation performance and the replaceability of the component to a greater extent, can be used by a plurality of components, has reusability, completes the communication between the components in a more brief and flexible way, and greatly improves the development efficiency.

Claims (9)

1. A model-driven independent port modeling method is characterized by comprising the following steps:
s1, creating a plug-in of an independent port;
s2, creating an independent port in RSA (rivest, Shamir and Adleman) in a radio software development integration environment based on the created plug-in;
and S3, connecting the created independent port into the component, and realizing independent port modeling.
2. The model-driven independent port modeling method according to claim 1, wherein said step S1 includes the following substeps:
s11, creating a top-level independent port interface class and defining the attribute and operation of the top-level independent port interface class;
s12, creating an independent port interface class to realize the interface of the independent port, and realizing the attribute and operation defined in the interface;
s13, creating the realization classes of 3 different types of independent ports and inheriting the realization classes of the interfaces of the independent ports, and defining the corresponding operation;
s14, creating a graphic style of an independent port based on SWT;
and S15, constructing and updating site engineering based on the created interface, the implementation class and the graphic style, and compiling the site engineering to obtain an eclipse plug-in jar package.
3. The model-based driven independent port modeling method according to claim 2, wherein in said step S13, the 3 different types of independent ports are DTLTCR independent port, DUBTCR independent port and FSP Domainfinder independent port, respectively.
4. The model-driven independent port modeling method according to claim 3, wherein said step S2 includes the following substeps:
s21, importing the created plug-in into a radio software development integration environment (RSA);
s22, sequentially creating a DTLTCR independent port, a DUBTCR independent port and an FSP DomainFinder independent port in an RSA (radio software development integration) environment.
5. The model-driven-based independent port modeling method according to claim 4, wherein in step S22, the method for creating any one of the DTLTCR independent port and the DUBTCR independent port is specifically:
a1, starting a process of creating an independent port in radio software development integration environment RSA;
a2, determining the name of the created independent port;
a3, determining the port connection type under the creation name;
a4, selecting a component for connecting independent ports;
a5, selecting a combination mode of independent ports;
a6, assigning the independent ports subjected to attribute configuration in the steps A2-A5 to corresponding IDL interfaces.
6. The model-driven independent port modeling method according to claim 5, wherein in step S22:
when a DTLTCR independent Port is created, when a Port connection type is selected, a Port or an Interface is selected, when the Port is selected, the name of a Port loaded to equipment of a specified component in operation is referred, and when the Interface is selected, the Port is analyzed as an Interface supported by an assembly in operation; when the component is selected, resolving the DTLTCR independent port into any port loaded to the specified component in operation;
when the DUBTCR independent port is created, a selected using device is included besides the connected component, when the component is selected, the selected component has a using device relation, and when the device is selected to be used, the DUBTCR independent port is resolved into any port on the using device meeting the component;
for creating the DTLTCR independent port and the DUBTCR independent port, when the binding mode is selected, the selected binding mode is Provides or Uses.
7. The model-driven-based independent port modeling method according to claim 4, wherein in step S22, the method for creating the FSP domain fuel independent port is specifically:
b1, starting a process of creating an independent port in radio software development integration environment RSA;
b2, determining the domain searching type;
b3, determining the connection type;
b4, selecting port name and combination mode;
b5, assigning the independent port to the corresponding IDL interface after the attribute configuration of the steps B2-B5.
8. The model-driven-based independent port modeling method according to claim 7, wherein in step B4, the selected combination is Provides or Uses.
9. A terminal comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the computer program when executed by the processor is operable to perform the method of any of claims 1 to 8.
CN202110592301.8A 2021-05-28 2021-05-28 Independent port modeling method and terminal based on model driving Active CN113296853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110592301.8A CN113296853B (en) 2021-05-28 2021-05-28 Independent port modeling method and terminal based on model driving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110592301.8A CN113296853B (en) 2021-05-28 2021-05-28 Independent port modeling method and terminal based on model driving

Publications (2)

Publication Number Publication Date
CN113296853A true CN113296853A (en) 2021-08-24
CN113296853B CN113296853B (en) 2023-09-29

Family

ID=77325967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110592301.8A Active CN113296853B (en) 2021-05-28 2021-05-28 Independent port modeling method and terminal based on model driving

Country Status (1)

Country Link
CN (1) CN113296853B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1364262A (en) * 1999-05-26 2002-08-14 富士通株式会社 Network, element management system
CN107257297A (en) * 2017-07-27 2017-10-17 上海介方信息技术有限公司 A kind of multi-layer platform modeling method based on software communications architecture
CN108614705A (en) * 2017-02-07 2018-10-02 腾讯科技(深圳)有限公司 A kind of data compilation processing method and terminal
WO2019113308A1 (en) * 2017-12-05 2019-06-13 Franchitti Jean Claude Active adaptation of networked compute devices using vetted reusable software components
CN110100471A (en) * 2017-01-03 2019-08-06 瑞典爱立信有限公司 Radio network node and wherein executing the method for handling the communication in cordless communication network
CN111353235A (en) * 2020-03-13 2020-06-30 上海介方信息技术有限公司 Component port modeling method based on model drive and terminal
CN111399828A (en) * 2020-03-13 2020-07-10 上海介方信息技术有限公司 Model-driven logic device modeling method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1364262A (en) * 1999-05-26 2002-08-14 富士通株式会社 Network, element management system
CN110100471A (en) * 2017-01-03 2019-08-06 瑞典爱立信有限公司 Radio network node and wherein executing the method for handling the communication in cordless communication network
CN108614705A (en) * 2017-02-07 2018-10-02 腾讯科技(深圳)有限公司 A kind of data compilation processing method and terminal
CN107257297A (en) * 2017-07-27 2017-10-17 上海介方信息技术有限公司 A kind of multi-layer platform modeling method based on software communications architecture
WO2019113308A1 (en) * 2017-12-05 2019-06-13 Franchitti Jean Claude Active adaptation of networked compute devices using vetted reusable software components
CN111353235A (en) * 2020-03-13 2020-06-30 上海介方信息技术有限公司 Component port modeling method based on model drive and terminal
CN111399828A (en) * 2020-03-13 2020-07-10 上海介方信息技术有限公司 Model-driven logic device modeling method and terminal

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CUSI77914: "在Rational Software Architect V8中开发JAX-RS 1.1 RESTful服务以部署到WebSphere Application Server V8", pages 1 - 28, Retrieved from the Internet <URL:《 https://blog.csdn.net/cusi77914/article/details/107088797/》> *
HOWARD FOSTER: "Tool Support for Safety Analysis of Service Composition and Deployment Models", 《2008 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES》, pages 1 - 8 *
IBM: "Rational Software Architect Designer product overview", pages 1 - 2, Retrieved from the Internet <URL:《https://www.ibm.com/docs/en/rational-soft-arch/9.6.1?topic=designer-rational-software-architect-product-overview》> *
安旭: "面向SOA架构的模型驱动开发方法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 138 - 1302 *

Also Published As

Publication number Publication date
CN113296853B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN108519952B (en) A kind of distributed WEB automatization test system and method
CN102708234B (en) Integration platform and method of Matlab (matrix laboratory) simulation model based on HLA (high level architecture)
CN105630488A (en) Docker container technology-based continuous integration realizing method
CN105389256A (en) Unit testing method and system
CN111399828B (en) Model-driven logic device modeling method and terminal
CN111859834B (en) UVM-based verification platform development method, system, terminal and storage medium
CN112035090B (en) Intelligent contract intelligent management system and method based on containerization technology
CN112148278A (en) Visual block chain intelligent contract framework and intelligent contract development and deployment method
Yau et al. Integration in component-based software development using design patterns
CN111507676A (en) Method, device, storage medium and system for establishing and implementing business order flow
CN116737117A (en) Model development method based on Autosar architecture
CN109960709B (en) Database driver processing method, device, equipment and storage medium
CN101639777A (en) Plug and play method of member, application and system thereof
CN111752841A (en) Single test simulation method, device, equipment and computer readable storage medium
CN115129322A (en) Method and device for generating automatic driving software installation package and electronic equipment
CN114968192A (en) Project creation method and device, computer equipment and storage medium
CN112926109A (en) Visual modeling method for virtual operating environment of complex embedded system
CN112561690A (en) Method, system, equipment and storage medium for testing credit card staging service interface
CN115712420B (en) Architecture design and architecture conversion method based on complex real-time embedded system
CN113296853A (en) Model-driven independent port modeling method and terminal
CN116466915A (en) MVP architecture-based iOS development framework construction method and device
CN113568603B (en) Component object creating and interface method calling method, terminal and storage device
CN111782194B (en) Automatic generation method of portable unit code based on aviation embedded open system architecture
Tessier et al. A component-based methodology for embedded system prototyping
Bardaro et al. From models to software through automatic transformations: An AADL to ROS end-to-end toolchain

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Model Driven Independent Port Modeling Method and Terminal

Granted publication date: 20230929

Pledgee: Agricultural Bank of China Limited by Share Ltd. Chengdu high tech Industrial Development Zone Branch

Pledgor: Chengdu Xieying Technology Co.,Ltd.

Registration number: Y2024510000088

PE01 Entry into force of the registration of the contract for pledge of patent right