CN109510748A - Node and node exchange method and system - Google Patents
Node and node exchange method and system Download PDFInfo
- Publication number
- CN109510748A CN109510748A CN201811635949.3A CN201811635949A CN109510748A CN 109510748 A CN109510748 A CN 109510748A CN 201811635949 A CN201811635949 A CN 201811635949A CN 109510748 A CN109510748 A CN 109510748A
- Authority
- CN
- China
- Prior art keywords
- data
- interface
- node
- application
- mark
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/4028—Bus for use in transportation systems the transportation system being an aircraft
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides node and node exchange method and systems, and wherein method includes: that application determines that application data information, application data information include identifying using data and issuing interface to main controlled node at the middle and upper levels;Default application programming interfaces corresponding with issuing interface mark are called, preset application programming interfaces publication using data to global data area using this;Core data floor is extracted by global data area and applies data in main controlled node, and inquire message arrangement corresponding with issuing interface mark and routing configuration, conversion is to meet the target data of message arrangement using data, and target data is sent to bus by routing configuration, forward target data to remote node to be based on routing configuration by bus.The present invention realizes the purpose to upper layer application shielding basic communication protocol, and then facilitates User Exploitation application, improves application and development efficiency.
Description
Technical field
The present invention relates to avlonlcs data communication technical field more particularly to node and node exchange method and systems.
Background technique
Avlonlcs data communication system includes a main controlled node and multiple remote nodes, and main controlled node is integrated with one
Or multiple applications, certain applications can be communicated using AS5643 bus with remote node in main controlled node, to realize main controlled node
With the data interaction of remote node.AS5643 bus can bring high bandwidth and high reliability to aviation electronics field.
Since main controlled node and remote node are using in AS5643 bus procedure, need to rely on the bottom of AS5643 bus
Communication protocol, so user should consider the bottom hardware for considering AS5643 bus again using logic during development and application
Communication protocol causes User Exploitation application process very inconvenient, and development and application efficiency is lower.
Summary of the invention
In consideration of it, the present invention provides node and node exchange method and system, can make to shield in application development process
The basic communication protocol of AS5643 bus facilitates User Exploitation application to improve application and development efficiency.
To achieve the goals above, the present invention provides following technical characteristics:
A kind of node exchange method, comprising:
Application determines that application data information, the application data information include applying data and publication to main controlled node at the middle and upper levels
Interface identifier;Default application programming interfaces corresponding with issuing interface mark are called, preset application programming interfaces using this
The application data are issued to global data area;
Core data floor is extracted described using data by the global data area in main controlled node, and is inquired and the publication
The corresponding message arrangement of interface identifier and routing configuration, converting described using data is to meet the number of targets of the message arrangement
According to, and the target data is sent to bus by the routing configuration, the mesh is forwarded to be based on the routing configuration by bus
Data are marked to remote node.
Optionally, before application determines application data information to main controlled node at the middle and upper levels, further includes:
The interface control document of main controlled node acquisition node interactive system;Wherein, the interface control document includes described
N number of interface of each node N number of interface configuration information correspondingly in node interactive system;The interface of one interface matches confidence
Breath includes interface name, is used for transmission the data type using data, the message arrangement of the affiliated node of interface and interface company
Connect the node identification of both sides' node;
Main controlled node determines the property set of each interface based on each interface configuration information;
Main controlled node sends node belonging to the interface configuration information and property set to interface of each interface, so that node is deposited
Store up interface configuration information and property set.
Optionally, the main controlled node determines that the property set of each interface includes: based on each interface configuration information
Main controlled node is the unique interface identifier of interface assignment;
Main controlled node based in interface configuration information interface name and data type be interface construct application programming interfaces;
Main controlled node constructs the corresponding relationship of interface identifier and application programming interfaces, and building interface identifier and interface match confidence
The corresponding relationship of message arrangement in breath.
Optionally, the main controlled node based in interface configuration information interface name and data type be interface building answer
With routine interface, comprising:
Main controlled node is connect based on the interface name in interface configuration information, building comprising the application program of the interface name
The title of mouth;
Main controlled node constructs the parameter of application programming interfaces based on the data type in interface configuration information;
Set up the application programming interfaces comprising the title of the application programming interfaces and the parameter of the application programming interfaces.
A kind of node exchange method, comprising:
The core data layer of remote node receives the target data of bus transfer, and the determining publication with the target data connects
Mouth identifies corresponding subscribing interface mark, inquires message arrangement corresponding with subscribing interface mark, is matched using the message
It sets the parsing target data to obtain using data, the storage application data to global data area, and constructs the application number
According to the incidence relation identified with subscribing interface;
The upper layer application of remote node determines subscribing interface mark in the case where that need to subscribe to using data, and subscription is called to connect
Mouth identifies corresponding default application programming interfaces, and Yu Suoshu global data area obtains application corresponding with subscribing interface mark
Data.
A kind of node exchange method, comprising:
Application determines that application data information, the application data information include applying data and publication to remote node at the middle and upper levels
Interface identifier;Default application programming interfaces corresponding with issuing interface mark are called, preset application programming interfaces using this
The application data are issued to global data area;
Core data floor is extracted described using data by the global data area in remote node, and is inquired and the publication
The corresponding message arrangement of interface identifier and routing configuration, converting described using data is to meet the number of targets of the message arrangement
According to, and the target data is sent to bus by the routing configuration, the mesh is forwarded to be based on the routing configuration by bus
Data are marked to main controlled node.
A kind of node exchange method, comprising:
The core data layer of main controlled node receives the target data of bus transfer, and the determining publication with the target data connects
Mouth identifies corresponding subscribing interface mark, inquires message arrangement corresponding with subscribing interface mark, is matched using the message
It sets the parsing target data to obtain using data, the storage application data to global data area, and constructs the application number
According to the incidence relation identified with subscribing interface;
The upper layer application of main controlled node determines subscribing interface mark in the case where that need to subscribe to using data, and subscription is called to connect
Mouth identifies corresponding default application programming interfaces, and Yu Suoshu global data area obtains application corresponding with subscribing interface mark
Data.
A kind of sending node, comprising:
Application determines that application data information, the application data information include applying data and publication to sending node at the middle and upper levels
Interface identifier;Default application programming interfaces corresponding with issuing interface mark are called, preset application programming interfaces using this
The application data are issued to global data area;
Core data floor is extracted described using data by the global data area in sending node, and is inquired and the publication
The corresponding message arrangement of interface identifier and routing configuration, converting described using data is to meet the number of targets of the message arrangement
According to, and the target data is sent to bus by the routing configuration, the mesh is forwarded to be based on the routing configuration by bus
Data are marked to receiving node.
A kind of receiving node, comprising:
The core data layer of receiving node receives the target data of bus transfer, and the determining publication with the target data connects
Mouth identifies corresponding subscribing interface mark, inquires message arrangement corresponding with subscribing interface mark, is matched using the message
It sets the parsing target data to obtain using data, the storage application data to global data area, and constructs the application number
According to the incidence relation identified with subscribing interface;
The upper layer application of receiving node determines subscribing interface mark in the case where that need to subscribe to using data, and subscription is called to connect
Mouth identifies corresponding default application programming interfaces, and Yu Suoshu global data area obtains application corresponding with subscribing interface mark
Data.
A kind of node interactive system, comprising:
Application determines that application data information, the application data information include applying data and publication to sending node at the middle and upper levels
Interface identifier;Default application programming interfaces corresponding with issuing interface mark are called, preset application programming interfaces using this
The application data are issued to global data area;
Core data floor is extracted described using data by the global data area in sending node, and is inquired and the publication
The corresponding message arrangement of interface identifier and routing configuration, converting described using data is to meet the number of targets of the message arrangement
According to, and the target data is sent to bus by the routing configuration, the mesh is forwarded to be based on the routing configuration by bus
Data are marked to receiving node;
The core data layer of receiving node receives the target data of bus transfer, and the determining publication with the target data connects
Mouth identifies corresponding subscribing interface mark, inquires message arrangement corresponding with subscribing interface mark, is matched using the message
It sets the parsing target data to obtain using data, the storage application data to global data area, and constructs the application number
According to the incidence relation identified with subscribing interface;
The upper layer application of receiving node determines subscribing interface mark in the case where that need to subscribe to using data, and subscription is called to connect
Mouth identifies corresponding default application programming interfaces, and Yu Suoshu global data area obtains application corresponding with subscribing interface mark
Data.
By the above technological means, may be implemented it is following the utility model has the advantages that
The present invention constructs application programming interfaces in main controlled node and remote node, so that main controlled node and remote node
Upper layer application only needs to face application programming interfaces, without facing the basic communication protocol of bus, answers to realize upper layer
With shielding basic communication protocol purpose, and then facilitate User Exploitation application improve application and development efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of node interactive system disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow chart of node exchange method disclosed by the embodiments of the present invention;
Fig. 3 is the flow chart of another node exchange method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of node disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, the structural schematic diagram of node interactive system is provided for the present invention.
Node interactive system includes a main controlled node (Control Computer) and n remote node (Remote
Note), AS5643 bus communication is used between main controlled node and multiple remote nodes.Main controlled node and multiple remote nodes use
Chain type ring network structure.
Diagram shows a main controlled node and n remote node, and wherein n is positive integer.The quantity of remote node can be according to
Depending on network topology structure according to actual node interactive system, do not limit this.
By taking Aircraft electric network as an example, main controlled node can be Aircraft Management Computer, and remote node may include sensing
Device module, power management module and inertial navigation module etc..
Main controlled node can integrate one or more application, and part of application need to pass through AS5643 bus and remote node
Execute data interaction.In order to facilitate User Exploitation application, the present invention provides the distribution subscription mechanism based on AS5643 bus.
Application can be issued using data to AS5643 bus in main controlled node in distribution subscription mechanism, be answered in main controlled node
With the application data that remote node is issued can also be subscribed to from AS5643 bus, to realize between main controlled node and remote node
Data interaction.
The distribution subscription mechanism may be implemented upper layer application and separate with basic communication protocol, be shielded with realizing to upper layer application
AS5643 bus basic communication protocol, shields upper layer application characteristic for AS5643 bus, and realization can both efficiently use
AS5643 bus reliability and high speed bandwidth characteristic, and the dual purpose for facilitating User Exploitation to apply.
It is described below and of the invention is pre-configured with process.Referring to fig. 2, comprising the following steps:
Step S201: the interface control document of main controlled node acquisition node interactive system.
Each node may include multiple interfaces (software interface or hardware interface) multiple interfaces in node interactive system
Two types transmission types can be divided into and receive type.That is, each node may include one or more transmission types
Data-interface is issued, and, one or more receives the subscription data-interface of type.
After building node interactive system using AS5643 bus, the interface control document of available node interactive system
(Interface Control Document, ICD).Interface control document includes each of each node in node interactive system
Interface each interface configuration information correspondingly.
By taking the corresponding interface configuration information of the interface of a node as an example, interface configuration information is illustrated:
Interface configuration information includes interface name, be used for transmission the data type using data, interface affiliated node disappears
The node identification of breath configuration and interface connection both sides' node.
Wherein, the data type in interface configuration information may include integer, Boolean type, floating point type or structural body class
Type.
Message arrangement in interface configuration information includes: that frame starts packet configuration, the configuration of asynchronous flow packet and period assignment.
Message arrangement is the configuration met required for message in AS5643 agreement, and largely communication is adopted in AS5643 agreement
It is realized with asynchronous flow packet, so the configuration of asynchronous flow packet need to be arranged.
It, to make to keep global synchronization between all nodes in bus, is being advised in AS5643 agreement in AS5643 agreement
Determine main controlled node and packet is started to notify of one new frame of all nodes in bus with fixed frame rate transmission frame in bus
Begin, provide a global synchronisation source for the node in bus, therefore, it is necessary to frame is arranged to start packet configuration.
Wherein, the node identification in interface configuration information includes the sending node of interface connection and the node of receiving node
Mark.One interface is that another node of sending node is to connect for connecting main controlled node and remote node, one of node
Receive node.
Step S202: main controlled node determines the property set of each interface based on each interface configuration information.
For each interface configuration information, the treatment process of main controlled node is consistent, so being matched with an interface
The process of determining property set is illustrated for confidence breath.Property set may include following multiple attributes, separately below one by one
Description.
(1) main controlled node is interface assignment unique identification.
It is one unique identification of each interface assignment for the ease of distinguishing each interface of each node.
(2) main controlled node based in interface configuration information interface name and data type be interface construct application program connect
Mouth (API, Application Programming Interface).
In order to shield basic communication protocol to upper layer application, application programming interfaces are set for interface, only so as to upper layer application
Application programming interfaces need to be faced, to shield basic communication protocol.
S1: main controlled node is connect based on the interface name in interface configuration information, building comprising the application program of interface name
The title of mouth;
S2: main controlled node constructs the parameter of application programming interfaces based on the data type in interface configuration information;
S3: the application programming interfaces comprising the title of application programming interfaces and the parameter of application programming interfaces are set up.
By taking the interface configuration information of a fuel oil as an example, interface name FuelOil, data type is structural body type,
The application programming interfaces title then constructed can be that parameter of " AS5643SubsribeFuelOil " building application programming interfaces be
Structural body Struct AS5643FuelOil.
So, the corresponding application programming interfaces of fuel oil: entitled AS5643SubsribeFuelOil, parameter Struct
AS5643FuelOil。
It should be pointed out that application programming interfaces title includes interface name, it is intended that in order to indicate this using journey
Sequence interface is corresponding with the interface.
(3) corresponding relationship for constructing interface identifier and application programming interfaces, constructs in interface identifier and interface configuration information
The corresponding relationship of message arrangement.
Interface | Interface identifier | API | Message arrangement |
Interface 1 | Interface identifier 1 | API 1 | Message arrangement 1 |
Interface 2 | Interface identifier 2 | API 2 | Message arrangement 2 |
…… | …… | …… | …… |
Wherein, for an interface, interface identifier, application programming interfaces, interface identifier and application programming interfaces
The corresponding relationship of corresponding relationship, interface identifier and message arrangement is interface attributes, and multiple attributes form the property set of the interface.
Step S203: main controlled node sends node belonging to the interface configuration information and property set to interface of each interface,
For node memory interface configuration information and property set.
By taking a node as an example, which includes interface 1 and interface 2.Then the corresponding interface of the interface of the node 1 is configured
Information 1 and property set 1 are stored into the node, and the corresponding interface configuration information 2 of interface 2 and property set 2 are also stored to the section
Point in.
The present invention is suitable for data interaction between remote node and main controlled node, issues data to long-range in main controlled node
In the case of node, main controlled node is sending node, remote node is receiving node.Data are issued to main controlled node in remote node
In the case of, remote node is sending node, main controlled node is receiving node.
Below by taking sending node and receiving node as an example, to the data exchange process between sending node and receiving node into
Row detailed description.
The present invention provides a kind of node exchange method and may comprise steps of referring to Fig. 3:
Step S301: the upper layer application in sending node determines application data information.
Sending node is identified using determining using data, using the issuing interface that data need to use at the middle and upper levels, and generates packet
Include the application data information identified using data and issuing interface.
For example, the fuel quantity in main controlled node controls application, needing to send fuel oil by fuel data issuing interface
When data to long-range engine nodal, it can determine that issuing interface is identified as the mark of fuel data issuing interface.
Sending node generates the application data information comprising receiving node mark, issuing interface mark and application data.It connects
Receive the title or IP address that node identification can be receiving node, depending on specific implementation can be according to actual scene, the present invention couple
This is without limitation.
Step S302: default application programming interfaces corresponding with issuing interface mark are called in application to sending node at the middle and upper levels.
Default application programming interfaces corresponding with issuing interface mark are previously stored in sending node, and, publication connects
Mouthful mark and the corresponding relationships of default application programming interfaces, so sending node can be inquired and be obtained and issuing interface mark pair
The default application programming interfaces answered.
Step S303: application utilizes default application programming interfaces publication application data information to the overall situation to sending node at the middle and upper levels
Data field.
Step S304: core data floor obtains in global data area and applies data in sending node.
In upper layer application without in the case where facing basic communication protocol, realizing that bottom communication is assisted by core data layer
View, so core data floor is obtained from global data area using data.
Step S305: core data layer inquires message arrangement corresponding with issuing interface mark in sending node and routing is matched
It sets.
The message arrangement identified since issuing interface is stored in advance, and, issuing interface mark is corresponding with message arrangement
Relationship, so core data layer can be inquired and obtain message arrangement corresponding with issuing interface mark.
It include node identification in interface configuration information since the interface configuration information of issuing interface mark is stored in advance, section
Point identification includes receiving node address.Core data layer can determine receiving node based on receiving node address in sending node
Routing configuration.
Step S306: the conversion of core data layer is to meet the target data of message arrangement using data in sending node.
Core data layer can be converted using data after determining message arrangement in sending node, so that using data symbols
Message arrangement is closed, to be suitable for the basic communication protocol of AS5643 bus.
Step S307: core data layer sends target data to bus, by bus base by routing configuration in sending node
Forward target data to receiving node in routing configuration.
The core data layer of sending node can send target data and routing configuration to bus, so that bus is based on routing
Configuration sends target data to receiving node.It has been mature technology about bus routing procedure, details are not described herein.
Step S308: core data layer receives the target data of bus transfer in receiving node.
Step S309: the core data layer of receiving node determines subscribing interface mark corresponding with issuing interface mark, and
Inquire message arrangement corresponding with subscribing interface mark.
Since issuing interface mark and subscribing interface mark have corresponding relationship, for example, fuel oil issuing interface and combustion
There is corresponding relationship, it is possible to determine subscribing interface mark corresponding with issuing interface mark between oily receiving interface.
Receiving node is stored with subscribing interface and identifies corresponding message arrangement, and, subscribing interface mark and message arrangement
Between corresponding relationship, it is possible to corresponding with subscribing interface mark message arrangement is obtained after inquiry.
Step S310: the core data layer of receiving node is obtained using message arrangement parsing target data and applies data.
The message arrangement of issuing interface and the message arrangement of subscribing interface are associated, so utilizing subscribing interface mark pair
The message arrangement answered can be used for parsing target data, to obtain the application number of removing AS5643 bus basic communication protocol
According to.
Step S311: the core data floor storage of receiving node is constructed using data to global data area using data
With the incidence relation of subscribing interface mark.
Receiving node storage constructs the incidence relation using data and subscribing interface using data to global data area,
Data are applied so that receiving node is obtained from global data area.
Step S312: the upper layer application of receiving node determines subscribing interface mark in the case where that need to subscribe to using data.
The generation of receiving node is applied in the case where that need to obtain subscription using data, is determined and is subscribed to data interface identifier.
Step S313: the upper layer application of receiving node calls subscribing interface to identify corresponding default application programming interfaces.
Step S314: the upper layer application of receiving node obtains application number corresponding with subscribing interface mark in global data area
According to.
Referring to fig. 4, the present invention also provides a kind of sending nodes, comprising:
Application determines that application data information, application data information include applying data and issuing interface to sending node at the middle and upper levels
Mark;Default application programming interfaces corresponding with issuing interface mark are called, preset application programming interfaces publication application using this
Data are to global data area;
Core data floor is extracted by global data area in sending node applies data, and inquires corresponding with issuing interface mark
Message arrangement and routing configuration, conversion using data be meet the target data of message arrangement, and by routing configuration send mesh
Data are marked to bus, forward target data to receiving node to be based on routing configuration by bus.
Referring to fig. 4, the present invention also provides a kind of receiving nodes, comprising:
The core data layer of receiving node receives the target data of bus transfer, the determining issuing interface mark with target data
Know corresponding subscribing interface mark, inquire message arrangement corresponding with subscribing interface mark, parses number of targets using message arrangement
Data are applied according to obtaining, storage is constructed and closed using the association of data and subscribing interface mark using data to global data area
System;
The upper layer application of receiving node determines subscribing interface mark in the case where that need to subscribe to using data, and subscription is called to connect
Mouth identifies corresponding default application programming interfaces, obtains in global data area corresponding with subscribing interface mark using data.
The present invention also provides a kind of node interactive systems, comprising:
Application determines that application data information, application data information include applying data and issuing interface to sending node at the middle and upper levels
Mark;Default application programming interfaces corresponding with issuing interface mark are called, preset application programming interfaces publication application using this
Data are to global data area;
Core data floor is extracted by global data area in sending node applies data, and inquires corresponding with issuing interface mark
Message arrangement and routing configuration, conversion using data be meet the target data of message arrangement, and by routing configuration send mesh
Data are marked to bus, forward target data to receiving node to be based on routing configuration by bus;
The core data layer of receiving node receives the target data of bus transfer, the determining issuing interface mark with target data
Know corresponding subscribing interface mark, inquire message arrangement corresponding with subscribing interface mark, parses number of targets using message arrangement
Data are applied according to obtaining, storage is constructed and closed using the association of data and subscribing interface mark using data to global data area
System;
The upper layer application of receiving node determines subscribing interface mark in the case where that need to subscribe to using data, and subscription is called to connect
Mouth identifies corresponding default application programming interfaces, obtains in global data area corresponding with subscribing interface mark using data.
In the case where sending node is main controlled node, receiving node is remote node, and node exchange method is master control section
Point publication is using data to remote node;
In the case where sending node is remote node, receiving node is main controlled node, and node exchange method is master control section
Point is subscribed to by remote node and applies data.
If function described in the present embodiment method is realized in the form of SFU software functional unit and as independent product pin
It sells or in use, can store in a storage medium readable by a compute device.Based on this understanding, the embodiment of the present invention
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, this is soft
Part product is stored in a storage medium, including some instructions are used so that calculating equipment (it can be personal computer,
Server, mobile computing device or network equipment etc.) execute all or part of step of each embodiment the method for the present invention
Suddenly.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), deposits at random
The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic or disk.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of node exchange method characterized by comprising
Application determines that application data information, the application data information include applying data and issuing interface to main controlled node at the middle and upper levels
Mark;Default application programming interfaces corresponding with issuing interface mark are called, application programming interfaces is preset using this and issues
The application data are to global data area;
Core data floor is extracted described using data by the global data area in main controlled node, and is inquired and the issuing interface
Identify corresponding message arrangement and routing configuration, convert it is described be using data meet the target data of the message arrangement, and
The target data is sent to bus by the routing configuration, forwards the target data to be based on the routing configuration by bus
To remote node.
2. the method as described in claim 1, which is characterized in that main controlled node at the middle and upper levels application determine application data information it
Before, further includes:
The interface control document of main controlled node acquisition node interactive system;Wherein, the interface control document includes the node
N number of interface of each node N number of interface configuration information correspondingly in interactive system;The interface configuration information packet of one interface
It includes interface name, be used for transmission the data type using data, the message arrangement of the affiliated node of interface and interface connection pair
The node identification of Fang Jiedian;
Main controlled node determines the property set of each interface based on each interface configuration information;
Main controlled node sends node belonging to the interface configuration information and property set to interface of each interface, so that node storage connects
Mouth configuration information and property set.
3. method according to claim 2, which is characterized in that the main controlled node is determined each based on each interface configuration information
The property set of a interface includes:
Main controlled node is the unique interface identifier of interface assignment;
Main controlled node based in interface configuration information interface name and data type be interface construct application programming interfaces;
Main controlled node constructs the corresponding relationship of interface identifier and application programming interfaces, constructs in interface identifier and interface configuration information
The corresponding relationship of message arrangement.
4. method as claimed in claim 3, which is characterized in that the main controlled node is based on the interface name in interface configuration information
And data type is referred to as interface building application programming interfaces, comprising:
For main controlled node based on the interface name in interface configuration information, building includes the application programming interfaces of the interface name
Title;
Main controlled node constructs the parameter of application programming interfaces based on the data type in interface configuration information;
Set up the application programming interfaces comprising the title of the application programming interfaces and the parameter of the application programming interfaces.
5. a kind of node exchange method characterized by comprising
The core data layer of remote node receives the target data of bus transfer, the determining issuing interface mark with the target data
Know corresponding subscribing interface mark, inquires message arrangement corresponding with subscribing interface mark, utilize the message arrangement solution
Analyse the target data to obtain using data, store the application data to global data area, and construct the application data with
The incidence relation of subscribing interface mark;
The upper layer application of remote node determines subscribing interface mark in the case where that need to subscribe to using data, calls subscribing interface mark
Know corresponding default application programming interfaces, Yu Suoshu global data area obtains application number corresponding with subscribing interface mark
According to.
6. a kind of node exchange method characterized by comprising
Application determines that application data information, the application data information include applying data and issuing interface to remote node at the middle and upper levels
Mark;Default application programming interfaces corresponding with issuing interface mark are called, application programming interfaces is preset using this and issues
The application data are to global data area;
Core data floor is extracted described using data by the global data area in remote node, and is inquired and the issuing interface
Identify corresponding message arrangement and routing configuration, convert it is described be using data meet the target data of the message arrangement, and
The target data is sent to bus by the routing configuration, forwards the target data to be based on the routing configuration by bus
To main controlled node.
7. a kind of node exchange method characterized by comprising
The core data layer of main controlled node receives the target data of bus transfer, the determining issuing interface mark with the target data
Know corresponding subscribing interface mark, inquires message arrangement corresponding with subscribing interface mark, utilize the message arrangement solution
Analyse the target data to obtain using data, store the application data to global data area, and construct the application data with
The incidence relation of subscribing interface mark;
The upper layer application of main controlled node determines subscribing interface mark in the case where that need to subscribe to using data, calls subscribing interface mark
Know corresponding default application programming interfaces, Yu Suoshu global data area obtains application number corresponding with subscribing interface mark
According to.
8. a kind of sending node characterized by comprising
Application determines that application data information, the application data information include applying data and issuing interface to sending node at the middle and upper levels
Mark;Default application programming interfaces corresponding with issuing interface mark are called, application programming interfaces is preset using this and issues
The application data are to global data area;
Core data floor is extracted described using data by the global data area in sending node, and is inquired and the issuing interface
Identify corresponding message arrangement and routing configuration, convert it is described be using data meet the target data of the message arrangement, and
The target data is sent to bus by the routing configuration, forwards the target data to be based on the routing configuration by bus
To receiving node.
9. a kind of receiving node characterized by comprising
The core data layer of receiving node receives the target data of bus transfer, the determining issuing interface mark with the target data
Know corresponding subscribing interface mark, inquires message arrangement corresponding with subscribing interface mark, utilize the message arrangement solution
Analyse the target data to obtain using data, store the application data to global data area, and construct the application data with
The incidence relation of subscribing interface mark;
The upper layer application of receiving node determines subscribing interface mark in the case where that need to subscribe to using data, calls subscribing interface mark
Know corresponding default application programming interfaces, Yu Suoshu global data area obtains application number corresponding with subscribing interface mark
According to.
10. a kind of node interactive system characterized by comprising
Application determines that application data information, the application data information include applying data and issuing interface to sending node at the middle and upper levels
Mark;Default application programming interfaces corresponding with issuing interface mark are called, application programming interfaces is preset using this and issues
The application data are to global data area;
Core data floor is extracted described using data by the global data area in sending node, and is inquired and the issuing interface
Identify corresponding message arrangement and routing configuration, convert it is described be using data meet the target data of the message arrangement, and
The target data is sent to bus by the routing configuration, forwards the target data to be based on the routing configuration by bus
To receiving node;
The core data layer of receiving node receives the target data of bus transfer, the determining issuing interface mark with the target data
Know corresponding subscribing interface mark, inquires message arrangement corresponding with subscribing interface mark, utilize the message arrangement solution
Analyse the target data to obtain using data, store the application data to global data area, and construct the application data with
The incidence relation of subscribing interface mark;
The upper layer application of receiving node determines subscribing interface mark in the case where that need to subscribe to using data, calls subscribing interface mark
Know corresponding default application programming interfaces, Yu Suoshu global data area obtains application number corresponding with subscribing interface mark
According to.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811635949.3A CN109510748B (en) | 2018-12-29 | 2018-12-29 | Node and node interaction method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811635949.3A CN109510748B (en) | 2018-12-29 | 2018-12-29 | Node and node interaction method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109510748A true CN109510748A (en) | 2019-03-22 |
CN109510748B CN109510748B (en) | 2021-06-29 |
Family
ID=65756865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811635949.3A Active CN109510748B (en) | 2018-12-29 | 2018-12-29 | Node and node interaction method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109510748B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365584A (en) * | 2019-08-06 | 2019-10-22 | 北京润科通用技术有限公司 | A kind of network management and device |
CN113282400A (en) * | 2021-06-29 | 2021-08-20 | 中国平安人寿保险股份有限公司 | Application issuing method, device, equipment and storage medium based on interface routing |
CN115118772A (en) * | 2022-06-21 | 2022-09-27 | 壹沓科技(上海)有限公司 | Message communication system and method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601544A (en) * | 2014-12-05 | 2015-05-06 | 中国航空工业集团公司第六三一研究所 | Aviation data service communication method for airborne network service system |
CN106533871A (en) * | 2016-11-10 | 2017-03-22 | 北京润科通用技术有限公司 | Release subscription method and system based on AFDX bus |
CN106940642A (en) * | 2017-01-13 | 2017-07-11 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | The simulated-bus device system of dynamic I CD configurations |
CN107241234A (en) * | 2017-08-09 | 2017-10-10 | 北京润科通用技术有限公司 | A kind of AS5643 network simulation methods and system |
CN107977323A (en) * | 2017-11-24 | 2018-05-01 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of AFDX Bus simulator methods based on Ethernet |
CN108199865A (en) * | 2017-12-07 | 2018-06-22 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of route service implementation method based on distribution subscription |
CN109101373A (en) * | 2017-06-20 | 2018-12-28 | 北京航空航天大学 | General-utility test platform based on subscription/publication mode |
-
2018
- 2018-12-29 CN CN201811635949.3A patent/CN109510748B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601544A (en) * | 2014-12-05 | 2015-05-06 | 中国航空工业集团公司第六三一研究所 | Aviation data service communication method for airborne network service system |
CN106533871A (en) * | 2016-11-10 | 2017-03-22 | 北京润科通用技术有限公司 | Release subscription method and system based on AFDX bus |
CN106940642A (en) * | 2017-01-13 | 2017-07-11 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | The simulated-bus device system of dynamic I CD configurations |
CN109101373A (en) * | 2017-06-20 | 2018-12-28 | 北京航空航天大学 | General-utility test platform based on subscription/publication mode |
CN107241234A (en) * | 2017-08-09 | 2017-10-10 | 北京润科通用技术有限公司 | A kind of AS5643 network simulation methods and system |
CN107977323A (en) * | 2017-11-24 | 2018-05-01 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of AFDX Bus simulator methods based on Ethernet |
CN108199865A (en) * | 2017-12-07 | 2018-06-22 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of route service implementation method based on distribution subscription |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365584A (en) * | 2019-08-06 | 2019-10-22 | 北京润科通用技术有限公司 | A kind of network management and device |
CN110365584B (en) * | 2019-08-06 | 2022-03-01 | 北京润科通用技术有限公司 | Network management method and device |
CN113282400A (en) * | 2021-06-29 | 2021-08-20 | 中国平安人寿保险股份有限公司 | Application issuing method, device, equipment and storage medium based on interface routing |
CN115118772A (en) * | 2022-06-21 | 2022-09-27 | 壹沓科技(上海)有限公司 | Message communication system and method |
Also Published As
Publication number | Publication date |
---|---|
CN109510748B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109510748A (en) | Node and node exchange method and system | |
CN107147501B (en) | Timestamp processing method and processing device | |
CN109040279A (en) | Block chain network network-building method, device, equipment and readable storage medium storing program for executing | |
CN106067858B (en) | Communication means, apparatus and system between container | |
CN102902780B (en) | A kind of uniform resource position mark URL dynamic matching method and device | |
CN109189856A (en) | Distributed data base service management, device, server and storage medium | |
CN107426335A (en) | A kind of system and application method for automatically generating cloud environment configuration file | |
CN105847108A (en) | Method and apparatus for communication between containers | |
CN110110509A (en) | Right management method and Related product | |
CN101272258B (en) | Method, system and device for implementing combined charging service | |
CN105393600A (en) | Method and system for providing multiple service discovery in a wireless environment | |
CN104917631A (en) | Prediction initiation, participation and information processing methods, device and system | |
CN109104774A (en) | Data transmission method and system | |
CN111510382B (en) | Real-time dynamic clustering method and system suitable for EXAta simulator | |
US20100138650A1 (en) | Secure communication system, gateway apparatus and its operating method | |
CN107769934A (en) | Rate processing method and processing device | |
CN107172013A (en) | A kind of data transmission method and system | |
CN106034049B (en) | A kind of method and apparatus for simulating domain name registration office test macro | |
CN110650514B (en) | Path updating method, device and system | |
CN105704237B (en) | A kind of charge processing method and relevant device, server | |
CN105939404A (en) | NAT (Network Address Translation) resource obtaining method and device | |
CN109688124A (en) | A kind of method for interchanging data based on video boundaries | |
CN107710793A (en) | A kind of localization method and corresponding intrument | |
CN106332177A (en) | Method and device for implementing member resource processing | |
CN106210176B (en) | Information-pushing method, apparatus and system |
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 |