CN106506189B - Virtual platform real-time and non-real-time processing environment data exchange method - Google Patents
Virtual platform real-time and non-real-time processing environment data exchange method Download PDFInfo
- Publication number
- CN106506189B CN106506189B CN201610821705.9A CN201610821705A CN106506189B CN 106506189 B CN106506189 B CN 106506189B CN 201610821705 A CN201610821705 A CN 201610821705A CN 106506189 B CN106506189 B CN 106506189B
- Authority
- CN
- China
- Prior art keywords
- virtual
- data
- theme
- real
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 230000002093 peripheral effect Effects 0.000 claims abstract description 16
- 230000008569 process Effects 0.000 claims abstract description 5
- 238000004891 communication Methods 0.000 claims description 13
- 230000007613 environmental effect Effects 0.000 claims description 5
- 230000003139 buffering effect Effects 0.000 claims 1
- 230000007246 mechanism Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5003—Managing SLA; Interaction between SLA and QoS
- H04L41/5019—Ensuring fulfilment of SLA
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a virtual platform real-time and non-real-time processing environment data exchange method, which comprises the following steps: a step of issuing a theme: when the virtual machine initializes the virtual peripheral, the virtual peripheral is used as a theme to be issued; the QoS policies of the different types of virtual peripherals are different; and a topic subscription step: one virtual machine establishes a virtual communication link with other virtual machines by subscribing to a theme; a data distribution step: and the virtual machine which establishes the virtual communication link distributes data according to the QoS strategy to complete the data exchange process.
Description
Technical field
The present invention relates to field of data exchange, and in particular, to virtual platform is handed over Non real-time processing environmental data in real time
Change method.
Background technique
With the promotion of hardware platform performance, by means of virtualization technology, real-time system and non real-time system are simultaneously stored in same
One hardware platform, real-time processing environment is merged with Non real-time processing environment becomes a kind of trend.But real-time system with it is non real-time
Data exchange is carried out between system becomes a technological difficulties of the two fusion:
1, hardware data means of communication is very much (including shared drive, RapidIO, DMA etc.), and virtual platform should be upper layer
Virtual machine provides abstract hardware, while is needed again in practical communication, selects the means of communication of optimum performance, as far as possible to make up
The loss of level of abstraction bring performance, this just needs data exchange mechanism flexible enough;And existing data exchange mechanism often with
The binding of specific communications means, lacks flexibility;
2, the communication between virtual machine can be divided into same Platform communication and different platform is logical according to the position that virtual machine is distributed
Believe two kinds of situations.For same Platform communication, generally by means of shared drive, DMA (Direct Memory Access, directly in
Deposit access) etc. mode complete, and different Platform communication, then may by means of different peripheral, such as Ethernet, serial ports,
RapidIO etc..And existing data exchange mechanism, it is stronger with traffic scene coupling, it is unfavorable for extending.
3, existing virtual platform data exchange mechanism, exchange both sides are too strong on the coupling in time, space, especially
When real-time system and non real-time system carry out data exchange, the real-time of real-time system can be weakened, or reduce data exchange
Reliability and robustness.
Summary of the invention
For the defects in the prior art, the object of the present invention is to provide a kind of virtual platform in real time with Non real-time processing ring
Border method for interchanging data.
A kind of virtual platform provided according to the present invention exchanges method with Non real-time processing environmental data in real time, comprising:
Issuing subject step: it when virtual machine initialization of virtual peripheral hardware, is issued the virtual peripheral as a theme;
Wherein, it is different between the qos policy of different types of virtual peripheral;
Subscribe to theme step: a virtual machine is by subscribing to theme, to establish virtual communication link with other virtual machines;
Distribution data step: having been established the virtual machine of virtual communication link, data distribution carried out according to qos policy, complete
At data exchange process.
Preferably, the theme includes: Microsoft Loopback Adapter theme, virtual serial port theme or virtual hard disk theme.
Preferably, the corresponding qos policy of type established by virtual communication link between the virtual peripheral of communication is identical.
Preferably, the distribution data step, comprising:
Publication data step: sender packs the data to the message of setting format, is put into the buffer area of recipient, and lead to
Know subscription distribution service.
It transmits data step: subscribing to distribution service according to qos policy and carry out data distribution, place data into the slow of recipient
Area is rushed, and notifies recipient;
Receive data step: address space of the recipient from data buffer zone by reading data to oneself is handled.
Compared with prior art, the present invention have it is following the utility model has the advantages that
The present invention is built by distribution model and matched quality of service policy (QoS, Quality of Service) is subscribed to
The real-time system and non real-time system for founding a kind of virtual platform carry out more flexible, the expansible mechanism of data exchange, and obtain
Desirable balance between real-time property and reliability;And by this mechanism, real-time processing environment with Non real-time processing
Environment can effectively reduce the influence to its own processing capability in real time when carrying out data exchange, while data exchange is real-time
Property and reliability, also can utmostly be guaranteed.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon:
Fig. 1 is virtual machine communication scheme.
Fig. 2 is virtual machine communication scheme.
Fig. 3 is data distribution flow chart.
Specific embodiment
The present invention is described in detail combined with specific embodiments below.Following embodiment will be helpful to the technology of this field
Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field
For personnel, without departing from the inventive concept of the premise, several changes and improvements can also be made.These belong to the present invention
Protection scope.
The present invention is standardized with reference to the DDS (Data Distribution Service, Data distributing) of OMG, is passed through
Data-centered publish/subscribe model constructs an abstract virtual platform data exchange space, all numbers to be exchanged
All it is present in this space according to object, and virtual machine node then passes through publish/subscribe theme, to establish abstract communication link,
And interested data object is accessed by simple read-write operation.
Entire data exchange process can be divided into three parts: issuing subject;Subscribe to theme;Distribute data.
1, issuing subject is described as follows.
When virtual machine initializes some virtual peripheral, issued the virtual peripheral as a theme.Different type
Virtual peripheral, qos policy is different.
(i) Microsoft Loopback Adapter theme example
(ii) virtual serial port theme example
(iii) virtual hard disk theme example
2, theme is subscribed to
Virtual machine node is by subscribing to some theme, to establish virtual communication link with other virtual machine nodes.Qos policy
It must match, could subscribe to successfully, namely the virtual peripheral of only same type could establish virtual communication link.
3, distribute data
The virtual machine node that virtual communication link has been established carries out data distribution according to qos policy, completes data exchange
Process.
(i) data are issued
Sender packs the data to the message of specific format, is put into the buffer area of recipient, and notifies to subscribe to distribution clothes
Business.
(ii) data are transmitted
It subscribes to distribution service and data distribution is carried out according to qos policy, place data into the buffer area of recipient, and notify to connect
Debit.
(iii) data are received
Address space of the recipient from data buffer zone by reading data to oneself is handled.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned
Particular implementation, those skilled in the art can make a variety of changes or modify within the scope of the claims, this not shadow
Ring substantive content of the invention.In the absence of conflict, the feature in embodiments herein and embodiment can any phase
Mutually combination.
Claims (2)
1. a kind of virtual platform exchanges method with Non real-time processing environmental data in real time characterized by comprising
Issuing subject step: it when virtual machine initialization of virtual peripheral hardware, is issued the virtual peripheral as a theme;Its
In, it is different between the qos policy of different types of virtual peripheral;
Subscribe to theme step: a virtual machine is by subscribing to theme, to establish virtual communication link with other virtual machines;
Distribution data step: having been established the virtual machine of virtual communication link, and data distribution is carried out according to qos policy, completes number
According to exchange process;
The corresponding qos policy of type established between the virtual peripheral of communication by virtual communication link is identical;
The distribution data step, comprising:
Publication data step: sender packs the data to the message of setting format, is put into the buffer area of recipient, and notifies to order
Read distribution service;
It transmits data step: subscribing to distribution service according to qos policy and carry out data distribution, place data into the buffering of recipient
Area, and notify recipient;
Receive data step: address space of the recipient from data buffer zone by reading data to oneself is handled.
2. virtual platform according to claim 1 exchanges method with Non real-time processing environmental data in real time, which is characterized in that
The theme includes: Microsoft Loopback Adapter theme, virtual serial port theme or virtual hard disk theme.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610821705.9A CN106506189B (en) | 2016-09-13 | 2016-09-13 | Virtual platform real-time and non-real-time processing environment data exchange method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610821705.9A CN106506189B (en) | 2016-09-13 | 2016-09-13 | Virtual platform real-time and non-real-time processing environment data exchange method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106506189A CN106506189A (en) | 2017-03-15 |
CN106506189B true CN106506189B (en) | 2019-08-30 |
Family
ID=58290186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610821705.9A Active CN106506189B (en) | 2016-09-13 | 2016-09-13 | Virtual platform real-time and non-real-time processing environment data exchange method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106506189B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107301145B (en) * | 2017-06-29 | 2019-11-19 | 中国电子科技集团公司第二十九研究所 | Publish/subscribe formula software bus under FPGA environment based on RapidIO |
CN107562550B (en) * | 2017-09-01 | 2020-09-22 | 成都瀚蓝科技有限公司 | Data distribution method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577247A (en) * | 2013-11-13 | 2014-02-12 | 南京斯坦德通信股份有限公司 | Virtual machine calculation and storage cluster based on Rocks cluster technology and building method thereof |
CN105743808A (en) * | 2014-12-08 | 2016-07-06 | 华为技术有限公司 | Method and device of adapting QoS |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070291791A1 (en) * | 2006-06-16 | 2007-12-20 | The Boeing Company. | Dynamic reconfigurable embedded compression common operating environment |
-
2016
- 2016-09-13 CN CN201610821705.9A patent/CN106506189B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577247A (en) * | 2013-11-13 | 2014-02-12 | 南京斯坦德通信股份有限公司 | Virtual machine calculation and storage cluster based on Rocks cluster technology and building method thereof |
CN105743808A (en) * | 2014-12-08 | 2016-07-06 | 华为技术有限公司 | Method and device of adapting QoS |
Also Published As
Publication number | Publication date |
---|---|
CN106506189A (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102316043B (en) | Port virtualization method, switch and communication system | |
WO2021135468A1 (en) | Segment identifier determining method and device | |
CN102790777B (en) | Network interface adapter register method and driving equipment, server | |
US20090083760A1 (en) | Management component transport protocol interconnect filtering and routing | |
CN103905309A (en) | Method and system of data exchange between virtual machines | |
WO2006019512B1 (en) | Apparatus and method for supporting connection establishment in an offload of network protocol processing | |
CN106685679A (en) | Network service deployment method and device | |
CN105765545B (en) | PCIe I/O collaborative shares method and apparatus and interacted system | |
CN110391999A (en) | A kind of data communications method and system | |
CN109547243B (en) | DDS-based cross-network-segment communication method | |
CN106506189B (en) | Virtual platform real-time and non-real-time processing environment data exchange method | |
CN102609479A (en) | Memory database node copying method | |
CN102932954A (en) | Method of managing connectivity status within a mobile radio communications device | |
CN108347477A (en) | Data transmission method for uplink, device and server | |
CN107947950A (en) | The delivery method and NP cable card boards of a kind of hardware multicast outgoing interface list item | |
CN108304270B (en) | Communication method, device and computer readable storage medium | |
CN101901199B (en) | Method and system for data transparent transmission | |
CN107168903A (en) | A kind of non-volatile memory medium | |
CN108270856B (en) | Virtual management system of logic CPE (customer premises equipment) based on Docker technology and configuration method thereof | |
CN117493027A (en) | Thermal upgrading method and device and electronic equipment | |
CN115964195A (en) | DDS theme process communication mode configuration method and device | |
WO2012115816A2 (en) | Techniques for augmented functionality by sharing wireless resources | |
CN109639551A (en) | Virtualize drainage device and method | |
CN103036815B (en) | A kind of information technology and communication technology ICT emerging system | |
CN106557386A (en) | Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |