CN110765321A - Data storage path generation method and device and readable storage medium - Google Patents

Data storage path generation method and device and readable storage medium Download PDF

Info

Publication number
CN110765321A
CN110765321A CN201911030064.5A CN201911030064A CN110765321A CN 110765321 A CN110765321 A CN 110765321A CN 201911030064 A CN201911030064 A CN 201911030064A CN 110765321 A CN110765321 A CN 110765321A
Authority
CN
China
Prior art keywords
data
piece
identification information
primary
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911030064.5A
Other languages
Chinese (zh)
Other versions
CN110765321B (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.)
Beijing Mininglamp Software System Co ltd
Original Assignee
Beijing Mininglamp Software System 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 Beijing Mininglamp Software System Co ltd filed Critical Beijing Mininglamp Software System Co ltd
Priority to CN201911030064.5A priority Critical patent/CN110765321B/en
Publication of CN110765321A publication Critical patent/CN110765321A/en
Application granted granted Critical
Publication of CN110765321B publication Critical patent/CN110765321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9017Indexing; Data structures therefor; Storage structures using directory or table look-up
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2219Large Object storage; Management thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (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)

Abstract

The application provides a generation method, a generation device and a readable storage medium of a data storage path, wherein the generation method comprises the following steps: acquiring the place identification information and the time information of each piece of data; determining a plurality of primary catalogs based on the location identification information of each piece of data; for each primary catalog, determining a plurality of secondary catalogs of the data associated with the primary catalog based on the acquisition time and the preset time interval of each piece of data associated with the primary catalog, and associating each secondary catalog with each piece of data; and generating a data storage path of each piece of data based on the secondary directory and the primary directory associated with each piece of data and the corresponding data identification information. Therefore, when data is queried, direct query of the data is converted into matching according to the data storage path, the number of the queried data can be reduced, query time is reduced, unique data can be accurately positioned according to the data storage path, and the efficiency and accuracy of data query are improved.

Description

Data storage path generation method and device and readable storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for generating a data storage path, and a readable storage medium.
Background
With the rapid development of computer technology, big data technology is also developed accordingly, for a specific application scenario, in a public security scenario, the most applied is space-time trajectory data, a large amount of trajectory data is acquired by acquisition equipment within each preset acquisition time period, and the large amount of data needs to be stored in a database so as to be convenient for subsequent analysis of the data.
At present, for the storage of big data, the data is generally directly stored according to the original format of a table, or stored according to the acquisition time of the data, when the operations such as query and deletion of the data are performed, the data meeting the query and deletion standards needs to be searched in a large amount of data in a database, because the data amount in the database is very large, when the data is searched, the operation pressure of a background server is large, the processing speed is slow, the search time is long, the query efficiency is low, and the time waste is easily caused.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method, an apparatus and a readable storage medium for generating a data storage path, which can generate a data storage path according to a place segment and a time segment corresponding to data, and when querying data, convert a direct query of the data into a match according to the data storage path, so as to reduce the number of queried data and query time, and accurately locate unique data according to the data storage path, thereby improving efficiency and accuracy of data query.
The embodiment of the application provides a method for generating a data storage path, which comprises the following steps:
acquiring a plurality of pieces of data, and location identification information and time information corresponding to each piece of data;
determining a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associating each primary catalog with at least one corresponding piece of data;
for each primary catalog, determining a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associating each secondary catalog with each piece of data;
and generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs and the data identification information of each piece of data.
Further, the determining, based on the location identification information of each piece of data, a plurality of primary directories corresponding to the pieces of data, and associating each primary directory with corresponding at least one piece of data includes:
dividing data of the same place identification information in the obtained plurality of pieces of place identification information into a same place identification information set;
selecting any place identification information from the place identification information set, and determining the place identification information as a primary catalog corresponding to the place identification information set;
and associating all data contained in the place identification information set with the primary catalog corresponding to the place identification information set.
Further, a plurality of secondary directories corresponding to the data are determined by the following steps:
aiming at the same primary catalog, acquiring a plurality of acquisition times of a plurality of data associated with the primary catalog;
dividing the time interval to which the plurality of acquisition times belong into a plurality of sub-time intervals based on the preset time interval;
and acquiring the starting time of each sub-time interval, and determining the starting time of each sub-time interval as a corresponding secondary directory.
Further, each secondary directory is associated with each piece of data to be stored by the following steps:
aiming at the same secondary directory, acquiring the starting time and the ending time of a sub-time interval corresponding to the secondary directory;
for the same piece of data, detecting whether the acquisition time of the piece of data is after the starting time and the acquisition time is before the ending time;
if the collection time is after the start time and before the end time, determining that the piece of data is in the sub-time interval, and associating the secondary catalog with the piece of data.
Further, after the data storage path corresponding to each piece of data is generated based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs, and the data identification information of each piece of data, the generating method further includes:
determining a query primary catalog corresponding to the query place identification information and a query secondary catalog corresponding to the query time information based on the obtained query place identification information and the query time information;
and determining a matched data storage path based on the query primary directory and the query secondary directory, and determining data corresponding to the data storage path as query target data.
An embodiment of the present application further provides a device for generating a data storage path, where the device includes:
the acquisition module is used for acquiring a plurality of pieces of data, and the place identification information and the time information corresponding to each piece of data;
the first determining module is used for determining a plurality of primary catalogs corresponding to the data based on the location identification information of each piece of data and associating each primary catalog with at least one corresponding piece of data;
the second determining module is used for determining a plurality of secondary catalogs corresponding to the data associated with the primary catalogs according to the acquisition time determined by the time information of each piece of data associated with the primary catalogs and the preset time interval and associating each secondary catalog with each piece of data;
and the generating module is used for generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs and the data identification information of each piece of data.
Further, when the first determining module is configured to determine, based on the location identification information of each piece of data, a plurality of primary directories corresponding to the pieces of data, and associate each primary directory with corresponding at least one piece of data, the first determining module is further configured to:
dividing data of the same place identification information in the obtained plurality of pieces of place identification information into a same place identification information set;
selecting any place identification information from the place identification information set, and determining the place identification information as a primary catalog corresponding to the place identification information set;
and associating all data contained in the place identification information set with the primary catalog corresponding to the place identification information set.
Further, the second determining module is configured to determine, for each primary catalog, a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and the preset time interval, and when associating each secondary catalog with each piece of data, determine the plurality of secondary catalogs corresponding to the data by:
aiming at the same primary catalog, acquiring a plurality of acquisition times of a plurality of data associated with the primary catalog;
dividing the time interval to which the plurality of acquisition times belong into a plurality of sub-time intervals based on the preset time interval;
and acquiring the starting time of each sub-time interval, and determining the starting time of each sub-time interval as a corresponding secondary directory.
Further, the second determining module is configured to determine, for each primary catalog, a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associate each secondary catalog with each piece of data, associate each secondary catalog with each piece of data to be stored by:
aiming at the same secondary directory, acquiring the starting time and the ending time of a sub-time interval corresponding to the secondary directory;
for the same piece of data, detecting whether the acquisition time of the piece of data is after the starting time and the acquisition time is before the ending time;
if the collection time is after the start time and before the end time, determining that the piece of data is in the sub-time interval, and associating the secondary catalog with the piece of data.
Further, the generating device further includes:
the third determining module is used for determining a query primary catalog corresponding to the query place identification information and a query secondary catalog corresponding to the query time information based on the obtained query place identification information and the query time information;
and the fourth determining module is used for determining a matched data storage path based on the query primary directory and the query secondary directory, and determining data corresponding to the data storage path as query target data.
An embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions being executed by the processor to perform the steps of the method for generating a data storage path as described above.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for generating a data storage path as described above are performed.
The method, the device and the readable storage medium for generating the data storage path, provided by the embodiment of the application, are used for acquiring a plurality of pieces of data, and location identification information and time information corresponding to each piece of data; determining a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associating each primary catalog with at least one corresponding piece of data; for each primary catalog, determining a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associating each secondary catalog with each piece of data; and generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs and the data identification information of each piece of data.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a block diagram of a possible application scenario;
fig. 2 is a flowchart of a method for generating a data storage path according to an embodiment of the present application;
FIG. 3 is a data diagram of the data stored in the database;
FIG. 4 is a schematic diagram of a data partitioning directory;
FIG. 5 is a flowchart of a method for generating a data storage path according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for generating a data storage path according to an embodiment of the present application;
fig. 7 is a second schematic structural diagram of another data storage path generation apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
First, an application scenario to which the present application is applicable will be described. The method and the device can be applied to the technical field of data processing, and the primary directory corresponding to each piece of data and the secondary directory under the primary directory are generated according to the place identification information and the time information of each piece of data in the database, so that the data storage path corresponding to each piece of data is determined. Therefore, corresponding data can be found based on the data storage path, the number of the searched data is reduced, and the efficiency and the accuracy of data searching are improved. Referring to fig. 1, fig. 1 is a system structure diagram in a possible application scenario, as shown in fig. 1, the system includes a database and a generating device, where the database stores a plurality of pieces of data, and bottom edge identification information and time information corresponding to each piece of data, and the generating device determines a primary catalog and a secondary catalog associated with each piece of data after acquiring location identification information and time information of each piece of data, and generates a data storage path corresponding to each piece of data by combining data identification information of the data.
Research shows that, in the present stage, for the storage of big data, the data is generally directly stored according to a table format or according to the data acquisition time, when the operations such as query and deletion of the data are performed, the data meeting the query and deletion standards needs to be found from a large amount of data in a database, and because the data amount in the database is very large, when the data is searched, the operation pressure of a background server is high, the processing speed is slow, the search time is long, the query efficiency is low, and time waste is easily caused.
Based on this, the embodiment of the application provides a method for generating a data storage path, which is used for acquiring a plurality of pieces of data, and location identification information and time information corresponding to each piece of data; determining a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associating each primary catalog with at least one corresponding piece of data; for each primary catalog, determining a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associating each secondary catalog with each piece of data; and generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs and the data identification information of each piece of data.
Thus, the location identification information and the time information of the data stored in the database are obtained, a plurality of first-level catalogs are determined according to the location identification indicated by the location identification information of each piece of data, a plurality of pieces of data are associated with the corresponding first-level catalogs, aiming at the same first-level catalogs, a plurality of second-level catalogs under the first-level catalogs are divided according to the acquisition time indicated by the time information of all the associated data under the first-level catalogs and the preset time interval, and so on, all the second-level catalogs under all the first-level catalogs are determined, each piece of data is associated with the corresponding second-level catalogs, the data storage path corresponding to each piece of data is determined according to the first-level catalogs, the second-level catalogs of each piece of data and the data identification information corresponding to the data, when the data are inquired, the direct, the method can reduce the number of the query data, reduce the query time, and accurately position the unique data according to the data storage path, thereby being beneficial to improving the efficiency and the accuracy of data query.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for generating a data storage path according to an embodiment of the present disclosure. As shown in fig. 2, a method for generating a data storage path according to an embodiment of the present application includes:
step 201, acquiring a plurality of pieces of data and place identification information and time information corresponding to each piece of data.
In this step, a plurality of pieces of data already stored in the database, and location identification information and time information corresponding to each piece of the plurality of pieces of data are acquired.
Here, the data may include spatio-temporal trajectory data, and the place identification information refers to a unique Identification (ID) of a place corresponding to the data, the place ID being converted from a point space, an administrative space, an absolute space, and a traffic space of the spatio-temporal trajectory data through an algorithm.
For example, the position of the geographic position of a hotel in an absolute position (longitude and latitude) is (60 ° N, 132 ° E) through a preset corresponding rule, and the location identification information of the hotel is 100; for the same hotel, the hotel belongs to a beijing city sea area in the administrative district dimension, and then the location identification information of the hotel may also be 001.
Here, the time information may include a collection time of the data, that is, a time collected by the collection device, or an upload time of the data uploaded to the database by the collection device.
Step 202, determining a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associating each primary catalog with corresponding at least one piece of data.
In the step, according to all data information corresponding to the acquired data, determining all unrepeated data identification information corresponding to all the data, wherein each type of data identification information corresponds to a primary catalog, and associating the data with the same data identification information with the catalog corresponding to the data identification information.
Here, when determining the primary directory according to the location identification information, the primary directory may be the same as the location identification indicated by the location identification information, or the primary directory may be different from the location identification indicated by the location identification information, for example, if the location identification indicated by the location identification information is the same, if the location identification indicated by the location identification information is 100, the primary directory is also 100; if the location identifications indicated by the location identification information are different, if the location identification indicated by the location identification information is 100, the primary directory may be other numbers corresponding to the ID100, or may be a specific location for which the ID100 is provided, such as XX hotel, XX district XX city, etc.
Step 203, for each primary catalog, determining a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associating each secondary catalog with each piece of data.
In this step, for the plurality of primary directories determined in step 202, for the same primary directory, in the data associated with the primary directory, according to the acquisition time indicated by the time information of all associated data and a preset time interval, a plurality of secondary directories corresponding to the primary directory are determined, and the data and the corresponding secondary directories are associated according to the time information.
Here, the time interval division may be multiple acquisition times of multiple data associated with the same primary directory, an earliest acquisition time and a latest acquisition time may be determined, and a time interval is determined by using the earliest acquisition time as a start time and the earliest acquisition time as an end time, on the basis of which time division is performed; or a preset time interval, such as 24 hours a day or a worship, a collection time period, etc.
Here, the determination of the time interval may be determined according to the requirement of the data refinement degree, and may be a time interval of one day, or may be a time interval of 10 minutes if the time requirement is more detailed time division.
Step 204, generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs, and the data identification information of each piece of data.
In the step, a storage data path in a format of primary directory-secondary directory-data ID is generated according to the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs and the data identification information corresponding to the data.
Here, after the secondary directory of the data is generated according to the time information, the tertiary directory may be subdivided again according to the ID of the data, and the secondary directory may be further distinguished by performing hash modulo according to the ID of the data.
For example, the location identification information of a piece of data indicates that the location identification is 100, the time information indicates that the collection time is 2019-08-1419:05, the ID of the piece of data is 001, and in the location partition for the location identification of 100, the time interval of the time partition is one day, then it can be known that the secondary catalog corresponding to the piece of data is 20190814, and then the storage path of the piece of data is 100 plus 20190814 plus 001.
Referring to fig. 3 and 4, fig. 3 is a data schematic diagram of the number stored in the database, the data stored in the database stores the data identifier (data ID) of the data, the location ID corresponding to each piece of data, and the acquisition time of the data, and for three pieces of data with a location ID of 100, the acquisition time of data with an ID of 001 is 2019-08-1416: 05:10, the acquisition time of data with an ID of 002 is 2019-08-1416: 35:20, and the acquisition time of another data with an ID of 001 is 2019-08-1418: 55: 50; for three pieces of data with the place ID of 101, the collection time of data with the ID of 001 is 2019-08-1417: 05:10, the collection time of data with the ID of 002 is 2019-08-1418: 35:20, and the collection time of the other data with the ID of 001 is 2019-08-1419: 55: 50. Fig. 4 is a schematic diagram of a data division directory, in which an area 3A is a divided directory, and an area 3A is a primary directory: region slices 100 and 101; area 3b is a secondary directory: time- slices 2019081416, 2019081418, 2019081417, 2019081419; area 3c is a tertiary directory: and D, ID fragmentation.
The method for generating the data storage path, provided by the embodiment of the application, includes the steps of obtaining a plurality of pieces of data, and location identification information and time information corresponding to each piece of data; determining a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associating each primary catalog with at least one corresponding piece of data; for each primary catalog, determining a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associating each secondary catalog with each piece of data; and generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs and the data identification information of each piece of data.
Thus, the location identification information and the time information of the data stored in the database are obtained, a plurality of first-level catalogs are determined according to the location identification indicated by the location identification information of each piece of data, a plurality of pieces of data are associated with the corresponding first-level catalogs, aiming at the same first-level catalogs, a plurality of second-level catalogs under the first-level catalogs are divided according to the acquisition time indicated by the time information of all the associated data under the first-level catalogs and the preset time interval, and so on, all the second-level catalogs under all the first-level catalogs are determined, each piece of data is associated with the corresponding second-level catalogs, the data storage path corresponding to each piece of data is determined according to the first-level catalogs, the second-level catalogs of each piece of data and the data identification information corresponding to the data, when the data are inquired, the direct, the method can reduce the number of the query data, reduce the query time, and accurately position the unique data according to the data storage path, thereby being beneficial to improving the efficiency and the accuracy of data query.
Referring to fig. 5, fig. 5 is a flowchart of a method for generating a data storage path according to another embodiment of the present application. As shown in fig. 5, a method for generating a data storage path according to an embodiment of the present application includes:
step 501, obtaining a plurality of pieces of data, and location identification information and time information corresponding to each piece of data.
Step 502, determining a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associating each primary catalog with at least one corresponding piece of data;
step 503, for each primary catalog, determining a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associating each secondary catalog with each piece of data.
Step 504, generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs, and the data identification information of each piece of data.
And 505, determining a query primary catalog corresponding to the query place identification information and a query secondary catalog corresponding to the query time information based on the obtained query place identification information and the query time information.
In the step, based on the obtained query information, a query primary catalog corresponding to the query location identification information in the query information is determined according to the query location identification information and the query time information in the query information, and a query secondary catalog is determined according to the query time information in the query information.
Here, the index can be used for data query, and to design an index structure, the following requirements need to be satisfied: 1) the length of the index occupied bytes is consistent: aiming at different space-time trajectory types, the length of the finally designed index byte should be consistent (because only consistent, an efficient search algorithm is convenient to use in subsequent index search); 2) the index occupies as few bytes as possible: the purpose is to reduce the space problem of index storage (because after the combination explosion, the relation storage should be compressed); 3) the index can be quickly positioned to the original space-time track record: the index merely provides a search for spatiotemporal trajectory records, and particularly uses spatiotemporal trajectory data to complete the computation of the relationship. In the index structure, specific bytes may be set to store specific query location information and query time information, for example, one byte is used to store query location information, eight bytes are used to store query time information, and the like.
Step 506, determining a matched data storage path based on the query primary directory and the query secondary directory, and determining data corresponding to the data storage path as query target data.
In the step, a data storage path including a query primary directory and a query secondary directory is determined from all data storage paths, data corresponding to the data storage path is determined as query target data of the query, and the query target data is taken out so as to facilitate subsequent data processing.
For example, the data query information indicates that the third data is to be queried when 16:00 pm in 14 th of 08 th of 2019 on the train, the location identifier corresponding to the train is 120, the data storage path corresponding to the third data is 120-2019081416-003, the data under the path is found, and one data query is completed.
The descriptions of step 501 to step 504 may refer to the descriptions of step 201 to step 204, and the same technical effects can be achieved, which is not described in detail herein.
Further, step 502 further includes: dividing data of the same place identification information in the obtained plurality of pieces of place identification information into a same place identification information set; selecting any place identification information from the place identification information set, and determining the place identification information as a primary catalog corresponding to the place identification information set; and associating all data contained in the place identification information set with the primary catalog corresponding to the place identification information set.
In the step, after a plurality of pieces of data are obtained, for the location identification information of each piece of data, the data having the location identification indicated by the same location identification information are divided into the same location identification information set, the location identification indicated by the location identification information corresponding to each piece of data in the location identification data set is determined as the identification of the location identification data set, the number of the location identification data sets is determined as the number of primary catalogs, the location identification corresponding to each location identification data set is used as a primary catalog, and all the data in the location identification data set are associated with the primary catalog corresponding to the location identification data set to which the data belong.
For example, if six pieces of data are acquired, the location id of a indicated by the location identification information of a is 100, and the location id of B indicated by the location identification information of B is 101; the location identification of C indicated by the location identification information of C is 100; the location identification of D indicated by the location identification information of D is 101; the location identification of E indicated by the location identification information of E is 102; the location identification of F indicated by the location identification information of F is 101. Then, according to the location identifications indicated by the location identification information corresponding to the six pieces of data, three location identification data sets can be determined, and the data identifications (primary catalog) corresponding to each location identification data set are respectively 100, 101 and 102; the data A and the data C in the place identification data with the data identification of 100 are associated with the primary catalog of 100; associating data B, data D and data F in the place identification data set with the data identification 101 with a primary catalog with the primary catalog being 101; data E in the location identification dataset with data identification 102 is associated with a primary directory with primary directory 102.
Further, a plurality of secondary directories corresponding to the data are determined by the following steps: aiming at the same primary catalog, acquiring a plurality of acquisition times of a plurality of data associated with the primary catalog; dividing the time interval to which the plurality of acquisition times belong into a plurality of sub-time intervals based on the preset time interval; and acquiring the starting time of each sub-time interval, and determining the starting time of each sub-time interval as a corresponding secondary directory.
In the step, for the same primary catalog, in the data corresponding to all the primary catalogs, according to the acquisition information indicated by the time information corresponding to each piece of data, determining the earliest acquisition time and the latest acquisition time of all the data in the primary catalog, taking the earliest acquisition time as the starting time and the latest acquisition time as the ending time, determining an acquisition time interval, dividing the acquisition time interval into a plurality of sub-time intervals according to a preset time interval, and determining the starting time of each sub-time interval as the secondary catalog.
Corresponding to the above example, three pieces of data in the primary catalog 101, the acquisition time of the data B is 2019-08-1416: 25; the acquisition time of the data D is 2019-08-1418: 50; the acquisition time of the data F is 2019-08-1416: 35; then, the earliest collection time in the three data is 2019-08-1416:25, and the latest collection time is 2019-08-1418: 50; in the interval, the preset time interval is 1 hour, and based on the preset time interval, the divided sub-time intervals are 16:00-17: 00; 17:00-18:00 and 18:00-19: 00; the corresponding secondary directories are 201908416, 2019081417, 2019081418.
Further, each secondary directory is associated with each piece of data to be stored by the following steps: aiming at the same secondary directory, acquiring the starting time and the ending time of a sub-time interval corresponding to the secondary directory; for the same piece of data, detecting whether the acquisition time of the piece of data is after the starting time and the acquisition time is before the ending time; if the collection time is after the start time and before the end time, determining that the piece of data is in the sub-time interval, and associating the secondary catalog with the piece of data.
In the step, the starting time and the ending time of the sub-time interval corresponding to each secondary catalog are obtained, the sub-time interval in which the acquisition time indicated by the time information of each piece of data is located is detected, if the data acquisition time is detected to be in one sub-time interval, the acquisition time of the data is necessarily behind the starting time of the sub-time interval and before the ending time of the sub-time interval, the secondary catalog of the piece of data is determined according to the secondary catalog corresponding to the sub-time interval to which the data belongs, and the piece of data is associated with the secondary catalog.
Corresponding to the above example, the divided sub-time intervals are 16:00-17: 00; 17:00-18:00 and 18:00-19:00, wherein the acquisition time of the data B is 2019-08-1416:25, and the acquisition time belongs to the sub-time interval of 16:00-17:00, and then the secondary catalog of the data B is 2019081416; the acquisition time of the data D is 2019-08-1418: 50, which belongs to the sub-time interval of 18:00-19:00, and then the secondary catalog of the data D is 2019081418; the acquisition time of the data F is 2019-08-1416:25, the acquisition time belongs to the sub-time interval of 16:00-17:00, and the secondary catalog of the data F is 2019081416.
The method for generating the data storage path, provided by the embodiment of the application, includes the steps of obtaining a plurality of pieces of data, and location identification information and time information corresponding to each piece of data; determining a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associating each primary catalog with at least one corresponding piece of data; for each primary catalog, determining a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associating each secondary catalog with each piece of data; generating a data storage path corresponding to each piece of data based on a secondary directory associated with each piece of data, a primary directory to which the secondary directory belongs, and data identification information of each piece of data; determining a query primary catalog corresponding to the query place identification information and a query secondary catalog corresponding to the query time information based on the obtained query place identification information and the query time information; and determining a matched data storage path based on the query primary directory and the query secondary directory, and determining data corresponding to the data storage path as query target data.
Thus, the location identification information and the time information of the data stored in the database are obtained, a plurality of first-level catalogs are determined according to the location identification indicated by the location identification information of each piece of data, a plurality of pieces of data are associated with the corresponding first-level catalogs, aiming at the same first-level catalogs, a plurality of second-level catalogs under the first-level catalogs are divided according to the acquisition time indicated by the time information of all the associated data under the first-level catalogs and the preset time interval, and so on, all the second-level catalogs under all the first-level catalogs are determined, each piece of data is associated with the corresponding second-level catalogs, the data storage path corresponding to each piece of data is determined according to the first-level catalogs, the second-level catalogs of each piece of data and the data identification information corresponding to the data, the query first-level catalogs and the query, and determining data corresponding to the data storage paths corresponding to the inquired primary directory and the inquired secondary directory as the inquired target data of the inquiry. When data is queried, direct query of the data is converted into matching according to the data storage path, the number of the queried data can be reduced, query time is reduced, unique data can be accurately positioned according to the data storage path, and the efficiency and accuracy of data query are improved.
Referring to fig. 6 and 7, fig. 6 is a first schematic structural diagram of a data storage path generation apparatus according to an embodiment of the present application, and fig. 7 is a second schematic structural diagram of another data storage path generation apparatus according to an embodiment of the present application. As shown in fig. 6, the generating means 600 comprises:
the obtaining module 610 is configured to obtain multiple pieces of data, and location identification information and time information corresponding to each piece of data.
The first determining module 620 is configured to determine, based on the location identification information of each piece of data, a plurality of primary directories corresponding to the pieces of data, and associate each primary directory with corresponding at least one piece of data.
The second determining module 630 is configured to determine, for each primary directory, a plurality of secondary directories corresponding to the data associated with the primary directory based on the acquisition time determined by the time information of each piece of data associated with the primary directory and the preset time interval, and associate each secondary directory with each piece of data.
The generating module 640 is configured to generate a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs, and the data identification information of each piece of data.
Further, as shown in fig. 7, the generating device 600 further includes:
a third determining module 650, configured to determine, based on the obtained query location identification information and query time information, a query primary directory corresponding to the query location identification information and a query secondary directory corresponding to the query time information.
A fourth determining module 660, configured to determine a matched data storage path based on the query primary directory and the query secondary directory, and determine data corresponding to the data storage path as query target data.
Further, when the first determining module 620 is configured to determine, based on the location identification information of each piece of data, a plurality of primary directories corresponding to the pieces of data, and associate each primary directory with corresponding at least one piece of data, the first determining module 620 is further configured to:
dividing data of the same place identification information in the obtained plurality of pieces of place identification information into a same place identification information set;
selecting any place identification information from the place identification information set, and determining the place identification information as a primary catalog corresponding to the place identification information set;
and associating all data contained in the place identification information set with the primary catalog corresponding to the place identification information set.
Further, when the second determining module 630 is configured to determine, for each primary catalog, a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and the preset time interval, and associate each secondary catalog with each piece of data, determine the plurality of secondary catalogs corresponding to the data by:
aiming at the same primary catalog, acquiring a plurality of acquisition times of a plurality of data associated with the primary catalog;
dividing the time interval to which the plurality of acquisition times belong into a plurality of sub-time intervals based on the preset time interval;
and acquiring the starting time of each sub-time interval, and determining the starting time of each sub-time interval as a corresponding secondary directory.
Further, the second determining module 630, when configured to determine, for each primary directory, a plurality of secondary directories corresponding to data associated with the primary directory based on the acquisition time determined by the time information of each piece of data associated with the primary directory and the preset time interval, and associate each secondary directory with each piece of data, associates each secondary directory with each piece of data to be stored by:
aiming at the same secondary directory, acquiring the starting time and the ending time of a sub-time interval corresponding to the secondary directory;
for the same piece of data, detecting whether the acquisition time of the piece of data is after the starting time and the acquisition time is before the ending time;
if the collection time is after the start time and before the end time, determining that the piece of data is in the sub-time interval, and associating the secondary catalog with the piece of data.
The device for generating the data storage path, provided by the embodiment of the application, acquires a plurality of pieces of data, and location identification information and time information corresponding to each piece of data; determining a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associating each primary catalog with at least one corresponding piece of data; for each primary catalog, determining a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associating each secondary catalog with each piece of data; and generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs and the data identification information of each piece of data.
Thus, the location identification information and the time information of the data stored in the database are obtained, a plurality of first-level catalogs are determined according to the location identification indicated by the location identification information of each piece of data, a plurality of pieces of data are associated with the corresponding first-level catalogs, aiming at the same first-level catalogs, a plurality of second-level catalogs under the first-level catalogs are divided according to the acquisition time indicated by the time information of all the associated data under the first-level catalogs and the preset time interval, and so on, all the second-level catalogs under all the first-level catalogs are determined, each piece of data is associated with the corresponding second-level catalogs, the data storage path corresponding to each piece of data is determined according to the first-level catalogs, the second-level catalogs of each piece of data and the data identification information corresponding to the data, when the data are inquired, the direct, the method can reduce the number of the query data, reduce the query time, and accurately position the unique data according to the data storage path, thereby being beneficial to improving the efficiency and the accuracy of data query.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 8, the electronic device 800 includes a processor 810, a memory 820, and a bus 830.
The memory 820 stores machine-readable instructions executable by the processor 810, when the electronic device 800 runs, the processor 810 communicates with the memory 820 through the bus 830, and when the machine-readable instructions are executed by the processor 810, the steps of the method for generating a data storage path in the method embodiments shown in fig. 2 and fig. 5 may be executed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for generating a data storage path in the method embodiments shown in fig. 2 and fig. 5 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for generating a data storage path, the method comprising:
acquiring a plurality of pieces of data, and location identification information and time information corresponding to each piece of data;
determining a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associating each primary catalog with at least one corresponding piece of data;
for each primary catalog, determining a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the acquisition time determined by the time information of each piece of data associated with the primary catalog and a preset time interval, and associating each secondary catalog with each piece of data;
and generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs and the data identification information of each piece of data.
2. The method according to claim 1, wherein the determining a plurality of primary catalogs corresponding to each piece of data based on the location identification information of each piece of data, and associating each primary catalog with corresponding at least one piece of data includes:
dividing data of the same place identification information in the obtained plurality of pieces of place identification information into a same place identification information set;
selecting any place identification information from the place identification information set, and determining the place identification information as a primary catalog corresponding to the place identification information set;
and associating all data contained in the place identification information set with the primary catalog corresponding to the place identification information set.
3. The method of generating as claimed in claim 1, wherein the plurality of secondary directories to which the data corresponds are determined by:
aiming at the same primary catalog, acquiring a plurality of acquisition times of a plurality of data associated with the primary catalog;
dividing the time interval to which the plurality of acquisition times belong into a plurality of sub-time intervals based on the preset time interval;
and acquiring the starting time of each sub-time interval, and determining the starting time of each sub-time interval as a corresponding secondary directory.
4. The method of generating in accordance with claim 3, wherein each secondary directory is associated with each piece of data to be stored by:
aiming at the same secondary directory, acquiring the starting time and the ending time of a sub-time interval corresponding to the secondary directory;
for the same piece of data, detecting whether the acquisition time of the piece of data is after the starting time and the acquisition time is before the ending time;
if the collection time is after the start time and before the end time, determining that the piece of data is in the sub-time interval, and associating the secondary catalog with the piece of data.
5. The generation method according to claim 1, wherein after the generation of the data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs, and the data identification information of each piece of data, the generation method further comprises:
determining a query primary catalog corresponding to the query place identification information and a query secondary catalog corresponding to the query time information based on the obtained query place identification information and the query time information;
and determining a matched data storage path based on the query primary directory and the query secondary directory, and determining data corresponding to the data storage path as query target data.
6. A data storage path generation apparatus, comprising:
the acquisition module is used for acquiring a plurality of pieces of data, and the place identification information and the time information corresponding to each piece of data;
the first determining module is used for determining a plurality of primary catalogs corresponding to the data based on the location identification information of each piece of data and associating each primary catalog with at least one corresponding piece of data;
the second determining module is used for determining a plurality of secondary catalogs corresponding to the data associated with the primary catalogs according to the acquisition time determined by the time information of each piece of data associated with the primary catalogs and the preset time interval and associating each secondary catalog with each piece of data;
and the generating module is used for generating a data storage path corresponding to each piece of data based on the secondary directory associated with each piece of data, the primary directory to which the secondary directory belongs and the data identification information of each piece of data.
7. The generating apparatus according to claim 6, wherein the first determining module, when configured to determine a plurality of primary catalogs corresponding to the plurality of pieces of data based on the location identification information of each piece of data, and associate each primary catalog with corresponding at least one piece of data, is further configured to:
dividing data of the same place identification information in the obtained plurality of pieces of place identification information into a same place identification information set;
selecting any place identification information from the place identification information set, and determining the place identification information as a primary catalog corresponding to the place identification information set;
and associating all data contained in the place identification information set with the primary catalog corresponding to the place identification information set.
8. The generation apparatus according to claim 6, wherein the second determination module, when configured to determine, for each primary catalog, a plurality of secondary catalogs corresponding to the data associated with the primary catalog based on the collection time determined by the time information of each piece of data associated with the primary catalog and the preset time interval, and associate each secondary catalog with each piece of data, determines the plurality of secondary catalogs corresponding to the data by:
aiming at the same primary catalog, acquiring a plurality of acquisition times of a plurality of data associated with the primary catalog;
dividing the time interval to which the plurality of acquisition times belong into a plurality of sub-time intervals based on the preset time interval;
and acquiring the starting time of each sub-time interval, and determining the starting time of each sub-time interval as a corresponding secondary directory.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when an electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the method of generating a data storage path of any of claims 1 to 5.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the method for generating a data storage path according to any one of claims 1 to 5.
CN201911030064.5A 2019-10-28 2019-10-28 Data storage path generation method and device and readable storage medium Active CN110765321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911030064.5A CN110765321B (en) 2019-10-28 2019-10-28 Data storage path generation method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911030064.5A CN110765321B (en) 2019-10-28 2019-10-28 Data storage path generation method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN110765321A true CN110765321A (en) 2020-02-07
CN110765321B CN110765321B (en) 2022-10-25

Family

ID=69334054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911030064.5A Active CN110765321B (en) 2019-10-28 2019-10-28 Data storage path generation method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN110765321B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076305A (en) * 2021-04-20 2021-07-06 广东电网有限责任公司 Data processing method and device, electronic equipment and storage medium
CN113806304A (en) * 2021-08-23 2021-12-17 北京天融信网络安全技术有限公司 Method and system for acquiring software file path

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060179037A1 (en) * 2005-02-07 2006-08-10 Turner Bryan C Arrangement for a distributed file system having data objects mapped independent of any data object attribute
CN102902797A (en) * 2012-10-11 2013-01-30 福建亿同世纪软件有限公司 Method for storing and retrieving real-time monitored data of large-volume equipment
CN103914461A (en) * 2012-12-31 2014-07-09 北京中交兴路信息科技有限公司 Traffic information query method and device
CN104750708A (en) * 2013-12-27 2015-07-01 华为技术有限公司 Spatio-temporal data index building and searching methods, a spatio-temporal data index building and searching device and spatio-temporal data index building and searching equipment
US20150269277A1 (en) * 2013-08-26 2015-09-24 Tencent Technology (Shenzhen) Company Limited Storing method and apparatus for data aquisition
US20150278237A1 (en) * 2012-12-28 2015-10-01 Fujitsu Limited System and method for file selection, information processor, and terminal
CN105701096A (en) * 2014-11-25 2016-06-22 腾讯科技(深圳)有限公司 Index generation method, data inquiry method, index generation device, data inquiry device and system
WO2017032245A1 (en) * 2015-08-27 2017-03-02 阿里巴巴集团控股有限公司 Method and device for generating video file index information
CN106570062A (en) * 2016-10-08 2017-04-19 中国人民解放军理工大学 System and method for querying uncertain moving object range of road network trajectory
CN107229421A (en) * 2017-05-31 2017-10-03 浙江大华技术股份有限公司 The establishment of video data storage systems, file write and read method and device
CN107766377A (en) * 2016-08-19 2018-03-06 华为技术有限公司 A kind of monitoring data querying method and device
CN109271871A (en) * 2018-08-22 2019-01-25 平安科技(深圳)有限公司 Sample store path generation method, device, computer equipment and storage medium
CN110222074A (en) * 2019-06-14 2019-09-10 北京金山云网络技术有限公司 It indexes lookup method, search device, electronic equipment and storage medium
CN110287391A (en) * 2019-06-12 2019-09-27 南京邮电大学 Multi-level trajectory data storage method, storage medium and terminal based on Hadoop
CN110321325A (en) * 2019-06-21 2019-10-11 腾讯科技(深圳)有限公司 File inode lookup method, terminal, server, system and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060179037A1 (en) * 2005-02-07 2006-08-10 Turner Bryan C Arrangement for a distributed file system having data objects mapped independent of any data object attribute
CN102902797A (en) * 2012-10-11 2013-01-30 福建亿同世纪软件有限公司 Method for storing and retrieving real-time monitored data of large-volume equipment
US20150278237A1 (en) * 2012-12-28 2015-10-01 Fujitsu Limited System and method for file selection, information processor, and terminal
CN103914461A (en) * 2012-12-31 2014-07-09 北京中交兴路信息科技有限公司 Traffic information query method and device
US20150269277A1 (en) * 2013-08-26 2015-09-24 Tencent Technology (Shenzhen) Company Limited Storing method and apparatus for data aquisition
CN104750708A (en) * 2013-12-27 2015-07-01 华为技术有限公司 Spatio-temporal data index building and searching methods, a spatio-temporal data index building and searching device and spatio-temporal data index building and searching equipment
CN105701096A (en) * 2014-11-25 2016-06-22 腾讯科技(深圳)有限公司 Index generation method, data inquiry method, index generation device, data inquiry device and system
WO2017032245A1 (en) * 2015-08-27 2017-03-02 阿里巴巴集团控股有限公司 Method and device for generating video file index information
CN107766377A (en) * 2016-08-19 2018-03-06 华为技术有限公司 A kind of monitoring data querying method and device
CN106570062A (en) * 2016-10-08 2017-04-19 中国人民解放军理工大学 System and method for querying uncertain moving object range of road network trajectory
CN107229421A (en) * 2017-05-31 2017-10-03 浙江大华技术股份有限公司 The establishment of video data storage systems, file write and read method and device
CN109271871A (en) * 2018-08-22 2019-01-25 平安科技(深圳)有限公司 Sample store path generation method, device, computer equipment and storage medium
CN110287391A (en) * 2019-06-12 2019-09-27 南京邮电大学 Multi-level trajectory data storage method, storage medium and terminal based on Hadoop
CN110222074A (en) * 2019-06-14 2019-09-10 北京金山云网络技术有限公司 It indexes lookup method, search device, electronic equipment and storage medium
CN110321325A (en) * 2019-06-21 2019-10-11 腾讯科技(深圳)有限公司 File inode lookup method, terminal, server, system and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
G. KOLLIOS ET AL.: "Indexing animated objects using spatiotemporal access methods", 《IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING ( VOLUME: 13, ISSUE: 5, SEP/OCT 2001)》 *
冯钧等: "基于HBase的路网移动对象时空索引方法", 《计算机应用》 *
王凯: "城市车辆轨迹数据的时空索引设计研究", 《中国优秀硕士学位论文全文数据库 (基础科学辑)》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076305A (en) * 2021-04-20 2021-07-06 广东电网有限责任公司 Data processing method and device, electronic equipment and storage medium
CN113806304A (en) * 2021-08-23 2021-12-17 北京天融信网络安全技术有限公司 Method and system for acquiring software file path
CN113806304B (en) * 2021-08-23 2023-07-18 北京天融信网络安全技术有限公司 Method and system for acquiring software file path

Also Published As

Publication number Publication date
CN110765321B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN111767407B (en) Encoding knowledge graph entries with searchable geo-temporal values to evaluate transitive geo-temporal proximity of entity references
CN105224546B (en) Data storage and query method and equipment
CN104281672B (en) Method and device for processing log data
CN106649403B (en) Index implementation method and system in file storage
CN106557545B (en) Video retrieval method and device
CN106980699B (en) Data processing platform and system
EP2973034B1 (en) Methods and systems for arranging and searching a database of media content recordings
WO2016155386A1 (en) Method and device for determining whether webpage comprises point of interest (poi) data
CN110765321B (en) Data storage path generation method and device and readable storage medium
CN111475105B (en) Monitoring data storage method, monitoring data storage device, monitoring data server and storage medium
WO2007068600B1 (en) Generating backup sets to a specific point in time
CN107026881B (en) Method, device and system for processing service data
CN110597852B (en) Data processing method, device, terminal and storage medium
CA2905385C (en) Methods and systems for arranging and searching a database of media content recordings
CN108205562B (en) Positioning data storage and retrieval method and device for geographic information system
CN102244758A (en) Video-recording-file-based data acquisition method and equipment
CN114117160A (en) Threat analysis map generation and application method and device based on threat information
CN109271545A (en) A kind of characteristic key method and device, storage medium and computer equipment
CN115422479A (en) Track association method and device, electronic equipment and machine-readable storage medium
CN111309677A (en) File management method and device of distributed file system
CN115729893A (en) Data access method, data access device, nonvolatile storage medium and electronic device
CN102929875B (en) A kind of locating file method, device and electronic equipment
CN105260465A (en) Graph data processing service method and apparatus
CN109101644A (en) A kind of sound state journal file scanning collecting method
CN106933974B (en) Video file index information construction and query method and device

Legal Events

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