CN104536704A - Dual-controller communication method, transmitting end controller and receiving end controller - Google Patents

Dual-controller communication method, transmitting end controller and receiving end controller Download PDF

Info

Publication number
CN104536704A
CN104536704A CN201510015078.5A CN201510015078A CN104536704A CN 104536704 A CN104536704 A CN 104536704A CN 201510015078 A CN201510015078 A CN 201510015078A CN 104536704 A CN104536704 A CN 104536704A
Authority
CN
China
Prior art keywords
data
pointer
controller
receiving end
receiving
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
Application number
CN201510015078.5A
Other languages
Chinese (zh)
Inventor
刘友生
张书宁
徐旸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201510015078.5A priority Critical patent/CN104536704A/en
Publication of CN104536704A publication Critical patent/CN104536704A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0661Format or protocol conversion arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention provides a dual-controller communication method, a transmitting end controller and a receiving end controller. The dual-controller communication method includes the steps that according to the position and the size of a data written-in magnetic disk for data needing to be transmitted, the transmitting end controller applies a receiving buffer pool of the receiving end controller for receiving buffer space and obtains a buffer position pointer of the receiving buffer space; the transmitting end controller transmits the data needing to be transmitted to the applied receiving buffer space of the receiving end controller, and transmits the buffer position pointer of the receiving buffer space to the receiving end controller. The receiving end controller stores the received data in the receiving buffer space, and converts the received buffer position pointer into a local buffer data pointer, and transmits the data pointer to an RAID system stage by stage from a rolled data-caching mechanism. By means of the technical scheme, CPU resources of a computer and a bus bandwidth of an occupation system are saved, and the system processing performance is accordingly improved. The dual-controller communication method, the transmitting end controller and the receiving end controller are mainly suitable for dual-controller communication.

Description

A kind of dual controller communication means, transmitting terminal controller and receiving end controller
Technical field
The present invention relates to computer realm, espespecially a kind of dual controller communication means, transmitting terminal controller and receiving end controller.
Background technology
Dual controller communication is a kind of communication mode based on transmitting terminal controller and receiving end controller.Existing dual controller communication, normally data are sent to the receive window of receiving end controller by transmitting terminal controller from send window, as shown in Figure 1, receive window is the memory headroom that receiving end controller distributes, data, after receiving data, copy to volume data buffer storage from receive window by receiving end controller.And pointer corresponding for data is delivered to Redundant Arrays of Inexpensive Disks (RAID, Redundant Arrays of Inexpensive Disks) system step by step from volume data buffer storage.RAID system, when calculation check, needs to carry out page alignment arrangement to data, and page alignment arranges to be needed to do a data copy, then carries out data and writes with a brush dipped in Chinese ink, write disk.
From above-mentioned traditional dual controller communication means, data need through twice copy function from receive window to disk, namely first time copies as copying to volume data buffer storage by data from receive window, copy the once copy done when page alignment for RAID for the second time, like this, in computer processing procedure, understand the cpu resource of consumption calculations machine and take the bus bandwidth of system, thus reducing the handling property of system.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of dual controller communication means, transmitting terminal controller and receiving end controller, can save the cpu resource of computing machine and take the bus bandwidth of system, thus improves the handling property of system.
For reaching the object of the invention, the invention provides a kind of dual controller communication means, comprise: the position of the data write disk of the data that transmitting terminal controller sends as required and size, the reception cache pool application to receiving end controller receives spatial cache and obtains the cache location pointer receiving spatial cache;
Transmitting terminal controller is sent to needing the data sent in the reception spatial cache applied for, and the cache location pointer of acquisition is sent to receiving end controller;
The data of receiving end controller reception from transmitting terminal controller and the cache location pointer of reception spatial cache, by the data received stored in receiving spatial cache;
Receiving end controller converts the cache location pointer received the data pointer of local internal memory to, and the data pointer after conversion is delivered to Redundant Arrays of Inexpensive Disks RAID system step by step from volume data buffer storage
Also comprise before the method: described transmitting terminal controller receiving data sends request, comprising position and the size of the data write disk of the described data needing the data of transmission, described needs to send.
The described cache location pointer by reception spatial cache is sent to receiving end controller and comprises:
Described cache location pointer is carried in descriptor corresponding to data and is sent to described receiving end controller.
Described method also comprises:
The data collection spatial cache that described transmitting terminal controller receives from receiving end controller notifies, discharges described reception spatial cache.
Described data pointer after conversion be delivered to RAID system step by step comprise from volume data buffer storage:
Data pointer after conversion is delivered to volume management from volume data buffer storage by described receiving end controller, then is delivered to RAID system from described volume management.
The method also comprises; Described RAID system using described reception spatial cache as data buffer storage space; Described data are write with a brush dipped in Chinese ink hard disk.
Present invention also offers a kind of transmitting terminal controller, at least comprise application unit, transmitting element; Wherein,
Application unit, for sending the application request for applying for receiving spatial cache to receiving end controller, wherein carries position and the size of the data write disk needing the data sent; Obtain the cache location pointer applying for the reception spatial cache arrived;
Transmitting element, for receiving needing the data sent to be sent in spatial cache, and sends to receiving end controller by obtaining the cache location pointer receiving spatial cache.
Described transmitting terminal controller also comprises receiving element, for receiving data sending request, wherein carry described need to send data, the data write position of disk and size.
Described transmitting element specifically for: the cache location pointer of described reception spatial cache is carried in descriptor corresponding to data and is sent to receiving end controller.
Described transmitting terminal controller also comprises:
Releasing unit, for receiving the data collection spatial cache notice sent from receiving end controller, discharges described reception spatial cache.
Invention further provides a kind of receiving end controller, at least comprise receiving element, pointer converting unit, pointer transfer unit, wherein,
Receiving element, for receive from transmitting terminal controller data and receive the cache location pointer of spatial cache;
Pointer converting unit, for converting the data pointer of local internal memory to by the cache location received pointer;
Pointer transfer unit, for being delivered to RAID system by the data pointer after conversion step by step from volume data buffer storage.
Described receiving element also for: receive and carry descriptor corresponding to the data of cache location pointer that receive spatial cache from described transmitting terminal controller.
Described pointer transfer unit comprises: the first pointer transmits subelement, the second pointer transmits subelement; Wherein,
First pointer transmits subelement, for the data pointer after described conversion is delivered to volume management from volume data buffer storage;
Second pointer transmits subelement, for the data pointer after described conversion is delivered to RAID system from described volume management.
Described receiving end controller also comprises data and writes with a brush dipped in Chinese ink unit, for: using described reception spatial cache as data buffer storage space; Described data are write with a brush dipped in Chinese ink hard disk.
Described receiving end controller, also comprises: transmitting element, reclaims data buffer storage space notice for sending to described transmitting terminal controller.
Compared to the prior art, technical scheme provided by the invention comprises: the position of the data write disk of the data that transmitting terminal controller sends as required and size, and the reception cache pool application to receiving end controller receives spatial cache and obtains the cache location pointer receiving spatial cache; Transmitting terminal controller is sent to needing the data sent in the reception spatial cache of the receiving end controller applied for, and the cache location pointer receiving spatial cache is sent to described receiving end controller; The cache location pointer received stored in reception spatial cache, is converted the data that receive the data pointer of local internal memory to by receiving end controller, and data pointer is delivered to Redundant Arrays of Inexpensive Disks RAID system step by step from volume data buffer storage.Save the cpu resource of computing machine by technical scheme provided by the invention and taken the bus bandwidth of system, thus having improve the handling property of system.Particularly, the present invention writes position and the size of disk according to data by transmitting terminal controller, serve the effect of page alignment, make the RAID system of receiving end controller without the need to doing page alignment again, thus do not need to carry out copy function, i.e. second time copy of the prior art, and then decrease the consumption of the cpu resource of computing machine and the bus bandwidth of system.
Further, when the volume data buffer storage of receiving end controller gets data from reception cache pool, obtain data pointer simultaneously.Data pointer is delivered in volume management and RAID system when writing with a brush dipped in Chinese ink data cached by volume data buffer storage more step by step, thus eliminate receiving end and copy data to volume data buffer storage from receive window, namely first time of the prior art copies, and then decreases the consumption of the cpu resource of computing machine and the bus bandwidth of system.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in instructions, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing is used to provide the further understanding to technical solution of the present invention, and forms a part for instructions, is used from and explains technical scheme of the present invention, do not form the restriction to technical solution of the present invention with the embodiment one of the application.
Fig. 1 is the schematic flow sheet of the receiving end of the double control communication means of prior art;
The schematic flow sheet of the transmitting terminal of a kind of double control communication means that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the receiving end of a kind of double control communication means that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of transmitting terminal controller that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of receiving end controller that Fig. 5 provides for the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing.Further, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
The schematic flow sheet of the transmitting terminal of a kind of double control communication means that Fig. 2 provides for the embodiment of the present invention, transmitting terminal performs primarily of transmitting terminal controller, transmitting terminal controller is before data transmission starts, first distribute from the reception cache pool of receiving end controller and receive spatial cache, then data are sent to reception spatial cache, and the cache location pointer receiving spatial cache corresponding is sent to receiving end controller by descriptor.Particularly as shown in Figure 2, comprise the following steps:
The position of the data write disk of the data that step 11, transmitting terminal controller send as required and size, the reception cache pool application to receiving end controller receives spatial cache and obtains the cache location pointer receiving spatial cache.
Also comprised before this step 11, transmitting terminal controller receiving data sends request, comprising the data needing to send, belonging to need the data write position of disk and the size of the data sent.
Such as, when rolling up data buffer storage in synchronization caching data, the transmitting terminal controller to dual control communication sends data sending request.
Transmitting terminal controller can by sending the reception cache pool application reception spatial cache of application request to receiving end controller.
Step 12, transmitting terminal controller are sent to needing the data sent in the reception spatial cache applied for, and the cache location pointer of the reception spatial cache of acquisition is sent to receiving end controller.
Wherein, receive the Large Copacity memory headroom that cache pool is receiving end, different with receive window of the prior art, receive window of the prior art is a low capacity memory headroom.Large Copacity memory headroom has enough large memory headroom when can ensure that receiving end receives data.
Distribute reference position according to the data write position of disk and size to apply for receiving spatial cache according to margin edge and the alignment of page size.Such as, receive the size of spatial cache according to the size application of data write disk, receive the cache location pointer of spatial cache according to the position application of data write disk.And apply for receiving spatial cache according to margin edge and page size, it is equivalent to do page alignment operation.
Data are sent in the reception spatial cache of receiving end controller by PCI-E bus by transmitting terminal controller, then transmitting terminal controller uses the privately owned communication protocol between transmitting terminal controller and receiving end controller again the cache location pointer receiving spatial cache to be sent to receiving end controller, receive the cache location pointer that spatial cache is corresponding, namely receive spatial cache and receiving side-play amount and the size of cache pool.This cache location pointer in double-controller communication system to transmitting terminal controller and receiving end controller both sides all visible.Alternatively, be carried in the descriptor of data be sent to receiving end controller by receiving the cache location pointer of spatial cache.
In the present invention, distribute reference position by transmitting terminal controller according to the data write position of disk and size and apply for receiving spatial cache by page alignment, make the RAID system of receiving end controller without the need to doing page alignment again, thus do not need to carry out copy function, and then decrease the consumption of the cpu resource of computing machine and the bus bandwidth of system.
The method also comprises:
After data are write with a brush dipped in Chinese ink hard disk by the RAID system of receiving end, receiving end controller sends to transmitting terminal controller and reclaims data buffer storage space notice; The data collection spatial cache that transmitting terminal controller receives from receiving end controller notifies, release receives spatial cache.
The schematic flow sheet of the receiving end of a kind of double control communication means that Fig. 3 provides for the embodiment of the present invention, receiving end performs primarily of receiving end controller, data that receiving end controller receiving end/sending end controller sends and receive descriptor corresponding to data, with prior art unlike, do not copy data to volume data buffer storage from receive window, but obtain cache location pointer by descriptor and convert the data pointer of local internal memory to, be delivered to RAID system step by step by pointer to carry out data and write with a brush dipped in Chinese ink, thus avoid data copy to this time copy function of volume data buffer storage.Particularly as shown in Figure 3, comprise the following steps:
The cache location pointer of the data that step 21, receiving end controller receiving end/sending end controller send and reception spatial cache, by the data received stored in receiving spatial cache.
The data that the transmitting terminal controller received sends by receiving end controller are stored in reception spatial cache, receive the cache location pointer of spatial cache simultaneously, like this, pointer corresponding to the data received is cache location pointer, by carrying out writing with a brush dipped in Chinese ink data to the pointer transmission of cache location pointer.
Alternatively, the cache location pointer receiving spatial cache is placed in descriptor corresponding to data by transmitting terminal controller, and descriptor corresponding for data is sent to receiving end controller.Correspondingly, receiving end controller receives from descriptor corresponding to the data carrying the cache location pointer receiving spatial cache of transmitting terminal controller, namely receives spatial cache and is receiving side-play amount and the size of cache pool.
Step 22, receiving end controller convert the cache location pointer received the data pointer of local internal memory to, and the data pointer after conversion is delivered to Redundant Arrays of Inexpensive Disks RAID system step by step from volume data buffer storage.
Particularly, receiving end controller is receiving reception spatial cache that transmitting terminal controller sends in the side-play amount receiving cache pool, by this side-play amount with receive cache pool and be added the data pointer obtaining local internal memory in this controller start address.
In step 22, the data pointer after conversion is delivered to RAID system step by step from volume data buffer storage, specifically comprises:
Data pointer after conversion is delivered to volume management from volume data buffer storage by step 221, receiving end controller.
Step 222, receiving end controller are delivered to RAID system from volume management again.
Wherein, volume data buffer storage and volume management are all the logical partitionings on internal memory, and volume data buffer storage is used for data cached, and volume management is used for carrying out management control to data cached.RAID system is used for writing with a brush dipped in Chinese ink data cached, by data cached write hard disk.Usually, RAID system, when calculation check, need to arrange the data cached page alignment that does, and page alignment arrangement needs to do a data copy, then carries out data and writes with a brush dipped in Chinese ink, write disk.
The present embodiment, when the volume data buffer storage of receiving end controller gets data from reception cache pool, obtains data pointer simultaneously.Data pointer is delivered in volume management and RAID system when writing with a brush dipped in Chinese ink data cached by volume data buffer storage more step by step, thus eliminates receiving end and copy data to volume data buffer storage from receive window.When RAID system-computed verifies, carry out page alignment process due to data cached at transmitting terminal controller, arranged without the need to doing page alignment again, thus decrease a memory copying.And then decrease the consumption of the cpu resource of computing machine and the bus bandwidth of system.
Further, data pointer also comprises by receiving end controller after volume management is delivered to RAID system;
Step 23, RAID system will receive spatial cache as data buffer storage space.
Reception spatial cache and data buffer storage space are the different definition of same memory headroom different pieces of information processing stage.Reception spatial cache is used for as data buffer storage space writing with a brush dipped in Chinese ink data (namely data cached) by RAID system.
Step 24, data are write with a brush dipped in Chinese ink hard disk.
After data are write with a brush dipped in Chinese ink hard disk by RAID system, receiving end controller sends to transmitting terminal controller and reclaims data buffer storage space notice.
The structural representation of a kind of transmitting terminal controller that Fig. 4 provides for the embodiment of the present invention, transmitting terminal controller is before data transmission starts, first distribute from the reception cache pool of receiving end controller and receive spatial cache, then data are sent to reception spatial cache, and the cache location pointer receiving spatial cache corresponding is sent to receiving end controller by descriptor.As shown in Figure 4, transmitting terminal controller of the present invention at least comprises: application unit 32 and transmitting element 33.
Application unit 32, for sending the application request for applying for receiving spatial cache to receiving end controller, wherein carries position and the size of the data write disk needing the data sent; Obtain the cache location pointer applying for the reception spatial cache arrived.
Receive the Large Copacity memory headroom that cache pool is receiving end, different with receive window of the prior art, receive window of the prior art is a low capacity memory headroom.Large Copacity memory headroom has enough large memory headroom when can ensure that receiving end receives data.Distribute reference position according to the data write position of disk and size to come according to margin edge and the alignment of page size and to apply for receiving spatial cache by page alignment.Such as, receive the size of spatial cache according to the size application of data write disk, receive the cache location pointer of spatial cache according to the reference position application of data write disk.And apply for receiving spatial cache according to margin edge and page size in above-mentioned application process, its mode being equivalent to do page alignment operation determines to receive size and the cache location pointer of spatial cache.
Transmitting element 33, for receiving needing the data sent to be sent in spatial cache, and sends to receiving end controller by obtaining the cache location pointer receiving spatial cache.
Data are sent in the reception buffer memory of receiving end controller by PCI-E bus by transmitting terminal controller, then transmitting terminal controller uses the privately owned communication protocol between transmitting terminal and receiving end again descriptor corresponding for the cache location pointer data receiving spatial cache to be sent to receiving end controller, this descriptor comprises cache location pointer corresponding to reception spatial cache, namely receives spatial cache and is receiving side-play amount and the size of cache pool.Descriptor corresponding to this cache location pointer data in double-controller communication system to transmitting terminal controller and receiving end controller both sides all visible.Alternatively, the cache location pointer receiving spatial cache is placed in the descriptor of data, the descriptor of data is sent to receiving end controller.Correspondingly transmitting element 33 specifically for: be carried in descriptor corresponding to data be sent to receiving end controller by receiving the cache location pointer of spatial cache.
The present embodiment, distribute reference position by transmitting terminal controller according to the data write position of disk and size and apply for receiving spatial cache by page alignment, make the RAID system of receiving end controller without the need to doing page alignment again thus not needing to carry out copy function, and then decrease the consumption of the cpu resource of computing machine and the bus bandwidth of system.
This transmitting terminal controller also can comprise receiving element 31, for receiving data sending request, wherein data sending request comprise to send data, the data write position of disk and size.Such as roll up data buffer storage when synchronization caching data, the transmitting terminal to dual control communication sends data sending request.Further, transmitting terminal controller also comprises: releasing unit, and for receiving the data collection spatial cache notice sent from receiving end controller, release receives spatial cache.
The structural representation of a kind of receiving end controller that Fig. 5 provides for the embodiment of the present invention, data that receiving end controller receiving end/sending end controller sends and receive descriptor corresponding to data, with prior art unlike, do not copy data to volume data buffer storage from receive window, but obtain cache location pointer by descriptor and convert the data pointer of local internal memory to, be delivered to RAID system step by step by pointer to carry out data and write with a brush dipped in Chinese ink, thus avoid data copy is at least comprised with lower unit with reference to this receiving end controller of figure 5 to volume data buffer storage this time copy function: receiving element 41, pointer converting unit 42 and pointer transfer unit 43.
Wherein, receiving element 41, data sent for receiving end/sending end controller and receive cache location pointer corresponding to spatial cache.
Alternatively, the cache location pointer receiving spatial cache is placed in descriptor corresponding to data by transmitting terminal controller, and descriptor corresponding for data is sent to receiving end controller.Correspondingly, receiving end controller receives from descriptor corresponding to the data carrying the cache location pointer receiving spatial cache of transmitting terminal controller, namely receives spatial cache and is receiving side-play amount and the size of cache pool.Correspondingly receiving element 41 is also for receiving descriptor corresponding to data, and wherein, descriptor corresponding to data comprises the cache location pointer receiving spatial cache.
Pointer converting unit 42, for converting the data pointer of local internal memory to by the cache location received pointer.
Particularly, receiving end controller is receiving reception spatial cache that transmitting terminal controller sends in the side-play amount receiving cache pool, by this side-play amount with receive cache pool and be added the data pointer obtaining local internal memory in this controller start address.
Pointer transfer unit 43, for being delivered to RAID system by the data pointer after conversion step by step from volume data buffer storage.
Alternatively, pointer transfer unit 43 can comprise: the first pointer transmits subelement 431 and the second pointer transmits subelement 432.
Wherein, the first pointer transmits subelement 431, for the data pointer after conversion is delivered to volume management from volume data buffer storage;
Second pointer transmits subelement 432, for the data pointer after conversion is delivered to RAID system from volume management.
Wherein, volume data buffer storage and volume management are all the logical partitionings on internal memory, and volume data buffer storage is used for data cached, and volume management is used for carrying out management control to data cached.RAID system is used for writing with a brush dipped in Chinese ink data cached, by data cached write hard disk.Usually, RAID system, when calculation check, need to arrange the data cached page alignment that does, and page alignment arrangement needs to do a data copy, then carries out data and writes with a brush dipped in Chinese ink, write disk.
The present embodiment, when the volume data buffer storage of receiving end controller gets data from reception cache pool, obtains data pointer simultaneously.Data pointer is delivered in volume management and RAID system when writing with a brush dipped in Chinese ink data cached by volume data buffer storage more step by step, thus eliminates receiving end and copy data to volume data buffer storage from receive window.When RAID system-computed verifies, carry out page alignment process due to data cached at transmitting terminal controller, arranged without the need to doing page alignment again, thus decrease a memory copying.And then decrease the consumption of the cpu resource of computing machine and the bus bandwidth of system.
Further, receiving end controller also comprises data and writes with a brush dipped in Chinese ink unit, specifically for:
Spatial cache will be received as data buffer storage space;
Data are write with a brush dipped in Chinese ink hard disk.
Receiving end controller, also comprises transmitting element, reclaims data buffer storage space notice for sending to transmitting terminal controller.
The embodiment of the present invention also provides a kind of double-controller communication system, comprises above-mentioned transmitting terminal controller and above-mentioned receiving end controller.
Distribute reference position by transmitting terminal controller according to the data write position of disk and size and apply for receiving spatial cache by page alignment, make the RAID system of receiving end controller without the need to doing page alignment again, thus do not need to carry out copy function, and then decrease the consumption of the cpu resource of computing machine and the bus bandwidth of system.When the volume data buffer storage of receiving end controller gets data from reception cache pool, obtain data pointer simultaneously.Data pointer is delivered in volume management and RAID system when writing with a brush dipped in Chinese ink data cached by volume data buffer storage more step by step, thus eliminates receiving end and copy data to volume data buffer storage from receive window.When RAID system-computed verifies, carry out page alignment process due to data cached at transmitting terminal controller, arranged without the need to doing page alignment again, thus decrease a memory copying.And then decrease the consumption of the cpu resource of computing machine and the bus bandwidth of system.
Although the embodiment disclosed by the present invention is as above, the embodiment that described content only adopts for ease of understanding the present invention, and be not used to limit the present invention.Those of skill in the art belonging to any the present invention; under the prerequisite not departing from the spirit and scope disclosed by the present invention; any amendment and change can be carried out in the form implemented and details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.

Claims (15)

1. a dual controller communication means, is characterized in that, comprising:
The position of the data write disk of the data that transmitting terminal controller sends as required and size, the reception cache pool application to receiving end controller receives spatial cache and obtains the cache location pointer receiving spatial cache;
Transmitting terminal controller is sent to needing the data sent in the reception spatial cache applied for, and the cache location pointer of acquisition is sent to receiving end controller;
The data of receiving end controller reception from transmitting terminal controller and the cache location pointer of reception spatial cache, by the data received stored in receiving spatial cache;
Receiving end controller converts the cache location pointer received the data pointer of local internal memory to, and the data pointer after conversion is delivered to Redundant Arrays of Inexpensive Disks RAID system step by step from volume data buffer storage.
2. dual controller communication means according to claim 1, it is characterized in that, also comprise before the method: described transmitting terminal controller receiving data sends request, comprising position and the size of the data write disk of the described data needing the data of transmission, described needs to send.
3. dual controller communication means according to claim 1 and 2, is characterized in that, the described cache location pointer by reception spatial cache is sent to receiving end controller and comprises:
Described cache location pointer is carried in descriptor corresponding to data and is sent to described receiving end controller.
4. dual controller communication means according to claim 1 and 2, is characterized in that, described method also comprises:
The data collection spatial cache that described transmitting terminal controller receives from receiving end controller notifies, discharges described reception spatial cache.
5. method according to claim 1 and 2, is characterized in that, described data pointer after conversion is delivered to RAID system step by step comprises from volume data buffer storage:
Data pointer after conversion is delivered to volume management from volume data buffer storage by described receiving end controller, then is delivered to RAID system from described volume management.
6. method according to claim 5, is characterized in that, the method also comprises; Described RAID system using described reception spatial cache as data buffer storage space; Described data are write with a brush dipped in Chinese ink hard disk.
7. a transmitting terminal controller, is characterized in that, at least comprises application unit, transmitting element; Wherein,
Application unit, for sending the application request for applying for receiving spatial cache to receiving end controller, wherein carries position and the size of the data write disk needing the data sent; Obtain the cache location pointer applying for the reception spatial cache arrived;
Transmitting element, for receiving needing the data sent to be sent in spatial cache, and sends to receiving end controller by obtaining the cache location pointer receiving spatial cache.
8. transmit control device according to claim 7, is characterized in that, also comprises receiving element, for receiving data sending request, wherein carry described need to send data, the data write position of disk and size.
9. the transmitting terminal controller according to claim 7 or 8, is characterized in that, described transmitting element specifically for: the cache location pointer of described reception spatial cache is carried in descriptor corresponding to data and is sent to receiving end controller.
10. the transmitting terminal controller according to claim 7 or 8, is characterized in that, described transmitting terminal controller also comprises:
Releasing unit, for receiving the data collection spatial cache notice sent from receiving end controller, discharges described reception spatial cache.
11. 1 kinds of receiving end controllers, is characterized in that, at least comprise receiving element, pointer converting unit, pointer transfer unit, wherein,
Receiving element, for receive from transmitting terminal controller data and receive the cache location pointer of spatial cache;
Pointer converting unit, for converting the data pointer of local internal memory to by the cache location received pointer;
Pointer transfer unit, for being delivered to RAID system by the data pointer after conversion step by step from volume data buffer storage.
12. receiving end controllers according to claim 11, is characterized in that, described receiving element also for: receive and carry descriptor corresponding to the data of cache location pointer that receive spatial cache from described transmitting terminal controller.
13. receiving end controllers according to claim 11, is characterized in that, described pointer transfer unit comprises: the first pointer transmits subelement, the second pointer transmits subelement; Wherein,
First pointer transmits subelement, for the data pointer after described conversion is delivered to volume management from volume data buffer storage;
Second pointer transmits subelement, for the data pointer after described conversion is delivered to RAID system from described volume management.
14. receiving end controllers according to claim 13, is characterized in that, described receiving end controller also comprises data and writes with a brush dipped in Chinese ink unit, for: using described reception spatial cache as data buffer storage space; Described data are write with a brush dipped in Chinese ink hard disk.
15. receiving end controllers according to claim 14, is characterized in that, described receiving end controller, also comprises: transmitting element, reclaim data buffer storage space notice for sending to described transmitting terminal controller.
CN201510015078.5A 2015-01-12 2015-01-12 Dual-controller communication method, transmitting end controller and receiving end controller Pending CN104536704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510015078.5A CN104536704A (en) 2015-01-12 2015-01-12 Dual-controller communication method, transmitting end controller and receiving end controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510015078.5A CN104536704A (en) 2015-01-12 2015-01-12 Dual-controller communication method, transmitting end controller and receiving end controller

Publications (1)

Publication Number Publication Date
CN104536704A true CN104536704A (en) 2015-04-22

Family

ID=52852239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510015078.5A Pending CN104536704A (en) 2015-01-12 2015-01-12 Dual-controller communication method, transmitting end controller and receiving end controller

Country Status (1)

Country Link
CN (1) CN104536704A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991745A (en) * 2015-07-21 2015-10-21 浪潮(北京)电子信息产业有限公司 Data writing method and system of storage system
CN106354724A (en) * 2015-07-15 2017-01-25 阿里巴巴集团控股有限公司 File archiving method and file reading method and device
CN106549869A (en) * 2015-09-21 2017-03-29 北京信威通信技术股份有限公司 Data package processing method and device
CN107291530A (en) * 2016-04-01 2017-10-24 杭州海康威视数字技术股份有限公司 A kind of data processing method and device
CN108021438A (en) * 2016-10-31 2018-05-11 联芯科技有限公司 A kind of internal memory sharing method and the terminal device based on multiprocessor

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859325A (en) * 2006-02-14 2006-11-08 华为技术有限公司 News transfer method based on chained list process
CN101834796A (en) * 2010-05-06 2010-09-15 中兴通讯股份有限公司 Double-controller communication system and method
CN102081584A (en) * 2009-11-30 2011-06-01 英业达股份有限公司 Cache mirror system and method of dual-controller storage system
CN102521145A (en) * 2011-12-23 2012-06-27 东信和平智能卡股份有限公司 Java card system and space distribution processing method thereof
CN103049220A (en) * 2012-12-19 2013-04-17 华为技术有限公司 Storage control method, storage control device and solid-state storage system
CN103092778A (en) * 2013-01-23 2013-05-08 浪潮(北京)电子信息产业有限公司 Cache mirroring method for memory system
CN103092786A (en) * 2013-02-25 2013-05-08 浪潮(北京)电子信息产业有限公司 Double-control double-active storage control system and method
US20130304844A1 (en) * 2005-04-25 2013-11-14 Netapp, Inc. System and method for caching network file systems

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130304844A1 (en) * 2005-04-25 2013-11-14 Netapp, Inc. System and method for caching network file systems
CN1859325A (en) * 2006-02-14 2006-11-08 华为技术有限公司 News transfer method based on chained list process
CN102081584A (en) * 2009-11-30 2011-06-01 英业达股份有限公司 Cache mirror system and method of dual-controller storage system
CN101834796A (en) * 2010-05-06 2010-09-15 中兴通讯股份有限公司 Double-controller communication system and method
CN102521145A (en) * 2011-12-23 2012-06-27 东信和平智能卡股份有限公司 Java card system and space distribution processing method thereof
CN103049220A (en) * 2012-12-19 2013-04-17 华为技术有限公司 Storage control method, storage control device and solid-state storage system
CN103092778A (en) * 2013-01-23 2013-05-08 浪潮(北京)电子信息产业有限公司 Cache mirroring method for memory system
CN103092786A (en) * 2013-02-25 2013-05-08 浪潮(北京)电子信息产业有限公司 Double-control double-active storage control system and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354724A (en) * 2015-07-15 2017-01-25 阿里巴巴集团控股有限公司 File archiving method and file reading method and device
CN106354724B (en) * 2015-07-15 2019-07-16 阿里巴巴集团控股有限公司 Document-archiving method, file reading and device
CN104991745A (en) * 2015-07-21 2015-10-21 浪潮(北京)电子信息产业有限公司 Data writing method and system of storage system
CN104991745B (en) * 2015-07-21 2018-06-01 浪潮(北京)电子信息产业有限公司 A kind of memory system data wiring method and system
CN106549869A (en) * 2015-09-21 2017-03-29 北京信威通信技术股份有限公司 Data package processing method and device
CN107291530A (en) * 2016-04-01 2017-10-24 杭州海康威视数字技术股份有限公司 A kind of data processing method and device
CN107291530B (en) * 2016-04-01 2019-12-20 杭州海康威视数字技术股份有限公司 Data processing method and device
CN108021438A (en) * 2016-10-31 2018-05-11 联芯科技有限公司 A kind of internal memory sharing method and the terminal device based on multiprocessor

Similar Documents

Publication Publication Date Title
CN110647480B (en) Data processing method, remote direct access network card and equipment
CN104536704A (en) Dual-controller communication method, transmitting end controller and receiving end controller
EP2889780B1 (en) Data processing system and data processing method
US9501398B2 (en) Persistent storage device with NVRAM for staging writes
US10540306B2 (en) Data copying method, direct memory access controller, and computer system
US9336146B2 (en) Accelerating cache state transfer on a directory-based multicore architecture
CN104219085A (en) Proxy server and data processing method and system of database
EP2667296A1 (en) Method and apparatus of data processing
CN104407933A (en) Data backup method and device
US11093141B2 (en) Method and apparatus for caching data
CN109241015B (en) Method for writing data in a distributed storage system
EP3865992A2 (en) Distributed block storage system, method, apparatus and medium
CN111124993B (en) Method, apparatus and program product for reducing cache data mirror latency in I/O processing
CN111124255A (en) Data storage method, electronic device and computer program product
CN112988680B (en) Data acceleration method, cache unit, electronic device and storage medium
WO2023015866A1 (en) Data writing method, apparatus and system, and electronic device and storage medium
CN105335308A (en) Method, apparatus and system for processing access information of storage device
CN102291298B (en) Efficient computer network communication method oriented to long message
US8891523B2 (en) Multi-processor apparatus using dedicated buffers for multicast communications
EP4044015A1 (en) Data processing method and apparatus
CN104991745A (en) Data writing method and system of storage system
CN104915153A (en) Method for double control cache synchronous design based on SCST
US10523741B2 (en) System and method for avoiding proxy connection latency
CN116414523A (en) Memory fragment-oriented virtual machine migration method and device
US11086379B2 (en) Efficient storage system battery backup usage through dynamic implementation of power conservation actions

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150422

WD01 Invention patent application deemed withdrawn after publication