CN103914456A - Data storage method and system - Google Patents
Data storage method and system Download PDFInfo
- Publication number
- CN103914456A CN103914456A CN201210592586.6A CN201210592586A CN103914456A CN 103914456 A CN103914456 A CN 103914456A CN 201210592586 A CN201210592586 A CN 201210592586A CN 103914456 A CN103914456 A CN 103914456A
- Authority
- CN
- China
- Prior art keywords
- storage area
- data
- data source
- area
- attribute
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention discloses a data storage method and system and is aimed to solve problems that an existing data storage method is complex, wastes time and is low in efficiency. The data storage method includes: setting a storage area and configuring area attributes of each storage area; determining the storage area for each data source, and binding each data source and the corresponding storage area according to the area attributes; storing the vehicle data of each data source in the bound storage area according to the area attributes.
Description
Technical field
The present invention relates to data processing technique, particularly relate to a kind of date storage method and system.
Background technology
Data processing is collection, storage, retrieval, processing, conversion and the transmission to data.A memory technology that important technology is exactly data in data processing technique.In the time that data are stored, normally store according to the type of data, therefore, the data of same data source may store in multiple different storage spaces.
Before data are stored, determine the data that have which type in a data source, which storage space is all types of data store in, thereby determines some storage spaces corresponding to this data source.Then in the time of data storage, the type of the data that will store in specified data source is searched storage space corresponding to described type in described some storage spaces, and then described data are stored in described storage space.Very loaded down with trivial details of date storage method, and lose time and efficiency lower.
Summary of the invention
The invention provides a kind of date storage method and system, with solve date storage method loaded down with trivial details, lose time and problem that efficiency is lower.
In order to address the above problem, the embodiment of the invention discloses a kind of date storage method, comprising:
Formulate storage area and configure the area attribute of each storage area;
Determine the storage area of each data source, and according to area attribute, described each data source is bound with corresponding storage area;
According to described area attribute, the vehicle data of each data source is stored in the storage area with its binding.
Optionally, described formulation storage area also configures the area attribute of each storage area, comprising: the quantity in specified data source, and determine the number of storage area according to the quantity of described data source; For each storage area, it is the area attribute configuration respective attributes value of described storage area.
Optionally, for the area attribute of described storage area configures corresponding property value, comprising: give area identification to each storage area, described area identification is for storage area of unique identification; Described area identification is configured to the property value of the area attribute of described storage area.
Optionally, the described storage area of determining each data source, and bind with corresponding storage area according to each data source described in area attribute, comprise: according to Data Identification, each data source is arranged, and determine the storage area of each data source according to putting in order, wherein, described Data Identification is for data source of unique identification; Obtain the property value of the area attribute of described storage area; Set up the mapping relations of the property value of described Data Identification and described area attribute, described data source and described storage area are bound.
Optionally, the described area attribute of described foundation, stores the vehicle data of each data source in the storage area with its binding into, comprising: obtain the vehicle data of each data source, and the Data Identification of described data source; According to described Data Identification, search the property value of the area attribute that possesses mapping relations with it; Search the storage area corresponding to property value of described area attribute, obtain the storage area with described data source binding; Described vehicle data is stored in described storage area.
Optionally, in the time of newly-increased data source, detect each storage area and whether be filled with; If described storage area is filled with, increase storage area, and by the storage area binding of newly-increased data source and increase; If described storage area is not filled with, by newly-increased data source and the storage area binding not being filled with.
Optionally, using a car as a data source and configure the Data Identification of described data source; The data that this car is produced are as the vehicle data of described data source, and described vehicle data comprises following at least one: vehicle condition data and travel data.
Accordingly, the embodiment of the invention also discloses a kind of data-storage system, comprising:
Module is formulated in region, for formulating storage area and configuring the area attribute of each storage area;
Binding module, for determining the storage area of each data source, and binds described each data source according to area attribute with corresponding storage area;
Memory module, for according to described area attribute, stores the vehicle data of each data source in the storage area with its binding into.
Optionally, module is formulated in described region, comprising: number is determined submodule, and for the quantity in specified data source, and the quantity of the described data source of foundation is determined the number of storage area; Attribute configuration submodule, for for each storage area, is the area attribute configuration respective attributes value of described storage area.
Optionally, described attribute configuration submodule, specifically for giving area identification to each storage area, described area identification is for storage area of unique identification; Described area identification is configured to the property value of the area attribute of described storage area.
Compared with prior art, the present invention includes following advantage:
First, the embodiment of the present invention can be formulated storage area and configure the area attribute of each storage area, thereby by area attribute, data field and storage area are bound, and then in storage when data, can data source vehicle data be stored in the storage area with its binding by area attribute by area attribute.The embodiment of the present invention has realized the orientation storage to vehicle data in data source according to area attribute, and storage means is convenient, quick, has improved the storage efficiency of data.
Secondly, the embodiment of the present invention, to newly-increased data source, can be distributed according to the memory state of storage area.In the time that storage area is filled with, increases storage area and store the vehicle data of this newly-increased data source.The data source of each storage area storage fixed qty in the embodiment of the present invention, be that the vehicle of storing in each storage area is fixed, also this storage area is only stored the vehicle data of these vehicles, also can not increase other vehicle again, thereby realizes the quantitative storage to vehicle data.
Again, according to the memory state of storage area, in the time that storage area is not filled with, by newly-increased data source and the storage area binding not being filled with, thereby adopt this storage area not being filled with to store the vehicle data of this newly-increased data source.In the embodiment of the present invention, along with the access of vehicle increases,, along with the increasing of data source, in the time that storage area is not enough, can add at any time new storage area, newly-increased vehicle is belonged on new storage area.Therefore in the embodiment of the present invention, can be along with the increase of vehicle, storage area can dynamic expansion, increase, has realized the dynamic expansion of storage area, and the convenient vehicle data that newly-increased data source is produced carries out quick storage, has improved the storage efficiency of data.
Again, in the embodiment of the present invention, using a car as a data source, the data that this car is produced are as the vehicle data of described data source, thereby vehicle data comprises following at least one: vehicle condition data and travel data.Therefore the embodiment of the present invention can be determined the storage area of each car, conveniently the vehicle data of each car is carried out to store and management.
Brief description of the drawings
Fig. 1 is date storage method process flow diagram described in the embodiment of the present invention one;
Fig. 2 is data source binding method process flow diagram in date storage method described in the embodiment of the present invention one;
Fig. 3 is the Stored Procedure figure of vehicle data in date storage method described in the embodiment of the present invention one;
Fig. 4 is data storage system architecture figure described in the embodiment of the present invention two.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The embodiment of the present invention provides a kind of date storage method, can formulate storage area and configure the area attribute of each storage area, thereby by area attribute, data field and storage area are bound, and then in storage when data, can data source vehicle data be stored in the storage area with its binding by area attribute by area attribute.The embodiment of the present invention has realized the orientation storage to vehicle data in data source according to area attribute, and storage means is convenient, quick, has improved the storage efficiency of data.
Embodiment mono-
With reference to Fig. 1, provide date storage method process flow diagram described in the embodiment of the present invention one.
Step 101, formulates storage area and configures the area attribute of each storage area;
In the embodiment of the present invention, can pre-establish storage area, described storage area is used for storing data.This storage area is a notional storage, can be understood as the storage space of a physics, as a database or a tables of data etc., also can be understood as the set of the storage space that is one group of physics, an i.e. storage group, as formed a storage area by some databases or tables of data.
Each storage area can be stored the data in different pieces of information source, also need each storage area to distinguish, therefore can configure corresponding area attribute for each storage area, described area attribute is for being described storage area, to distinguish each storage area.Can distinguish each storage area by the property value of area attribute.
Optionally, using a car as a data source and configure the Data Identification of described data source; The data that this car is produced are as the vehicle data of described data source, and described vehicle data comprises following at least one: vehicle condition data and travel data.
The embodiment of the present invention can be applied to field of traffic, and the vehicle data of vehicle is stored, therefore can be using car as a data source.The present embodiment is each data configuration Data Identification, and wherein Data Identification is for a unique definite data source.Therefore, can distinguish different data sources by Data Identification and distinguish each vehicle.
Concrete, described Data Identification can be set according to actual demand, as being the license plate number of each vehicle; And for example, if vehicle is from multiple car groups, wherein, car group can be understood as the set of vehicle, as fleet or enterprise etc., also can configure the car group number of each car group, and the vehicle in car group is numbered to (or directly using license plate number), thereby make each vehicle there is unique numbering in car group, now just the Data Identification of this car can be configured to car group number+numbering.
In using, vehicle can produce corresponding data, as the System by way of the GPS(Global on ground Positioning is obtained in the middle meeting of travelling, GPS) information, down time, the stop frequency etc. of vehicle in one stroke, all can form corresponding data.The data that therefore, vehicle can be produced in the present embodiment are as the vehicle data of data source.
Concrete, vehicle data comprises: vehicle condition data and travel data.Wherein, vehicle condition data are to describe the data of vehicle condition, as the date of production of vehicle, purchase date, mantenance data, distance travelled, the student contributions pooled to pay for class activities time limit etc.Travel data is the data of the description stroke that produces in each stroke of vehicle, as the gps data by way of ground in each stroke, distance, the time etc. of exercising in each stroke.In the present embodiment, because different vehicles can be exercised no stroke, therefore different by way of ground, time etc., therefore data source can be carried out different operations, and each data source can produce different vehicle data and need to store in corresponding storage area.
Optionally, described formulation storage area also configures the area attribute of each storage area, comprising: the quantity in specified data source, and determine the number of storage area according to the quantity of described data source; For each storage area, it is the area attribute configuration respective attributes value of described storage area.
Storage area can be according to the size of data volume of storage, data source number etc. be configured.The present embodiment can be using vehicle as data source, because each vehicle in use can constantly produce vehicle data, and in order to determine as soon as possible the memory address of each vehicle data, therefore can be according to the quantity configuration store region of data source.Be the data source that each storage area is configured to store fixed qty, as store 1000 data sources.
Concrete, the first quantity in specified data source, as determined the quantity of car group, and the quantity of the vehicle having in each car group, thereby counts the total amount of vehicle, i.e. the quantity in specified data source.Then determine the number of storage area according to the quantity of data source, if the quantity of data source is 10000, each storage area can be stored 1000 data sources, needs to configure 10 storage areas.
After storage area has configured, for distinguishing each storage area, can configure corresponding property value for the area attribute of each storage area.Described property value can be the information that can distinguish storage area, as the title of storage area, and the address of the storage space that storage area comprises, or the numbering of storage area etc.
Optionally, the described area attribute for described storage area configures corresponding property value, comprising: give area identification to each storage area, described area identification is for storage area of unique identification; Described area identification is configured to the property value of the area attribute of described storage area.
The embodiment of the present invention can configure corresponding area identification for each storage area, and described area identification is for storage area of unique identification.Wherein, area identification can be the coding of each storage area, can be also the unique identification calculating according to the storage space of storage area etc., as adopted hash algorithm to calculate.The embodiment of the present invention does not limit this.
Then this area identification can be configured to the property value of the area attribute of this storage area, thereby can uniquely determine a storage area by property value.
Step 102, determines the storage area of each data source, and according to area attribute, described each data source is bound with corresponding storage area;
Then can determine the storage area of each data source, wherein, can according to according to certain rule be data source configuration store region, also arbitrarily memory allocated region to data source.Then according to the area attribute of this storage area, each data source and storage area are bound, thereby make data source carry out associated with storage area.
With reference to Fig. 2, provide described in the embodiment of the present invention one data source binding method process flow diagram in date storage method.
Optionally, the described storage area of determining each data source, and bind with corresponding storage area according to each data source described in area attribute, comprising:
Step 1021, arranges each data source according to Data Identification, and determines the storage area of each data source according to putting in order, and wherein, described Data Identification is for data source of unique identification;
In the present embodiment, the data source that can store fixed qty due to storage area, for memory allocated space fast, can sort to data source, and according to putting in order memory allocated region.
Concrete, can obtain the Data Identification of each data source, then data source is arranged according to Data Identification.If Data Identification is the license plate number of vehicle, can arrange with the ascending order of numeral from front to back according to letter respectively, as data are designated AP3005, AR1003, AP2789 and BA3581, first pressing letter from front to back, is being AP2789, AP3005, AR1003 and BA3581 by the rank results of the ascending order of numeral.
And for example the Data Identification of data source is car group number+numbering, when now data source sequence according to this Data Identification, each vehicle of same car group is continuously arranged, and therefore the storage area of the vehicle in each car group just can too not disperse, and is easy to the follow-up vehicle data of searching vehicle in each car group.
Then just can determine according to putting in order the storage area of each data source.As 10000 data sources are arranged, the data source that comes first 1000 can be stored in first storage area, the data source that comes 1001 ~ 2000 stores in second storage area, the like, the data source that comes 9001 ~ 10000 stores in the tenth storage area.Wherein, put in order (first storage area, second storage area) of above-mentioned each storage area can be determined according to the property value of area attribute.
Step 1022, obtains the property value of the area attribute of described storage area;
Behind each data source memory allocated region, can obtain the property value of the area attribute of each storage area, and obtain the Data Identification of each data source.
Step 1023, sets up the mapping relations of the property value of described Data Identification and described area attribute, and described data source and described storage area are bound.
Then can set up the mapping relations of the property value of described Data Identification and described area attribute, by these mapping relations, described data source and described storage area are bound, thereby find storage area by the property value that Data Identification can find area attribute.
Concrete, owing to can comprising some databases or tables of data etc. in storage area, therefore, can the detailed memory location of specified data source in storage area, as tables of data 1, or the tables of data 2 of database 1 etc., then, in the time setting up the mapping relations of Data Identification and property value, mark the memory location of this data source.And then can also the memory address of specified data source in storage area by these mapping relations.
Step 103, according to described area attribute, stores the vehicle data of each data source in the storage area with its binding into.
While having vehicle data to store in data source, can find area attribute corresponding to this data source, then determine and the storage area of this data source binding according to this area attribute, and the vehicle data of each data source is stored in the storage area with its binding.Be after data source and storage area are bound, just can each vehicle (data source) be fixed on a storage area and carry out data storage, the vehicle data which vehicle each storage area has stored is transparent, therefore the follow-up orientation storage that can realize data.
With reference to Fig. 3, provide described in the embodiment of the present invention one the Stored Procedure figure of vehicle data in date storage method.
Optionally, the described area attribute of described foundation, stores the vehicle data of each data source in the storage area with its binding into, comprising:
Step 1031, obtains the vehicle data of each data source and the Data Identification of described data source;
Produce after vehicle data in each data source, obtain this vehicle data, and obtain the Data Identification of described data source,
Step 1032, according to described Data Identification, searches the property value of the area attribute that possesses mapping relations with it;
According to the Data Identification of described data source, search the property value that possesses the area attribute of mapping relations with this Data Identification, and obtain this property value.
Step 1033, searches the storage area corresponding to property value of described area attribute, obtains the storage area with described data source binding;
By this property value, can find the storage area with this property value, thereby can determine the storage area of binding with this data source.
Step 1034, stores described vehicle data in described storage area into.
Determine after the storage area of binding with data source, this vehicle data can be stored in the storage area of binding with this data source.
Further, owing to can also marking the detailed memory address of data source in storage area in described mapping relations, therefore, possess after the property value of mapping relations finding with this Data Identification, can also obtain and further obtain the wherein memory address of mark, thereby determine the memory address of this data source at this storage area.Thereby can be by the vehicle data of this data source, store into fast in memory location corresponding in the storage area of binding, further improve the storage efficiency of data.
In the embodiment of the present invention, due to the data source of each storage area storage fixed qty, therefore, after data source and storage area binding, the vehicle data in this data source just all can be deposited in this storage area.Therefore, in the present embodiment, the storage space of storage area is extendible, and accessing zone can be according to increase in demand storage space as database or tables of data etc.The storage space of this storage area may be 10T when initial, being on the increase of the vehicle data producing along with data source, and the storage space of this storage area may increase to 12T.
The data source of each storage area storage fixed qty, the vehicle of storing in each storage area is fixed, and also this storage area is only stored the vehicle data of these vehicles, also can not increase other vehicle again, thereby realizes the quantitative storage to vehicle data.
Optionally, in the present embodiment, also comprise:
In the time of newly-increased data source, detect each storage area and whether be filled with; If described storage area is filled with, increase storage area, and by the storage area binding of newly-increased data source and increase; If described storage area is not filled with, by newly-increased data source and the storage area binding not being filled with.
In the embodiment of the present invention, due to the data source of each storage area storage fixed qty, therefore, in the time of newly-increased data source, first to determine whether each storage area is filled with.The storage area not being filled with if having, can bind newly-increased data source and the storage area not being filled with.If each storage area is all filled with, can increase storage area, then the storage area of newly-increased data source and increase is bound.Thereby the storage area that can determine newly-increased data source binding, the convenient vehicle data that newly-increased data source is produced carries out quick storage.
Along with the access of vehicle increases,, along with the increasing of data source, in the time that storage area is not enough, can add at any time new storage area, newly-increased vehicle is belonged on new storage area.Therefore in the embodiment of the present invention, can be along with the increase of vehicle, storage area can dynamic expansion, increase, has realized the dynamic expansion of storage area.
In sum, the embodiment of the present invention can be formulated storage area and configure the area attribute of each storage area, thereby by area attribute, data field and storage area are bound, and then in storage when data, can data source vehicle data be stored in the storage area with its binding by area attribute by area attribute.The embodiment of the present invention has realized the orientation storage to vehicle data in data source according to area attribute, and storage means is convenient, quick, has improved the storage efficiency of data.
Secondly, the embodiment of the present invention, to newly-increased data source, can be distributed according to the memory state of storage area.In the time that storage area is filled with, increases storage area and store the vehicle data of this newly-increased data source.The data source of each storage area storage fixed qty in the embodiment of the present invention, be that the vehicle of storing in each storage area is fixed, also this storage area is only stored the vehicle data of these vehicles, also can not increase other vehicle again, thereby realizes the quantitative storage to vehicle data.
Again, according to the memory state of storage area, in the time that storage area is not filled with, by newly-increased data source and the storage area binding not being filled with, thereby adopt this storage area not being filled with to store the vehicle data of this newly-increased data source.In the embodiment of the present invention, along with the access of vehicle increases,, along with the increasing of data source, in the time that storage area is not enough, can add at any time new storage area, newly-increased vehicle is belonged on new storage area.Therefore in the embodiment of the present invention, can be along with the increase of vehicle, storage area can dynamic expansion, increase, has realized the dynamic expansion of storage area, and the convenient vehicle data that newly-increased data source is produced carries out quick storage, has improved the storage efficiency of data.
Again, in the embodiment of the present invention, using a car as a data source, the data that this car is produced are as the vehicle data of described data source, thereby vehicle data comprises following at least one: vehicle condition data and travel data.Therefore the embodiment of the present invention can be determined the storage area of each car, conveniently the vehicle data of each car is carried out to store and management.
Embodiment bis-
With reference to Fig. 4, provide data storage system architecture figure described in the embodiment of the present invention two.
Accordingly, the embodiment of the present invention also provides a kind of data-storage system, comprising: module 11, binding module 12 and memory module 13 are formulated in region.
Module 11 is formulated in region, for formulating storage area and configuring the area attribute of each storage area;
Binding module 12, for determining the storage area of each data source, and binds described each data source according to area attribute with corresponding storage area;
Memory module 13, for according to described area attribute, stores the vehicle data of each data source in the storage area with its binding into.
Optionally, module 11 is formulated in described region, comprising:
Number is determined submodule 111, and for the quantity in specified data source, and the quantity of the described data source of foundation is determined the number of storage area;
Attribute configuration submodule 112, for for each storage area, is the area attribute configuration respective attributes value of described storage area.
Optionally, described attribute configuration submodule 112, specifically for giving area identification to each storage area, described area identification is for storage area of unique identification; Described area identification is configured to the property value of the area attribute of described storage area.
Optionally, described binding module 12, comprising:
Arrange submodule 121, for according to Data Identification, each data source being arranged, and determine the storage area of each data source according to putting in order, wherein, described Data Identification is for data source of unique identification;
Obtain submodule 122, for obtaining the property value of area attribute of described storage area;
Binding submodule 123, for setting up the mapping relations of property value of described Data Identification and described area attribute, binds described data source and described storage area.
Optionally, described memory module 13, comprising:
Obtain submodule 131, for obtaining the vehicle data of each data source, and the Data Identification of described data source;
First searches submodule 132, for according to described Data Identification, searches the property value of the area attribute that possesses mapping relations with it;
Second searches submodule 133, for searching the storage area corresponding to property value of described area attribute, obtains the storage area with described data source binding;
Sub module stored 134, for storing described vehicle data into described storage area.
Optionally, described system also comprises:
Whether update module, in the time increasing data source newly, detect each storage area and be filled with; If described storage area is filled with, increase storage area, and by the storage area binding of newly-increased data source and increase; If described storage area is not filled with, by newly-increased data source and the storage area binding not being filled with.
Optionally, described system also comprises:
Preset module, for using a car as a data source and configure the Data Identification of described data source; The data that this car is produced are as the vehicle data of described data source, and described vehicle data comprises following at least one: vehicle condition data and travel data.
In sum, the embodiment of the present invention can be formulated storage area and configure the area attribute of each storage area, thereby by area attribute, data field and storage area are bound, and then in storage when data, can data source vehicle data be stored in the storage area with its binding by area attribute by area attribute.The embodiment of the present invention has realized the orientation storage to vehicle data in data source according to area attribute, and storage means is convenient, quick, has improved the storage efficiency of data.
Secondly, the embodiment of the present invention, to newly-increased data source, can be distributed according to the memory state of storage area.In the time that storage area is filled with, increases storage area and store the vehicle data of this newly-increased data source.The data source of each storage area storage fixed qty in the embodiment of the present invention, be that the vehicle of storing in each storage area is fixed, also this storage area is only stored the vehicle data of these vehicles, also can not increase other vehicle again, thereby realizes the quantitative storage to vehicle data.
Again, according to the memory state of storage area, in the time that storage area is not filled with, by newly-increased data source and the storage area binding not being filled with, thereby adopt this storage area not being filled with to store the vehicle data of this newly-increased data source.In the embodiment of the present invention, along with the access of vehicle increases,, along with the increasing of data source, in the time that storage area is not enough, can add at any time new storage area, newly-increased vehicle is belonged on new storage area.Therefore in the embodiment of the present invention, can be along with the increase of vehicle, storage area can dynamic expansion, increase, has realized the dynamic expansion of storage area, and the convenient vehicle data that newly-increased data source is produced carries out quick storage, has improved the storage efficiency of data.
Again, in the embodiment of the present invention, using a car as a data source, the data that this car is produced are as the vehicle data of described data source, thereby vehicle data comprises following at least one: vehicle condition data and travel data.Therefore the embodiment of the present invention can be determined the storage area of each car, conveniently the vehicle data of each car is carried out to store and management.
For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.
The present invention can describe in the general context of computer executable instructions, for example program module.Usually, program module comprises and carries out particular task or realize routine, program, object, assembly, data structure of particular abstract data type etc.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, be executed the task by the teleprocessing equipment being connected by communication network.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium including memory device.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, commodity or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, commodity or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment that comprises described key element and also have other identical element.
Above to a kind of date storage method provided by the present invention and system, be described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.
Claims (10)
1. a date storage method, is characterized in that, comprising:
Formulate storage area and configure the area attribute of each storage area;
Determine the storage area of each data source, and according to area attribute, described each data source is bound with corresponding storage area;
According to described area attribute, the vehicle data of each data source is stored in the storage area with its binding.
2. method according to claim 1, is characterized in that, described formulation storage area also configures the area attribute of each storage area, comprising:
The quantity in specified data source, and the quantity of the described data source of foundation is determined the number of storage area;
For each storage area, it is the area attribute configuration respective attributes value of described storage area.
3. method according to claim 2, is characterized in that, for the area attribute of described storage area configures corresponding property value, comprising:
Give area identification to each storage area, described area identification is for storage area of unique identification;
Described area identification is configured to the property value of the area attribute of described storage area.
4. according to the arbitrary described method of claim 2 or 3, it is characterized in that, the described storage area of determining each data source, and bind with corresponding storage area according to each data source described in area attribute, comprising:
According to Data Identification, each data source is arranged, and determine the storage area of each data source according to putting in order, wherein, described Data Identification is for data source of unique identification;
Obtain the property value of the area attribute of described storage area;
Set up the mapping relations of the property value of described Data Identification and described area attribute, described data source and described storage area are bound.
5. method according to claim 4, is characterized in that, the described area attribute of described foundation stores the vehicle data of each data source in the storage area with its binding into, comprising:
Obtain the vehicle data of each data source, and the Data Identification of described data source;
According to described Data Identification, search the property value of the area attribute that possesses mapping relations with it;
Search the storage area corresponding to property value of described area attribute, obtain the storage area with described data source binding;
Described vehicle data is stored in described storage area.
6. method according to claim 4, is characterized in that, also comprises:
In the time of newly-increased data source, detect each storage area and whether be filled with;
If described storage area is filled with, increase storage area, and by the storage area binding of newly-increased data source and increase;
If described storage area is not filled with, by newly-increased data source and the storage area binding not being filled with.
7. according to claim 1,2,3,5 or 6 arbitrary described methods, it is characterized in that, also comprise:
Using a car as a data source and configure the Data Identification of described data source;
The data that this car is produced are as the vehicle data of described data source, and described vehicle data comprises following at least one: vehicle condition data and travel data.
8. a data-storage system, is characterized in that, comprising:
Module is formulated in region, for formulating storage area and configuring the area attribute of each storage area;
Binding module, for determining the storage area of each data source, and binds described each data source according to area attribute with corresponding storage area;
Memory module, for according to described area attribute, stores the vehicle data of each data source in the storage area with its binding into.
9. system according to claim 8, is characterized in that, module is formulated in described region, comprising:
Number is determined submodule, and for the quantity in specified data source, and the quantity of the described data source of foundation is determined the number of storage area;
Attribute configuration submodule, for for each storage area, is the area attribute configuration respective attributes value of described storage area.
10. system according to claim 9, is characterized in that:
Described attribute configuration submodule, specifically for giving area identification to each storage area, described area identification is for storage area of unique identification; Described area identification is configured to the property value of the area attribute of described storage area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210592586.6A CN103914456A (en) | 2012-12-31 | 2012-12-31 | Data storage method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210592586.6A CN103914456A (en) | 2012-12-31 | 2012-12-31 | Data storage method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103914456A true CN103914456A (en) | 2014-07-09 |
Family
ID=51040150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210592586.6A Pending CN103914456A (en) | 2012-12-31 | 2012-12-31 | Data storage method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103914456A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408044A (en) * | 2014-10-23 | 2015-03-11 | 北京用友政务软件有限公司 | File access method and system |
CN105183376A (en) * | 2015-08-31 | 2015-12-23 | 河南思维自动化设备股份有限公司 | Block storage method for vehicle-mounted data |
CN106485159A (en) * | 2015-08-28 | 2017-03-08 | 腾讯科技(深圳)有限公司 | network security storage method and device |
CN106527963A (en) * | 2015-09-11 | 2017-03-22 | 株式会社东芝 | Memory system and host apparatus |
CN107945090A (en) * | 2017-11-30 | 2018-04-20 | 深圳市轱辘车联数据技术有限公司 | Vehicular exhaust data analysing method, device and server based on block chain |
CN108089852A (en) * | 2017-12-15 | 2018-05-29 | 网易(杭州)网络有限公司 | Establish method, medium, device and the computing device of attribute access |
CN108834086A (en) * | 2018-06-25 | 2018-11-16 | 平安科技(深圳)有限公司 | Method, apparatus, computer equipment and the storage medium that short message is sent |
CN108961047A (en) * | 2017-05-25 | 2018-12-07 | 通用汽车环球科技运作有限责任公司 | The method and system of data trade is carried out between vehicle and entity using block chain database |
CN110415512A (en) * | 2018-04-28 | 2019-11-05 | 杭州海康威视数字技术股份有限公司 | Vehicle information management method, apparatus and storage medium |
CN110415511A (en) * | 2018-04-28 | 2019-11-05 | 杭州海康威视数字技术股份有限公司 | Vehicle information management method, apparatus and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050138057A1 (en) * | 2003-12-17 | 2005-06-23 | Bender Lothar H. | Data mapping visualization |
CN1700207A (en) * | 2004-05-17 | 2005-11-23 | 大唐软件技术有限责任公司 | Method for realizing expandable data storage |
CN101587474A (en) * | 2008-05-20 | 2009-11-25 | 比亚迪股份有限公司 | Method and system for storing picture data |
CN102385526A (en) * | 2011-11-16 | 2012-03-21 | 深圳市大赢家网络有限公司 | Method and device for sharing stock data among multiple processes |
-
2012
- 2012-12-31 CN CN201210592586.6A patent/CN103914456A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050138057A1 (en) * | 2003-12-17 | 2005-06-23 | Bender Lothar H. | Data mapping visualization |
CN1700207A (en) * | 2004-05-17 | 2005-11-23 | 大唐软件技术有限责任公司 | Method for realizing expandable data storage |
CN101587474A (en) * | 2008-05-20 | 2009-11-25 | 比亚迪股份有限公司 | Method and system for storing picture data |
CN102385526A (en) * | 2011-11-16 | 2012-03-21 | 深圳市大赢家网络有限公司 | Method and device for sharing stock data among multiple processes |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408044A (en) * | 2014-10-23 | 2015-03-11 | 北京用友政务软件有限公司 | File access method and system |
CN106485159A (en) * | 2015-08-28 | 2017-03-08 | 腾讯科技(深圳)有限公司 | network security storage method and device |
US10915646B2 (en) | 2015-08-28 | 2021-02-09 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for network secure storage |
CN105183376A (en) * | 2015-08-31 | 2015-12-23 | 河南思维自动化设备股份有限公司 | Block storage method for vehicle-mounted data |
CN106527963B (en) * | 2015-09-11 | 2019-09-27 | 东芝存储器株式会社 | Storage system and host apparatus |
CN106527963A (en) * | 2015-09-11 | 2017-03-22 | 株式会社东芝 | Memory system and host apparatus |
CN108961047A (en) * | 2017-05-25 | 2018-12-07 | 通用汽车环球科技运作有限责任公司 | The method and system of data trade is carried out between vehicle and entity using block chain database |
CN108961047B (en) * | 2017-05-25 | 2022-08-02 | 通用汽车环球科技运作有限责任公司 | Method and system for data transaction between vehicle and entity using blockchain database |
CN107945090A (en) * | 2017-11-30 | 2018-04-20 | 深圳市轱辘车联数据技术有限公司 | Vehicular exhaust data analysing method, device and server based on block chain |
CN108089852A (en) * | 2017-12-15 | 2018-05-29 | 网易(杭州)网络有限公司 | Establish method, medium, device and the computing device of attribute access |
CN108089852B (en) * | 2017-12-15 | 2020-08-04 | 网易(杭州)网络有限公司 | Method, medium, apparatus and computing device for establishing attribute access |
CN110415512A (en) * | 2018-04-28 | 2019-11-05 | 杭州海康威视数字技术股份有限公司 | Vehicle information management method, apparatus and storage medium |
CN110415511A (en) * | 2018-04-28 | 2019-11-05 | 杭州海康威视数字技术股份有限公司 | Vehicle information management method, apparatus and storage medium |
CN110415511B (en) * | 2018-04-28 | 2021-08-13 | 杭州海康威视数字技术股份有限公司 | Vehicle information management method, device and storage medium |
CN108834086A (en) * | 2018-06-25 | 2018-11-16 | 平安科技(深圳)有限公司 | Method, apparatus, computer equipment and the storage medium that short message is sent |
CN108834086B (en) * | 2018-06-25 | 2021-05-11 | 平安科技(深圳)有限公司 | Method and device for sending short message, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103914456A (en) | Data storage method and system | |
CN102419752B (en) | Industrial database message storage method | |
CN101677472B (en) | Mobile communication navigation method, system and terminal | |
CN106933833B (en) | Method for quickly querying position information based on spatial index technology | |
CN101404032B (en) | Video retrieval method and system based on contents | |
CN106528589A (en) | Data management method and device | |
CN105183735A (en) | Data query method and query device | |
CN106326475A (en) | High-efficiency static hash table implement method and system | |
CN101350012A (en) | Method and system for matching address | |
CN104252489A (en) | Method for fast obtaining position character description information according to latitude and longitude data | |
CN101488158A (en) | Road network modeling method based on road element | |
CN102737123B (en) | A kind of multidimensional data distribution method | |
CN104281701A (en) | Method and system for querying distributed multi-scale spatial data | |
CN103902702A (en) | Data storage system and data storage method | |
CN107766433A (en) | A kind of range query method and device based on Geo BTree | |
CN102915382A (en) | Method and device for carrying out data query on database based on indexes | |
CN104573022A (en) | Data query method and device for HBase | |
CN104794221A (en) | Multi-dimensional data analyzing system based on service objects | |
CN102890719B (en) | A kind of method that license plate number is searched for generally and device | |
CN102867065B (en) | Based on Data Transform Device and the method for relevant database | |
CN102024057A (en) | Method and device for building index of mass data record | |
CN110134683A (en) | The partition zone optimizing research method and system that magnanimity element stores in relational database | |
CN114048204A (en) | Beidou grid space indexing method and device based on database inverted index | |
Min et al. | A system framework for map air update navigation service | |
CN103235798A (en) | Method and system for storing business domain space resources of multi-source geographic grids |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140709 |