CN113329086A - Port connection system and method - Google Patents

Port connection system and method Download PDF

Info

Publication number
CN113329086A
CN113329086A CN202110602694.6A CN202110602694A CN113329086A CN 113329086 A CN113329086 A CN 113329086A CN 202110602694 A CN202110602694 A CN 202110602694A CN 113329086 A CN113329086 A CN 113329086A
Authority
CN
China
Prior art keywords
model
data
universal
orb
port
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
CN202110602694.6A
Other languages
Chinese (zh)
Other versions
CN113329086B (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 CN202110602694.6A priority Critical patent/CN113329086B/en
Publication of CN113329086A publication Critical patent/CN113329086A/en
Application granted granted Critical
Publication of CN113329086B publication Critical patent/CN113329086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a port connection system and a method, belonging to the technical field of communication, wherein the system comprises a model and a general data receiving and transmitting model connected with the model through an external port: the model comprises a platform component, an equipment component and an application component which are mutually connected through a floating port; and the application component is connected with the universal data transceiving model by calling an external port. The invention realizes the data channel connection between the model and the data transceiving processing module outside the model, and realizes the data transceiving support of the model to the data transceiving processing module developed by the non-SCA model.

Description

Port connection system and method
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a port connection system and a port connection method.
Background
Among the SCA model tools, there are different model tools, including but not limited to: platform components, driver components, application components, generic components, and port components. Wherein the port component is used for connecting different types of components of the same layer, or the same kind of new components of different layers, or different types of components of different layers.
The port assembly includes a floatable port and an external port. The floating ports are divided into two types, namely a start-time connection port and a time-use connection port. The floating ports are mainly used inside the component model, for connecting different layers and different types of components. The external port is used outside the component model and used for data transmission with other data transceiving processing modules outside the model.
The external port provides an external port using mode based on the SCA tool, and a data transceiving processing module developed based on the SCA tool outside the model can be connected to the model, so that a data transmission channel between the model and the data transceiving processing module outside the model is realized. However, the data receiving and processing module outside the model which is not developed based on the SCA tool does not support and can not be connected through the external port, so a common CORBA technology is used for connecting the model and the data receiving and processing module outside the model.
Disclosure of Invention
In view of the above-mentioned deficiencies in the prior art, the present invention provides a port connection system and method, which implement the data channel connection between a model and a data transceiving processing module outside the model, and implement the data transceiving support of the model for the data transceiving processing module developed by a non-SCA model.
In order to achieve the above purpose, the invention adopts the technical scheme that:
the scheme provides a port connection system, which comprises a model and a general data transceiving model connected with the model through an external port:
the model comprises a platform component, an equipment component and an application component which are mutually connected through a floating port; and the application component is connected with the universal data transceiving model by calling an external port.
Furthermore, the platform component and the equipment component are used for simulating a hardware platform, controlling and managing the hardware platform and providing software support based on the hardware platform for the model;
the application component is used for designing target function software and controlling data transmission and management;
the external port is used for realizing data transmission of the model and the universal data transceiving model;
the universal sending client is used for realizing data receiving and sending between the module and the universal data receiving and sending model;
and the universal data transceiving model is used for realizing data transceiving between the outside and the model when being connected with the universal sending client.
The invention provides a port connection method, which comprises the following steps:
s1, starting the model;
s2, starting a general data transceiving model and connecting an external port;
s3, starting data receiving detection in the universal data transceiving model and executing a data receiving instruction;
s4, starting the universal sending terminal when the model executes the application waveform, and connecting the universal sending terminal to the universal data receiving and sending model;
s5, detecting the connection state by the universal sending client;
s6, receiving data by using the application component, sending the data to the communication sending client, sending the data to a data receiving end in the universal data transceiving model through the universal sending client, and responding to the received data by using the data receiving end;
and S7, the data receiving end receives the data sent by the module to complete the port connection.
Further, the step S2 includes the following steps:
s201, starting a general data transceiving model and connecting the model to a platform assembly in the model and a domain manager assembly in the equipment assembly;
s202, providing an interface function getPort in the PortSuper class by using a port to acquire an external port in the model, and connecting.
Still further, the step S3 includes the steps of:
s301, loading a plug-in module of a common object request agent module CORBA;
s302, initializing an Object Request Broker (ORB) by using an object request broker interface ORB _ init in a general object request broker module (CORBA);
s303, initializing application analysis ORBresolve _ initial _ reference by using an object request proxy interface orb _ init, and acquiring an object reference of a root adapter RootPOA;
s304, initializing the target class object, and activating the object in the POA by using an object activation interface (activate _ object) of the RootPOA;
s305, registering the activated target class object into the object request broker ORB through an initialized application registration interface register _ initial _ reference in the object request broker ORB;
s306, calling the thread interface run of the object request agent ORB, and executing the instruction for receiving the data.
Still further, the step S4 includes the steps of:
s401, acquiring a URL parameter of an object request agent ORB initialized when a data receiving end is started in a universal data receiving and sending model;
s402, initializing an object request broker ORB by using an interface ORB _ init in a common object request broker module CORBA, and connecting the object request broker ORB to a data receiving end in a common data transceiving model to complete the connection of the common transmitting end to the common data transceiving model.
Still further, the step S5 includes the steps of:
s501, acquiring object reference of a target class object registered in an object request agent ORB by a data receiving end in a universal data transceiving model by utilizing an initialized application registration interface register _ initial _ reference in the object request agent ORB;
s502, determining the type correctness of the object reference by using the type safety detection interface _ narrow, and completing the detection of the connection state.
Still further, the step S6, responding to the received data by using the data receiving end specifically includes: and calling a data push interface of the target object in the universal sending client, transmitting the data to a data receiving end in a universal data transceiving model through an object request agent ORB, triggering the target interface, and finishing the response of the data receiving end to the received data.
The invention has the beneficial effects that:
and on the basis of port data transmission between the SCA tool development models, data transmission of an external universal data transceiving model developed by a non-SCA tool is realized. The invention effectively solves the problem of data transmission caused by the difference between the data ports of the non-SCA tool development model and the SCA tool development model, effectively realizes the independence of the connection between the models and the universal data transceiving model, and is not influenced by the operation between the internal components of the models.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention.
FIG. 2 is a flow chart of the method of 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.
Based on the prior art problems in the background art, the invention realizes the data channel connection between the model and the data transceiving processing module outside the model through a port connection system and a port connection method, and realizes the data transceiving support of the model to the data transceiving processing module developed by the non-SCA model.
As shown in fig. 1, the present invention provides a port connection system, which includes a model and a general data transceiving model connected to the model through an external port: the model comprises a platform component, an equipment component and an application component which are mutually connected through a floating port; and the application component is connected with the universal data transceiving model by calling an external port. The platform assembly and the equipment assembly are used for simulating a hardware platform, controlling and managing the hardware platform and providing software support based on the hardware platform for the model; the application component is used for designing target function software and controlling data transmission and management; the external port is used for realizing data transmission of the model and the universal data transceiving model; the universal sending client is used for realizing data receiving and sending between the module and the universal data receiving and sending model; and the universal data transceiving model is used for realizing data transceiving between the outside and the model when being connected with the universal sending client.
In this embodiment, there are two main bodies in the entire basic software system, namely, a model and an external data transceiving processing module. Wherein the model is composed of a platform component, a device component and an application component. The components inside the model are connected through floating ports, so that data transmission between the components is supported. The model and the general data transceiving model are connected through an external port, thereby supporting data transmission. Data reception is supported by a generic sending client attached to the application components in the model. The independence of the connection data between the model and the universal data receiving and sending model is effectively realized, and the influence of the operation between the internal components of the model is avoided.
In the above overall architecture diagram, it can be seen that to complete data transceiving, a sending client in a model needs to be connected with a general data transceiving processing module outside the model, as shown in fig. 2, the present invention provides a port connection method, which includes the following steps:
s1, starting the model;
s2, starting a general data transceiving model and connecting an external port;
in this embodiment, the universal data transceiver module is started, the universal data transceiver module is connected to an external port in the model, and is continuously executed after correct connection, otherwise, the execution is stopped. The implementation method of the universal data transceiver module is as follows:
s201, starting a general data transceiving model and connecting the model to a platform assembly in the model and a domain manager assembly in the equipment assembly;
s202, providing an interface function getPort in a PortSuper class by using a port to acquire an external port in a model, and connecting;
s3, starting data receiving detection in the universal data transceiving model and executing a data receiving instruction;
in this embodiment, data reception detection is started in the general data transceiver module, and data reception is waited for, and the implementation method is as follows:
s301, loading a plug-in module of a common object request agent module CORBA;
s302, initializing an Object Request Broker (ORB) by using an object request broker interface ORB _ init in a general object request broker module (CORBA);
s303, initializing application analysis ORBresolve _ initial _ reference by using an object request proxy interface orb _ init, and acquiring an object reference of a root adapter RootPOA;
s304, initializing the target class object, and activating the object in the POA by using an object activation interface (activate _ object) of the RootPOA;
s305, registering the activated target class object into the object request broker ORB through an initialized application registration interface register _ initial _ reference in the object request broker ORB;
s306, calling a thread interface run of the object request agent ORB, and executing a data receiving instruction;
s4, starting the universal sending terminal when the model executes the application waveform, and connecting the universal sending terminal to the universal data receiving and sending model;
in this embodiment, the general transmitting end is started when the application waveform is executed in the model, and after the general transmitting end is successfully started, the general transmitting end is connected to the data receiving end in the general data transceiver module, and the implementation method thereof is as follows:
s401, acquiring a URL parameter of an object request agent ORB initialized when a data receiving end is started in a universal data receiving and sending model;
s402, initializing an object request broker ORB by using an interface ORB _ init in a common object request broker module CORBA, and connecting the object request broker ORB to a data receiving end in a common data transceiving model to finish connecting the common transmitting end to the common data transceiving model;
s5, detecting the connection state by the universal sending client;
in this embodiment, the general transmitting end detects its own connection state, and if the connection is not successful, the application component receives the data and does not transmit the data to the general transmitting end, and the implementation method thereof is as follows:
s501, acquiring object reference of a target class object registered in an object request agent ORB by a data receiving end in a universal data transceiving model by utilizing an initialized application registration interface register _ initial _ reference in the object request agent ORB;
s502, determining the type correctness of the object reference by using a type safety detection interface _ narrow to complete the detection of the connection state;
s6, receiving data by using the application component, sending the data to the communication sending client, sending the data to a data receiving end in the universal data transceiving model through the universal sending client, and responding to the received data by using the data receiving end;
in this embodiment, the application component in the model receives the data, and after the function of the application component is completed, the data is sent to the general sending end, and then the data is sent to the data receiving end in the general data transceiver module through the general sending end. The method mainly comprises the steps that a data push interface of a target object is called in a general data sending end, data are transmitted to a remote data receiving end through an ORB, the target interface of the remote object is triggered, and the response of the data receiving end to the received data is completed;
and S7, the data receiving end receives the data sent by the module to complete the port connection.
In this embodiment, the data receiving end in the general data transceiver module is triggered, so that the data receiving end receives the data sent by the module. The target interface of the target class object is called, so that the data is received.
Through the design, the invention can realize the data transmission of the external universal data transceiving model developed by the non-SCA tool. The connection between the model and the universal data receiving and sending model is independent and is not influenced by operation between the internal components of the model, and the connection between the model and the universal data receiving and sending model is simpler and more convenient.

Claims (8)

1. A port connection system comprising a model and a common data transceiving model connected to the model via an external port:
the model comprises a platform component, an equipment component and an application component which are mutually connected through a floating port; and the application component is connected with the universal data transceiving model by calling an external port.
2. The port connection system of claim 1, wherein the platform component and the device component are each configured to simulate a hardware platform, control and manage the hardware platform, and provide software support based on the hardware platform for the model;
the application component is used for designing target function software and controlling data transmission and management;
the external port is used for realizing data transmission of the model and the universal data transceiving model;
the universal sending client is used for realizing data receiving and sending between the module and the universal data receiving and sending model;
and the universal data transceiving model is used for realizing data transceiving between the outside and the model when being connected with the universal sending client.
3. A port connection method, comprising the steps of:
s1, starting the model;
s2, starting a general data transceiving model and connecting an external port;
s3, starting data receiving detection in the universal data transceiving model and executing a data receiving instruction;
s4, starting the universal sending terminal when the model executes the application waveform, and connecting the universal sending terminal to the universal data receiving and sending model;
s5, detecting the connection state by the universal sending client;
s6, receiving data by using the application component, sending the data to the communication sending client, sending the data to a data receiving end in the universal data transceiving model through the universal sending client, and responding to the received data by using the data receiving end;
and S7, the data receiving end receives the data sent by the module to complete the port connection.
4. The port connecting method according to claim 3, wherein the step S2 includes the steps of:
s201, starting a general data transceiving model and connecting the model to a platform assembly in the model and a domain manager assembly in the equipment assembly;
s202, providing an interface function getPort in the PortSuper class by using a port to acquire an external port in the model, and connecting.
5. The port connecting method according to claim 3, wherein the step S3 includes the steps of:
s301, loading a plug-in module of a common object request agent module CORBA;
s302, initializing an Object Request Broker (ORB) by using an object request broker interface ORB _ init in a general object request broker module (CORBA);
s303, initializing application analysis ORBresolve _ initial _ reference by using an object request proxy interface orb _ init, and acquiring an object reference of a root adapter RootPOA;
s304, initializing the target class object, and activating the object in the POA by using an object activation interface (activate _ object) of the RootPOA;
s305, registering the activated target class object into the object request broker ORB through an initialized application registration interface register _ initial _ reference in the object request broker ORB;
s306, calling the thread interface run of the object request agent ORB, and executing the instruction for receiving the data.
6. The port connecting method according to claim 3, wherein the step S4 includes the steps of:
s401, acquiring a URL parameter of an object request agent ORB initialized when a data receiving end is started in a universal data receiving and sending model;
s402, initializing an object request broker ORB by using an interface ORB _ init in a common object request broker module CORBA, and connecting the object request broker ORB to a data receiving end in a common data transceiving model to complete the connection of the common transmitting end to the common data transceiving model.
7. The port connecting method according to claim 3, wherein the step S5 includes the steps of:
s501, acquiring object reference of a target class object registered in an object request agent ORB by a data receiving end in a universal data transceiving model by utilizing an initialized application registration interface register _ initial _ reference in the object request agent ORB;
s502, determining the type correctness of the object reference by using the type safety detection interface _ narrow, and completing the detection of the connection state.
8. The port connection method according to claim 3, wherein the responding to the received data by the data receiving end in step S6 specifically comprises: and calling a data push interface of the target object in the universal sending client, transmitting the data to a data receiving end in a universal data transceiving model through an object request agent ORB, triggering the target interface, and finishing the response of the data receiving end to the received data.
CN202110602694.6A 2021-05-31 2021-05-31 Port connection system and method Active CN113329086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110602694.6A CN113329086B (en) 2021-05-31 2021-05-31 Port connection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110602694.6A CN113329086B (en) 2021-05-31 2021-05-31 Port connection system and method

Publications (2)

Publication Number Publication Date
CN113329086A true CN113329086A (en) 2021-08-31
CN113329086B CN113329086B (en) 2022-06-28

Family

ID=77423014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110602694.6A Active CN113329086B (en) 2021-05-31 2021-05-31 Port connection system and method

Country Status (1)

Country Link
CN (1) CN113329086B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126474A1 (en) * 2006-08-21 2008-05-29 International Business Machines Corporation Apparatus, system, and method for a programming model for accessing eis systems as services
CN108600369A (en) * 2018-04-25 2018-09-28 中国人民解放军国防科技大学 Waveform management method based on SCA core framework
CN108737529A (en) * 2018-05-11 2018-11-02 湖南理工学院 SCA waveform controlling methods, device, computer equipment and storage medium
CN108737190A (en) * 2018-05-28 2018-11-02 中国人民解放军国防科技大学 Equipment management method based on SCA core framework
CN109324912A (en) * 2018-09-21 2019-02-12 中国航空无线电电子研究所 The communication means of the application management class software of software-oriented communication architecture
CN110071839A (en) * 2019-04-29 2019-07-30 湖南理工学院 Support the CORBA communication device of digital signal processor
CN210743554U (en) * 2019-12-09 2020-06-12 昆山龙腾光电股份有限公司 Common voltage generating circuit and liquid crystal display device
CN111404745A (en) * 2020-03-13 2020-07-10 上海介方信息技术有限公司 Connection method and terminal supporting interconnection of waveform and logic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126474A1 (en) * 2006-08-21 2008-05-29 International Business Machines Corporation Apparatus, system, and method for a programming model for accessing eis systems as services
CN108600369A (en) * 2018-04-25 2018-09-28 中国人民解放军国防科技大学 Waveform management method based on SCA core framework
CN108737529A (en) * 2018-05-11 2018-11-02 湖南理工学院 SCA waveform controlling methods, device, computer equipment and storage medium
CN108737190A (en) * 2018-05-28 2018-11-02 中国人民解放军国防科技大学 Equipment management method based on SCA core framework
CN109324912A (en) * 2018-09-21 2019-02-12 中国航空无线电电子研究所 The communication means of the application management class software of software-oriented communication architecture
CN110071839A (en) * 2019-04-29 2019-07-30 湖南理工学院 Support the CORBA communication device of digital signal processor
CN210743554U (en) * 2019-12-09 2020-06-12 昆山龙腾光电股份有限公司 Common voltage generating circuit and liquid crystal display device
CN111404745A (en) * 2020-03-13 2020-07-10 上海介方信息技术有限公司 Connection method and terminal supporting interconnection of waveform and logic equipment

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
FEI-FEI CHEN: "SCA-Based DSSS Waveform Application Development", 《IEEE》 *
ITEYE_15896: "服务组件架构 Service Component Architecture (SCA)", 《HTTPS://BLOG.CSDN.NET/ITEYE_15896/ARTICLE/DETAILS/81654777》 *
刘铮: "面向手持小型终端的软件无线电体系结构研究与设计", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
施晓颖: "基于SCA射频综合的L波段波形组件研究", 《科技创新与应用》 *
梁文铮等: "SOA架构下基于BPEL的业务流程集成技术", 《兵工自动化》 *
田建创等: "CORBA在机器人网络控制系统中的应用", 《机电工程》 *
蔡卓等: "SCA 4.0规范概述", 《通信技术》 *
陈小凤: "基于SCA规范的软件无线电台的研发", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN113329086B (en) 2022-06-28

Similar Documents

Publication Publication Date Title
US20180151003A1 (en) System and method for transferring diagnostic commands to a vehicle
US8239490B2 (en) Exposing resource capabilities to web applications
US20080071962A1 (en) Device connection system and device connection method
US20050223359A1 (en) Techniques for multi-core debugging
US8589954B2 (en) Method and program for selective suspension of USB network device
CN109756387B (en) Persistence management method, computer device, and computer-readable recording medium
CN108804313B (en) Method and device for remotely debugging program and server
CN103023708A (en) Method and system for testing communication protocol interface
WO2021077742A1 (en) Method, system, and device for service processing, and readable storage medium
KR20120054710A (en) Method and apparatus for executing application of mobile terminal
WO2011103729A1 (en) Method for registering, canceling self-defined shell program and corresponding system
CN113329086B (en) Port connection system and method
WO2013181200A1 (en) Enabling legacy applications to achieve end-to-end communication with corresponding legacy device services
JP2013541769A (en) Input tool calling system, method and proxy device
CN104750537A (en) Test case execution method and device
US6467041B1 (en) Third party host packet replication
CN202798801U (en) Universal communication system for achieving distributed data interaction
WO2013189452A2 (en) Wireless access terminal driving method and apparatus, and terminal
US9087031B2 (en) Method and program for selective suspension of USB device
CN109189705B (en) USB extension method, device, equipment, storage medium and system
CN101441476A (en) Software implementing method of data link layer based on KWP2000
CN111708568B (en) Modularized development decoupling method and terminal
CN115037795B (en) Multi-machine communication method for embedded equipment
CN116974636B (en) Multi-path interconnection system and bus interface initialization method and device thereof
CN113934379A (en) Network printing method, medium and device based on desktop virtualization technology

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