CN106354670A - Method and apparatus for transmitting data in virtual environment - Google Patents
Method and apparatus for transmitting data in virtual environment Download PDFInfo
- Publication number
- CN106354670A CN106354670A CN201510418471.9A CN201510418471A CN106354670A CN 106354670 A CN106354670 A CN 106354670A CN 201510418471 A CN201510418471 A CN 201510418471A CN 106354670 A CN106354670 A CN 106354670A
- Authority
- CN
- China
- Prior art keywords
- data
- transmitted
- shared drive
- main side
- equipment
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/105—Program control for peripheral devices where the programme performs an input/output emulation function
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1605—Handling requests for interconnection or transfer for access to memory bus based on arbitration
- G06F13/1652—Handling requests for interconnection or transfer for access to memory bus based on arbitration in a multiprocessor architecture
- G06F13/1663—Access to shared memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Near-Field Transmission Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The purpose of the invention is to provide a method and an apparatus for transmitting the data in a virtualized environment. Specifically, a first data transmission module is created by a client terminal equipment, and a second data transmission module is created by a main terminal equipment; according to the first data transmission module, a shared memory is arranged in a kernel space in the client terminal equipment, and the main terminal equipment is allowed to perform the read-write operation on the shared memory; the main terminal equipment obtains the access permission of the shared memory; the client terminal equipment is in data transmission with the shared memory through the first data transmission module, and the main terminal equipment is in data transmission with the shared memory through the second data transmission module. Compared with the prior art, the shared memory in the kernel space serves as a transfer station for transmitting the data, the data transmission rate is high, the operation is simple, and less system resource is occupied.
Description
Technical field
The application is related to computer realm, more particularly, to a kind of for transmission data under virtualized environment
Technology.
Background technology
In virtualized environment, typically carried out data transmission between host and virtual machine by network.
But when network goes wrong, in prior art, there are two kinds of technical schemes can realize host and virtual
Data transfer between machine, one is by way of Serial Port Transmission, and two is the side by hot plug disk
Formula, and all there are some defects in both schemes.
The transfer rate of serial equipment is generally relatively low, thus the mode of Serial Port Transmission cannot meet quick biography
The demand of transmission of data.The mode of hot plug disk needs to create one piece of virtual disk in host, first
This virtual disk is inserted in host, data to be transmitted is copied to this virtual disk, then this
Virtual disk is extracted from host and is inserted in virtual machine, then by data to be transmitted from this virtual disk
Be copied in virtual machine, after extract this virtual disk, so just can complete once from host to virtual
The data transfer of machine.Can see, the mode of hot plug disk is related to the hot plug of many secondary devices, and
The number of times of copy data is more, and operating procedure is excessively loaded down with trivial details, leads to overhead excessive.
Content of the invention
The application technical problem to be solved is, transmission data under virtualized environment, how to improve transmission
Speed, simplifies operating procedure to reduce overhead simultaneously.
For solve above-mentioned technical problem, this application provides a kind of at objective end equipment end for virtual environment
The method of lower transmission data, wherein, methods described includes: creates first data transmission module;According to institute
State first data transmission module assignment one shared drive, and described shared drive allows main side equipment to be read
Write operation;Carried out data transmission by described first data transmission module and described shared drive, wherein,
Described carry out data transmission including at least following any one: the first data to be transmitted is stored in described shared
In internal memory, obtain the second data to be transmitted that described main side equipment is stored in described shared drive.
Further, the first data to be transmitted is stored in described shared drive to include: by described first
Data to be transmitted reads to user's space;Described first data to be transmitted is copied to from described user's space
Described shared drive positioned at kernel spacing.
Further, described first data to be transmitted is copied to positioned at kernel spacing from described user's space
Described shared drive include: the associated capacity information based on described shared drive, read described to institute
The the first data to be transmitted gradation stating user's space is copied to the described shared drive positioned at kernel spacing;Its
In, after each copy, send first data transmission message to described main side equipment;As the described master of acquisition
After the first data read message that end equipment is returned, copied, until being transmitted next time.
Further, obtain the second data to be transmitted bag that described main side equipment is stored in described shared drive
Include: read the second data to be transmitted that described main side equipment is stored in described shared drive;By read
Second data to be transmitted is copied to user's space;By described the second data to be transmitted being copied to user's space
Store to storage medium.
Further, read the second data to be transmitted bag that described main side equipment is stored in described shared drive
Include: described main side equipment is read according to the second data transmission message that described main side equipment is sent and is stored in
Second data to be transmitted of described shared drive;After the completion of reading, return second to described main side equipment
Data read message.
Further, methods described also includes: shared with described by described first data transmission module
Before internal memory carries out data transmission, it is transmitted event communication with described main side equipment, is transmitted event
Communication includes at least following any one: sends with regard to described first data to be transmitted to described main side equipment
First data message;Obtain that described main side equipment sent with regard to the second of described second data to be transmitted
Data message.
According to the one side of the application, this application provides a kind of in main side equipment end for virtual ring
The method of transmission data under border, wherein, methods described includes: creates the second data transmission module;Obtain
The access rights of the shared drive that objective end equipment is distributed, so that described shared drive allows main side equipment to enter
Row read-write operation;Carried out data transmission by described second data transmission module and described shared drive, its
In, described carry out data transmission including at least following any one: obtain described visitor the be stored in institute of end equipment
State the first data to be transmitted of shared drive, the second data to be transmitted is stored in described shared drive.
Further, the second data to be transmitted is stored in described shared drive to include: by described second
Data to be transmitted reads to user's space;Described second data to be transmitted is copied to from described user's space
Described shared drive positioned at kernel spacing.
Further, described second data to be transmitted is copied to positioned at kernel spacing from described user's space
Described shared drive include: the associated capacity information based on described shared drive, read described to institute
The the second data to be transmitted gradation stating user's space is copied to the described shared drive positioned at kernel spacing;Its
In, after each copy, send the second data transmission message to described visitor's end equipment;As the described visitor of acquisition
After the second data read message that end equipment is returned, copied, until being transmitted next time.
Further, obtain the first data to be transmitted bag that described visitor's end equipment is stored in described shared drive
Include: read the first data to be transmitted that described visitor's end equipment is stored in described shared drive;By read
First data to be transmitted is copied to user's space;By described the first data to be transmitted being copied to user's space
Store to storage medium.
Further, read the first data to be transmitted bag that described visitor's end equipment is stored in described shared drive
Include: described visitor's end equipment is read according to the first data transmission message that described visitor's end equipment is sent and is stored in
First data to be transmitted of described shared drive;After the completion of reading, return first to described visitor's end equipment
Data read message.
Further, methods described also includes: shared with described by described second data transmission module
Before internal memory carries out data transmission, it is transmitted event communication with described visitor's end equipment, is transmitted event
Communication includes at least following any one: sends with regard to described second data to be transmitted to described visitor's end equipment
Second data message;Obtain that described visitor's end equipment sent with regard to the first of described first data to be transmitted
Data message.
According to further aspect of the application, this application provides one kind carries out data under virtual environment
The equipment of transmission, wherein, described equipment includes: objective end creating device, for creating first data transmission
Module;Objective end distributor, for according to described first data transmission module assignment one shared drive, and
Described shared drive allows main side equipment to be written and read operating;Objective end data transmitting device, for by institute
State first data transmission module to carry out data transmission with described shared drive, wherein, described visitor's end data passes
Defeated device includes at least following any one: objective end data memory element, for by the described first number to be transmitted
According to being stored in described shared drive, objective end data acquiring unit, for obtaining the equipment storage of described main side
The second data to be transmitted in described shared drive.
Further, described visitor's end data memory element includes: for reading described first data to be transmitted
Take to the subelement of user's space;For described first data to be transmitted is copied to from described user's space
Subelement positioned at the described shared drive of kernel spacing.
Further, described it is located at for being copied to described first data to be transmitted from described user's space
The subelement of the described shared drive of kernel spacing includes: for the associated capacity based on described shared drive
Information, described reading is copied to positioned at kernel sky to the first data to be transmitted gradation of described user's space
Between described shared drive subelement;For, after each copy, sending first to described main side equipment
The subelement of data transmission message;For disappearing when the first digital independent that acquisition described main side equipment is returned
Copied the subelement until being transmitted after breath next time.
Further, described visitor's end data acquiring unit includes: is stored in for reading described main side equipment
The subelement of the second data to be transmitted of described shared drive;For by the read second data to be transmitted
It is copied to the subelement of user's space;For described the second data to be transmitted being copied to user's space is deposited
Store up to the subelement of storage medium.
Further, described it is stored in the second to be passed of described shared drive for reading described main side equipment
The subelement of transmission of data includes: the second data transmission message for being sent according to described main side equipment is read
Described main side equipment is taken to be stored in the subelement of the second data to be transmitted of described shared drive;For reading
Take into the subelement that described main side equipment backward returns the second data read message.
Further, described equipment also includes: objective end communicator, for by described first data
Before transport module and described shared drive carry out data transmission, it is transmitted event with described main side equipment
Communication, wherein, described visitor end communicator includes at least following any one: objective client information transmitting element,
For sending the first data message with regard to described first data to be transmitted to described main side equipment;Objective end letter
Breath acquiring unit, for obtaining that described main side equipment sent with regard to the of described second data to be transmitted
Two data messages.
According to further aspect of the application, this application provides one kind carries out data under virtual environment
The equipment of transmission, wherein, described equipment includes: main side creating device, for creating the second data transfer
Module;Main side distributor, for obtaining the access rights of the shared drive that objective end equipment is distributed, with
Described shared drive is made to allow main side equipment to be written and read operating;Main side data transmission device, is used for passing through
Described second data transmission module and described shared drive carry out data transmission, wherein, described main side data
Transmitting device includes at least following any one: main side data capture unit, for obtaining described visitor's end equipment
It is stored in the first data to be transmitted of described shared drive, main side data storage cell, for by described
Two data to be transmitted are stored in described shared drive.
Further, described main side data storage cell includes: for reading described second data to be transmitted
Take to the subelement of user's space;For described second data to be transmitted is copied to from described user's space
Subelement positioned at the described shared drive of kernel spacing.
Further, described it is located at for being copied to described second data to be transmitted from described user's space
The subelement of the described shared drive of kernel spacing includes: for the associated capacity based on described shared drive
Information, described reading is copied to positioned at kernel sky to the second data to be transmitted gradation of described user's space
Between described shared drive subelement;For, after each copy, sending second to described visitor's end equipment
The subelement of data transmission message;For disappearing when the second digital independent that acquisition described visitor end equipment is returned
Copied the subelement until being transmitted after breath next time.
Further, described main side data capture unit includes: is stored in for reading described visitor's end equipment
The subelement of the first data to be transmitted of described shared drive;For by the read first data to be transmitted
It is copied to the subelement of user's space;For described the first data to be transmitted being copied to user's space is deposited
Store up to the subelement of storage medium.
Further, described it is stored in the first to be passed of described shared drive for reading described visitor's end equipment
The subelement of transmission of data includes: for being read according to the first data transmission message that described visitor's end equipment is sent
Described visitor's end equipment is taken to be stored in the subelement of the first data to be transmitted of described shared drive;For reading
The subelement of the first data read message after the completion of taking, is returned to described visitor's end equipment.
Further, described equipment also includes: main side communicator, for by described second data
Before transport module and described shared drive carry out data transmission, it is transmitted event with described visitor's end equipment
Communication, wherein, described main side communicator includes at least following any one: master information transmitting element,
For sending the second data message with regard to described second data to be transmitted to described visitor's end equipment;Main side is believed
Breath acquiring unit, for obtaining that described visitor's end equipment sent with regard to the of described first data to be transmitted
One data message.
Compared with prior art, in an embodiment of the application, objective end equipment creates the first data and passes
Defeated module, main side equipment creates the second data transmission module, described first data transmission module and described
The user's space that second data transmission module provides objective end equipment end is empty with the user of main side equipment end
Between between data transmission channel;Described visitor's end equipment is according to described first data transmission module assignment one
Positioned at the shared drive of kernel spacing, and allow described main side equipment that described shared drive is written and read
Operation, described main side equipment obtains the access rights of described shared drive;Described visitor's end equipment and described
Main side equipment is respectively by described first data transmission module and described second data transmission module and institute
State shared drive to carry out data transmission, specifically, described visitor's end equipment is by described first data to be transmitted
It is stored in described shared drive, described main side equipment obtains described visitor's end equipment and is stored in described sharing
First data to be transmitted of internal memory, described second data to be transmitted is stored in described by described main side equipment
In shared drive, described visitor's end equipment obtains described main side equipment and is stored in the second of described shared drive
Data to be transmitted.
So, terminal transmission data is used as by the shared drive positioned at kernel spacing, and existing
Serial Port Transmission mode is compared, and greatly improves message transmission rate, the side with existing hot plug disk
Formula is compared, and operation is more succinct, less to the occupancy of system resource.
Brief description
By reading the detailed description that non-limiting example is made made with reference to the following drawings, this Shen
Other features, objects and advantages please will become more apparent upon:
Fig. 1 illustrates that one kind of an embodiment according to the application one side is carried out under virtual environment
The objective end equipment of data transfer;
Fig. 2 illustrates one kind of a preferred embodiment according to the application one side under virtual environment
The objective end data transmitting device of the objective end equipment carrying out data transmission;
Fig. 3 illustrates one kind of a preferred embodiment according to the application one side under virtual environment
The objective end equipment carrying out data transmission;
Fig. 4 illustrates that one kind of an embodiment according to the application one side is carried out under virtual environment
The main side equipment of data transfer;
Fig. 5 illustrates one kind of a preferred embodiment according to the application one side under virtual environment
The main side data transmission device of the main side equipment carrying out data transmission;
Fig. 6 illustrates one kind of a preferred embodiment according to the application one side under virtual environment
The main side equipment carrying out data transmission;
Fig. 7 illustrates that one kind of an embodiment according to the application one side is carried out under virtual environment
The schematic diagram that the objective end equipment of data transfer is coordinated with main side equipment;
Fig. 8 illustrate an embodiment according to the application other side a kind of at objective end equipment end
Method flow diagram for transmission data under virtual environment;
Fig. 9 illustrate an embodiment according to the application other side a kind of in main side equipment end
Method flow diagram for transmission data under virtual environment;
Figure 10 illustrates that one kind of an embodiment according to the application other side is used under virtual environment
The method flow diagram of transmission data.
In accompanying drawing, same or analogous reference represents same or analogous part.
Specific embodiment
Below in conjunction with the accompanying drawings the application is described in further detail.
Fig. 1 illustrates that one kind of an embodiment according to the application one side is carried out under virtual environment
The objective end equipment 1 of data transfer, wherein, objective end equipment 1 includes objective end creating device 11, objective end is divided
It is equipped with and put 12 and objective end data transmitting device 13.
Specifically, described visitor end creating device 11 creates first data transmission module;Described visitor end is divided
It is equipped with and put 12 according to described first data transmission module assignment one shared drive, and described shared drive
Main side equipment is allowed to be written and read operating;Described visitor's end data transmitting device 13 passes through described first number
Carry out data transmission with described shared drive according to transport module.
Here, described visitor end equipment 1 include a kind of can according to the instruction being previously set or store, from
The dynamic electronic equipment carrying out numerical computations and information processing, its hardware include but is not limited to microprocessor,
Special IC (asic), programmable gate array (fpga), digital processing unit (dsp), embedding
Enter formula equipment etc..Described visitor's end equipment 1 can also be by a series of calculating according to particular order tissue
Machine data and the set of instruction.Additionally, described visitor's end equipment can also be according to specific suitable by a series of
Sequence tissue computer data and instruction set with can according to the instruction being previously set or store, from
The combination of the dynamic electronic equipment carrying out numerical computations and information processing.Those skilled in the art will be understood that
Described visitor's end equipment 1 is only for example, and other objective end equipments 1 that are existing or being likely to occur from now on such as can
It is applied to the application, within also should being included in the application protection domain, and here is comprised with way of reference
In this.
It is constant work between above-mentioned each device, here, it will be understood by those skilled in the art that " holding
Continuous " refer to that above-mentioned each device is wanted respectively in real time or according to mode of operation that set or real-time adjustment
Ask, for example described objective end creating device 11 creates first data transmission module, described visitor end creating device
The first data transmission module that 11 are created persistently supplies described visitor end distributor 12 and described visitor's end data
Transmitting device 13 uses, and described visitor end distributor 12 continues to be divided according to described first data transmission module
Join a shared drive, and described shared drive allows main side equipment to be written and read operating, described visitor's terminal number
Continue through described first data transmission module according to transmitting device 13 and carry out data with described shared drive
Transmission, until described visitor's end equipment 1 quits work.
In the particular embodiment, under virtualized environment, objective end equipment can be guest virtual machine
(guest), main side equipment can be privileged virtual machine (host), can be realized by privileged virtual machine
Management to the guest virtual machine of one or more non-privileged levels.
Described visitor end creating device 11 creates first data transmission module.
Wherein, described first data transmission module includes objective end virtual unit and objective end drives.Described visitor
End creating device 11 creates first data transmission module and includes: creates objective end virtual unit and loading
The objective end of described visitor end virtual unit drives.
Further, described visitor end creating device 11 is according to the management program (hypervisor) of host
Type, increase objective end virtual unit by changing respective logic, described visitor end virtual unit is used for interior
Communication between nuclear space and user's space and between the kernel spacing of guest and host.Specifically,
In the establishing stage of guest, the method that described visitor end creating device 11 can directly be passed through to create increases
Objective end virtual unit, if guest exists, described visitor end creating device 11 can adopt hot plug
Method increases objective end virtual unit.
Here, the virtual memory of the operating system (for example, linux operating system) of objective end equipment is drawn
It is divided into kernel spacing and user's space, the kernel software operating in kernel spacing has access hardware devices
All permissions, there is higher privilege level;The common applications operating in user's space can only
See the part system resource allowing them to use, and some specific systemic-functions can not be used,
Nor direct access kernel space and hardware device.
Therefore, the first data transmission module being created provides between kernel spacing and user's space
Data transmission channel, is conducive to being smoothed out of subsequent data transmission.
Described visitor's end distributor 12 according to described first data transmission module assignment one shared drive,
And described shared drive permission main side equipment is written and read operating.
In the particular embodiment, the objective end in described first data transmission module drives and objective end is detected
During virtual unit, distribution enjoys internal memory altogether, and described shared drive is located at kernel spacing, and allows main side to set
Main side in the second standby data transmission module drives and accesses this shared drive.Specifically, described first
Objective end in data transmission module drives when described visitor's end virtual unit is detected, distributes and passes for data
The defeated transmission page, distribute for control data transmission the control page, the described transmission page with described
The page is controlled to be the described shared drive page.
Here, terminal transmission data is used as by the shared drive positioned at kernel spacing, and existing
Serial Port Transmission mode is compared, and greatly improves message transmission rate, the side with existing hot plug disk
Formula is compared, and operation is more succinct, less to the occupancy of system resource.
Described visitor's end data transmitting device 13 is shared interior with described by described first data transmission module
Deposit and carry out data transmission, described visitor's end data transmitting device 13 includes objective end data memory element 131 He
At least any one in objective end data acquiring unit 132, wherein, described visitor's end data memory element 131
Described first data to be transmitted is stored in described shared drive, described visitor's end data acquiring unit 132
Obtain the second data to be transmitted that described main side equipment is stored in described shared drive.
Here, described visitor's end data memory element 131 is to be passed for sending first to described main side equipment
Transmission of data, described visitor's end data acquiring unit 132 is used for receiving second that described main side equipment is sent
Data to be transmitted.It is single that described visitor's end data transmitting device 13 can only include described visitor's end data storage
Unit 131, sends the first data to be transmitted to described main side equipment;Described visitor's end data transmitting device
13 can also only include described visitor's end data acquiring unit 132, that is, receive described main side equipment and sent
The second data to be transmitted;Described visitor's end data transmitting device 13 can also include described visitor's end data
Memory element 131 and described visitor's end data acquiring unit 132, send first to described main side equipment
The second data to be transmitted that data to be transmitted is sent with reception described main side equipment is carried out simultaneously.
Specifically, described visitor's end data memory element 131 may include that for be passed by described first
Transmission of data reads to the subelement of user's space;For described first data to be transmitted is empty from described user
Between be copied to the subelement of described shared drive positioned at kernel spacing.
Here, described visitor end data memory element 131 by described first data to be transmitted from objective end equipment 1
Storage medium read to internal memory the user's space at objective end equipment end, and shared drive is located at the interior of internal memory
Nuclear space, therefore described first data to be transmitted is copied to described shared drive from described user's space.
Specifically, described for described first data to be transmitted is copied to positioned at interior from described user's space
The subelement of the described shared drive of nuclear space includes: for the associated capacity letter based on described shared drive
Breath, described reading is copied to positioned at kernel spacing to the first data to be transmitted gradation of described user's space
Described shared drive subelement;For, after each copy, sending the first number to described main side equipment
Subelement according to transmission message;For the first data read message being returned when acquisition described main side equipment
Copied the subelement until being transmitted afterwards next time.
Here, the associated capacity information of described shared drive can include but is not limited to described be used for data
The size of the transmission page of transmission, size sizet=subpage frame number tp of the described transmission page ×
Subpage frame size pagesize.Preferably, the first data to be transmitted is being copied to from user's space
During described shared drive, copied by several times in units of the described transmission page.
Assume the first data to be transmitted size be n, the number of objective end data transmitting device 13 transmission
It is already according to size, its initial value is 0, the idle subpage frame number of transmission page send1
For free, the initial value of subpage frame numbering a is 0, by described first data to be transmitted from objective terminal number
The flow process being copied to described shared drive according to transmitting device 13 is as follows:
The first step, according to size left=n of the non-hop of described first data to be transmitted
Already, judges whether left is 0, if so, then described first data to be transmitted at objective end
The transmission of equipment end is over, if it is not, then can be by data copy to institute by subsequent step judgement
State shared drive;
Second step, judges whether size left of the non-hop of described first data to be transmitted is more than
It is equal to size sizet of transmission page send1, if so, the size of then this time data to be copied
Input=sizet, if it is not, size input=left of then this time data to be copied, that is, every time
At most copy the data of sizet size;
3rd step, judges whether size of data input to be copied is more than or equal to subpage frame size
Pagesize, if so, then turns the 4th step, if it is not, then turning the 5th step;
4th step, by the data copy of pagesize size to transmitting in page send1, should
Address addr=0 in described shared drive for the subpage frame, length len_size=of this subpage frame
Pagesize and its subpage frame numbering a are put in the control page, then execute input-=
Pagesize, a=(++ a) >=tp?0:a, after that is, data to be copied is equal to and deducts subpage frame size
New value, page number a judges whether to reach the maximum subpage frame of transmission page send1 after adding 1
Number tp, if a reaches tp, gives a assignment 0, then turns the 3rd step;
5th step, by the data copy of input size to transmitting in page send1, by this subpage
Address addr=0 in described shared drive for the face, length len_size=of this subpage frame
Input and its subpage frame numbering a are put in the control page, then execution a=(++ a) >=tp?0:a,
Judge whether after i.e. page number a adds 1 to reach the maximum subpage frame number tp of transmission page send1,
If a reaches tp, give a assignment 0, then turn the 6th step;
6th step, execution already+=is this time copied to the size of data of described shared drive,
The subpage frame number that free-=this time uses, i.e. the number of objective end data transmitting device 13 transmission
New after size of data of described shared drive equal to being copied to plus this according to size already
Value, idle subpage frame number free of transmission page send1 is equal to and deducts the subpage this time using
New value after the number of face;Then send first data transmission message to described main side equipment, described to notify
Main side equipment reads the data being this time copied to described shared drive, is returned obtaining described main side equipment
The first data read message after, execute free=tp, then turn the first step.
Those skilled in the art will be understood that and above-mentioned copy by several times the first data to be transmitted from user's space
Method to shared drive is only for example, other existing or be likely to occur from now on to be transmitted by first
The method that data is copied to shared drive from user's space is such as applicable to the application, also should be included in this
Within application protection domain, and here is incorporated herein with way of reference.
Specifically, described visitor's end data acquiring unit 132 includes: deposits for reading described main side equipment
The subelement of the second data to be transmitted in described shared drive for the storage;For to be transmitted by read second
Data copy to user's space subelement;For by described the second number to be transmitted being copied to user's space
According to the subelement storing to storage medium.
Here, described visitor's end data acquiring unit 132 by described main side equipment sent second to be passed
Transmission of data is copied to user's space from described shared drive, then is copied to storage medium from user's space.
Described storage medium refers to non-volatile memory medium, for example and be not limited to hard disk, CD, u disk,
Sd card etc..
Specifically, described it is stored in the second to be transmitted of described shared drive for reading described main side equipment
The subelement of data includes: the second data transmission message for being sent according to described main side equipment reads
Described main side equipment is stored in the subelement of the second data to be transmitted of described shared drive;For reading
Complete the subelement that described main side equipment backward returns the second data read message.
For example, it is assumed that the size of the second data to be transmitted is n, objective end data transmitting device 13 connects
The size of data received is get, and its initial value is 0, by described second data to be transmitted from described shared
Memory copying is as follows to the flow process of objective end data transmitting device 13:
The first step, judges whether equation get==n is true, that is, judge objective end data transmitting device 13
Whether size of data get of reception is equal to size n of the second data to be transmitted, if so, then objective
End equipment 1 has completed the reading to described second data to be transmitted, and returns the to described main side equipment
Two data read message, if it is not, then turn second step;
Second step, waits the second data transmission message that described main side equipment is sent, described when receiving
After the second data transmission message that main side equipment is sent, according to control the page in regard to transmit the page
Receive1 length len_slice, transmission page receive1 subpage frame numbering and the transmission page
The information such as address addr in shared drive for the receive1, process successively and will transmit the page
Data copy in receive1 to user's space, copy described by described visitor's end data acquiring unit 132
Shellfish stores to storage medium to the second data to be transmitted of user's space, then execution get+=this time from
The size of data obtaining in described shared drive, that is, the data of objective end data transmitting device 13 reception is big
Little get is equal to the new value after the size of data obtaining from described shared drive plus this, to described
Main side equipment returns the second data read message, then turns the first step.
Those skilled in the art will be understood that and above-mentioned from shared drive, the second data to be transmitted are copied to use
The method in family space is only for example, other existing or be likely to occur from now on by the second data to be transmitted
The method being copied to user's space from shared drive is such as applicable to the application, also should be included in the application
Within protection domain, and here is incorporated herein with way of reference.
Fig. 3 illustrates one kind of a preferred embodiment according to the application one side under virtual environment
The objective end equipment 1 carrying out data transmission, wherein, described visitor end equipment 1 include objective end creating device 11 ',
Objective end distributor 12 ', objective end data transmitting device 13 ' and objective end communicator 14 '.
Here, described visitor end creating device 11 ', objective end distributor 12 ', objective end data transmitting device
Objective end creating device 11, objective end distributor 12, objective end data transmitting device 13 in 13 ' and Fig. 1
Content identical or essentially identical, for simplicity's sake, repeat no more.
Described visitor end communicator 14 ' is being entered by described first data transmission module and described shared drive
Before row data transfer, it is transmitted event communication with described main side equipment.Specifically, described visitor end leads to
T unit includes objective client information transmitting element (not shown), and (in figure is not with objective client information acquiring unit
Illustrate) at least any one, wherein, described visitor client information transmitting element to described main side equipment send
With regard to the first data message of described first data to be transmitted, described visitor's client information acquiring unit obtains described
The second data message with regard to described second data to be transmitted that main side equipment is sent.
Here, after described first data to be transmitted is transferred to described main side equipment end, being deposited with document form
Be stored in storage medium, the first data message include the store path of this document, the title of this document and
The length of this document.After described second data to be transmitted is transferred to described visitor end equipment end, with file shape
Formula is stored in storage medium, and the second data message includes the name of the store path of this document, this document
Title and the length of this document.By described visitor's end communicator before data transfer starts, and described
Main side equipment is transmitted event communication, some can be avoided similar to the lower level error repeating transmission, have
Effect improves data transmission success.
For example, it is assumed that in xen virtualized environment, objective end equipment 1 is passed with described main side equipment
Defeated event communication may is that to be put into transmission order xenstore (storage in xen virtual environment sets
Standby, xenstore is completed based on event channel) in, this transmission order includes the first data message,
And notify described main side equipment to there is new order.Described main side equipment obtains transmission from xenstore
Order, extracts the first data message, first checks the store path of the file in described first data message
Whether exist, if so, then returned mistake, and notify the corresponding error message of objective end equipment 1, so
After terminate transmit;If it is not, then the store path according to the file in described first data message creates literary composition
Part, and notify objective end equipment 1 to accept transmission order and processed normal.
Fig. 4 illustrates that one kind of an embodiment according to the application one side is carried out under virtual environment
The main side equipment 2 of data transfer, wherein, main side equipment 2 includes main side creating device 25, main side is divided
It is equipped with and put 26 and main side data transmission device 27.
Specifically, described main side creating device 25 creates the second data transmission module;Described main side is divided
The equipped access rights putting the shared drive that 26 acquisition visitor's end equipments are distributed, so that described shared interior
Deposit permission main side equipment to be written and read operating;Described main side data transmission device 27 passes through described second
Data transmission module is carried out data transmission with described shared drive.
Here, described main side equipment 2 include a kind of can according to the instruction being previously set or store, from
The dynamic electronic equipment carrying out numerical computations and information processing, its hardware include but is not limited to microprocessor,
Special IC (asic), programmable gate array (fpga), digital processing unit (dsp), embedding
Enter formula equipment etc..Described main side equipment 2 can also be by a series of calculating according to particular order tissue
Machine data and the set of instruction.Additionally, described main side equipment 2 can also be according to specific by a series of
The computer data of sequential organization and instruction set with can according to the instruction being previously set or store,
Automatically carry out the combination of the electronic equipment of numerical computations and information processing.Those skilled in the art should be able to manage
Solve described main side equipment 2 to be only for example, other existing or main side equipment 2 of being likely to occur from now on are such as
It is applicable to the application, within also should being included in the application protection domain, and here is with way of reference bag
It is contained in this.
It is constant work between above-mentioned each device, here, it will be understood by those skilled in the art that " holding
Continuous " refer to that above-mentioned each device is wanted respectively in real time or according to mode of operation that set or real-time adjustment
Ask, for example described main side creating device 25 creates the second data transmission module, described main side creating device
25 the second data transmission modules being created persistently supply described main side distributor 26 and described main side data
Transmitting device 27 uses, and it is shared that described main side distributor 26 persistently obtains that objective end equipment distributed
The access rights of internal memory, so that described shared drive allows main side equipment to be written and read operating, described master
End data transmitting device 27 continues through described second data transmission module to be carried out with described shared drive
Data transfer, until described main side equipment 2 quits work.
In the particular embodiment, under virtualized environment, objective end equipment can be guest virtual machine
(guest), main side equipment can be privileged virtual machine (host), can be realized by privileged virtual machine
Management to the guest virtual machine of one or more non-privileged levels.
Further, described main side creating device 25 creates the second data transmission module.
Wherein, described second data transmission module includes main side virtual unit and main side drives.Described master
End creating device 25 creates the second data transmission module and includes: creates main side virtual unit and loading
The main side of described main side virtual unit drives.
Further, described main side creating device 25 is according to the management program (hypervisor) of host
Type, increase main side virtual unit by changing respective logic, described main side virtual unit is used for interior
Communication between nuclear space and user's space and between the kernel spacing of host and guest.
Here, the virtual memory of the operating system (for example, linux operating system) of main side equipment is drawn
It is divided into kernel spacing and user's space, the kernel software operating in kernel spacing has access hardware devices
All permissions, there is higher privilege level;The common applications operating in user's space can only
See the part system resource allowing them to use, and some specific systemic-functions can not be used,
Nor direct access kernel space and hardware device.
Therefore, the second data transmission module being created provides between kernel spacing and user's space
Data transmission channel, is conducive to being smoothed out of subsequent data transmission.
Described main side distributor 26 obtains the access rights of the shared drive that objective end equipment is distributed,
So that described shared drive allows main side equipment to be written and read operating.
In the particular embodiment, the objective end in the first data transmission module of objective end equipment drives detection
Enjoy internal memory to distribution during objective end virtual unit altogether, described shared drive is located at kernel spacing, and allows
Main side in described second data transmission module drives and accesses this shared drive.Specifically, described first
Objective end in data transmission module drives the objective end detecting in described first data transmission module virtual
During equipment, distribute the transmission page for data transfer, distribute the control page for control data transmission
Face, the described transmission page is the described shared drive page with the described control page.
Here, terminal transmission data is used as by the shared drive positioned at kernel spacing, and existing
Serial Port Transmission mode is compared, and greatly improves message transmission rate, the side with existing hot plug disk
Formula is compared, and operation is more succinct, less to the occupancy of system resource.
It is shared interior with described that described main side data transmission device 27 passes through described second data transmission module
Deposit and carry out data transmission, described main side data transmission device 27 includes main side data storage cell 271 He
At least any one in main side data capture unit 272, wherein, described main side data storage cell 271
Obtain the first data to be transmitted that described visitor's end equipment is stored in described shared drive, described main side data obtains
Take unit 272 that described second data to be transmitted is stored in described shared drive.
Here, described main side data storage cell 271 is used for receiving that described visitor's end equipment is sent
One data to be transmitted, described main side data capture unit 272 is used for sending second to described visitor's end equipment
Data to be transmitted.Described main side data transmission device 27 can only include described main side data storage cell
271, that is, receive the first number to be transmitted that described visitor's end equipment is sent;Described main side data transfer dress
Put 27 and can also only include described main side data capture unit 272, send the to described visitor's end equipment
Two data to be transmitted;Described main side data transmission device 27 can also include described main side data storage list
Unit 271 and described main side data capture unit 272, that is, receive that described visitor's end equipment sent first is treated
Transmission data is carried out with to described visitor's end equipment transmission the second data to be transmitted simultaneously.
Specifically, described main side data storage cell 271 may include that for be transmitted by described second
Digital independent to user's space subelement;For by described second data to be transmitted from described user's space
It is copied to the subelement of the described shared drive positioned at kernel spacing.
Here, described main side data storage cell 271 by described second data to be transmitted from main side equipment 2
Storage medium read to the user's space of main side equipment end in internal memory, and shared drive be located at internal memory interior
Nuclear space, therefore described second data to be transmitted is copied to described shared drive from described user's space.
Specifically, described for described second data to be transmitted is copied to positioned at interior from described user's space
The subelement of the described shared drive of nuclear space includes: for the associated capacity letter based on described shared drive
Breath, described reading is copied to positioned at kernel spacing to the second data to be transmitted gradation of described user's space
Described shared drive subelement;For, after each copy, sending the second number to described visitor's end equipment
Subelement according to transmission message;For the second data read message being returned when acquisition described visitor end equipment
Copied the subelement until being transmitted afterwards next time.
Here, the associated capacity information of described shared drive can include but is not limited to described be used for data
The size of the transmission page of transmission, size sizet=subpage frame number tp of the described transmission page ×
Subpage frame size pagesize.Preferably, the second data to be transmitted is being copied to from user's space
During described shared drive, copied by several times in units of the described transmission page.
Assume the second data to be transmitted size be n, the number of main side data transmission device 27 transmission
It is already according to size, its initial value is 0, the idle subpage frame number of transmission page send2
For free, the initial value of subpage frame numbering a is 0, by described second data to be transmitted from main side number
The flow process being copied to described shared drive according to transmitting device 27 is as follows:
The first step, according to size left=n of the non-hop of described second data to be transmitted
Already, judges whether left is 0, if so, then described second data to be transmitted in main side
The transmission of equipment end is over, if it is not, then can be by data copy to institute by subsequent step judgement
State shared drive;
Second step, judges whether size left of the non-hop of described second data to be transmitted is more than
It is equal to size sizet of transmission page send2, if so, the size of then this time data to be copied
Input=sizet, if it is not, size input=left of then this time data to be copied, that is, every time
At most copy the data of sizet size;
3rd step, judges whether size of data input to be copied is more than or equal to subpage frame size
Pagesize, if so, then turns the 4th step, if it is not, then turning the 5th step;
4th step, by the data copy of pagesize size to transmitting in page send2, should
Address addr=0 in described shared drive for the subpage frame, length len_size=of this subpage frame
Pagesize and its subpage frame numbering a are put in the control page, then execute input-=
Pagesize, a=(++ a) >=tp?0:a, after that is, data to be copied is equal to and deducts subpage frame size
New value, page number a judges whether to reach the maximum subpage frame of transmission page send2 after adding 1
Number tp, if a reaches tp, gives a assignment 0, then turns the 3rd step;
5th step, by the data copy of input size to transmitting in page send2, by this subpage
Address addr=0 in described shared drive for the face, length len_size=of this subpage frame
Input and its subpage frame numbering a are put in the control page, then execution a=(++ a) >=tp?0:a,
Judge whether after i.e. page number a adds 1 to reach the maximum subpage frame number tp of transmission page send2,
If a reaches tp, give a assignment 0, then turn the 6th step;
6th step, execution already+=is this time copied to the size of data of described shared drive,
The subpage frame number that free-=this time uses, i.e. the number of main side data transmission device 27 transmission
New after size of data of described shared drive equal to being copied to plus this according to size already
Value, idle subpage frame number free of transmission page send2 is equal to and deducts the subpage this time using
New value after the number of face;Then send the second data transmission message to described visitor's end equipment, described to notify
Objective end equipment reads the data being this time copied to described shared drive, is returned obtaining described visitor's end equipment
The second data read message after, execute free=tp, then turn the first step.
Those skilled in the art will be understood that and above-mentioned copy by several times the second data to be transmitted from user's space
Method to shared drive is only for example, other existing or be likely to occur from now on to be transmitted by second
The method that data is copied to shared drive from user's space is such as applicable to the application, also should be included in this
Within application protection domain, and here is incorporated herein with way of reference.
Specifically, described main side data storage cell 271 includes: deposits for reading described visitor's end equipment
The subelement of the first data to be transmitted in described shared drive for the storage;For to be transmitted by read first
Data copy to user's space subelement;For by described the first number to be transmitted being copied to user's space
According to the subelement storing to storage medium.
Here, described main side data storage cell 271 by described visitor's end equipment sent first to be passed
Transmission of data is copied to user's space from described shared drive, then is copied to storage medium from user's space.
Described storage medium refers to non-volatile memory medium, for example and be not limited to hard disk, CD, u disk,
Sd card etc..
Specifically, described it is stored in the first to be transmitted of described shared drive for reading described visitor's end equipment
The subelement of data includes: for being read according to the first data transmission message that described visitor's end equipment is sent
Described visitor's end equipment is stored in the subelement of the first data to be transmitted of described shared drive;For reading
Complete the subelement that described visitor's end equipment backward returns the first data read message.
For example, it is assumed that the size of the first data to be transmitted is n, main side data transmission device 27 connects
The size of data received is get, and its initial value is 0, by described first data to be transmitted from described shared
Memory copying is as follows to the flow process of main side data transmission device 27:
The first step, judges whether equation get==n is true, that is, judge main side data transmission device 27
Whether size of data get of reception is equal to size n of the first data to be transmitted, if so, then leads
End equipment 2 has completed the reading to described first data to be transmitted, and returns the to described visitor's end equipment
One data read message, if it is not, then turn second step;
Second step, waits the first data transmission message that described visitor's end equipment is sent, described when receiving
After the first data transmission message that objective end equipment is sent, according to control the page in regard to transmit the page
Receive2 length len_slice, transmission page receive2 subpage frame numbering and the transmission page
The information such as address addr in shared drive for the receive2, process successively and will transmit the page
Data copy in receive2 to user's space, is copied to the first to be transmitted of user's space by described
Data storage is to storage medium, the data that then execution get+=this time obtains from described shared drive
Size, that is, size of data get of main side data transmission device 27 reception be equal to plus this from institute
State the new value after the size of data obtaining in shared drive, return the first digital independent to described visitor's end equipment
Message, then turns the first step.
Those skilled in the art will be understood that and above-mentioned from shared drive, the first data to be transmitted are copied to use
The method in family space is only for example, other existing or be likely to occur from now on by the first data to be transmitted
The method being copied to user's space from shared drive is such as applicable to the application, also should be included in the application
Within protection domain, and here is incorporated herein with way of reference.
Fig. 6 illustrates one kind of a preferred embodiment according to the application one side under virtual environment
The main side equipment 2 carrying out data transmission, wherein, described main side equipment 2 include main side creating device 25 ',
Main side distributor 26 ', main side data transmission device 27 ' and main side communicator 28 '.
Here, described main side creating device 25 ', main side distributor 26 ', main side data transmission device
Main side creating device 25, main side distributor 26, main side data transmission device 27 in 27 ' and Fig. 4
Content identical or essentially identical, for simplicity's sake, repeat no more.
Described main side communicator 28 ' is being entered by described second data transmission module and described shared drive
Before row data transfer, it is transmitted event communication with described visitor's end equipment.Specifically, described main side leads to
T unit includes master information transmitting element (not shown) and master information acquiring unit, and (in figure is not
Illustrate) at least any one, wherein, described master information transmitting element to described visitor end equipment send
With regard to the second data message of described second data to be transmitted, described master information acquiring unit obtains described
The first data message with regard to described first data to be transmitted that objective end equipment is sent.
Here, after described second data to be transmitted is transferred to described visitor end equipment end, being deposited with document form
Be stored in storage medium, the second data message include the store path of this document, the title of this document and
The length of this document.After described first data to be transmitted is transferred to described main side equipment end, with file shape
Formula is stored in storage medium, and the first data message includes the name of the store path of this document, this document
Title and the length of this document.By described main side communicator before data transfer starts, and described
Objective end equipment is transmitted event communication, some can be avoided similar to the lower level error repeating transmission, have
Effect improves data transmission success.
For example, it is assumed that in xen virtualized environment, main side equipment 2 is passed with described visitor's end equipment
Defeated event communication may is that to be put into transmission order xenstore (storage in xen virtual environment sets
Standby, xenstore is completed based on event channel) in, this transmission order includes the second data message,
And notify described visitor's end equipment to there is new order.Described visitor's end equipment obtains transmission from xenstore
Order, extracts the second data message, first checks the store path of the file in described second data message
Whether exist, if so, then returned mistake, and notify the corresponding error message of main side equipment 2, so
After terminate transmit;If it is not, then the store path according to the file in described second data message creates literary composition
Part, and notify main side equipment 2 to accept transmission order and processed normal.
Fig. 7 illustrates that one kind of an embodiment according to the application one side is carried out under virtual environment
The objective end equipment 1 of data transfer and the schematic diagram of main side equipment 2 cooperation.Described visitor's end equipment 1 includes
Objective end creating device 11 ", objective end distributor 12 " and objective end data transmitting device 13 ", described master
End equipment 2 includes main side creating device 25 ", main side distributor 26 " and main side data transmission device
27”.The objective end creating device 11 of objective end equipment 1 " creates first data transmission module;Main side equipment 2
Main side creating device 25 " create the second data transmission module;The objective end distributor of objective end equipment 1
12 " according to described first data transmission module assignment one shared drive, and described shared drive allows master
End equipment 2 is written and read operating;The main side distributor 26 of main side equipment 2 " obtains objective end equipment 1
The access rights of the shared drive being distributed, so that described shared drive allows main side equipment 2 to be read
Write operation;The objective end data transmitting device 13 of objective end equipment 1 " is by described first data transmission module
Carry out data transmission with described shared drive, described visitor's end data transmitting device 13 " include objective end data
At least any one in memory element and objective end data acquiring unit, wherein, described visitor's end data storage
Described first data to be transmitted is stored in described shared drive unit, and described visitor's end data obtains single
Unit obtains the second data to be transmitted that main side equipment 2 is stored in described shared drive;Main side equipment 2
Main side data transmission device 27 " enters line number by described second data transmission module and described shared drive
According to transmission, described main side data transmission device 27 " includes main side data storage cell and main side data obtains
Take at least any one in unit, wherein, described main side data storage cell obtains objective end equipment 1 and deposits
In the first data to be transmitted of described shared drive, described main side data capture unit is by described second for storage
Data to be transmitted is stored in described shared drive.Here, the objective end creating device 11 of objective end equipment 1 ",
The objective end wound of objective end equipment 1 in objective end distributor 12 ", objective end data transmitting device 13 " and Fig. 1
Build device 11, objective end distributor 12, objective end data transmitting device 13 content is identical or basic phase
With, and the main side creating device 25 of main side equipment 2 ", main side distributor 26 ", main side data
The main side creating device 25 of main side equipment 2 in transmitting device 27 " and Fig. 4, main side distributor 26,
The content of main side data transmission device 27 is identical or essentially identical, and for simplicity's sake, therefore here is no longer
Repeat, and be incorporated herein by reference.
Fig. 8 illustrate an embodiment according to the application other side a kind of at objective end equipment end
Method flow diagram for transmission data under virtual environment.
The method comprising the steps of s81, step s82 and step s83.Specifically, in step s81,
Objective end equipment 1 creates first data transmission module;In step s82, objective end equipment 1 is according to described
First data transmission module assignment one shared drive, and described shared drive allows main side equipment to be read
Write operation;In step s83, objective end equipment 1 is common with described by described first data transmission module
Enjoy internal memory to carry out data transmission.
Here, described visitor end equipment 1 include a kind of can according to the instruction being previously set or store, from
The dynamic electronic equipment carrying out numerical computations and information processing, its hardware include but is not limited to microprocessor,
Special IC (asic), programmable gate array (fpga), digital processing unit (dsp), embedded
Formula equipment etc..Described visitor's end equipment 1 can also be by a series of computers according to particular order tissue
Data and the set of instruction.Additionally, described visitor's end equipment can also be according to particular order by a series of
Tissue computer data and instruction set with can be according to the instruction being previously set or store, automatically
Carry out the combination of the electronic equipment of numerical computations and information processing.Those skilled in the art will be understood that institute
State objective end equipment 1 to be only for example, other objective end equipments 1 that are existing or being likely to occur from now on such as can be fitted
For the application, within also should being included in the application protection domain, and here is contained in way of reference
This.
It is constant work between each step of objective end equipment 1.Specifically, in step s81
In, objective end equipment 1 creates first data transmission module, and in described step s81, objective end equipment 1 is created
The first data transmission module built persistently uses for described step s82 and described step s83, in step s82
In, objective end equipment 1 continues according to described first data transmission module assignment one shared drive and described
Shared drive allows main side equipment to be written and read operating, and in step s83, objective end equipment 1 is persistently led to
Cross described first data transmission module to carry out data transmission with described shared drive, until described visitor end sets
Standby 1 quits work.
In the particular embodiment, under virtualized environment, objective end equipment can be guest virtual machine
(guest), main side equipment can be privileged virtual machine (host), can be realized by privileged virtual machine
Management to the guest virtual machine of one or more non-privileged levels.
In step s81, objective end equipment 1 creates first data transmission module.
Wherein, described first data transmission module includes objective end virtual unit and objective end drives.Objective end sets
Standby 1 establishment first data transmission module includes: creates objective end virtual unit and loading described visitor end is empty
Propose standby objective end to drive.
Further, objective end equipment 1 is according to the type of the management program (hypervisor) of host,
Increase objective end virtual unit by changing respective logic, described visitor end virtual unit be used for kernel spacing with
Communication between user's space and between the kernel spacing of guest and host.Specifically, in guest
Establishing stage, the method that objective end equipment 1 can directly pass through to create increases objective end virtual unit, if
Guest exists, then objective end equipment 1 can increase objective end virtual unit using hot-plug method.
Here, the virtual memory of the operating system (for example, linux operating system) of objective end equipment is drawn
It is divided into kernel spacing and user's space, the kernel software operating in kernel spacing has access hardware devices
All permissions, there is higher privilege level;The common applications operating in user's space can only
See the part system resource allowing them to use, and some specific systemic-functions can not be used,
Nor direct access kernel space and hardware device.
Therefore, the first data transmission module being created provides between kernel spacing and user's space
Data transmission channel, is conducive to being smoothed out of subsequent data transmission.
In step s82, objective end equipment 1 according to described first data transmission module assignment one share in
Deposit, and described shared drive allows main side equipment to be written and read operating.
In the particular embodiment, the objective end in described first data transmission module drives and objective end is detected
During virtual unit, distribution enjoys internal memory altogether, and described shared drive is located at kernel spacing, and allows main side to set
Main side in the second standby data transmission module drives and accesses this shared drive.Specifically, described first
Objective end in data transmission module drives when described visitor's end virtual unit is detected, distributes and passes for data
The defeated transmission page, distribute for control data transmission the control page, the described transmission page with described
The page is controlled to be the described shared drive page.
Here, terminal transmission data is used as by the shared drive positioned at kernel spacing, and existing
Serial Port Transmission mode is compared, and greatly improves message transmission rate, the side with existing hot plug disk
Formula is compared, and operation is more succinct, less to the occupancy of system resource.
In step s83, objective end equipment 1 is shared interior with described by described first data transmission module
Deposit and carry out data transmission.Described step s83 includes step s831 (not shown) and step s832
At least any one in (not shown), wherein, in step s831, objective end equipment 1 is by first
Data to be transmitted is stored in described shared drive, and in step s832, objective end equipment 1 obtains described master
End equipment is stored in the second data to be transmitted of described shared drive.
Here, objective end equipment 1 is used for sending the first number to be transmitted to described main side equipment in step s831
According in step s832, objective end equipment 1 is used for receiving the second number to be transmitted that described main side equipment is sent
According to.Described step s83 can only include described step s831, sends first to described main side equipment
Data to be transmitted;Described step s83 can also only include described step s832, that is, receive described main side
The second data to be transmitted that equipment is sent;Described step s83 can also include described step s831
With described step s832, send the first data to be transmitted to described main side equipment and receive described main side
The second data to be transmitted that equipment is sent is carried out simultaneously.
Specifically, in step s831, objective end equipment 1 reads described first data to be transmitted to use
Family space, described first data to be transmitted is copied to the institute positioned at kernel spacing from described user's space
State shared drive.
Here, described first data to be transmitted is read by objective end equipment 1 from the storage medium of objective end equipment 1
Take to internal memory the user's space at objective end equipment end, and shared drive is located at the kernel spacing of internal memory, therefore
Described first data to be transmitted is copied to described shared drive from described user's space.
Specifically, in step s831, the associated capacity based on described shared drive for the objective end equipment 1 is believed
Breath, described reading is copied to positioned at kernel sky to the first data to be transmitted gradation of described user's space
Between described shared drive;After each copy, send first data transmission to described main side equipment and disappear
Breath;After obtaining the first data read message that described main side equipment is returned, copied next time,
Until being transmitted.
Here, the associated capacity information of described shared drive can include but is not limited to described be used for data
The size of the transmission page of transmission, size sizet=subpage frame number tp of the described transmission page ×
Subpage frame size pagesize.Preferably, the first data to be transmitted is being copied to from user's space
During described shared drive, copied by several times in units of the described transmission page.
The size assuming the first data to be transmitted is n, and the size of data of objective end equipment 1 transmission is
Already, its initial value is 0, and the idle subpage frame number of transmission page send1 is free,
The initial value of subpage frame numbering a is 0, and described first data to be transmitted is copied to from objective end equipment 1
The flow process of described shared drive is as follows:
The first step, according to size left=n of the non-hop of described first data to be transmitted
Already, judges whether left is 0, if so, then described first data to be transmitted at objective end
The transmission of equipment end is over, if it is not, then can be by data copy to institute by subsequent step judgement
State shared drive;
Second step, judges whether size left of the non-hop of described first data to be transmitted is more than
It is equal to size sizet of transmission page send1, if so, the size of then this time data to be copied
Input=sizet, if it is not, size input=left of then this time data to be copied, that is, every time
At most copy the data of sizet size;
3rd step, judges whether size of data input to be copied is more than or equal to subpage frame size
Pagesize, if so, then turns the 4th step, if it is not, then turning the 5th step;
4th step, by the data copy of pagesize size to transmitting in page send1, should
Address addr=0 in described shared drive for the subpage frame, length len_size=of this subpage frame
Pagesize and its subpage frame numbering a are put in the control page, then execute input-=
Pagesize, a=(++ a) >=tp?0:a, after that is, data to be copied is equal to and deducts subpage frame size
New value, page number a judges whether to reach the maximum subpage frame of transmission page send1 after adding 1
Number tp, if a reaches tp, gives a assignment 0, then turns the 3rd step;
5th step, by the data copy of input size to transmitting in page send1, by this subpage
Address addr=0 in described shared drive for the face, length len_size=of this subpage frame
Input and its subpage frame numbering a are put in the control page, then execution a=(++ a) >=tp?0:a,
Judge whether after i.e. page number a adds 1 to reach the maximum subpage frame number tp of transmission page send1,
If a reaches tp, give a assignment 0, then turn the 6th step;
6th step, execution already+=is this time copied to the size of data of described shared drive,
The subpage frame number that free-=this time uses, i.e. the size of data of objective end equipment 1 transmission
Already is equal to and is copied to the new value after the size of data of described shared drive plus this, transmission
Idle subpage frame number free of page send1 is equal to after deducting the subpage frame number this time using
New value;Then objective end equipment 1 sends first data transmission message to described main side equipment, to notify
Described main side equipment reads the data being this time copied to described shared drive, and objective end equipment 1 obtains described
After the first data read message that main side equipment is returned, execute free=tp, then turn the first step.
Those skilled in the art will be understood that and above-mentioned copy the first data to be transmitted from user's space gradation
Shellfish is only for example to the method for shared drive, other existing or be likely to occur from now on to be passed by first
The method that transmission of data is copied to shared drive from user's space is such as applicable to the application, also should be included in
Within the application protection domain, and here is incorporated herein with way of reference.
Specifically, in step s832, objective end equipment 1 read described main side equipment be stored in described
Second data to be transmitted of shared drive, the read second data to be transmitted is copied to user's space,
Described the second data to be transmitted being copied to user's space is stored to storage medium.
Here, the second data to be transmitted that described main side equipment is sent by objective end equipment 1 is from described common
Enjoy memory copying and be copied to storage medium to user's space, then from user's space.Described storage medium refers to
Be non-volatile memory medium, for example and be not limited to hard disk, CD, u disk, sd card etc..
Specifically, in step s832, objective end equipment 1 sent according to described main side equipment
Two data transmission message read the second number to be transmitted that described main side equipment is stored in described shared drive
According to after the completion of reading, to described main side equipment return the second data read message.
For example, it is assumed that the size of the second data to be transmitted is n, the data of objective end equipment 1 reception is big
Little for get, its initial value is 0, and described second data to be transmitted is copied to from described shared drive
The flow process of objective end equipment 1 is as follows:
The first step, judges whether equation get==n is true, that is, judge the reception of objective end equipment 1
Whether size of data get is equal to size n of the second data to be transmitted, if so, then objective end equipment 1
Complete the reading to described second data to be transmitted, and returned the second data to described main side equipment to read
Cancel breath, if it is not, then turning second step;
Second step, waits the second data transmission message that described main side equipment is sent, when receiving
After stating the second data transmission message that main side equipment is sent, according to control the page in regard to transmission page
Face receive1 length len_slice, transmission page receive1 subpage frame numbering and transmission
The information such as address addr in shared drive for the page receive1, process successively and will transmit
To user's space, objective end equipment 1 is copied to user by described to data copy in page receive1
Second data to be transmitted in space stores to storage medium, and then execution get+=is this time from described common
Enjoy the size of data obtaining in internal memory, that is, size of data get of objective end equipment 1 reception is equal to and adds
New value after the upper size of data this time obtaining from described shared drive, objective end equipment 1 is to described master
End equipment returns the second data read message, then turns the first step.
Those skilled in the art will be understood that and above-mentioned are copied to the second data to be transmitted from shared drive
The method of user's space is only for example, other existing or be likely to occur from now on by the second number to be transmitted
Such as it is applicable to the application according to the method being copied to user's space from shared drive, also should be included in this Shen
Please be within protection domain, and here is incorporated herein with way of reference.
According to a preferred embodiment of the application, methods described can also include: objective end equipment 1 exists
Before being carried out data transmission by described first data transmission module and described shared drive, with described main side
Equipment is transmitted event communication, and wherein, the described event communication that is transmitted includes at least following any one:
Objective end equipment 1 sends the first data letter with regard to described first data to be transmitted to described main side equipment
Breath;
Objective end equipment 1 obtain that described main side equipment sent with regard to the second of described second data to be transmitted
Data message.
Here, after described first data to be transmitted is transferred to described main side equipment end, being deposited with document form
Be stored in storage medium, the first data message include the store path of this document, the title of this document and
The length of this document.After described second data to be transmitted is transferred to described visitor end equipment end, with file shape
Formula is stored in storage medium, and the second data message includes the name of the store path of this document, this document
Title and the length of this document.By objective end equipment 1 before data transfer starts, set with described main side
For being transmitted event communication, some can be avoided similar to the lower level error repeating transmission, effectively carry
High data transmission success.
For example, it is assumed that in xen virtualized environment, objective end equipment 1 is passed with described main side equipment
Defeated event communication may is that puts into the xenstore (storage in xen virtual environment by transmission order
Equipment, xenstore is completed based on event channel) in, this transmission order includes the first data letter
Breath, and notify described main side equipment to there is new order.Described main side equipment obtains from xenstore
Transmission order, extracts the first data message, first checks the storage of the file in described first data message
Whether path has existed, and if so, then returns mistake, and notifies the corresponding error message of objective end equipment 1,
Then terminate to transmit;If it is not, then the store path according to the file in described first data message creates
File, and notify objective end equipment 1 to accept transmission order and processed normal.
Fig. 9 illustrate an embodiment according to the application other side a kind of in main side equipment end
Method flow diagram for transmission data under virtual environment.
The method comprising the steps of s95, step s96 and step s97.Specifically, in step s95,
Main side equipment 2 creates the second data transmission module;In step s96, main side equipment 2 obtains objective end
The access rights of the shared drive that equipment is distributed, so that described shared drive allows main side equipment to carry out
Read-write operation;In step s97, main side equipment 2 pass through described second data transmission module with described
Shared drive carries out data transmission.
Here, described main side equipment 2 include a kind of can according to the instruction being previously set or store, from
The dynamic electronic equipment carrying out numerical computations and information processing, its hardware include but is not limited to microprocessor,
Special IC (asic), programmable gate array (fpga), digital processing unit (dsp), embedded
Formula equipment etc..Described main side equipment 2 can also be by a series of computers according to particular order tissue
Data and the set of instruction.Additionally, described main side equipment 2 can also be according to specific suitable by a series of
Sequence tissue computer data and instruction set with can according to the instruction being previously set or store, from
The combination of the dynamic electronic equipment carrying out numerical computations and information processing.Those skilled in the art will be understood that
Described main side equipment 2 is only for example, and other main side equipment 2 that are existing or being likely to occur from now on such as can
It is applied to the application, within also should being included in the application protection domain, and here is comprised with way of reference
In this.
It is constant work between each step of main side equipment 2.Specifically, in step s95
In, main side equipment 2 creates the second data transmission module, and in described step s95, main side equipment 2 is created
The second data transmission module built persistently uses for described step s96 and described step s97, in step s96
In, main side equipment 2 persistently obtains the access rights of the shared drive that objective end equipment is distributed, so that institute
Stating shared drive allows main side equipment to be written and read operating, and in step s97, main side equipment 2 continues
Carried out data transmission by described second data transmission module and described shared drive, until described main side
Equipment 2 quits work.
In the particular embodiment, under virtualized environment, objective end equipment can be guest virtual machine
(guest), main side equipment can be privileged virtual machine (host), can be realized by privileged virtual machine
Management to the guest virtual machine of one or more non-privileged levels.
In step s95, main side equipment 2 creates the second data transmission module.
Wherein, described second data transmission module includes main side virtual unit and main side drives.Main side sets
Standby 2 establishment the second data transmission modules include: create main side virtual unit and load described main side void
Propose standby main side to drive.
Further, main side equipment 2 is according to the type of the management program (hypervisor) of host,
Increase main side virtual unit by changing respective logic, described main side virtual unit be used for kernel spacing with
Communication between user's space and between the kernel spacing of host and guest.
Here, the virtual memory of the operating system (for example, linux operating system) of main side equipment is drawn
It is divided into kernel spacing and user's space, the kernel software operating in kernel spacing has access hardware devices
All permissions, there is higher privilege level;The common applications operating in user's space can only
See the part system resource allowing them to use, and some specific systemic-functions can not be used,
Nor direct access kernel space and hardware device.
Therefore, the second data transmission module being created provides between kernel spacing and user's space
Data transmission channel, is conducive to being smoothed out of subsequent data transmission.
In step s96, main side equipment 2 obtains the access right of the shared drive that objective end equipment is distributed
Limit, so that described shared drive allows main side equipment to be written and read operating.
In the particular embodiment, the objective end in the first data transmission module of objective end equipment drives detection
Enjoy internal memory to distribution during objective end virtual unit altogether, described shared drive is located at kernel spacing, and allows
Main side in described second data transmission module drives and accesses this shared drive.Specifically, described first
Objective end in data transmission module drives the objective end detecting in described first data transmission module virtual
During equipment, distribute the transmission page for data transfer, distribute the control page for control data transmission
Face, the described transmission page is the described shared drive page with the described control page.
Here, terminal transmission data is used as by the shared drive positioned at kernel spacing, and existing
Serial Port Transmission mode is compared, and greatly improves message transmission rate, the side with existing hot plug disk
Formula is compared, and operation is more succinct, less to the occupancy of system resource.
In step s97, it is shared interior with described that main side equipment 2 passes through described second data transmission module
Deposit and carry out data transmission.Described step s97 includes step s975 (not shown) and step s976
At least any one in (not shown), wherein, in step s975, main side equipment 2 obtains
Described visitor's end equipment is stored in the first data to be transmitted of described shared drive, in step s976,
Described second data to be transmitted is stored in described shared drive main side equipment 2.
Here, main side equipment 2 is used for receiving first that described visitor's end equipment is sent in step s975
Data to be transmitted, in step s976, main side equipment 2 is to be passed for sending second to described visitor's end equipment
Transmission of data.Described step s97 can only include described step s975, that is, receive described visitor's end equipment
The first number to be transmitted being sent;Described step s97 can also only include described step s976, that is,
Send the second data to be transmitted to described visitor's end equipment;Described step s97 can also include described step
S975 and described step s976, that is, receive described visitor's the first data to be transmitted of being sent of end equipment with
Send the second data to be transmitted to described visitor's end equipment to carry out simultaneously.
Specifically, in step s976, main side equipment 2 by described second data to be transmitted read to
User's space, described second data to be transmitted is copied to positioned at kernel spacing from described user's space
Described shared drive.
Here, described second data to be transmitted is read by main side equipment 2 from the storage medium of main side equipment 2
Take to the user's space of main side equipment end in internal memory, and shared drive is located at the kernel spacing of internal memory, therefore
Described second data to be transmitted is copied to described shared drive from described user's space.
Specifically, in step s976, the associated capacity based on described shared drive for the main side equipment 2
Information, described reading is copied to positioned at kernel to the second data to be transmitted gradation of described user's space
The described shared drive in space;After each copy, send the second data transfer to described visitor's end equipment
Message;After obtaining the second data read message that described visitor's end equipment is returned, copied next time
Shellfish, until be transmitted.
Here, the associated capacity information of described shared drive can include but is not limited to described be used for data
The size of the transmission page of transmission, size sizet=subpage frame number tp of the described transmission page ×
Subpage frame size pagesize.Preferably, the second data to be transmitted is being copied to from user's space
During described shared drive, copied by several times in units of the described transmission page.
The size assuming the second data to be transmitted is n, and the size of data of main side equipment 2 transmission is
Already, its initial value is 0, and the idle subpage frame number of transmission page send2 is free,
The initial value of subpage frame numbering a is 0, and described second data to be transmitted is copied to from main side equipment 2
The flow process of described shared drive is as follows:
The first step, according to size left=n of the non-hop of described second data to be transmitted
Already, judges whether left is 0, if so, then described second data to be transmitted in main side
The transmission of equipment end is over, if it is not, then can be by data copy to institute by subsequent step judgement
State shared drive;
Second step, judges whether size left of the non-hop of described second data to be transmitted is more than
It is equal to size sizet of transmission page send2, if so, the size of then this time data to be copied
Input=sizet, if it is not, size input=left of then this time data to be copied, that is, every time
At most copy the data of sizet size;
3rd step, judges whether size of data input to be copied is more than or equal to subpage frame size
Pagesize, if so, then turns the 4th step, if it is not, then turning the 5th step;
4th step, by the data copy of pagesize size to transmitting in page send2, should
Address addr=0 in described shared drive for the subpage frame, length len_size=of this subpage frame
Pagesize and its subpage frame numbering a are put in the control page, then execute input-=
Pagesize, a=(++ a) >=tp?0:a, after that is, data to be copied is equal to and deducts subpage frame size
New value, page number a judges whether to reach the maximum subpage frame of transmission page send2 after adding 1
Number tp, if a reaches tp, gives a assignment 0, then turns the 3rd step;
5th step, by the data copy of input size to transmitting in page send2, by this subpage
Address addr=0 in described shared drive for the face, length len_size=of this subpage frame
Input and its subpage frame numbering a are put in the control page, then execution a=(++ a) >=tp?0:a,
Judge whether after i.e. page number a adds 1 to reach the maximum subpage frame number tp of transmission page send2,
If a reaches tp, give a assignment 0, then turn the 6th step;
6th step, execution already+=is this time copied to the size of data of described shared drive,
The subpage frame number that free-=this time uses, i.e. the size of data of main side equipment 2 transmission
Already is equal to and is copied to the new value after the size of data of described shared drive plus this, transmission
Idle subpage frame number free of page send2 is equal to after deducting the subpage frame number this time using
New value;Then main side equipment 2 sends the second data transmission message to described visitor's end equipment, to notify
Described visitor's end equipment reads the data being this time copied to described shared drive, and main side equipment 2 obtains described
After the second data read message that objective end equipment is returned, execute free=tp, then turn the first step.
Those skilled in the art will be understood that and above-mentioned copy the second data to be transmitted from user's space gradation
Shellfish is only for example to the method for shared drive, other existing or be likely to occur from now on to be passed by second
The method that transmission of data is copied to shared drive from user's space is such as applicable to the application, also should be included in
Within the application protection domain, and here is incorporated herein with way of reference.
Specifically, in step s975, main side equipment 2 read described visitor's end equipment be stored in described
First data to be transmitted of shared drive, the read first data to be transmitted is copied to user's space,
Described the first data to be transmitted being copied to user's space is stored to storage medium.
Here, main side equipment 2 by described visitor's the first data to be transmitted of being sent of end equipment from described common
Enjoy memory copying and be copied to storage medium to user's space, then from user's space.Described storage medium refers to
Be non-volatile memory medium, for example and be not limited to hard disk, CD, u disk, sd card etc..
Specifically, in step s975, main side equipment 2 sent according to described visitor's end equipment the
One data transmission message reads the first number to be transmitted that described visitor's end equipment is stored in described shared drive
According to after the completion of reading, to described visitor's end equipment return the first data read message.
For example, it is assumed that the size of the first data to be transmitted is n, the data of main side equipment 2 reception is big
Little for get, its initial value is 0, and described first data to be transmitted is copied to from described shared drive
The flow process of main side equipment 2 is as follows:
The first step, judges whether equation get==n is true, that is, judge main side equipment 2 reception
Whether size of data get is equal to size n of the first data to be transmitted, if so, then main side equipment 2
Complete the reading to described first data to be transmitted, and returned the first data to described visitor's end equipment to read
Cancel breath, if it is not, then turning second step;
Second step, waits the first data transmission message that described visitor's end equipment is sent, when receiving
After stating the first data transmission message that objective end equipment is sent, according to control the page in regard to transmission page
Face receive2 length len_slice, transmission page receive2 subpage frame numbering and transmission
The information such as address addr in shared drive for the page receive2, process successively and will transmit
Data copy in page receive2 is copied to user to user's space, main side equipment 2 by described
First data to be transmitted in space stores to storage medium, and then execution get+=is this time from described common
Enjoy the size of data obtaining in internal memory, that is, size of data get of main side equipment 2 reception is equal to and adds
New value after the upper size of data this time obtaining from described shared drive, main side equipment 2 is to described visitor
End equipment returns the first data read message, then turns the first step.
Those skilled in the art will be understood that and above-mentioned are copied to the first data to be transmitted from shared drive
The method of user's space is only for example, other existing or be likely to occur from now on by the first number to be transmitted
Such as it is applicable to the application according to the method being copied to user's space from shared drive, also should be included in this Shen
Please be within protection domain, and here is incorporated herein with way of reference.
According to a preferred embodiment of the application, methods described can also include: main side equipment 2 exists
Before being carried out data transmission by described second data transmission module and described shared drive, with described visitor
End equipment is transmitted event communication, wherein, described be transmitted event communication include at least following arbitrary
:
Main side equipment 2 sends the second data letter with regard to described second data to be transmitted to described visitor's end equipment
Breath;
Main side equipment 2 obtain that described visitor's end equipment sent with regard to the first of described first data to be transmitted
Data message.
Here, after described second data to be transmitted is transferred to described visitor end equipment end, being deposited with document form
Be stored in storage medium, the second data message include the store path of this document, the title of this document and
The length of this document.After described first data to be transmitted is transferred to described main side equipment end, with file shape
Formula is stored in storage medium, and the first data message includes the name of the store path of this document, this document
Title and the length of this document.By described main side communicator before data transfer starts, and described
Objective end equipment is transmitted event communication, can avoid some similar to the lower level error repeating transmission,
Effectively improve data transmission success.
For example, it is assumed that in xen virtualized environment, main side equipment 2 is passed with described visitor's end equipment
Defeated event communication may is that puts into the xenstore (storage in xen virtual environment by transmission order
Equipment, xenstore is completed based on event channel) in, this transmission order includes the second data letter
Breath, and notify described visitor's end equipment to there is new order.Described visitor's end equipment obtains from xenstore
Transmission order, extracts the second data message, first checks the storage of the file in described second data message
Whether path has existed, and if so, then returns mistake, and notifies the corresponding error message of main side equipment 2,
Then terminate to transmit;If it is not, then the store path according to the file in described second data message creates
File, and notify main side equipment 2 to accept transmission order and processed normal.
Figure 10 illustrates that one kind of an embodiment according to the application other side is used under virtual environment
The method flow diagram of transmission data.Methods described includes step s81 '~s83 ' and step s95 '~s97 '.
Specifically, in step s81 ' in, objective end equipment 1 creates first data transmission module;In step s95 '
In, main side equipment 2 creates the second data transmission module;In step s82 ' in, objective end equipment 1 basis
Described first data transmission module assignment one shared drive, and described shared drive allows main side equipment 2
It is written and read operating;In step s96 ' in, it is shared that main side equipment 2 obtains that objective end equipment 1 distributed
The access rights of internal memory, so that described shared drive allows main side equipment 2 to be written and read operating;In step
In rapid s83 ', objective end equipment 1 enters line number by described first data transmission module and described shared drive
According to transmission, described step s83 ' include following at least any one: by described first data to be transmitted storage
In described shared drive, obtain the second number to be transmitted that main side equipment 2 is stored in described shared drive
According to;In step s97 ' in, it is shared interior with described that main side equipment 2 passes through described second data transmission module
Deposit and carry out data transmission, described step s97 ' include following at least any one: obtain objective end equipment 1 and deposit
Storage, in the first data to be transmitted of described shared drive, described second data to be transmitted is stored in described
In shared drive.Here, step s81 '~s83 ' identical with the content of step s81 in Fig. 8~s83 or
Essentially identical, and step s95 '~s97 ' is identical with the content of step s95 in Fig. 9~s97 or basic
Identical, for simplicity's sake, therefore will not be described here, and be incorporated herein by reference.
Compared with prior art, in an embodiment of the application, objective end equipment creates the first data and passes
Defeated module, main side equipment creates the second data transmission module, described first data transmission module and described
The user's space that second data transmission module provides objective end equipment end is empty with the user of main side equipment end
Between between data transmission channel;Described visitor's end equipment is according to described first data transmission module assignment one
Positioned at the shared drive of kernel spacing, and allow described main side equipment that described shared drive is written and read
Operation, described main side equipment obtains the access rights of described shared drive;Described visitor's end equipment and described
Main side equipment is respectively by described first data transmission module and described second data transmission module and institute
State shared drive to carry out data transmission, specifically, described visitor's end equipment is by described first data to be transmitted
It is stored in described shared drive, described main side equipment obtains described visitor's end equipment and is stored in described sharing
First data to be transmitted of internal memory, described second data to be transmitted is stored in described by described main side equipment
In shared drive, described visitor's end equipment obtains described main side equipment and is stored in the second of described shared drive
Data to be transmitted.
So, terminal transmission data is used as by the shared drive positioned at kernel spacing, and existing
Serial Port Transmission mode is compared, and greatly improves message transmission rate, the side with existing hot plug disk
Formula is compared, and operation is more succinct, less to the occupancy of system resource.
Additionally, in one typical configuration of the application, terminal, the equipment of service network and trusted party
All include one or more processors (cpu), input/output interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
(ram) and/or the form such as Nonvolatile memory, such as read only memory (rom) or flash memory (flash
ram).Internal memory is the example of computer-readable medium.
It is permissible that computer-readable medium includes permanent and non-permanent, removable and non-removable media
Information Store is realized by any method or technique.Information can be computer-readable instruction, data knot
Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase
Become internal memory (pram), static RAM (sram), dynamic random access memory
(dram), other kinds of random access memory (ram), read only memory (rom), electricity
Erasable Programmable Read Only Memory EPROM (eeprom), fast flash memory bank or other memory techniques, read-only
Compact disc read-only memory (cd-rom), digital versatile disc (dvd) or other optical storage,
Magnetic cassette tape, magnetic disk storage or other magnetic storage apparatus or any other non-transmission medium,
Can be used for storing the information that can be accessed by a computing device.Define according to herein, computer-readable
Medium does not include non-temporary computer readable media (transitory media), such as the data signal of modulation and
Carrier wave.
Obviously, those skilled in the art the application can be carried out various change and modification without deviating from
Spirit and scope.So, if these modifications of the application and modification belong to the application power
Within the scope of profit requirement and its equivalent technologies, then the application is also intended to comprise these changes and modification exists
Interior.
It should be noted that the application can be carried out in software and/or software with the assembly of hardware, example
As set using special IC (asic), general purpose computer or any other similar hardware
Standby realizing.In one embodiment, the software program of the application can be realized by computing device
Steps described above or function.Similarly, the software program (including related data structure) of the application
Can be stored in computer readable recording medium storing program for performing, for example, ram memorizer, magnetically or optically driver or
Floppy disc and similar devices.In addition, some steps of the application or function can employ hardware to realize, example
As coordinated thus executing the circuit of each step or function as with processor.
In addition, the part of the application can be applied to computer program, such as computer program
Instruction, when it is computer-executed, by the operation of this computer, can call or provide basis
The present processes and/or technical scheme.And call the programmed instruction of the present processes, may be deposited
Storage is in recording medium that fix or moveable, and/or passes through in broadcast or other signal bearing medias
Data flow and be transmitted, and/or be stored in the computer equipment according to described program instruction operation
In working storage.Here, a device is included according to an embodiment of the application, this device bag
Include the memorizer for storing computer program instructions and the processor for execute program instructions, wherein,
When this computer program instructions is by this computing device, trigger this plant running based on aforementioned according to this
The methods and/or techniques scheme of multiple embodiments of application.
It is obvious to a person skilled in the art that the application is not limited to the thin of above-mentioned one exemplary embodiment
Section, and in the case of without departing substantially from spirit herein or basic feature, can be with other concrete
Form realizes the application.Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary
, and be nonrestrictive, scope of the present application is limited by claims rather than described above
Fixed, it is intended that all changes in the implication and scope of the equivalency of claim that fall are included
In the application.Any reference in claim should not be considered as the involved right of restriction will
Ask.Furthermore, it is to be understood that " inclusion " one word is not excluded for other units or step, odd number is not excluded for plural number.Dress
Put multiple units of statement or device in claim and software can also be passed through by a unit or device
Or hardware is realizing.The first, the second grade word is used for representing title, and is not offered as any specific
Order.
Claims (24)
1. a kind of method for transmission data under virtual environment at objective end equipment end, wherein, described side
Method includes:
Create first data transmission module;
According to described first data transmission module assignment one shared drive, and described shared drive allows main side
Equipment is written and read operating;
Carried out data transmission by described first data transmission module and described shared drive, wherein, described
Carry out data transmission including at least following any one:
First data to be transmitted is stored in described shared drive,
Obtain the second data to be transmitted that described main side equipment is stored in described shared drive.
2. method according to claim 1, wherein, the first data to be transmitted is stored in described common
Enjoy internal memory to include:
Described first data to be transmitted is read to user's space;
Described first data to be transmitted is copied to described shared positioned at kernel spacing from described user's space
Internal memory.
3. method according to claim 2, wherein, by described first data to be transmitted from described use
The described shared drive that family space is copied to positioned at kernel spacing includes:
Based on the associated capacity information of described shared drive, read described to the first of described user's space
Data to be transmitted gradation is copied to the described shared drive positioned at kernel spacing;
Wherein, after each copy, send first data transmission message to described main side equipment;
After obtaining the first data read message that described main side equipment is returned, copied next time,
Until being transmitted.
4. according to the method in any one of claims 1 to 3, wherein, obtain described main side equipment
The second data to be transmitted being stored in described shared drive includes:
Read the second data to be transmitted that described main side equipment is stored in described shared drive;
Read second data to be transmitted is copied to user's space;
Described the second data to be transmitted being copied to user's space is stored to storage medium.
5. method according to claim 4, wherein, reading described main side equipment is stored in described common
The second data to be transmitted enjoying internal memory includes:
Read described main side equipment according to the second data transmission message that described main side equipment is sent to be stored in
Second data to be transmitted of described shared drive;
After the completion of reading, return the second data read message to described main side equipment.
6. method according to any one of claim 1 to 5, wherein, methods described also includes:
Before being carried out data transmission with described shared drive by described first data transmission module, with institute
State main side equipment and be transmitted event communication, be transmitted event communication and include at least following any one:
Send the first data message with regard to described first data to be transmitted to described main side equipment;
Obtain the second data message with regard to described second data to be transmitted that described main side equipment is sent.
7. a kind of main side equipment end for transmission data under virtual environment method, wherein, described side
Method includes:
Create the second data transmission module;
Obtain the access rights of the shared drive that objective end equipment is distributed, so that described shared drive allows master
End equipment is written and read operating;
Carried out data transmission by described second data transmission module and described shared drive, wherein, described
Carry out data transmission including at least following any one:
Obtain the first data to be transmitted that described visitor's end equipment is stored in described shared drive,
Second data to be transmitted is stored in described shared drive.
8. method according to claim 7, wherein, the second data to be transmitted is stored in described common
Enjoy internal memory to include:
Described second data to be transmitted is read to user's space;
Described second data to be transmitted is copied to described shared positioned at kernel spacing from described user's space
Internal memory.
9. method according to claim 8, wherein, by described second data to be transmitted from described use
The described shared drive that family space is copied to positioned at kernel spacing includes:
Based on the associated capacity information of described shared drive, read described to the second of described user's space
Data to be transmitted gradation is copied to the described shared drive positioned at kernel spacing;
Wherein, after each copy, send the second data transmission message to described visitor's end equipment;
After obtaining the second data read message that described visitor's end equipment is returned, copied next time,
Until being transmitted.
10. the method according to any one of claim 7 to 9, wherein, obtains described visitor's end equipment
The first data to be transmitted being stored in described shared drive includes:
Read the first data to be transmitted that described visitor's end equipment is stored in described shared drive;
Read first data to be transmitted is copied to user's space;
Described the first data to be transmitted being copied to user's space is stored to storage medium.
11. methods according to claim 10, wherein, reading described visitor end equipment is stored in described
First data to be transmitted of shared drive includes:
Read described visitor's end equipment according to the first data transmission message that described visitor's end equipment is sent to be stored in
First data to be transmitted of described shared drive;
After the completion of reading, return the first data read message to described visitor's end equipment.
12. methods according to any one of claim 7 to 11, wherein, methods described also includes:
Before being carried out data transmission with described shared drive by described second data transmission module, with institute
State objective end equipment and be transmitted event communication, be transmitted event communication and include at least following any one:
Send the second data message with regard to described second data to be transmitted to described visitor's end equipment;
Obtain the first data message with regard to described first data to be transmitted that described visitor's end equipment is sent.
A kind of 13. objective end equipments for transmission data under virtual environment, wherein, described equipment includes:
Objective end creating device, for creating first data transmission module;
Objective end distributor, for according to described first data transmission module assignment one shared drive, and institute
Stating shared drive allows main side equipment to be written and read operating;
Objective end data transmitting device, for being entered by described first data transmission module and described shared drive
Row data transfer, wherein, described visitor's end data transmitting device includes at least following any one:
Objective end data memory element, for described first data to be transmitted is stored in described shared drive,
Objective end data acquiring unit, is stored in the second of described shared drive for obtaining described main side equipment
Data to be transmitted.
14. equipment according to claim 13, wherein, described visitor's end data memory element includes:
For described first data to be transmitted is read to the subelement of user's space;
For described first data to be transmitted is copied to positioned at described in kernel spacing from described user's space
The subelement of shared drive.
15. equipment according to claim 14, wherein, described for by the described first number to be transmitted
Include according to the subelement being copied to the described shared drive positioned at kernel spacing from described user's space:
For the associated capacity information based on described shared drive, read described to described user's space
First data to be transmitted gradation is copied to the subelement of the described shared drive positioned at kernel spacing;
For, after each copy, sending the subelement of first data transmission message to described main side equipment;
For being copied after the first data read message that described main side equipment is returned when obtaining next time
Until the subelement being transmitted.
16. equipment according to any one of claim 13 to 15, wherein, described visitor's end data obtains
Unit is taken to include:
For reading the subelement that described main side equipment is stored in the second data to be transmitted of described shared drive;
For the read second data to be transmitted being copied to the subelement of user's space;
For described the second data to be transmitted being copied to user's space is stored to the subelement of storage medium.
17. equipment according to claim 16, wherein, described deposit for reading described main side equipment
Storage includes in the subelement of the second data to be transmitted of described shared drive:
The second data transmission message for being sent according to described main side equipment reads described main side equipment and deposits
The subelement of the second data to be transmitted in described shared drive for the storage;
For returning the subelement of the second data read message after reading completes to described main side equipment.
18. equipment according to any one of claim 13 to 17, wherein, described equipment also includes:
Objective end communicator, for being carried out by described first data transmission module and described shared drive
Before data transfer, it is transmitted event communication with described main side equipment, wherein, described visitor end communication dress
Put including at least following any one:
Objective client information transmitting element, for sending with regard to described first data to be transmitted to described main side equipment
The first data message;
Objective client information acquiring unit, to be passed with regard to described second for obtain that described main side equipment sent
Second data message of transmission of data.
A kind of 19. main side equipment for transmission data under virtual environment, wherein, described equipment includes:
Main side creating device, for creating the second data transmission module;
Main side distributor, for obtaining the access rights of the shared drive that objective end equipment is distributed, so that
Described shared drive allows main side equipment to be written and read operating;
Main side data transmission device, for being entered by described second data transmission module and described shared drive
Row data transfer, wherein, described main side data transmission device includes at least following any one:
Main side data capture unit, is stored in the first of described shared drive for obtaining described visitor's end equipment
Data to be transmitted,
Main side data storage cell, for being stored in described second data to be transmitted in described shared drive.
20. equipment according to claim 19, wherein, described main side data storage cell includes:
For described second data to be transmitted is read to the subelement of user's space;
For described second data to be transmitted is copied to positioned at described in kernel spacing from described user's space
The subelement of shared drive.
21. equipment according to claim 20, wherein, described for by the described second number to be transmitted
Include according to the subelement being copied to the described shared drive positioned at kernel spacing from described user's space:
For the associated capacity information based on described shared drive, read described to described user's space
Second data to be transmitted gradation is copied to the subelement of the described shared drive positioned at kernel spacing;
For, after each copy, sending the subelement of the second data transmission message to described visitor's end equipment;
For being copied after described visitor's the second data read message of being returned of end equipment when obtaining next time
Until the subelement being transmitted.
22. equipment according to any one of claim 19 to 21, wherein, described main side data obtains
Unit is taken to include:
For reading the subelement that described visitor's end equipment is stored in the first data to be transmitted of described shared drive;
For the read first data to be transmitted being copied to the subelement of user's space;
For described the first data to be transmitted being copied to user's space is stored to the subelement of storage medium.
23. equipment according to claim 22, wherein, described for read described visitor end equipment deposit
Storage includes in the subelement of the first data to be transmitted of described shared drive:
Deposit for described visitor's end equipment is read according to the first data transmission message that described visitor's end equipment is sent
The subelement of the first data to be transmitted in described shared drive for the storage;
For returning the subelement of the first data read message after reading completes to described visitor's end equipment.
24. equipment according to any one of claim 19 to 23, wherein, described equipment also includes:
Main side communicator, for being carried out by described second data transmission module and described shared drive
Before data transfer, it is transmitted event communication with described visitor's end equipment, wherein, described main side communication dress
Put including at least following any one:
Master information transmitting element, for sending with regard to described second data to be transmitted to described visitor's end equipment
The second data message;
Master information acquiring unit, for obtain described visitor end equipment sent to be passed with regard to described first
First data message of transmission of data.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510418471.9A CN106354670A (en) | 2015-07-16 | 2015-07-16 | Method and apparatus for transmitting data in virtual environment |
PCT/CN2016/089077 WO2017008675A1 (en) | 2015-07-16 | 2016-07-07 | Method and device for transmitting data in virtual environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510418471.9A CN106354670A (en) | 2015-07-16 | 2015-07-16 | Method and apparatus for transmitting data in virtual environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106354670A true CN106354670A (en) | 2017-01-25 |
Family
ID=57756871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510418471.9A Pending CN106354670A (en) | 2015-07-16 | 2015-07-16 | Method and apparatus for transmitting data in virtual environment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106354670A (en) |
WO (1) | WO2017008675A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107346260A (en) * | 2017-06-29 | 2017-11-14 | 郑州云海信息技术有限公司 | A kind of data transmission method, apparatus and system |
CN107402802A (en) * | 2017-07-27 | 2017-11-28 | 郑州云海信息技术有限公司 | A kind of video monitoring storage system based on virtual machine |
CN108304461A (en) * | 2017-12-26 | 2018-07-20 | 山东浪潮通软信息科技有限公司 | A kind of method and device of data sharing |
CN111638968A (en) * | 2019-03-01 | 2020-09-08 | 维塔科技(北京)有限公司 | Shared memory access permission setting method and device, electronic equipment and storage medium |
CN112416849A (en) * | 2020-11-25 | 2021-02-26 | 杭州和利时自动化有限公司 | double-CPU data interaction method, device and system |
CN113010407A (en) * | 2019-12-20 | 2021-06-22 | 上海汽车集团股份有限公司 | System information acquisition method, device and system |
Families Citing this family (47)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11947489B2 (en) | 2017-09-05 | 2024-04-02 | Robin Systems, Inc. | Creating snapshots of a storage volume in a distributed storage system |
US10452267B2 (en) | 2017-09-13 | 2019-10-22 | Robin Systems, Inc. | Storage scheme for a distributed storage system |
US10430105B2 (en) | 2017-09-13 | 2019-10-01 | Robin Systems, Inc. | Storage scheme for a distributed storage system |
US10579276B2 (en) | 2017-09-13 | 2020-03-03 | Robin Systems, Inc. | Storage scheme for a distributed storage system |
US10534549B2 (en) | 2017-09-19 | 2020-01-14 | Robin Systems, Inc. | Maintaining consistency among copies of a logical storage volume in a distributed storage system |
US10423344B2 (en) | 2017-09-19 | 2019-09-24 | Robin Systems, Inc. | Storage scheme for a distributed storage system |
US10782887B2 (en) | 2017-11-08 | 2020-09-22 | Robin Systems, Inc. | Window-based prority tagging of IOPs in a distributed storage system |
US10846001B2 (en) | 2017-11-08 | 2020-11-24 | Robin Systems, Inc. | Allocating storage requirements in a distributed storage system |
US10430292B2 (en) | 2017-12-19 | 2019-10-01 | Robin Systems, Inc. | Snapshot deletion in a distributed storage system |
US10452308B2 (en) | 2017-12-19 | 2019-10-22 | Robin Systems, Inc. | Encoding tags for metadata entries in a storage system |
US10430110B2 (en) | 2017-12-19 | 2019-10-01 | Robin Systems, Inc. | Implementing a hybrid storage node in a distributed storage system |
US11099937B2 (en) | 2018-01-11 | 2021-08-24 | Robin Systems, Inc. | Implementing clone snapshots in a distributed storage system |
US10642697B2 (en) | 2018-01-11 | 2020-05-05 | Robin Systems, Inc. | Implementing containers for a stateful application in a distributed computing system |
US11582168B2 (en) | 2018-01-11 | 2023-02-14 | Robin Systems, Inc. | Fenced clone applications |
US10628235B2 (en) | 2018-01-11 | 2020-04-21 | Robin Systems, Inc. | Accessing log files of a distributed computing system using a simulated file system |
US10896102B2 (en) | 2018-01-11 | 2021-01-19 | Robin Systems, Inc. | Implementing secure communication in a distributed computing system |
US11392363B2 (en) | 2018-01-11 | 2022-07-19 | Robin Systems, Inc. | Implementing application entrypoints with containers of a bundled application |
US11748203B2 (en) | 2018-01-11 | 2023-09-05 | Robin Systems, Inc. | Multi-role application orchestration in a distributed storage system |
US10846137B2 (en) | 2018-01-12 | 2020-11-24 | Robin Systems, Inc. | Dynamic adjustment of application resources in a distributed computing system |
US10845997B2 (en) | 2018-01-12 | 2020-11-24 | Robin Systems, Inc. | Job manager for deploying a bundled application |
US10579364B2 (en) | 2018-01-12 | 2020-03-03 | Robin Systems, Inc. | Upgrading bundled applications in a distributed computing system |
US10642694B2 (en) | 2018-01-12 | 2020-05-05 | Robin Systems, Inc. | Monitoring containers in a distributed computing system |
US10976938B2 (en) | 2018-07-30 | 2021-04-13 | Robin Systems, Inc. | Block map cache |
US11023328B2 (en) | 2018-07-30 | 2021-06-01 | Robin Systems, Inc. | Redo log for append only storage scheme |
US10817380B2 (en) | 2018-07-31 | 2020-10-27 | Robin Systems, Inc. | Implementing affinity and anti-affinity constraints in a bundled application |
US10599622B2 (en) | 2018-07-31 | 2020-03-24 | Robin Systems, Inc. | Implementing storage volumes over multiple tiers |
US10908848B2 (en) | 2018-10-22 | 2021-02-02 | Robin Systems, Inc. | Automated management of bundled applications |
US11036439B2 (en) | 2018-10-22 | 2021-06-15 | Robin Systems, Inc. | Automated management of bundled applications |
US10620871B1 (en) | 2018-11-15 | 2020-04-14 | Robin Systems, Inc. | Storage scheme for a distributed storage system |
US11086725B2 (en) | 2019-03-25 | 2021-08-10 | Robin Systems, Inc. | Orchestration of heterogeneous multi-role applications |
US11256434B2 (en) | 2019-04-17 | 2022-02-22 | Robin Systems, Inc. | Data de-duplication |
US10831387B1 (en) | 2019-05-02 | 2020-11-10 | Robin Systems, Inc. | Snapshot reservations in a distributed storage system |
US10877684B2 (en) | 2019-05-15 | 2020-12-29 | Robin Systems, Inc. | Changing a distributed storage volume from non-replicated to replicated |
US11226847B2 (en) | 2019-08-29 | 2022-01-18 | Robin Systems, Inc. | Implementing an application manifest in a node-specific manner using an intent-based orchestrator |
US11249851B2 (en) | 2019-09-05 | 2022-02-15 | Robin Systems, Inc. | Creating snapshots of a storage volume in a distributed storage system |
US11520650B2 (en) | 2019-09-05 | 2022-12-06 | Robin Systems, Inc. | Performing root cause analysis in a multi-role application |
US11113158B2 (en) | 2019-10-04 | 2021-09-07 | Robin Systems, Inc. | Rolling back kubernetes applications |
US11347684B2 (en) | 2019-10-04 | 2022-05-31 | Robin Systems, Inc. | Rolling back KUBERNETES applications including custom resources |
US11403188B2 (en) | 2019-12-04 | 2022-08-02 | Robin Systems, Inc. | Operation-level consistency points and rollback |
US11108638B1 (en) | 2020-06-08 | 2021-08-31 | Robin Systems, Inc. | Health monitoring of automatically deployed and managed network pipelines |
US11528186B2 (en) | 2020-06-16 | 2022-12-13 | Robin Systems, Inc. | Automated initialization of bare metal servers |
US11740980B2 (en) | 2020-09-22 | 2023-08-29 | Robin Systems, Inc. | Managing snapshot metadata following backup |
US11743188B2 (en) | 2020-10-01 | 2023-08-29 | Robin Systems, Inc. | Check-in monitoring for workflows |
US11456914B2 (en) | 2020-10-07 | 2022-09-27 | Robin Systems, Inc. | Implementing affinity and anti-affinity with KUBERNETES |
US11271895B1 (en) | 2020-10-07 | 2022-03-08 | Robin Systems, Inc. | Implementing advanced networking capabilities using helm charts |
US11750451B2 (en) | 2020-11-04 | 2023-09-05 | Robin Systems, Inc. | Batch manager for complex workflows |
US11556361B2 (en) | 2020-12-09 | 2023-01-17 | Robin Systems, Inc. | Monitoring and managing of complex multi-role applications |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667144A (en) * | 2009-09-29 | 2010-03-10 | 北京航空航天大学 | Virtual machine communication method based on shared memory |
CN101819564A (en) * | 2009-02-26 | 2010-09-01 | 国际商业机器公司 | Method and device for assisting communication between virtual machines |
CN102244682A (en) * | 2011-07-19 | 2011-11-16 | 中国科学院软件研究所 | Covert communication method under cloud computing environment |
US20130129957A1 (en) * | 2011-12-30 | 2013-05-23 | Cytec Technology Corp. | Peel Ply, Method of Surface Preparation and Bonding Composite Structures Using the Same |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593246B (en) * | 2012-08-15 | 2017-07-11 | 中国电信股份有限公司 | Communication means, host and dummy machine system between virtual machine and host |
CN103793330B (en) * | 2012-10-31 | 2017-03-01 | 国际商业机器公司 | The method and apparatus carrying out data exchange in a virtual machine environment |
-
2015
- 2015-07-16 CN CN201510418471.9A patent/CN106354670A/en active Pending
-
2016
- 2016-07-07 WO PCT/CN2016/089077 patent/WO2017008675A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101819564A (en) * | 2009-02-26 | 2010-09-01 | 国际商业机器公司 | Method and device for assisting communication between virtual machines |
CN101667144A (en) * | 2009-09-29 | 2010-03-10 | 北京航空航天大学 | Virtual machine communication method based on shared memory |
CN102244682A (en) * | 2011-07-19 | 2011-11-16 | 中国科学院软件研究所 | Covert communication method under cloud computing environment |
US20130129957A1 (en) * | 2011-12-30 | 2013-05-23 | Cytec Technology Corp. | Peel Ply, Method of Surface Preparation and Bonding Composite Structures Using the Same |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107346260A (en) * | 2017-06-29 | 2017-11-14 | 郑州云海信息技术有限公司 | A kind of data transmission method, apparatus and system |
CN107402802A (en) * | 2017-07-27 | 2017-11-28 | 郑州云海信息技术有限公司 | A kind of video monitoring storage system based on virtual machine |
CN108304461A (en) * | 2017-12-26 | 2018-07-20 | 山东浪潮通软信息科技有限公司 | A kind of method and device of data sharing |
CN111638968A (en) * | 2019-03-01 | 2020-09-08 | 维塔科技(北京)有限公司 | Shared memory access permission setting method and device, electronic equipment and storage medium |
CN111638968B (en) * | 2019-03-01 | 2024-03-15 | 维塔科技(北京)有限公司 | Shared memory access authority setting method and device, electronic equipment and storage medium |
CN113010407A (en) * | 2019-12-20 | 2021-06-22 | 上海汽车集团股份有限公司 | System information acquisition method, device and system |
CN112416849A (en) * | 2020-11-25 | 2021-02-26 | 杭州和利时自动化有限公司 | double-CPU data interaction method, device and system |
Also Published As
Publication number | Publication date |
---|---|
WO2017008675A1 (en) | 2017-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106354670A (en) | Method and apparatus for transmitting data in virtual environment | |
CN104133775B (en) | A kind of method and apparatus for managing memory | |
US10455003B2 (en) | Method, server, and system for sharing resource data | |
CN102467408B (en) | Method and device for accessing data of virtual machine | |
CN106354544A (en) | Virtual machine creating method and system and host | |
CN105335309B (en) | A kind of data transmission method and computer | |
CN103198122B (en) | Restart the method and apparatus of memory database | |
CN103324533A (en) | distributed data processing method, device and system | |
CN105608490A (en) | Cellular array computing system and communication method thereof | |
CN108959118B (en) | Data writing method and device | |
CN109783157A (en) | A kind of method and relevant apparatus of algorithm routine load | |
CN109669822A (en) | The creation method and computer readable storage medium of electronic device, spare memory pool | |
CN109388608A (en) | On-board computer based on multi-core processor | |
CN101706788A (en) | Cross-area access method for embedded file system | |
CN107329836A (en) | Multi-system memory management method and device and mobile terminal | |
US20200133855A1 (en) | Accessing queue data | |
CN103488582B (en) | Write the method and device of cache memory | |
CN104679575A (en) | Control system and control method for input and output flow | |
CN104281587B (en) | A kind of method and device for establishing connection | |
CN107239410A (en) | Bulk memory distribution system and method based on dynamic pitching pile | |
CN104298614B (en) | Data block storage method and storage device in storage device | |
CN106339183A (en) | Data retrieving method and server | |
CN105988724A (en) | Method for writing multiple copies into storage device, and storage device | |
CN106161487A (en) | The information processing method of server | |
CN106845214A (en) | Based on safety protecting method and system under virtualized environment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170125 |
|
RJ01 | Rejection of invention patent application after publication |