Nothing Special   »   [go: up one dir, main page]

CN106506189A - 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 PDF

Info

Publication number
CN106506189A
CN106506189A CN201610821705.9A CN201610821705A CN106506189A CN 106506189 A CN106506189 A CN 106506189A CN 201610821705 A CN201610821705 A CN 201610821705A CN 106506189 A CN106506189 A CN 106506189A
Authority
CN
China
Prior art keywords
virtual
data
real
theme
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.)
Granted
Application number
CN201610821705.9A
Other languages
Chinese (zh)
Other versions
CN106506189B (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.)
No32 Research Institute Of China Electronics Technology Group Corp
Original Assignee
No32 Research Institute Of China Electronics Technology Group Corp
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 No32 Research Institute Of China Electronics Technology Group Corp filed Critical No32 Research Institute Of China Electronics Technology Group Corp
Priority to CN201610821705.9A priority Critical patent/CN106506189B/en
Publication of CN106506189A publication Critical patent/CN106506189A/en
Application granted granted Critical
Publication of CN106506189B publication Critical patent/CN106506189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring 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

Virtual platform in real time with Non real-time processing environmental data exchange method
Technical field
The present invention relates to field of data exchange, in particular it relates to virtual platform is handed over Non real-time processing environmental data in real time Change method.
Background technology
With the lifting of hardware platform performance, by means of Intel Virtualization Technology, real-time system and non real-time system and be stored in One hardware platform, real-time processing environment become a kind of trend with the fusion of Non real-time processing environment.But real-time system with non real-time Carrying out data exchange between system becomes technological difficulties of both fusions:
1st, hardware data means of communication is a lot (including shared drive, RapidIO, DMA etc.), and virtual platform should be upper strata Virtual machine provides abstract hardware, while need the means of communication for selecting optimum performance in practical communication as far as possible again, to make up The performance loss that level of abstraction brings, it is flexible enough that this is accomplished by data exchange mechanism;And existing data exchange mechanism often with Specific communications means are bound, and lack flexibility;
2nd, the communication between virtual machine, according to the position that virtual machine is distributed, can be divided into same Platform communication and different platform is logical Two kinds of situations of letter.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, stronger with traffic scene coupling, it is unfavorable for extending.
3rd, existing virtual platform data exchange mechanism, exchange both sides are too strong on the coupling in time, space, particularly When real-time system carries out data exchange with non real-time system, the real-time of real-time system can be weakened, or reduce data exchange Reliability and robustness.
Content of the invention
For defect of the prior art, it is an object of the invention to provide a kind of virtual platform in real time with Non real-time processing ring Border method for interchanging data.
According to the present invention provide a kind of virtual platform in real time with Non real-time processing environmental data exchange method, including:
Issuing subject step:During virtual machine initialization of virtual peripheral hardware, the virtual peripheral is issued as a theme; Wherein, it is different between the qos policy of different types of virtual peripheral;
Topic of subscription step:One virtual machine passes through topic of subscription, to set up virtual communication link with other virtual machines;
Distribution data step:The virtual machine of virtual communication link has been set up, and data distribution has been carried out according to qos policy, complete Into 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 that is set up by virtual communication link between the virtual peripheral of communication is identical.
Preferably, the distribution data step, including:
Issue data step:Sender packs the data to the message for setting form, is put into the buffering area of recipient, and leads to Know subscription distribution service.
Transmission data step:Subscribing to distribution service carries out data distribution according to qos policy, places data into the slow of recipient Area is rushed, and notifies recipient;
Receiving data step:Digital independent is processed from data buffer zone by recipient to the address space of oneself.
Compared with prior art, the present invention has following beneficial effect:
The present invention is built by distribution model and supporting quality of service policy (QoS, Quality of Service) is subscribed to Founding a kind of real-time system of virtual platform and non real-time system carries out more flexible, the extendible mechanism of data exchange, and obtains 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 impact to its own processing capability in real time when data exchange is carried out, while data exchange is real-time Property and reliability, also at utmost can be guaranteed.
Description of the drawings
The detailed description that non-limiting example is made with reference to the following drawings by reading, the further feature of the present 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
With reference to specific embodiment, the present invention is described in detail.Following examples will be helpful to the technology of this area Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill to this area For personnel, without departing from the inventive concept of the premise, some changes and improvements can also be made.These belong to the present invention Protection domain.
The present invention with reference to DDS (Data Distribution Service, the Data distributing) specification of OMG, pass through Data-centered publish/subscribe model, builds 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 sets up abstract communication link then by publish/subscribe theme, And data object interested is accessed by simple read-write operation.
Whole data exchange process can be divided into three parts:Issuing subject;Topic of subscription;Distribution data.
1st, issuing subject is described as follows.
When virtual machine initializes certain virtual peripheral, the virtual peripheral is issued as a theme.Dissimilar Virtual peripheral, its qos policy is different.
(i) Microsoft Loopback Adapter theme example
(ii) virtual serial port theme example
(iii) virtual hard disk theme example
2nd, topic of subscription
Virtual machine node passes through to subscribe to certain theme, to set up virtual communication link with other virtual machine nodes.Qos policy Must mate, could subscribe to successfully, namely the virtual peripheral of only same type could set up virtual communication link.
3rd, data are distributed
The virtual machine node of virtual communication link is set up, data distribution is carried out according to qos policy, data exchange is completed Process.
I () issues data
Sender packs the data to the message of specific format, is put into the buffering area of recipient, and notifies to subscribe to distribution clothes Business.
(ii) data are transmitted
Subscribing to distribution service carries out data distribution according to qos policy, places data into the buffering area of recipient, and notifies to connect Debit.
(iii) receiving data
Digital independent is processed from data buffer zone by recipient to the address space of oneself.
Above the specific embodiment of the present invention is described.It is to be appreciated that the invention is not limited in above-mentioned Particular implementation, those skilled in the art can make a variety of changes within the scope of the claims or change, this not shadow Ring the flesh and blood of the present invention.In the case where not conflicting, feature in embodiments herein and embodiment can any phase Mutually combine.

Claims (4)

1. a kind of virtual platform in real time with Non real-time processing environmental data exchange method, it is characterised in that include:
Issuing subject step:During virtual machine initialization of virtual peripheral hardware, the virtual peripheral is issued as a theme;Its In, it is different between the qos policy of different types of virtual peripheral;
Topic of subscription step:One virtual machine passes through topic of subscription, to set up virtual communication link with other virtual machines;
Distribution data step:The virtual machine of virtual communication link is set up, data distribution has been carried out according to qos policy, is completed to count According to exchange process.
2. virtual platform according to claim 1 in real time with Non real-time processing environmental data exchange method, it is characterised in that The theme includes:Microsoft Loopback Adapter theme, virtual serial port theme or virtual hard disk theme.
3. virtual platform according to claim 1 in real time with Non real-time processing environmental data exchange method, it is characterised in that The corresponding qos policy of type that is set up between the virtual peripheral of communication by virtual communication link is identical.
4. virtual platform according to claim 1 in real time with Non real-time processing environmental data exchange method, it is characterised in that The distribution data step, including:
Issue data step:Sender packs the data to the message for setting form, is put into the buffering area of recipient, and notifies to order Read distribution service;
Transmission data step:Subscribing to distribution service carries out data distribution according to qos policy, places data into the buffering of recipient Area, and notify recipient;
Receiving data step:Digital independent is processed from data buffer zone by recipient to the address space of oneself.
CN201610821705.9A 2016-09-13 2016-09-13 Virtual platform real-time and non-real-time processing environment data exchange method Active CN106506189B (en)

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 true CN106506189A (en) 2017-03-15
CN106506189B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301145A (en) * 2017-06-29 2017-10-27 中国电子科技集团公司第二十九研究所 Publish/subscribe formula software bus based on RapidIO under FPGA environment
CN107562550A (en) * 2017-09-01 2018-01-09 成都瀚蓝科技有限公司 A kind of data distributing method

Citations (3)

* Cited by examiner, † Cited by third party
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
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301145A (en) * 2017-06-29 2017-10-27 中国电子科技集团公司第二十九研究所 Publish/subscribe formula software bus based on RapidIO under FPGA environment
CN107301145B (en) * 2017-06-29 2019-11-19 中国电子科技集团公司第二十九研究所 Publish/subscribe formula software bus under FPGA environment based on RapidIO
CN107562550A (en) * 2017-09-01 2018-01-09 成都瀚蓝科技有限公司 A kind of data distributing method

Also Published As

Publication number Publication date
CN106506189B (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CN102316043B (en) Port virtualization method, switch and communication system
CN101876883B (en) Method for keeping remote operation uninterrupted of virtual machine
TWI742131B (en) Method and device for upgrading virtual switch
WO2006019512B1 (en) Apparatus and method for supporting connection establishment in an offload of network protocol processing
CN106685679A (en) Network service deployment method and device
CN103905309A (en) Method and system of data exchange between virtual machines
CN103973578B (en) The method and device that a kind of virtual machine traffic redirects
CN110391999A (en) A kind of data communications method and system
CN110380992A (en) Message processing method, device and network flow acquire equipment
CN108650295A (en) Protocol massages cross-layer communication method device and electronic equipment
CN108347477A (en) Data transmission method for uplink, device and server
CN105162702A (en) AC current guide method and device
CN102334104B (en) Synchronous processing method and device based on multicore system
CN102932954A (en) Method of managing connectivity status within a mobile radio communications device
CN106658111A (en) Screen projection method and device
CN108833191A (en) Gateway configuration method and device
CN105765545A (en) Sharing method and device for PCIe I/O device and interconnection system
CN109062671A (en) A kind of high-performance interconnection network software virtual method of lightweight
CN106506189A (en) Virtual platform real-time and non-real-time processing environment data exchange method
CN103577469B (en) Database connection multiplexing method and apparatus
CN104123173B (en) A kind of method and device for realizing inter-virtual machine communication
CN107168903A (en) A kind of non-volatile memory medium
US8194670B2 (en) Upper layer based dynamic hardware transmit descriptor reclaiming
CN110932998B (en) Message processing method and device
CN102123079B (en) Method and device for processing transaction message

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