CN103514296A - Data storage method and device and data query method and device - Google Patents
Data storage method and device and data query method and device Download PDFInfo
- Publication number
- CN103514296A CN103514296A CN201310483812.1A CN201310483812A CN103514296A CN 103514296 A CN103514296 A CN 103514296A CN 201310483812 A CN201310483812 A CN 201310483812A CN 103514296 A CN103514296 A CN 103514296A
- Authority
- CN
- China
- Prior art keywords
- data
- checked
- read
- index
- query
- 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
Images
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/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (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 discloses a data storage method and device. The data storage method relates to index data and data to be queried, the data to be queried correspond to the index data which are image data, and the index data, the data to be queried and the corresponding relation between the index data and the data to be queried are stored. The invention further discloses a data query method and device. The data query method includes the steps that query data are acquired; the content displayed by the query data and the content displayed by the index data are compared, if the content displayed by the query data is matched with the content displayed by the index data after being compared, the data to be queried which correspond to the index data are read, and the index data and the query data are image data. By the adoption of the technical scheme, the image data are used as the basis of the index, and therefore users can conveniently and quickly query the data and accurately query the correlated data according to the image data.
Description
Technical field
The present invention relates to a kind of date storage method.The invention still further relates to a kind of data storage device.The present invention relates to again a kind of data enquire method.The invention still further relates to a kind of data query device.
Background technology
In traditional data storage and inquiring technology, data are stored and set up index, when inquiry, by key word or specific address, read corresponding data.And the key word adopting is to use text formatting mostly.The for example search of Google, is exactly input text information, and search engine is usingd the data that text information comprises these key words as keyword search afterwards.But, because word language itself is exactly that the abstract of concrete things is summarized, therefore, use spoken and written languages to carry out data query, accuracy rate is often unsatisfactory.For example, user inquires about " automobile ", can search very many data, in order to obtain data message more accurately, user will have to reducing the scope step by step, attempts that more and more longer keyword carries out query and search and the result that obtains for example continues with " Benz ", " black Benz ", keywords such as " the black Benzs of producing for 2013 " is inquired about.Although the data that this traditional data enquire method can help user to obtain wishing acquisition to a certain extent, whole query script bothers concerning user very much, and accuracy is not high.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of date storage method, a kind of data storage device, and an a kind of data query device, can help easily the corresponding data of user's storing queries, and improve the accuracy of data query.
For solving the problems of the technologies described above, the technical scheme of date storage method of the present invention is, comprise index data and the to be checked data corresponding with it, described index data is view data, by described index data, data to be checked and between corresponding relation store.
The invention also discloses a kind of data storage device, its technical scheme is, comprises memory module, according to above-mentioned date storage method, preserve described index data, data to be checked and between corresponding relation.
The present invention discloses again a kind of data enquire method, and its technical scheme is, preserve index data, data to be checked and between corresponding relation; Obtain data query, described index data and data query are all view data, and described data query and the shown content of index data are compared, if the two content matches after comparison, read the corresponding data to be checked of this index data.
The present invention discloses a kind of data query device that above-mentioned data enquire method adopts of realizing again, and its technical scheme is to comprise:
Data query acquisition module, obtains data query;
Comparing module, compares described data query and the shown content of index data, if the two content matches after comparison, reads the corresponding data to be checked of this index data.
The present invention is by adopting technique scheme, usings view data as the foundation of index, makes user can realize very easily data query, can inquire more accurately relevant data according to view data simultaneously.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the present invention is further detailed explanation:
Fig. 1 is the schematic diagram of date storage method of the present invention;
Fig. 2 is the schematic diagram of data enquire method of the present invention.
Embodiment
The invention discloses a kind of date storage method, comprise index data and the to be checked data corresponding with it, described index data is view data, by described index data, data to be checked and between corresponding relation store.Between described index data and data to be checked, there is corresponding relation, but be not limited to is one to one, can be to there being many data to be checked for an index data, also the data to be checked that can be many index data correspondences, as shown in Figure 1, data 1 to be checked that index data 1 has passed through corresponding relation 1-1 correspondence, index data 2 has passed through corresponding relation 2-2 and corresponding relation 2-3 correspondence respectively data 2 to be checked and data to be checked 3, index data 3, index data 4 and index data 5 are respectively by corresponding relation 3-4, corresponding relation 4-4 and corresponding relation 5-4 correspondence data 4 to be checked.
Described view data is original view data, or treated view data.
To the processing mode of described view data comprise following at least one:
Raw image data is compressed, using the data after compression as view data.
To raw image data characteristic information extraction, using extracted characteristic information as view data.
View data, through after processing, can reduce the shared storage space of view data.
Date storage method of the present invention also comprises the step that permission inquiry is set or reads the condition of these data to be checked, the condition and corresponding being saved of described data to be checked of these data to be checked inquired about or read in described permission, described when inquiring about or reading these data to be checked, only meet described permission and inquire about or read the condition of these data to be checked, just allow these data to be checked to be queried to or to be read.
Described permission inquiry or the condition that reads these data to be checked comprise inquiry or read the time of these data to be checked, the user identity of inquiring about or read these data to be checked and inquiry or read at least one in the device address of these data to be checked.Described device address is such as being the MAC Address of equipment or IP address etc.
Described index data, data to be checked and between corresponding relation be stored in this locality.
Or, described index data, data to be checked and between corresponding relation at least one by network, be stored at least one network terminal.
The invention also discloses a kind of data storage device, comprise memory module, according to above-mentioned date storage method, preserve described index data, data to be checked and between corresponding relation.
Described data storage device is stand-alone device, described index data, data to be checked and between corresponding relation to be stored in described data storage device local.
Described data storage device is the network terminal, by network, be connected with one or more other network terminals, described index data, data to be checked and between corresponding relation at least one by network, be stored at least one network terminal.For example, described index data, data to be checked and between corresponding relation can be stored on the same network terminal, also can be stored in respectively on three different network terminals, or preserving a plurality of copies as backup on the more network terminal.Can, so that local without the need for excessive storage space, still can obtain very large data volume like this.
In addition, described data storage device also comprises authentication server, preserve the permission corresponding with described data to be checked and inquire about or read the condition of these data to be checked, described when inquiring about or reading these data to be checked, only meet described permission and inquire about or read the condition of these data to be checked, just allow these data to be checked to be queried to or to be read.
The present invention discloses again a kind of data enquire method, preserve index data, data to be checked and between corresponding relation; As shown in Figure 2, obtain data query, described index data and data query are all view data, and described data query and the shown content of index data are compared, if the two content matches after comparison, read the corresponding data to be checked of this index data.
Described data query is original view data, or treated view data; Described index data is original view data, or treated view data.
To the processing mode of described view data comprise following at least one:
Raw image data is compressed, using the data after compression as view data;
To raw image data characteristic information extraction, using extracted characteristic information as view data.
Data enquire method of the present invention is also preserved the permission inquiry corresponding with described index data or data to be checked or is read the condition of these data to be checked, when inquiring about the described index data corresponding with these data to be checked or reading these data to be checked, only meet described permission inquiry or read the condition of these data to be checked, just the permission described index data corresponding with these data to be checked is queried to or these data to be checked are read.
Described permission inquiry or the condition that reads data to be checked comprise inquiry or read the time of data to be checked, the user identity of inquiring about or read data to be checked and inquiry or read at least one in the device address of data to be checked.
Described index data, data to be checked and between corresponding relation be stored in this locality.
Described index data, data to be checked and between corresponding relation at least one by network, be stored at least one network terminal.
Described the two content matches and refers to following any one situation:
The two has recorded identical picture, or has recorded the picture that similarity reaches a certain preset standard;
The two has recorded identical word, or recorded similarity and reached the word of a certain preset standard, if show a large amount of words in view data, can adopt character recognition technology, word in view data is identified, according to the word after identification, judged whether its content matches;
The two has recorded the identical part of form, or has recorded the part that form similarity reaches a certain preset standard, and this matching way can effectively identify the view data of the definite file of all kinds of forms, thereby obtains the data corresponding with it.
The present invention discloses a kind of data query device that above-mentioned data enquire method adopts of realizing again, comprising:
Data query acquisition module, obtains data query;
Comparing module, compares described data query and the shown content of index data, if the two content matches after comparison, reads the corresponding data to be checked of this index data.
Described data query device also comprises memory module, preserve index data, data to be checked and between corresponding relation.
Or, described data query device also comprises mixed-media network modules mixed-media, using described data query device as the network terminal, by network, be connected with other network terminal, described index data, data to be checked and between corresponding relation at least one by network, be stored at least one network terminal.
In addition, described data query device also comprises authentication server, preserve the permission corresponding with described data to be checked and inquire about or read the condition of these data to be checked, described when inquiring about or reading these data to be checked, only meet described permission and inquire about or read the condition of these data to be checked, just allow these data to be checked to be queried to or to be read.
The search " automobile " of still take above to be mentioned is example.In prior art, the statement must increase step by step " automobile " being limited, could search the needed data message of user gradually.This bothers user very much, and due to the abstractness of language, causes accuracy not high.And adopt date storage method provided by the present invention and device, can by the photo (being index data) of " 2013 produce black Benz ", the data message (be to be checked data) corresponding with it and between corresponding relation store, or by this photo characteristic information extraction, by this characteristic information (being index data), the data message corresponding with it and between corresponding relation store.When user need to inquire about this data message, needn't remove the key word of effort editor inquiry, only need obtain object images information to be checked, for example take the photo of " the black Benz of producing for 2013 ", then adopt data enquire method provided by the present invention and device, this photo and index data that user is taken are compared.The process of comparison can be by adopting image recognition technology, to compared photo characteristic information extraction all, and characteristic information is compared.At present this by characteristic information, to carry out the right technology of image ratio very ripe, has been widely used in the fields such as recognition of face, word identification.If it is same or similar to identify the content of recording in the content of photograph taking and index data, read the corresponding data to be checked of this index data, and return to user, complete the inquiry of data.In addition, owing to being provided with authentication server, for some users, do not think the data of full disclosure, user can preserve the condition that allows inquiry or read these data to be checked on authentication server, for example only allow at specific time inquiring or read these data, or only allow specific user's inquiry or read these data.Authentication server is verified carrying out the correlation parameter of data query, when carrying out the correlation parameter of data query when having met the permission inquiry of preserving on authentication server or having read the condition of these data to be checked, just allow corresponding index data to inquire about, or corresponding data to be checked are read.Therefore, the application of the invention is stored and is inquired about data, user needn't adopt abstract word to inquire about data message, and only need to adopt image information intuitively just can inquire corresponding data, make user can very conveniently carry out efficiently data query, due to the intuitive of view data, the accuracy of retrieving the data that obtain is improved greatly simultaneously, avoided some irrelevant data to be also queried to.
The foregoing is only preferred embodiment of the present invention, not in order to limit essence technology contents scope of the present invention, essence technology contents of the present invention is in the claim scope that is defined in application of broad sense, any technology entity or method that other people complete, if defined identical with the claim scope of application, also or a kind of change of equivalence, all will be regarded as being covered by among this claim scope.
Claims (23)
1. a date storage method, is characterized in that, comprises index data and the to be checked data corresponding with it, and described index data is view data, by described index data, data to be checked and between corresponding relation store.
2. date storage method according to claim 1, is characterized in that, described view data is original view data, or treated view data.
3. date storage method according to claim 2, is characterized in that, to the processing mode of described view data comprise following at least one:
Raw image data is compressed, using the data after compression as view data;
To raw image data characteristic information extraction, using extracted characteristic information as view data.
4. date storage method according to claim 1, it is characterized in that, also comprise the step that allows inquiry or read the condition of these data to be checked is set, the condition and corresponding being saved of described data to be checked of these data to be checked inquired about or read in described permission, described when inquiring about or reading these data to be checked, only meet described permission and inquire about or read the condition of these data to be checked, just allow these data to be checked to be queried to or to be read.
5. date storage method according to claim 4, it is characterized in that, described permission inquiry or the condition that reads these data to be checked comprise inquiry or read the time of these data to be checked, the user identity of inquiring about or read these data to be checked and inquiry or read at least one in the device address of these data to be checked.
6. date storage method according to claim 1, is characterized in that, described index data, data to be checked and between corresponding relation be stored in this locality.
7. date storage method according to claim 1, is characterized in that, described index data, data to be checked and between corresponding relation at least one by network, be stored at least one network terminal.
8. a data storage device, is characterized in that, comprises memory module, according to the date storage method as described in any one in claim 1-7, preserve described index data, data to be checked and between corresponding relation.
9. data storage device according to claim 8, is characterized in that, described data storage device is stand-alone device, described index data, data to be checked and between corresponding relation to be stored in described data storage device local.
10. data storage device according to claim 8, it is characterized in that, described data storage device is the network terminal, by network, be connected with one or more other network terminals, described index data, data to be checked and between corresponding relation at least one by network, be stored at least one network terminal.
11. data storage devices according to claim 10, it is characterized in that, also comprise authentication server, preserve the permission corresponding with described data to be checked and inquire about or read the condition of these data to be checked, described when inquiring about or reading these data to be checked, only meet described permission and inquire about or read the condition of these data to be checked, just allow these data to be checked to be queried to or to be read.
12. 1 kinds of data enquire methods, is characterized in that, preserve index data, data to be checked and between corresponding relation; Obtain data query, described index data and data query are all view data, and described data query and the shown content of index data are compared, if the two content matches after comparison, read the corresponding data to be checked of this index data.
13. data enquire methods according to claim 12, is characterized in that, described data query is original view data, or treated view data; Described index data is original view data, or treated view data.
14. data enquire methods according to claim 13, is characterized in that, to the processing mode of described view data comprise following at least one:
Raw image data is compressed, using the data after compression as view data;
To raw image data characteristic information extraction, using extracted characteristic information as view data.
15. data enquire methods according to claim 12, it is characterized in that, also preserve the permission corresponding with described index data or data to be checked and inquire about or read the condition of these data to be checked, when inquiring about the described index data corresponding with these data to be checked or reading these data to be checked, only meet described permission inquiry or read the condition of these data to be checked, just the permission described index data corresponding with these data to be checked is queried to or these data to be checked are read.
16. data enquire methods according to claim 15, it is characterized in that, described permission inquiry or the condition that reads data to be checked comprise inquiry or read the time of data to be checked, the user identity of inquiring about or read data to be checked and inquiry or read at least one in the device address of data to be checked.
17. data enquire methods according to claim 12, is characterized in that, described index data, data to be checked and between corresponding relation be stored in this locality.
18. data enquire methods according to claim 12, is characterized in that, described index data, data to be checked and between corresponding relation at least one by network, be stored at least one network terminal.
19. data enquire methods according to claim 12, is characterized in that, described the two content matches and refers to following any one situation:
The two has recorded identical picture, or has recorded the picture that similarity reaches a certain preset standard;
The two has recorded identical word, or has recorded the word that similarity reaches a certain preset standard;
The two has recorded the identical part of form, or has recorded the part that form similarity reaches a certain preset standard.
20. 1 kinds of realizations data query device that data enquire method adopted as described in any one in claim 12-19, is characterized in that, comprising:
Data query acquisition module, obtains data query;
Comparing module, compares described data query and the shown content of index data, if the two content matches after comparison, reads the corresponding data to be checked of this index data.
21. data query devices according to claim 20, is characterized in that, also comprise memory module, preserve index data, data to be checked and between corresponding relation.
22. data query devices according to claim 20, it is characterized in that, also comprise mixed-media network modules mixed-media, using described data query device as the network terminal, by network, be connected with other network terminal, described index data, data to be checked and between corresponding relation at least one by network, be stored at least one network terminal.
23. data query devices according to claim 22, it is characterized in that, also comprise authentication server, preserve the permission corresponding with described data to be checked and inquire about or read the condition of these data to be checked, described when inquiring about or reading these data to be checked, only meet described permission and inquire about or read the condition of these data to be checked, just allow these data to be checked to be queried to or to be read.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310483812.1A CN103514296A (en) | 2013-10-16 | 2013-10-16 | Data storage method and device and data query method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310483812.1A CN103514296A (en) | 2013-10-16 | 2013-10-16 | Data storage method and device and data query method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103514296A true CN103514296A (en) | 2014-01-15 |
Family
ID=49897020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310483812.1A Pending CN103514296A (en) | 2013-10-16 | 2013-10-16 | Data storage method and device and data query method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103514296A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104156386A (en) * | 2014-06-24 | 2014-11-19 | 国家电网公司 | Data processing method and system with image recognition function |
CN108111557A (en) * | 2016-11-24 | 2018-06-01 | 杭州海康威视数字技术股份有限公司 | The method and device of data in a kind of acquisition cloud storage system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040083241A1 (en) * | 2002-10-23 | 2004-04-29 | Kyocera Mita Corporation | Image displaying program product and an image displaying apparatus |
US20090174768A1 (en) * | 2006-03-07 | 2009-07-09 | Blackburn David A | Construction imaging and archiving method, system and program |
CN102177512A (en) * | 2008-08-11 | 2011-09-07 | 谷歌公司 | Object identification in images |
-
2013
- 2013-10-16 CN CN201310483812.1A patent/CN103514296A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040083241A1 (en) * | 2002-10-23 | 2004-04-29 | Kyocera Mita Corporation | Image displaying program product and an image displaying apparatus |
US20090174768A1 (en) * | 2006-03-07 | 2009-07-09 | Blackburn David A | Construction imaging and archiving method, system and program |
CN102177512A (en) * | 2008-08-11 | 2011-09-07 | 谷歌公司 | Object identification in images |
Non-Patent Citations (1)
Title |
---|
朱旭娟: ""一种基于内容的压缩域图像检索系统的开发"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104156386A (en) * | 2014-06-24 | 2014-11-19 | 国家电网公司 | Data processing method and system with image recognition function |
CN108111557A (en) * | 2016-11-24 | 2018-06-01 | 杭州海康威视数字技术股份有限公司 | The method and device of data in a kind of acquisition cloud storage system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108833973B (en) | Video feature extraction method and device and computer equipment | |
US10885100B2 (en) | Thumbnail-based image sharing method and terminal | |
US9185338B2 (en) | System and method for fingerprinting video | |
US8520909B2 (en) | Automatic and semi-automatic image classification, annotation and tagging through the use of image acquisition parameters and metadata | |
US8270684B2 (en) | Automatic media sharing via shutter click | |
CN111897875A (en) | Fusion processing method and device for urban multi-source heterogeneous data and computer equipment | |
US8065313B2 (en) | Method and apparatus for automatically annotating images | |
CN105243060B (en) | A kind of method and device of retrieving image | |
EP3477506A1 (en) | Video detection method, server and storage medium | |
US8577882B2 (en) | Method and system for searching multilingual documents | |
US10380267B2 (en) | System and method for tagging multimedia content elements | |
WO2012141655A1 (en) | In-video product annotation with web information mining | |
US20160217171A1 (en) | Methods, computer program, computer program product and indexing systems for indexing or updating index | |
US10152540B2 (en) | Linking thumbnail of image to web page | |
CN102831242A (en) | Method and device for searching picture information | |
CN108319608A (en) | The method, apparatus and system of access log storage inquiry | |
CN103399855B (en) | Behavior intention determining method and device based on multiple data sources | |
CN104462590A (en) | Information searching method and device | |
JP2014006680A5 (en) | Information processing apparatus, information processing system, information processing method, and recording medium | |
CN107247730A (en) | Image searching method and device | |
CN103514296A (en) | Data storage method and device and data query method and device | |
WO2021103594A1 (en) | Tacitness degree detection method and device, server and readable storage medium | |
EP3616092A1 (en) | Media sharing based on identified physical objects | |
CN105183729A (en) | Method and device for retrieving audio/video content | |
CN111783786A (en) | Picture identification method and system, electronic equipment and storage medium |
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: 20140115 |
|
RJ01 | Rejection of invention patent application after publication |