CN104360819A - Data writing method and device - Google Patents

Data writing method and device Download PDF

Info

Publication number
CN104360819A
CN104360819A CN201410534536.1A CN201410534536A CN104360819A CN 104360819 A CN104360819 A CN 104360819A CN 201410534536 A CN201410534536 A CN 201410534536A CN 104360819 A CN104360819 A CN 104360819A
Authority
CN
China
Prior art keywords
value
dish
data volume
virtual value
actual value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410534536.1A
Other languages
Chinese (zh)
Other versions
CN104360819B (en
Inventor
姜波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410534536.1A priority Critical patent/CN104360819B/en
Publication of CN104360819A publication Critical patent/CN104360819A/en
Priority to PCT/CN2015/089449 priority patent/WO2016050139A1/en
Application granted granted Critical
Publication of CN104360819B publication Critical patent/CN104360819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • 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/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes

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)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a data writing method and device, and belongs to the field of data storage. The data writing method comprises the following steps: acquiring a virtual value sent through an IP (Internet Protocol) by an access node, wherein the virtual value is used for describing the data size of a fill value; according to the data size, writing the fill value in an IP disk to be used as an actual value, wherein the data size of the written actual value is greater than the data size of the virtual value. According to the invention, the virtual value with smaller data size, which is sent by the access node is acquired, and the actual value with greater data size is written into the IP disk according to the virtual value, namely, the virtual value stored and sent by the access node has smaller data size, so that the problem that the consumption of internal memory resource and communication resource of the access node is higher in correlation techniques and scenes is solved, and the effect that data with greater data size can be written into the IP disk only through consuming smaller internal memory resource and communication resource of the access node.

Description

Method for writing data and device
Technical field
The present invention relates to field of data storage, particularly a kind of method for writing data and device.
Background technology
In test scene, (English: Internet Protocol to Internet protocol, abbreviation: when the performance of IP) coiling is tested, need the first a large amount of test data of write in IP dish (IP disk), the content of these test datas can be specified arbitrarily, that is, test data can be any data.
In prior art, when the data write carrying out IP dish, test data is written in IP dish by put (write) interface, this test data comprises: key and value, after access node obtains this test data, this test data is temporarily stored in the internal memory of access node, then transfers to IP dish by communication port, after the write operation of the complete test data of IP dish, the test data stored in access node releasing memory.
In above-mentioned data writing process, owing to needing the test data that temporary and data volume that is that write in IP dish etc. are large in the internal memory of access node, thus when the data volume of write in IP dish is larger, the memory headroom of more access node can be taken, and test data also can waste the more communication resource when transmitting, namely the method can consume larger access node internal memory and the communication resource.
Summary of the invention
Embodiments provide a kind of method for writing data and device, the problem that access node memory source and communication resource consumption in prior art and scene are larger can be solved.Described technical scheme is as follows.
According to the first aspect of the embodiment of the present invention, provide a kind of method for writing data, in Internet protocol IP dish, described IP dish uses key-value interface to carry out data storage, and described method comprises:
Obtain the virtual value that access node sends by IP agreement, described virtual value is for describing the data volume of Filling power;
According to described data volume, in described IP dish, write Filling power as actual value, the data volume of the described actual value of write is greater than the data volume of described virtual value.
In conjunction with first aspect, in the first possible embodiment of first aspect, described virtual value also comprises Filling power, described according to described data volume, writes Filling power as actual value, comprising in described IP dish:
Be that described actual value distributes the storage space with described data volume formed objects in described IP dish;
The Filling power carried in described virtual value is adopted to fill up described storage space.
In conjunction with first aspect, in the embodiment that the second of first aspect is possible, described IP dish prestores described Filling power, described according to described data volume, writes Filling power as actual value, comprising in described IP dish:
Be that described actual value distributes the storage space with described data volume formed objects in described IP dish;
The Filling power prestored is adopted to fill up described storage space.
In conjunction with the first possible embodiment of first aspect or the possible embodiment of the second of first aspect, in the third possible embodiment of first aspect, described virtual value comprises: other information, other information described comprise at least one in the version number of described actual value and timestamp
Described method also comprises:
Other information described are write in described IP dish.
In conjunction with the first possible embodiment of first aspect, first aspect or the possible embodiment of the second of first aspect, in the 4th kind of possible embodiment of first aspect, the virtual value that described acquisition access node IP agreement sends, comprising:
Receive the value that described access node IP agreement sends;
Detect the identification information of described value;
When described identification information is virtual value identification information, determine that described value is described virtual value.
According to the second aspect of the embodiment of the present invention, provide a kind of data transfer apparatus, in Internet protocol IP dish, described IP dish uses key-value interface to carry out data storage, and described device comprises:
Virtual value acquisition module, for obtaining the virtual value that access node IP agreement sends, described virtual value is for describing the data volume of Filling power;
Actual value inserts module, for according to described data volume, in described IP dish, writes Filling power as actual value, and the data volume of the described actual value of write is greater than the data volume of described virtual value.
In conjunction with second aspect, in the first possible embodiment of second aspect, described virtual value also comprises Filling power,
Described actual value inserts module, comprising: submodule is filled in the first distribution sub module and space;
Described first distribution sub module, for being the storage space of the distribution of described actual value and described data volume formed objects in described IP dish;
Submodule is filled in described space, fills up described storage space for adopting the Filling power carried in described virtual value.
In conjunction with second aspect, in the embodiment that the second of second aspect is possible, described IP dish prestores described Filling power, and described actual value inserts module, comprising: the second distribution sub module and the filling submodule that prestores;
Described second distribution sub module, for being the storage space of the distribution of described actual value and described data volume formed objects in described IP dish;
The described filling submodule that prestores, fills up described storage space for adopting the Filling power prestored.
In conjunction with the first possible embodiment of second aspect or the possible embodiment of the second of second aspect, in the third possible embodiment of second aspect, described virtual value comprises: other information, other information described comprise at least one in the version number of described actual value and timestamp
Described device also comprises:
Other information writing modules, for writing other information described in described IP dish.
In conjunction with the first possible embodiment of second aspect, second aspect or the possible embodiment of the second of second aspect, in the 4th kind of possible embodiment of second aspect, described virtual value acquisition module, comprising: value receives submodule, label detection submodule and virtually determines submodule;
Described value receives submodule, for receiving the value that described access node IP agreement sends;
Described label detection submodule, for detecting the identification information of described value;
Describedly virtually determine submodule, for when described identification information is virtual value identification information, determine that described value is described virtual value.
The technical scheme that the embodiment of the present invention provides can comprise following beneficial effect:
By the virtual value that the data volume obtaining access node transmission is less, and in IP dish, write the larger actual value of data volume according to virtual value, namely the virtual value that access node stores and sends has less data volume, solves the problem that access node memory source and communication resource consumption in correlation technique and scene are larger; Reach and only need to consume less access node memory source and the communication resource, just can write the effect of the data of larger data amount in IP dish.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the present invention.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 shows the schematic diagram of a kind of implementation environment of the method for writing data that the embodiment of the present invention provides.
Fig. 2 shows the method flow diagram of a kind of method for writing data that one embodiment of the invention provides.
Fig. 3 A shows the method flow diagram of a kind of method for writing data that another embodiment of the present invention provides.
Fig. 3 B is the data transmission schematic diagram that the embodiment shown in Fig. 3 A provides.
Fig. 4 A shows the block diagram of a kind of data transfer apparatus that one embodiment of the invention provides.
Fig. 4 B is the block diagram that actual value in the data transfer apparatus shown in Fig. 4 A inserts module 420.
Fig. 4 C is the another kind of block diagram that actual value in the data transfer apparatus shown in Fig. 4 A inserts module 420.
Fig. 4 D shows the block diagram of the another kind of data transfer apparatus that one embodiment of the invention provides.
Fig. 4 E shows the block diagram of the virtual value acquisition module 410 in the data transfer apparatus shown in Fig. 4 A.
Fig. 5 shows the block diagram of the IP dish that one embodiment of the invention provides.
By above-mentioned accompanying drawing, illustrate the embodiment that the present invention is clear and definite more detailed description will be had hereinafter.These accompanying drawings and text description be not in order to limited by any mode the present invention design scope, but by reference to specific embodiment for those skilled in the art illustrate concept of the present invention.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Please refer to Fig. 1, it illustrates the schematic diagram of a kind of implementation environment of the method for writing data that the embodiment of the present invention provides, this implementation environment comprises: access node 110 and IP dish 120.
Wherein, access node 110 for having the electronic equipment of data-transformation facility and data storage function, such as robot calculator, router or server etc.
IP dish 120 is a kind of by IP agreement, use key-value (English: Key-Value) interface carries out the hard disk of data transmission, IP dish is made up of structures such as central processing unit, internal memory and physical storage mediums, and this central processing unit is used for the storage system of operation support Key-Value storage mode.IP dish is provided with physical interface, and the communication protocol on this physical interface is IP agreement, and data storage method is key-value storage mode, and therefore, at protocol layer, this physical interface is called IP interface, and at data transfer layer, this physical interface is called key-value interface.
Wherein Key represents key, and Value representative value, comprises data in Value, when access node needs write (put) data, stores issuing IP dish together with Key with Value information; When needs read (get) data, access node issues key, and IP packing indexes corresponding Value according to key, and this Value is returned to access node.
The wired or wireless connection for transmitting data can be set up between access node 110 and IP dish 120.
Please refer to Fig. 2, it illustrates the method flow diagram of a kind of method for writing data that one embodiment of the invention provides, the present embodiment is applied to this method for writing data in the IP dish 120 in Fig. 1 and illustrates, this IP dish uses key-value interface to carry out data storage.This method for writing data can comprise following several step:
In step 201, obtain the virtual value that access node sends by IP agreement, virtual value is for describing the data volume of Filling power.
In step 202., according to data volume, write Filling power as actual value in IP dish, the data volume of the actual value of write is greater than the data volume of virtual value.
In sum, the method for writing data that the present embodiment provides, by the virtual value that the data volume obtaining access node transmission is less, and in IP dish, write the larger actual value of data volume according to virtual value, namely the virtual value that access node stores and sends has less data volume, solves the problem that access node memory source and communication resource consumption in correlation technique and scene are larger; Reach and only need to consume less access node memory source and the communication resource, just can write the effect of the data of larger data amount in IP dish.
Please refer to Fig. 3 A, it illustrates the method flow diagram of a kind of method for writing data that another embodiment of the present invention provides, the present embodiment is applied in the implementation environment shown in Fig. 1 with this method for writing data and illustrates.This method for writing data can comprise following several step:
In step 301, access node IP agreement is to IP dish sending value, and this value comprises identification information.Perform step 302.
In embodiments of the present invention, this value can include identification information, and identification information is used for showing that this value is actual value or virtual value.
When carrying out data write, IP dish receives the value carrying identification information that access node IP agreement sends, and this value can be stored in the internal memory of IP dish.
In addition, access node can also simultaneously by IP agreement to IP dish send key, key may be used for carrying out index to the actual value of write IP dish.
In step 302, the identification information of IP dish detected value.
IP dish, after receiving the value carrying identification information, detects identification information wherein.
In embodiments of the present invention, all values all have identification information, for showing that value is actual value or virtual value.Identification information can be divided into virtual value identification information and actual value identification information, virtual value identification information representative value is virtual value, actual value identification information representative value is actual value, and the position of identification information and representative value are virtual value or the mode of actual value all can set according to actual conditions.Such as, it is the first that identification information is present in value, virtual value or actual value with a binary number representation value, when this binary number is " 0 ", identification information is virtual value identification information, show that value is for virtual value, when this binary number is " 1 ", identification information is actual value identification information, show that value is actual value, as long as now IP dish detects the first binary number of the value received to judge that whether this value is for virtual value, in addition, identification information also can include Magic number, namely shows that value is virtual value or actual value by Magic number.
When detecting that identification information is virtual value identification information, performing step 303, when detecting that identification information is actual value identification information, performing step 304.
In step 303, when identification information is virtual value identification information, IP dish determined value is virtual value.Perform step 305.
When detecting that identification information is virtual value identification information, IP dish determines that the value in the test data received is virtual value.
In step 304, when identification information is actual value identification information, IP dish directly stores the value received.
When detecting that identification information is actual value identification information, represent that this value is actual value, then IP dish directly can store the value received in physical storage medium, and concrete steps are the conventional techniques means of those skilled in the art, do not repeat them here.
It should be noted that, in actual applications, when identification information is actual value identification information, IP dish also directly can stop the write of this secondary data.
In step 305, IP packing writes actual value according to virtual value in physical storage medium.Perform step 306.
Virtual value is for describing the data volume of Filling power, and this data volume can be the data volume of the arbitrary size that the data volume of the ratio virtual value preset is large.
Filling power can indicate the actual value of filling in, and such as, when storing with scale-of-two, Filling power can be " 1 ", or " 0 ", and IP dish can fill in actual value by data volume and Filling power.
In sum, IP dish can fill in by virtual value and Filling power the actual value that data volume is far longer than the virtual value received in IP dish.In the process of practical application, due to the limited storage space of IP dish, the data volume that the data volume of the actual value of write generally needs the free memory being less than IP dish to store.
In addition, virtual value can also comprise other information, and other information can comprise at least one in the version number of actual value and timestamp, and other information also can be the information that existing other technologies need, and the embodiment of the present invention does not limit this.
Therefore, this step can comprise three sub-steps below.
In step 3051, for actual value distributes the storage space with data volume formed objects in IP dish.
In embodiments of the present invention, virtual value can be as the structure in table 1.Comprise: identification information, data volume, Filling power and other information.Identification information is used for showing that this value is virtual value, and data volume is for describing Filling power, and Filling power fills the concrete numerical value of actual value for describing, and other information can comprise at least one in the version number of described actual value and timestamp.
According to the data volume that virtual value carries, IP dish can for actual value distributes the storage space with this data volume formed objects in physical storage medium, and this physical storage medium is a part for IP dish.
In step 3052, IP dish utilizes Filling power to fill up storage space.
In embodiments of the present invention, according to the difference obtaining Filling power mode, this step can be divided into two kinds of situations below.
The first situation: virtual value also comprises Filling power.Now, IP dish can adopt the Filling power carried in virtual value to fill up storage space.
The second situation: IP dish prestores Filling power.Now, IP dish can adopt the Filling power prestored to fill up storage space.
In step 3053, IP dish is by other information write IP dish.
IP dish is by the physical storage medium of other information write IP dish in virtual value.Other information can facilitate user to understand this data writing process, and the management of the follow-up actual value to write IP dish.In addition, other information can write in IP dish together with actual value.
Within step 306, IP dish release virtual value.
IP dish, after completing the write of this secondary data, can discharge the virtual value be stored in internal memory.
Please refer to Fig. 3 B, it illustrates the data transmission schematic diagram of the method for writing data that the embodiment of the present invention provides, wherein 31 is key, and 32 is virtual value, and 33 represent the actual value writing IP dish.Wherein, the lateral length of each square frame schematically can represent the data volume size of this partial data, the data volume of virtual value 32 is significantly less than the data volume of actual value 33 as can be seen from this figure, namely, the method for writing data that the present embodiment provides, the data volume described by virtual value is actual value memory allocated space in the physical storage medium of IP dish, and fills in described storage space according to Filling power, can fill in the actual value that data volume is far longer than the data volume of virtual value in IP dish; Reach and only need to receive the virtual value compared with small data quantity, just can write the effect of the actual value of larger data amount in IP dish.
In sum, the method for writing data that the present embodiment provides, by the virtual value that the data volume obtaining access node transmission is less, and in IP dish, write the larger actual value of data volume according to virtual value, namely the virtual value that access node stores and sends has less data volume, solves the problem that access node memory source and communication resource consumption in correlation technique and scene are larger; Reach and only need to consume less access node memory source and the communication resource, just can write the effect of the data of larger data amount in IP dish.
Please refer to Fig. 4 A, it illustrates the block diagram of a kind of data transfer apparatus that one embodiment of the invention provides, this data transfer apparatus can realize becoming all or part of of the IP dish 120 in the implementation environment shown in Fig. 1 by software, hardware or both combinations.Data transfer apparatus 400 comprises: virtual value acquisition module 410 and actual value insert module 420.
Virtual value acquisition module 410, for obtaining the virtual value that access node IP agreement sends, virtual value is for describing the data volume of Filling power.
Actual value inserts module 420, and for according to data volume, write Filling power as actual value in IP dish, the data volume of the actual value of write is greater than the data volume of virtual value.
Further, when virtual value also comprises Filling power, as shown in Figure 4 B, actual value inserts module 420, comprising: submodule 422 is filled in the first distribution sub module 421 and space.
First distribution sub module 421, for being the storage space of actual value distribution and data volume formed objects in IP dish.
Submodule 422 is filled in space, fills up storage space for adopting the Filling power carried in virtual value.
Further, when IP dish prestores Filling power, as shown in Figure 4 C, actual value inserts module 420, comprising: the second distribution sub module 423 and the filling submodule 424 that prestores.
Second distribution sub module 423, for being the storage space of actual value distribution and data volume formed objects in IP dish.
Prestoring and fill submodule 424, filling up storage space for adopting the Filling power prestored.
Further, virtual value comprises: other information, and other information comprise at least one in the version number of actual value and timestamp.
As shown in Figure 4 D, data transfer apparatus 400 also comprises: other information writing modules 430, for other information being write in IP dish.
Further, as shown in Figure 4 E, virtual value acquisition module 410, comprising: value receives submodule 411, label detection submodule 412 and virtually determines submodule 413.
Value receives submodule 411, for receiving the value that access node IP agreement sends.
Label detection submodule 412, for the identification information of detected value.
Virtually determine submodule 413, for when identification information is virtual value identification information, determined value is virtual value.
In sum, the data transfer apparatus that the present embodiment provides, by the virtual value that the data volume obtaining access node transmission is less, and in IP dish, write the larger actual value of data volume according to virtual value, namely the virtual value that access node stores and sends has less data volume, solves the problem that access node memory source and communication resource consumption in correlation technique and scene are larger; Reach and only need to consume less access node memory source and the communication resource, just can write the effect of the data of larger data amount in IP dish.
Please refer to Fig. 5, it illustrates the block diagram of the IP dish that one embodiment of the invention provides.This IP dish 500 comprises: processor 520.
Processor 520, for obtaining the virtual value that access node IP agreement sends, virtual value is for describing the data volume of Filling power.
Processor 520, for according to data volume, write Filling power as actual value in IP dish, the data volume of the actual value of write is greater than the data volume of virtual value.
Further, virtual value also comprises Filling power.
Processor 520, for being the storage space of actual value distribution and data volume formed objects in IP dish.
Processor 520, fills up storage space for adopting the Filling power carried in virtual value.
Further, IP dish prestores Filling power.
Processor 520, for being the storage space of actual value distribution and data volume formed objects in IP dish.
Processor 520, fills up storage space for adopting the Filling power prestored.
Further, virtual value comprises: other information, and other information comprise at least one in the version number of actual value and timestamp.
Processor 520, for writing other information in IP dish.
Further, processor 520, for receiving the value that access node IP agreement sends.
Processor 520, for the identification information of detected value.
Processor 520, for when identification information is virtual value identification information, determined value is virtual value.
In sum, the data transfer apparatus that the present embodiment provides, by the virtual value that the data volume obtaining access node transmission is less, and in IP dish, write the larger actual value of data volume according to virtual value, namely the virtual value that access node stores and sends has less data volume, solves the problem that access node memory source and communication resource consumption in correlation technique and scene are larger; Reach and only need to consume less access node memory source and the communication resource, just can write the effect of the data of larger data amount in IP dish.
Those skilled in the art, after considering the invention that instructions and practice are invented here, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the common practise in the art or conventional techniques means that the present invention do not invent.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (10)

1. a method for writing data, is characterized in that, in Internet protocol IP dish, described IP dish uses key-value interface to carry out data storage, and described method comprises:
Obtain the virtual value that access node sends by IP agreement, described virtual value is for describing the data volume of Filling power;
According to described data volume, in described IP dish, write Filling power as actual value, the data volume of the described actual value of write is greater than the data volume of described virtual value.
2. method according to claim 1, is characterized in that, described virtual value also comprises Filling power, described according to described data volume, writes Filling power as actual value, comprising in described IP dish:
Be that described actual value distributes the storage space with described data volume formed objects in described IP dish;
The Filling power carried in described virtual value is adopted to fill up described storage space.
3. method according to claim 1, is characterized in that,
Described IP dish prestores described Filling power, described according to described data volume, writes Filling power as actual value, comprising in described IP dish:
Be that described actual value distributes the storage space with described data volume formed objects in described IP dish;
The Filling power prestored is adopted to fill up described storage space.
4. according to the method in claim 2 or 3, it is characterized in that, described virtual value comprises: other information, and other information described comprise at least one in the version number of described actual value and timestamp,
Described method also comprises:
Other information described are write in described IP dish.
5. the method according to claim 1,2 or 3, is characterized in that, the virtual value that described acquisition access node IP agreement sends, and comprising:
Receive the value that described access node IP agreement sends;
Detect the identification information of described value;
When described identification information is virtual value identification information, determine that described value is described virtual value.
6. a data transfer apparatus, is characterized in that, in Internet protocol IP dish, described IP dish uses key-value interface to carry out data storage, and described device comprises:
Virtual value acquisition module, for obtaining the virtual value that access node IP agreement sends, described virtual value is for describing the data volume of Filling power;
Actual value inserts module, for according to described data volume, in described IP dish, writes Filling power as actual value, and the data volume of the described actual value of write is greater than the data volume of described virtual value.
7. device according to claim 6, is characterized in that, described virtual value also comprises Filling power,
Described actual value inserts module, comprising: submodule is filled in the first distribution sub module and space;
Described first distribution sub module, for being the storage space of the distribution of described actual value and described data volume formed objects in described IP dish;
Submodule is filled in described space, fills up described storage space for adopting the Filling power carried in described virtual value.
8. device according to claim 6, is characterized in that, described IP dish prestores described Filling power, and described actual value inserts module, comprising: the second distribution sub module and the filling submodule that prestores;
Described second distribution sub module, for being the storage space of the distribution of described actual value and described data volume formed objects in described IP dish;
The described filling submodule that prestores, fills up described storage space for adopting the Filling power prestored.
9. the device according to claim 7 or 8, is characterized in that, described virtual value comprises: other information, and other information described comprise at least one in the version number of described actual value and timestamp,
Described device also comprises:
Other information writing modules, for writing other information described in described IP dish.
10. the device according to claim 6,7 or 8, is characterized in that, described virtual value acquisition module, comprising: value receives submodule, label detection submodule and virtually determines submodule;
Described value receives submodule, for receiving the value that described access node IP agreement sends;
Described label detection submodule, for detecting the identification information of described value;
Describedly virtually determine submodule, for when described identification information is virtual value identification information, determine that described value is described virtual value.
CN201410534536.1A 2014-09-29 2014-09-29 Method for writing data and device Active CN104360819B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410534536.1A CN104360819B (en) 2014-09-29 2014-09-29 Method for writing data and device
PCT/CN2015/089449 WO2016050139A1 (en) 2014-09-29 2015-09-11 Data writing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410534536.1A CN104360819B (en) 2014-09-29 2014-09-29 Method for writing data and device

Publications (2)

Publication Number Publication Date
CN104360819A true CN104360819A (en) 2015-02-18
CN104360819B CN104360819B (en) 2018-04-27

Family

ID=52528083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410534536.1A Active CN104360819B (en) 2014-09-29 2014-09-29 Method for writing data and device

Country Status (2)

Country Link
CN (1) CN104360819B (en)
WO (1) WO2016050139A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016050139A1 (en) * 2014-09-29 2016-04-07 华为技术有限公司 Data writing method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7647329B1 (en) * 2005-12-29 2010-01-12 Amazon Technologies, Inc. Keymap service architecture for a distributed storage system
CN102843345A (en) * 2011-06-24 2012-12-26 中怡(苏州)科技有限公司 Remote communication method and computer program product thereof
CN103140840A (en) * 2011-09-30 2013-06-05 华为技术有限公司 Data management method and device
CN103885721A (en) * 2012-12-24 2014-06-25 中国移动通信集团公司 Data storing or reading method and device for key-value system
CN104007938A (en) * 2014-05-29 2014-08-27 华为技术有限公司 Key value generating method and device in storage network

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003208345A (en) * 2002-01-16 2003-07-25 Hitachi Ltd Network type storage device
CN101478462B (en) * 2008-12-17 2010-12-08 成都市华为赛门铁克科技有限公司 Apparatus and method for storage data reading and writing, solid hard disk
CN101546601B (en) * 2009-05-13 2011-06-08 杭州华三通信技术有限公司 Solid state disk and memory system
EP2840576A4 (en) * 2013-05-20 2015-07-01 Huawei Tech Co Ltd Hard disk and data processing method
CN103973810B (en) * 2014-05-22 2018-01-16 华为技术有限公司 The data processing method and device of internet protocol-based IP disks
CN104360819B (en) * 2014-09-29 2018-04-27 华为技术有限公司 Method for writing data and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7647329B1 (en) * 2005-12-29 2010-01-12 Amazon Technologies, Inc. Keymap service architecture for a distributed storage system
CN102843345A (en) * 2011-06-24 2012-12-26 中怡(苏州)科技有限公司 Remote communication method and computer program product thereof
CN103140840A (en) * 2011-09-30 2013-06-05 华为技术有限公司 Data management method and device
CN103885721A (en) * 2012-12-24 2014-06-25 中国移动通信集团公司 Data storing or reading method and device for key-value system
CN104007938A (en) * 2014-05-29 2014-08-27 华为技术有限公司 Key value generating method and device in storage network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016050139A1 (en) * 2014-09-29 2016-04-07 华为技术有限公司 Data writing method and apparatus

Also Published As

Publication number Publication date
WO2016050139A1 (en) 2016-04-07
CN104360819B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN106933508B (en) Application container migration method and device
CN103607428B (en) A kind of method and apparatus for accessing shared drive
US11880280B2 (en) Variable number and size of put operations for storage backup
CN108845877B (en) Method, device and system for managing memory
CN110134338B (en) Distributed storage system and data redundancy protection method and related equipment thereof
CN102340489B (en) Data transmission method between servers and servers
US10310748B2 (en) Determining data locality in a distributed system using aggregation of locality summaries
CN104657435A (en) Storage management method for application data and network management system
CN105281937A (en) Server, service management system, and service management method
US10803109B2 (en) Method and device for reading and writing video data in NAS device
CN105790830A (en) Optical module in-situ detection method and device
Copie et al. Benchmarking cloud databases for the requirements of the internet of things
CN103778120A (en) Global file identification generation method, generation device and corresponding distributed file system
CN106155580B (en) A kind of storage method and system based on embedded multi-media card eMMC
CN107451271A (en) A kind of Hash table processing method, device, equipment and storage medium
CN106571935B (en) Resource scheduling method and equipment
CN110019538A (en) A kind of tables of data switching method and device
CN104216834A (en) Internal storage assess method, buffering scheduler and internal storage module
CN105868121B (en) A kind of information processing method and electronic equipment
CN109656479A (en) A kind of method and device constructing memory command sequence
CN109683917A (en) For the method for being deployed in application server, equipment and medium will to be applied
CN102057362A (en) Conveying information with a PCI express tag field
CN102650932A (en) Method, equipment and system for accessing data
CN105022833A (en) Data processing method, nodes and monitoring system
CN104360819A (en) Data writing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant