CN103631774B - Date storage method and system - Google Patents

Date storage method and system Download PDF

Info

Publication number
CN103631774B
CN103631774B CN201210296814.5A CN201210296814A CN103631774B CN 103631774 B CN103631774 B CN 103631774B CN 201210296814 A CN201210296814 A CN 201210296814A CN 103631774 B CN103631774 B CN 103631774B
Authority
CN
China
Prior art keywords
data
data entry
field
entry
control information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210296814.5A
Other languages
Chinese (zh)
Other versions
CN103631774A (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.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210296814.5A priority Critical patent/CN103631774B/en
Publication of CN103631774A publication Critical patent/CN103631774A/en
Application granted granted Critical
Publication of CN103631774B publication Critical patent/CN103631774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a kind of date storage method and system.Methods described includes:The retention data in the data field of the first Data Entry is extracted, first Data Entry includes control information and data field;The modification data corresponding to the first Data Entry are obtained, the data field of the second Data Entry is formed by being stored in the modification data and retention data;Associate the data field of the control information and second Data Entry.The system includes:Extraction module, the retention data in data field for extracting the first Data Entry, first Data Entry include control information and data field;Data modification module, for obtaining the modification data corresponding to the first Data Entry, the data field of the second Data Entry is formed by being stored in the modification data and retention data;Relating module, for associating the data field of the control information and second Data Entry.The carrying cost of data can be saved using the present invention.

Description

Date storage method and system
Technical field
The present invention relates to memory technology, more particularly to a kind of date storage method and system.
Background technology
With the development of Internet technology, the appearance of various network applications causes the data transfer in internet by original It is changed into downloading based on download and upload is laid equal stress on.Use of the people to internet is no longer only limitted to download various data, It it also would be desirable to upload in internet with the data that other people share, so that other people download.For example, virtual network community, video point Enjoy and the UGC such as blog(User Generated Content, user's original content)In, mass users should by UGC Short message, video and the blog article issued with other users are browsed, therefore, for the service end on backstage, must need Pang Big memory space stores caused mass data.
In the service end on backstage, the storage of mass data is carried out often through packed data storage mode, to save number According to carrying cost.Specifically, packed data storage mode means closely to organize together data, it is less to realize Space stores larger amount of data, is usually that slightly larger memory space is set per data therefore.For example, it is unified for every number According to the memory space of 150 bytes of setting, but the data length that user is uploaded is probably 0 byte, it is also possible to 100 Byte, now, for the data length of 0 byte, much smaller than the storage size of setting, it will cause memory space Waste, and then the carrying cost of data can not be saved.
The content of the invention
Based on this, it is necessary to the problem of for waste of storage space, there is provided a kind of number for the carrying cost that can save data According to storage method.
A kind of data-storage system for the carrying cost that can save data is provided in addition, there is a need to.
A kind of date storage method, comprises the following steps:
The retention data in the data field of the first Data Entry is extracted, first Data Entry includes control information sum According to area;
The modification data corresponding to the first Data Entry are obtained, the is formed by being stored in the modification data and retention data The data field of two Data Entries;
Associate the data field of the control information and second Data Entry.
A kind of data-storage system, including:
Extraction module, the retention data in data field for extracting the first Data Entry, the first Data Entry bag Include control information and data field;
Data modification module, for obtaining the modification data corresponding to the first Data Entry, by being stored in the modification number According to the data field that the second Data Entry is formed with retention data;
Relating module, for associating the data field of the control information and second Data Entry.
Above-mentioned date storage method and system, include control information and data field in the first Data Entry of storage, When needing to modify to the first Data Entry, retention data is extracted from data field, and obtains modification data, now encumbrance According to will be constituted with modification data the first Data Entry is modified after corresponding data, i.e. number in the second Data Entry It is associated according to area, and then by the data field of the control information of the first Data Entry and the second Data Entry, in the work of control information With lower make it that each Data Entry need not be reserved certain memory space during storing data, so as to avoid The waste of memory space is produced, has saved the carrying cost of data, and arbitrarily any data entry can be modified, significantly Ground improves autgmentability and the flexibility of storage.
Brief description of the drawings
Fig. 1 is the flow chart of date storage method in one embodiment;
Fig. 2 is the flow chart of date storage method in another embodiment;
Fig. 3 is the flow chart of date storage method in another embodiment;
Fig. 4 is the application schematic diagram of date storage method in one embodiment;
Fig. 5 is the application schematic diagram of date storage method in another embodiment;
Fig. 6 is the application schematic diagram of date storage method in another embodiment;
Fig. 7 is the structural representation of data-storage system in one embodiment;
Fig. 8 is the structural representation of data modification module in one embodiment;
Fig. 9 is the structural representation of data-storage system in another embodiment;
Figure 10 is the structural representation of data-storage system in another embodiment.
Embodiment
As shown in figure 1, in one embodiment, a kind of date storage method, comprise the following steps:
Step S110, extract the retention data in the data field of the first Data Entry.
In the present embodiment, the first Data Entry includes control information and data field.First Data Entry is to be stored in backstage The data of service end, for example, when a certain user delivers blog article by blog this UGC applications, background server will have received use The blog article that family uploads, and the first Data Entry is stored as, the content of blog article is recorded to the data field of the first Data Entry.Control Information is used for the attribute of data in flag data, for example, whether the data in flag data are changed.Retention data is number According to the data that need not be modified in area.
Further, the first Data Entry is the Tlv, i.e. control information CTlv and data field that control class combination, and it is counted Include several TLV according to area(Type-length-value, type-length-value)Object, TLV objects are with TLV forms(I.e. type-length-value)Obtained field is encapsulated, this is a kind of deflation storage mode, wherein, value is the data of storage, Length is the length corresponding to the data of storage.For example, the blog article that user uploads includes the contents such as title, text, picture, Character in title, text and picture is encapsulated as TLV forms by background server respectively when storing the blog article of this upload Field, obtain TLV objects corresponding to title, TLV objects corresponding to text and TLV objects corresponding to picture.In title, institute is right In the TLV objects answered, title content is written into field corresponding to value, and in the length of this field identification title of length Degree.Closely combined by the data stored in the Data Entry of TLV objects first, avoid the occurrence of memory space Waste.
Step S130, the modification data corresponding to the first Data Entry are obtained, by being stored in modification data and retention data Form the data field of the second Data Entry.
In the present embodiment, resulting modification data of being modified to the data stored in the first Data Entry are obtained, and Modification data and retention data the data field corresponding to new Data Entry, i.e. the second Data Entry have been grouped together into Data field.The form of second Data Entry is consistent with the first Data Entry.
Specifically, receiving the data modification request that user initiates to background server, extracted from data modification request Data are changed, this modification data is that some data that user is stored to the first Data Entry modify to obtain.
In one embodiment, also include after above-mentioned steps S130:
Control information of the type field for the second Data Entry of unmodified mark is generated, and by the control of the second Data Entry Information processed is associated with the data field of the second Data Entry.
In the present embodiment, there is corresponding control information in each Data Entry, control information include type field and The attribute of the Data Entries such as index field, wherein, whether the data field that type field is used in flag data entry is repaiied Change.Second Data Entry is modified to the first Data Entry resulting new Data Entry, therefore, the second Data Entry In any modification did not occur, therefore the type field of control information is unmodified mark in the second Data Entry.
After generating control information, the second Data Entry is formd by control information and data field.Formation with regard to data is closed For system, the first Data Entry is female data, and the second Data Entry is the subdata of the first Data Entry.
Step S150, associate the data field of control information and the second Data Entry.
In the present embodiment, the data field of the control information of the first Data Entry and the second Data Entry is associated, with What index field recorded in the control information of one Data Entry is identified as index, is associated with the second Data Entry, and this is identified as the Two index marks, wherein, the second index mark is for the Data Entry of mark second.
As shown in Fig. 2 in another embodiment, also comprise the following steps before above-mentioned steps S110:
Step S210, obtain the data of write-in.
In the present embodiment, Client-initiated data write request is received, user's upload is got from data write request Data, for example, video, blog article and microblogging etc. that user uploads.
Step S230, generation type field is the control information of unmodified mark, and data to be written is stored in generation Data field corresponding to control information obtains the first Data Entry.
In the present embodiment, when the data for obtaining user's upload need to be stored, because this storing process is write-in The process of data newdata entry, therefore, the type field in control information is unmodified mark, and the data of acquisition are write Enter data field corresponding to control information, control information obtained from entering and data field just constitute the first Data Entry.Now, by It is not associated with any Data Entry in the first newly-built Data Entry, therefore, indexed in the control information of the first Data Entry Field is sky.
Further, above-mentioned steps S150 detailed process is:By the first Data Entry by type field in control information The unmodified mark of record is transformed to modified logo, and the index field of control information in the first Data Entry is revised as into second The second index mark corresponding to Data Entry.
In the present embodiment, when the data in the first Data Entry are modified, the control of the first Data Entry need to be converted Type field in information processed, the unmodified mark recorded in type field is changed into modified logo, and by by index field The mark of record is revised as the mapping relations that the second index mark is established between the second Data Entry and the first Data Entry.
As shown in figure 3, in another embodiment, also comprise the following steps after above-mentioned steps S150:
Step S310, obtain read requests corresponding to the first Data Entry.
In the present embodiment, the read requests for the first Data Entry that user initiates to background server are received, for example, user During blog is browsed, the title for clicking on a certain blog article wishes to browse to the text of this blog article, now, will trigger this and wins The read requests of text, the first Data Entry corresponding to the blog article is read with request.
Step S330, the type field of record is read in the control information of the first Data Entry according to read requests, is sentenced Whether disconnected type field is modified logo, if so, then entering step S350, if it is not, then entering step S370.
In the present embodiment, after the read requests of the first Data Entry are got, remember reading in the first Data Entry The type field of record, and judge whether the type field is modified logo, if in determining the control information of the first Data Entry The type field of record is modified logo, then illustrate data field is stored in the first Data Entry data be it is invalid, should The Data Entry mapped index field is read out;If determine the type recorded in the control information of the first Data Entry Field is unmodified mark, then illustrates any modification did not occurred in the first Data Entry, the data stored in data field are that have Data are imitated, directly read the data that data field stores in the first Data Entry.
Step S350, read the second index mark recorded in index field.
In the present embodiment, the second index mark of control information extraction record, second index from the first Data Entry Mark is corresponding with the second Data Entry.
Step S370, the data field of the first Data Entry is read out.
In the present embodiment, if it is unmodified mark to determine type field in the control information of the first Data Entry, read Take the data that data field stores in the first Data Entry.
Step S390, the second Data Entry is read according to the second of reading the index mark.
In the present embodiment, if the type field recorded in determining the control information of the first Data Entry is modified logo, The amended data of the first Data Entry, i.e. the second data strip are then read according to the second index mark recorded in index field Mesh.
Above-mentioned date storage method is elaborated with reference to a specific embodiment.In the embodiment, above-mentioned number It is applied to according to storage method in a certain UGC applications, realizes the low cost storage of data.A certain UGC applications clients take to backstage Data write request is initiated at business end, now, the data of upload will be obtained from data write request, and generates type field as not The control information of modified logo, the first Data Entry Key_ will be obtained in data field corresponding to the data write control information of upload A, wherein, Key_A is the first mark corresponding to the first Data Entry, and the form of the first Data Entry is as shown in figure 4, include Control information 510 and data field 530.
, will be from data modification after the data modification request that UGC applications clients are initiated to background server is received Resulting modification data 571 of being modified to the data stored in the first Data Entry Key_A are obtained in request.
Include retention data 531 and data to be modified 533 in the data field of first Data Entry, wherein selecting modification to read 533 data modified for needs.Generation is with the unmodified control information 550 for being identified as type field, in control information 550 Retention data 531 is stored in corresponding data field 570 to change data 571, and then forms the second Data Entry Key_C, wherein, Key_C is the second index mark corresponding to the second Data Entry, and changes the rope in the first Data Entry in control information 510 Draw field, the first Data Entry Key_A is mapped to the second Data Entry Key_C.Further, UGC application visitors are being received During the first Data Entry Key_A of family end initiation read requests, the type field recorded in control information 510 will be read, and It is modified logo to determine type field, now, the index field that will be recorded in reading control information 510, and and then pass through index Field is mapped to the second Data Entry Key_C associated with the first Data Entry Key_A, and reading is stored in the second Data Entry Data in Key_C data field.
As shown in figure 5, background server receives the number for the first Data Entry Key_C that UGC applications clients are initiated Ask according to modification, obtained from the second Data Entry Key_C data modification request to storing in the second Data Entry Key_C The modification data 610 that modification data 571 are modified, now, modification data 571 are data to be modified.
Second Data Entry Key_C data field includes retention data 531 and data to be modified.Background server generates With the unmodified control information 630 for being identified as type field, retention data is stored in data field corresponding to control information 630 531 form the 3rd Data Entry Key_D with modification data 610, and wherein Key_D is the 3rd mark corresponding to the 3rd Data Entry Know, and the index field in the first Data Entry Key_A is mapped to the 3rd Data Entry Key_D, now, as shown in fig. 6, right For the first Data Entry Key_A by changing twice, the first Data Entry Key_A passes through index field in control information The 3rd Data Entry Key_D has been mapped to, now, between the first Data Entry Key_A and the 3rd Data Entry Key_D has been formed female Subrelation, i.e. the first Data Entry Key_A are female data, and the 3rd Data Entry Key_D is the first Data Entry Key_A subnumber According to.
The storage and modification for realizing data through the above way will cost savings the carrying cost of data, for example, having 10000000000 data entries, average length are 128 bytes, if each number of storage in the form of slightly larger memory space is reserved According to entry, the memory space reserved if each Data Entry is 200 bytes, then is needed for each Data Entry extra The carrying cost of expenditure 56%, carrying cost is saved if using above-mentioned date storage method.
As shown in fig. 7, in one embodiment, a kind of data-storage system, including extraction module 110, data modification mould Block 130 and relating module 150.
Extraction module 110, the retention data in data field for extracting the first Data Entry.
In the present embodiment, the first Data Entry includes control information and data field.First Data Entry is to be stored in backstage The data of service end, for example, when a certain user delivers blog article by blog this UGC applications, background server will have received use The blog article that family uploads, and the first Data Entry is stored as, the content of blog article is recorded to the data field of the first Data Entry.Control Information is used for the attribute of data in flag data, for example, whether the data in flag data are changed.Retention data is number According to the data that need not be modified in area.
Further, the first Data Entry is the Tlv, i.e. control information CTlv and data field that control class combination, and it is counted Include several TLV according to area(Type-length-value, type-length-value)Object, TLV objects are with TLV forms(I.e. type-length-value)Obtained field is encapsulated, this is a kind of deflation storage mode, wherein, value is the data of storage, Length is the length corresponding to the data of storage.For example, the blog article that user uploads includes the contents such as title, text, picture, Character in title, text and picture is encapsulated as TLV forms by background server respectively when storing the blog article of this upload Field, obtain TLV objects corresponding to title, TLV objects corresponding to text and TLV objects corresponding to picture.In title, institute is right In the TLV objects answered, title content is written into field corresponding to value, and in the length of this field identification title of length Degree.Closely combined by the data stored in the Data Entry of TLV objects first, avoid the occurrence of memory space Waste.
Data modification module 130, for obtaining the modification data corresponding to the first Data Entry, data are changed by being stored in The data field of the second Data Entry is formed with retention data.
In the present embodiment, data modification module 130 obtains gained of being modified to the data stored in the first Data Entry The modification data arrived, and data and retention data will be changed and be grouped together into data corresponding to new Data Entry The data field in area, i.e. the second Data Entry.The form of second Data Entry is consistent with the first Data Entry.
Specifically, data modification module 130 receives the data modification request that user initiates to background server, repaiied from data Change in request and extract modification data, this modification data is that some data that user is stored to the first Data Entry are repaiied Change what is obtained.
As shown in figure 8, in one embodiment, above-mentioned data-storage system also includes control information generation module 210.
The control information generation module 210, for generating the control for the second Data Entry that type field is unmodified mark Information processed, and the control information of the second Data Entry is associated with the data field of the second Data Entry.
In the present embodiment, there is corresponding control information in each Data Entry, control information include type field and The attribute of the Data Entries such as index field, wherein, whether the data field that type field is used in flag data entry is repaiied Change.Second Data Entry is modified to the first Data Entry resulting new Data Entry, therefore, the second Data Entry In any modification did not occur, therefore the type field of control information is unmodified mark in the second Data Entry.
After control information generation module 210 generates control information, the second data are formd by control information and data field Entry.For the formation relation of data, the first Data Entry is female data, and the second Data Entry is the son of the first Data Entry Data.
Relating module 150, for associating the data field of control information and the second Data Entry.
In the present embodiment, the control information of the first Data Entry and the second Data Entry are associated by relating module 150, with What index field recorded in the control information of the first Data Entry is identified as index, is associated with the second Data Entry, this is identified as Second index mark, wherein, the second index mark is for the Data Entry of mark second.
As shown in figure 9, in another embodiment, above-mentioned data-storage system also includes writing module 310 and first Mesh generation module 330.
Writing module 310, for obtaining the data of write-in.
In the present embodiment, writing module 310 receives Client-initiated data write request, is obtained from data write request The data uploaded to user, for example, video, blog article and microblogging that user uploads etc..
First entry generation module 330, it is the generation control information of unmodified mark for generating type field, and will writes Data field corresponding to the control information of the data deposit generation entered obtains the first Data Entry.
In the present embodiment, when the data for obtaining user's upload need to be stored, because this storing process is write-in The process of data newdata entry, therefore, the type field in control information is arranged to not by first entry generation module 330 Modified logo, and by data field corresponding to the data write control information of acquisition, control information and data field obtained from entering are just Constitute the first Data Entry.Now, because the first newly-built Data Entry is not associated with any Data Entry, therefore, the Index field is sky in the control information of one Data Entry.
Further, relating module 150 is additionally operable to type field in control information be recorded the first Data Entry not to Modified logo is transformed to modified logo, and control information index field in the first Data Entry is changed to form the second Data Entry The second corresponding index mark.
In the present embodiment, when the data in the first Data Entry are modified, relating module 150 need to convert the first number According to the type field in the control information of entry, the unmodified mark recorded in type field is changed into modified logo, and pass through The mark that index field records is revised as the second index mark and establishes reflecting between the second Data Entry and the first Data Entry Penetrate relation.
As shown in Figure 10, in another embodiment, above-mentioned data-storage system also includes acquisition request module 410 and read Modulus block 430.
Acquisition request module 410, for obtaining read requests corresponding to the first Data Entry.
In the present embodiment, acquisition request module 410 receives the reading for the first Data Entry that user initiates to background server Request is taken, for example, the title that user during blog is browsed, clicks on a certain blog article wishes browsing to this blog article just Text, now, the read requests of the blog article will be triggered, the first Data Entry corresponding to the blog article is read with request.
Read module 430, for reading the type of record in the control information of the first Data Entry according to read requests Field, judge whether type field is modified logo, if so, the second index mark recorded in index field is then read, according to The the second index mark read reads the second Data Entry.
In the present embodiment, after the read requests of the first Data Entry are got, read module 430 will read the first number According to the type field recorded in entry, and judge whether the type field is modified logo, if determining the first Data Entry The type field recorded in control information is modified logo, then illustrates that the data that data field is stored in the first Data Entry are nothings Effect, the Data Entry that should be mapped index field is read out;If in the control information for determining the first Data Entry The type field of record is unmodified mark, then illustrates any modification did not occurred in the first Data Entry, stored in data field Data be valid data, directly read the data that data field in the first Data Entry stores.
Above-mentioned date storage method and system, include control information and data field in the first Data Entry of storage, When needing to modify to the first Data Entry, retention data is extracted from data field, and obtains modification data, now encumbrance According to will be constituted with modification data the first Data Entry is modified after corresponding data, i.e. number in the second Data Entry It is associated according to area, and then by the data field of the control information of the first Data Entry and the second Data Entry, in the work of control information With lower make it that each Data Entry need not be reserved certain memory space during storing data, so as to avoid The waste of memory space is produced, has saved the carrying cost of data, and arbitrarily any data entry can be modified, significantly Ground improves autgmentability and the flexibility of storage.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of date storage method, comprises the following steps:
The retention data in the data field of the first Data Entry is extracted, first Data Entry includes control information and data Area;The data field includes the retention data and data to be modified;The retention data is first Data Entry The data do not changed in data field;
Resulting modification data of being modified to the data to be modified stored in the first Data Entry are obtained, pass through deposit The modification data and the retention data form the data field of the second Data Entry;
The unmodified mark that type field in the control information of first Data Entry records is transformed to modified logo, and will The index field of control information is revised as the second index mark corresponding to the second Data Entry in first Data Entry.
2. date storage method according to claim 1, it is characterised in that the acquisition in the first Data Entry to storing The data to be modified modify resulting modification data, by being stored in the modification data and the retention data shape Into the second Data Entry data field the step of after also include:
Control information of the type field for the second Data Entry of unmodified mark is generated, and by the control of second Data Entry Information processed is associated with the data field of second Data Entry.
3. date storage method according to claim 1, it is characterised in that the data field of the first Data Entry of the extraction In retention data the step of before also include:
Obtain the data of write-in;
The control information that type field is unmodified mark is generated, and the data of said write are stored in the control letter of the generation Data field corresponding to breath obtains the first Data Entry.
4. date storage method according to claim 3, the index by control information in first Data Entry Field is revised as also including after the step of the second index mark corresponding to the second Data Entry:
Obtain read requests corresponding to first Data Entry;
The type field of record is read in the control information of first Data Entry according to the read requests, described in judgement Whether type field is modified logo, if so, then reading the second index mark recorded in the index field;
Second Data Entry is read according to the second of the reading the index mark.
A kind of 5. data-storage system, it is characterised in that including:
Extraction module, the retention data in data field for extracting the first Data Entry, first Data Entry include control Information processed and data field;The data field includes the retention data and data to be modified;The retention data is described The data do not changed in the data field of one Data Entry;
Data modification module, for obtaining obtained by being modified to the data to be modified stored in the first Data Entry Data are changed, the data field of the second Data Entry is formed by being stored in the modification data and the retention data;
Relating module, for the unmodified mark that type field in control information records to be transformed to change by the first Data Entry Mark, and the index field of control information in first Data Entry is revised as corresponding to the second Data Entry to be formed Second index mark.
6. data-storage system according to claim 5, it is characterised in that also include:
Control information generation module, for generating the control information for the second Data Entry that type field is unmodified mark, and The control information of second Data Entry is associated with the data field of second Data Entry.
7. data-storage system according to claim 5, it is characterised in that also include:
Writing module, for obtaining the data of write-in;
First entry generation module, for generating the control information that type field is unmodified mark, and by the number of said write The first Data Entry is obtained according to data field corresponding to the control information of the deposit generation.
8. data-storage system according to claim 7, it is characterised in that also include:
Acquisition request module, for obtaining read requests corresponding to first Data Entry;
Read module, for reading the type of record in the control information of first Data Entry according to the read requests Field, judge whether the type field is modified logo, if so, then reading the second index mark recorded in the index field Know, the second Data Entry is read according to the second of the reading the index mark.
9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that when the computer program is by the computing device so that the computing device right will The step of seeking method any one of 1 to 4.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program quilt The step of method any one of Claims 1-4 is realized during computing device.
CN201210296814.5A 2012-08-20 2012-08-20 Date storage method and system Active CN103631774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210296814.5A CN103631774B (en) 2012-08-20 2012-08-20 Date storage method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210296814.5A CN103631774B (en) 2012-08-20 2012-08-20 Date storage method and system

Publications (2)

Publication Number Publication Date
CN103631774A CN103631774A (en) 2014-03-12
CN103631774B true CN103631774B (en) 2018-03-20

Family

ID=50212850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210296814.5A Active CN103631774B (en) 2012-08-20 2012-08-20 Date storage method and system

Country Status (1)

Country Link
CN (1) CN103631774B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846753B (en) * 2018-06-06 2021-11-09 北京京东尚科信息技术有限公司 Method and apparatus for processing data
CN109614371B (en) * 2018-10-23 2024-01-16 平安科技(深圳)有限公司 Method, device, computer equipment and storage medium for storing information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362708A (en) * 2001-01-02 2002-08-07 吴秀林 Read-write method for flash memory chip
CN1890645A (en) * 2003-12-03 2007-01-03 松下电器产业株式会社 Information recording medium data processing apparatus and data recording method
CN1908932A (en) * 2005-08-05 2007-02-07 北京人大金仓信息技术有限公司 Huge amount of data compacting storage method and implementation apparatus therefor
CN101078999A (en) * 2006-05-26 2007-11-28 任永坚 Method and system for accomplishing data backup and recovery

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362708A (en) * 2001-01-02 2002-08-07 吴秀林 Read-write method for flash memory chip
CN1890645A (en) * 2003-12-03 2007-01-03 松下电器产业株式会社 Information recording medium data processing apparatus and data recording method
CN1908932A (en) * 2005-08-05 2007-02-07 北京人大金仓信息技术有限公司 Huge amount of data compacting storage method and implementation apparatus therefor
CN101078999A (en) * 2006-05-26 2007-11-28 任永坚 Method and system for accomplishing data backup and recovery

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"GML数据存储与索引机制的研究与实现";姜素芳;《中国优秀硕士学位论文全文数据库·信息科技辑》;20071115;I138-986 *

Also Published As

Publication number Publication date
CN103631774A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
US8332763B2 (en) Aggregating dynamic visual content
CN104866497B (en) The metadata updates method, apparatus of distributed file system column storage, host
CN100530186C (en) Method and system for processing buffer
CN105117474B (en) The method and apparatus of recommendation information load are carried out in the reading model of webpage
US7870477B2 (en) Method and system for portable data aggregation
JP5702555B2 (en) Digital asset management, targeted search, and desktop search using digital watermark
CN104104717B (en) Deliver channel data statistical approach and device
CN103546498B (en) It is a kind of that the method and apparatus accessing webpage is provided for mobile terminal
CN113568995A (en) Dynamic tile map making method based on retrieval conditions and tile map system
CN103902664B (en) Page image rendering method and information providing method and device
CN104516920B (en) Data query method and data query system
CN107463591A (en) The method and system with the image dynamic order of content matching is treated in response to search inquiry
CN107092666A (en) System, method and storage medium for network
CN106021293A (en) Knowledge linkage based study note storage method, storage device and system
CN102033917A (en) Webpage browsing method for mobile terminal and mobile terminal applying same
CN104504096B (en) A kind of information transferring method and web page browsing device of inter-network page
CN103838862B (en) Video searching method, device and terminal
CN112925954B (en) Method and device for querying data in graph database
WO2015035944A1 (en) Method and apparatus for processing picture in browser, and browser
CN107679560A (en) Data transmission method, device, mobile terminal and computer-readable recording medium
CA2668306A1 (en) Method and system for applying metadata to data sets of file objects
CN104298695B (en) Data caching method and device and server
CN106528851A (en) Intelligent recommendation method and device
CN109299352A (en) The update method of website data, device and search engine in search engine
TW200910114A (en) Gathering statistics based on container exchange

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180914

Address after: 100089 Beijing Haidian District Zhichun Road 49 No. 3 West 309

Patentee after: Tencent cloud computing (Beijing) limited liability company

Address before: 518044 East 403 room, Sai Ge science and Technology Park, Futian District Zhenxing Road, Shenzhen, Guangdong, China, 2

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.

TR01 Transfer of patent right