CN112860625A - Data acquisition method, data storage method, device, equipment and storage medium - Google Patents

Data acquisition method, data storage method, device, equipment and storage medium Download PDF

Info

Publication number
CN112860625A
CN112860625A CN202110139272.XA CN202110139272A CN112860625A CN 112860625 A CN112860625 A CN 112860625A CN 202110139272 A CN202110139272 A CN 202110139272A CN 112860625 A CN112860625 A CN 112860625A
Authority
CN
China
Prior art keywords
file
directory
data
file structure
database
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
Application number
CN202110139272.XA
Other languages
Chinese (zh)
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110139272.XA priority Critical patent/CN112860625A/en
Publication of CN112860625A publication Critical patent/CN112860625A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Abstract

The disclosure relates to a data acquisition method, a data storage method, a device, equipment and a storage medium, wherein the method is applied to first equipment and comprises the following steps: acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by second equipment based on a created file storage function in advance, and operating systems of the first equipment and the second equipment are different; calling a pre-established file analysis mode to analyze the file with the set executable format to obtain a file structure directory; and in response to receiving a data acquisition instruction carrying handle information, acquiring target data corresponding to the handle information from the file structure directory. The method and the device can realize the analysis of the set executable format file acquired from the second equipment with different operating systems, and acquire the required target data based on the handle information in the data acquisition instruction, thereby realizing the cross-platform data analysis and acquisition and improving the portability of the data acquisition scheme.

Description

Data acquisition method, data storage method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a data acquisition method, a data storage method, a data acquisition device, a data storage device, a data acquisition device, and a storage medium.
Background
The file system of the electronic device is usually customized based on a specific operating system of the device, for example, an Ext4 file system customized based on the Linux operating system, file systems such as Exfat, Ntfs, and Fat32 customized based on the Windows operating system, and an AFS file system customized based on the IOS operating system. However, since the file system is customized based on various operating systems, cross-platform data acquisition and storage cannot be achieved, which brings great inconvenience to subsequent data applications and the like.
Disclosure of Invention
The present disclosure is directed to solving at least one of the technical problems in the related art to some extent, and to this end, embodiments of the present disclosure provide a data acquisition method, a data storage method, an apparatus, a device, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a data acquisition method, applied to a first device, including:
acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by second equipment based on a created file storage function in advance, and operating systems of the first equipment and the second equipment are different;
calling a pre-established file analysis mode to analyze the file with the set executable format to obtain a file structure directory;
and in response to receiving a data acquisition instruction carrying handle information, acquiring target data corresponding to the handle information from the file structure directory.
In some embodiments, the invoking a pre-created file parsing manner to parse the file with the set executable format to obtain a file structure directory includes:
and reading the file with the set executable format to obtain a file structure directory, wherein the file structure directory comprises at least one segment directory, and the segment directory comprises at least one database directory.
In some embodiments, where the first device is a television device, each of the at least one database directory is for independently storing any of the following raw data:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
In some embodiments, the database directory is further configured to store metadata of the currently stored raw data, the metadata including at least one or more of:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
In some embodiments, the handle information includes a segment identification of the target data corresponding to a segment directory in the file structure directory and a database identification of a database directory;
the acquiring the target data corresponding to the handle information from the file structure directory includes:
and acquiring original data corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory based on the segment identifier and the database identifier so as to be analyzed by a set program.
In some embodiments, in the case that the target data is a video file, an audio file, a picture file, or a text file, the method further comprises:
and acquiring metadata corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory so as to be processed by the front end of the setting program.
In some embodiments, the method further comprises:
calling a pre-created handle information display function, and displaying handle information corresponding to each data in the file structure directory;
and receiving a data acquisition instruction which is sent based on the displayed handle information and carries the handle information.
According to a second aspect of the embodiments of the present disclosure, there is provided a data storage method, applied to a second device, including:
determining handle information of target data to be stored;
compiling the target data and the handle information to obtain a file structure directory;
and packaging the file structure directory into a file with a set executable format.
In some embodiments, the determining handle information of the target data to be stored includes:
determining that the target data corresponds to a segment identifier of a segment directory and a database identifier of a database directory in a file structure directory;
writing the target data and the handle information to obtain a file structure directory, including:
creating a segment directory corresponding to the segment identifier;
and creating a database directory corresponding to the database identifier under the segment directory to obtain a file structure directory.
In some embodiments, the method further comprises:
adding any one of the following original data corresponding to the target data in the database directory of the file structure directory:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
In some embodiments, the method further comprises:
adding currently stored metadata of the original data in the database directory of the file structure directory;
the metadata includes at least one of:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
In some embodiments, said packaging said file structure directory as a set executable format file comprises:
and calling a file storage function created in advance based on python to package the file structure directory to obtain a file with a set executable format.
According to a third aspect of the embodiments of the present disclosure, there is provided a data acquisition apparatus, applied to a first device, including:
the file acquisition module is used for acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by second equipment in advance based on a created file storage function, and operating systems of the first equipment and the second equipment are different;
the file analysis module is used for calling a pre-established file analysis mode to analyze the file with the set executable format to obtain a file structure directory;
and the data acquisition module is used for responding to a received data acquisition instruction carrying handle information and acquiring target data corresponding to the handle information from the file structure directory.
In some embodiments, the file parsing module is further configured to read the file with the set executable format to obtain a file structure directory, where the file structure directory includes at least one segment directory, and the segment directory includes at least one database directory.
In some embodiments, where the first device is a television device, each of the at least one database directory is for independently storing any of the following raw data:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
In some embodiments, the database directory is further configured to store metadata of the currently stored raw data, the metadata including at least one or more of:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
In some embodiments, the handle information includes a segment identification of the target data corresponding to a segment directory in the file structure directory and a database identification of a database directory;
the data acquisition module is further configured to acquire, based on the segment identifier and the database identifier, original data corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory, so as to be analyzed by a setting program.
In some embodiments, in a case that the target data is a video file, an audio file, a picture file, or a text file, the data obtaining module is further configured to obtain metadata corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory, so as to be processed by a front end of the setting program.
In some embodiments, the apparatus further comprises: an instruction receiving module;
the instruction receiving module comprises:
the handle display unit is used for calling a pre-created handle information display function and displaying the handle information corresponding to each data in the file structure directory;
and the instruction receiving unit is used for receiving a data acquisition instruction which is sent based on the displayed handle information and carries the handle information.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a data storage device, applied to a second device, including:
the handle determining module is used for determining the handle information of the target data to be stored;
the directory generation module is used for compiling the target data and the handle information to obtain a file structure directory;
and the file packaging module is used for packaging the file structure directory into a file with a set executable format.
In some embodiments, the handle determination module is further to determine that the target data corresponds to a segment identification of a segment directory and a database identification of a database directory in a file structure directory;
the catalog generation module comprises:
a segment directory creating unit configured to create a segment directory corresponding to the segment identifier;
and the database directory creating unit is used for creating a database directory corresponding to the database identifier under the segment directory to obtain a file structure directory.
In some embodiments, the catalog generation module further comprises:
a data adding unit, configured to add, in the database directory of the file structure directory, original data corresponding to any one of the following target data:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
In some embodiments, the directory generation module is further configured to add metadata of currently stored original data in the database directory of the file structure directory;
the metadata includes at least one of:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
In some embodiments, the file encapsulation module is further configured to invoke a file storage function created in advance based on python to encapsulate the file structure directory, so as to obtain a file with a set executable format.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor, and a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by second equipment based on a created file storage function in advance, and the operating systems of the electronic equipment and the second equipment are different;
calling a pre-established file analysis mode to analyze the file with the set executable format to obtain a file structure directory;
and in response to receiving a data acquisition instruction carrying handle information, acquiring target data corresponding to the handle information from the file structure directory.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor of a first device, performs the steps of:
acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by second equipment based on a created file storage function in advance, and operating systems of the first equipment and the second equipment are different;
calling a pre-established file analysis mode to analyze the file with the set executable format to obtain a file structure directory;
and in response to receiving a data acquisition instruction carrying handle information, acquiring target data corresponding to the handle information from the file structure directory.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method comprises the steps of acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by a second device based on a created file storage function in advance, operating systems of the first device and the second device are different, calling a pre-created file analysis mode to analyze the file with the set executable format to obtain a file structure directory, further responding to a received data acquisition instruction carrying handle information, acquiring target data corresponding to the handle information from the file structure directory, realizing analysis of the file with the set executable format acquired from the second device with different operating systems, further realizing acquisition of required target data based on the handle information in the data acquisition instruction, and breaking through the limitation that the devices with different operating systems in the related technology cannot directly analyze and acquire the data, the cross-platform data analysis and acquisition are realized, the portability of a data acquisition scheme can be improved, and the subsequent application efficiency of the acquired data is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of data acquisition according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of data acquisition according to yet another exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of data storage according to an exemplary embodiment;
FIG. 4 is a flow diagram that illustrates writing the target data and the handle information to a file structure directory based on python, according to an embodiment;
FIG. 5 is a block diagram illustrating a data acquisition device according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating a data acquisition device according to yet another exemplary embodiment;
FIG. 7 is a block diagram illustrating a data storage device in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating a data storage device in accordance with yet another exemplary embodiment;
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, the file system of the electronic device is usually customized based on a specific operating system of the device, for example, an Ext4 file system customized based on the Linux operating system, file systems such as Exfat, Ntfs, and Fat32 customized based on the Windows operating system, and an AFS file system customized based on the IOS operating system. However, since the above file system is customized based on various operating systems, cross-platform data acquisition and storage cannot be achieved, for example, a first electronic device with an android operating system cannot directly acquire and parse data from a second device with a Windows operating system, which obviously causes great inconvenience in subsequent data application and the like. The present disclosure is directed to solving at least one of the technical problems in the related art to some extent, and to this end, embodiments of the present disclosure provide a data acquisition method, a data storage method, an apparatus, a device, and a storage medium as follows.
FIG. 1 is a flow chart illustrating a method of data acquisition according to an exemplary embodiment; the method of the present embodiment may be applied to a first device, which may include a processor and a memory, the memory being configured to store received data, the processor being configured to execute instructions for data processing; the first device may comprise a server operating independently, a distributed server, or a server cluster consisting of a plurality of servers. It should be noted that the first device may be understood as a terminal device, for example, a television device, a computer device, a smart phone, a tablet computer, a wearable device, and the like, and may also be understood as an operating system or a platform included in the terminal device. As shown in fig. 1, the method comprises the following steps S101-S103:
in step S101, a setting executable format file is acquired.
In this embodiment, the first device obtains a file with a set executable format, which is pre-stored in the second device. The file with the set executable format comprises a file stored by a file storage function which is created by the second device based on a specific programming language in advance, and the operating systems of the first device and the second device are different. The particular programming language may be java, c + +, python, etc.
The following embodiments are described in the programming language python as an example. Python is a cross-platform interpreted programming language, all contents of which are open source and free, can be directly downloaded for use, and can modify codes of the contents. The Python memory management is automatically completed, and an operator only needs to concentrate on the program and does not need to pay attention to the memory management. Most importantly, the method has good cross-platform and portability, and can be transplanted to most platforms for use, such as operating systems of Windows, MacOS, Linux, Android, IOS and the like.
In some embodiments, the format of the executable format file may be predefined, and the format of the executable format file may be predefined according to needs. For example, the setup executable Format file described above may be defined as a Cross-Platform Smart Device Data Format (CDF) file, which is suffixed with. CDF.
In other embodiments, the format and suffix of the executable format file are associated with the actual usage scenario, and the setting may be performed based on the actual usage scenario, for example, in a smart tv scenario, the executable format file may be a tv format file and suffix of.
The storage manner of the executable format file can be referred to the following embodiment shown in fig. 3, and will not be described in detail here.
In step S102, a pre-created file parsing manner is called to parse the file with the set executable format to obtain a file structure directory.
In this embodiment, after the set executable format file is obtained from the second device, a file parsing manner created in advance based on python may be invoked to parse the set executable format file to obtain a file structure directory.
In an embodiment, a function library created based on python and used for parsing the file with the set executable format may be installed in advance on the first device, and then after the file with the set executable format is obtained from the second device, a file parsing function in the function library may be called to parse the file with the set executable format to obtain a file structure directory. For example, the first device may call a file reading function, such as "read _ CDF", created in advance based on python, to read the file with the set executable format to obtain a file structure directory, and further, may access the previously created directory and attribute values through the file handle.
In this embodiment, the file structure directory may include at least one Section directory (Section), and the Section directory includes at least one database directory (Dataset). For example, the structure of the CDF file is as follows:
Figure BDA0002927967000000101
Figure BDA0002927967000000111
further, the database directory (Dataset) may include raw Data (Data values) and Metadata (Metadata), wherein the Metadata may include at least one of the following:
datapspace: rank and dimension of the original data;
datatype: types of raw data, such as video, audio, text, and configuration parameters;
properties: attributes of original data, such as the case of data blocking (granularity size), compression (Chunk and Compressed), and the like;
attributes: custom properties of the raw data.
For example, the structure of the database directory (Dataset) is as follows:
Figure BDA0002927967000000112
in step S103, in response to receiving the data obtaining instruction carrying the handle information, target data corresponding to the handle information is obtained from the file structure directory.
In this embodiment, after a file analysis mode created in advance based on python is called to analyze the file with the set executable format to obtain a file structure directory, target data corresponding to the handle information may be obtained from the file structure directory in response to receiving a data obtaining instruction carrying the handle information.
In some embodiments, the obtaining of the target data corresponding to the handle information from the file structure directory in step S103 may include:
and acquiring target data corresponding to the segment identifier and the database identifier from the file structure directory. For example, the corresponding target data may be obtained from the file structure directory based on instructions such as "fd.section", "fd.section (number)", "fd.section (" video ")" and the like, where "section", "number", and "video" are handle information corresponding to the required target data.
As can be seen from the above description, the method of this embodiment obtains a file with a set executable format, where the file with the set executable format includes a file stored in advance by a second device based on a created file storage function, and the operating systems of the first device and the second device are different, and calls a pre-created file parsing manner to parse the file with the set executable format to obtain a file structure directory, and further obtains target data corresponding to handle information from the file structure directory in response to receiving a data obtaining instruction with the handle information, so as to implement parsing of the file with the set executable format obtained from the second device with a different operating system, and further achieve obtaining the required target data based on the handle information in the data obtaining instruction, and break through the limitation that data cannot be directly parsed and obtained among devices with different operating systems in the related art, the cross-platform data analysis and acquisition are realized, the portability of a data acquisition scheme can be improved, and the subsequent application efficiency of the acquired data is improved.
FIG. 2 is a flow chart illustrating a method of data acquisition according to yet another exemplary embodiment; as shown in fig. 2, the method comprises the following steps S201-S205:
in step S201, a setting executable format file is acquired.
The file with the set executable format comprises a file stored by a file storage function which is created by the second device based on python in advance, and the operating systems of the first device and the second device are different.
In step S202, a pre-created file parsing manner is called to parse the file with the set executable format to obtain a file structure directory.
In step S203, a pre-created handle information display function is called to display handle information corresponding to each data in the file structure directory.
In this embodiment, after the first device calls a file parsing manner created in advance based on python to parse the file with the executable format to obtain the file structure directory, in order to clearly display handle information corresponding to each data in the file structure directory to a user, a handle information display function created in advance based on python, such as "fd.
In step S204, a data obtaining instruction carrying handle information and sent based on the displayed handle information is received.
It can be understood that, after a handle information display function created in advance based on python is called to display handle information corresponding to each data in the file structure directory, a user can determine handle information corresponding to target data required by the user based on the currently displayed handle information corresponding to each data, and then can input a data acquisition instruction carrying the handle information corresponding to the target data in the first terminal device, so that the first terminal device can receive the data acquisition instruction to execute subsequent steps.
In step S205, in response to receiving the data obtaining instruction carrying the handle information, target data corresponding to the handle information is obtained from the file structure directory.
For the explanation and explanation of steps S201 to S202 and S205, reference may be made to the above embodiments, which are not described herein again.
As can be seen from the above description, the method of this embodiment may display the handle information corresponding to each data in the file structure directory by calling the handle information display function created in advance based on python, and receive the data acquisition instruction carrying the handle information and sent based on the displayed handle information, so that the handle information corresponding to each data in the file structure directory may be clearly displayed for the user, the user may determine the handle information corresponding to the target data required by the user, a foundation may be laid for subsequently inputting the data acquisition instruction carrying the handle information corresponding to the target data in the first terminal device, and accuracy of subsequently acquiring the target data from the file structure directory based on the data acquisition instruction may be improved.
FIG. 3 is a flow chart illustrating a method of data storage according to an exemplary embodiment; the method of the present embodiment may be applied to a second device comprising a processor and a memory, the memory being for storing received data, the processor being operable to execute instructions for data processing; the second device may comprise a server operating independently, a distributed server, or a server cluster consisting of a plurality of servers. It should be noted that the second device may be understood as a terminal device, such as a television device, a computer device, a smart phone, a tablet computer, a wearable device, and the like, and may also be understood as an operating system or a platform included in the terminal device. The operating systems or platforms of the second device and the first device may be different. As shown in fig. 3, the method comprises the following steps S301-S303:
in step S301, handle information of target data to be stored is determined.
In this embodiment, before storing the target data, handle information corresponding to the target data may be determined.
For example, it may be determined that the above target data corresponds to a segment identification of a segment directory (i.e., identification information of a Section part) and a database identification of a database directory (i.e., identification information of a Dataset part) in the file structure directory.
In step S302, the target data and the handle information are written to obtain a file structure directory.
In this embodiment, after determining the handle information of the target data to be stored, the target data and the handle information may be written based on python to obtain the file structure directory. For example, the target data and the corresponding handle information may be written into a blank file structure directory created in advance according to the storage path corresponding to the handle information, so as to obtain the written file structure directory.
For example, if the handle information of the target data is "section _1(" dataset _1_1 ")", the target data may be written in the database directory identified as "dataset _1" and the section directory identified as "section _1" in the middle of the file structure directory.
In other embodiments, the above-mentioned writing manner of the target data and the handle information based on python may be referred to the following embodiment shown in fig. 4, and will not be described in detail here.
In step S303, the file structure directory is packaged as a file in a set executable format.
In this embodiment, when the target data and the handle information are written based on python to obtain a file structure directory, the file structure directory may be encapsulated as a file with a set executable format. For example, a file storage function created in advance based on python may be called to encapsulate the file structure directory, so as to obtain a file with a set executable format.
The Format of the set executable Format file is predefined, such as Cross-Platform Smart Device Data Format (CDF) Format, so that the set executable Format file can be referred to as CDF file, which is suffixed by CDF. In this embodiment, the structure of the CDF file may refer to the embodiment shown in fig. 1, which is not described herein again. In some embodiments, a file storage function created in advance based on python may be called to store the file structure directory as a set executable format file.
As can be seen from the above description, in the method of this embodiment, the handle information of the target data to be stored is determined, the target data and the handle information are compiled to obtain the file structure directory, and the file structure directory is further stored as the file with the set executable format, so that the file with the set executable format, which is used for data analysis of electronic devices of different operating systems, can be stored based on the target data and the handle information, the limitation that data cannot be directly analyzed and obtained among devices of different operating systems in the related art can be broken through, a foundation is laid for subsequently implementing cross-platform data analysis and acquisition, and the portability of a data storage scheme can be improved.
FIG. 4 is a flow diagram that illustrates writing the target data and the handle information to a file structure directory based on python, according to an embodiment; based on the above embodiment, this embodiment takes an example of writing the target data and the handle information based on python to obtain a file structure directory.
In this embodiment, the determining the handle information of the target data to be stored in step S301 may include: determining that the target data corresponds to a segment identification of a segment directory and a database identification of a database directory in a file structure directory. On this basis, as shown in fig. 4, writing the target data and the handle information in the above step S302 to obtain a file structure directory may include the following steps S401 to S402:
in step S401, a segment directory corresponding to the segment identifier is created.
For example, a group creation function created in advance based on python may be called, the segment is created to identify the corresponding segment directory, for example, a group creation function "create _ group" created in advance based on python is called to create a group directory, and a call instruction such as create _ group (running name) may be adopted. The string name is identification information of the segment directory and can be freely set.
In step S402, a database directory corresponding to the database identifier is created under the segment directory, so as to obtain a file structure directory.
For example, a database creating function created in advance based on python may be called, and a database directory corresponding to the database identifier is created under the segment directory, so as to obtain a file structure directory. For example, a database creating function "create _ dataset" created in advance based on python may be called to create a database directory corresponding to the above database identifier under a corresponding segment directory, and a call instruction such as create _ dataset (string name) may be adopted. The string name is identification information of the database directory and can be freely set.
In some embodiments, the method of this embodiment may further include:
adding any one or more of the following original data corresponding to the target data in the database directory of the file structure directory:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
For example, a data adding function created in advance based on python may be called, such as "attrs" to add the original data and the metadata corresponding to the target data in the corresponding database directory of the file structure directory. It should be noted that the function "attrs" may store data by using key values, and may use instructions such as: attrs [ "attr 1" ] ═ my attr1 ".
In this embodiment, the original data may include data of the target data (e.g., video, audio, text, configuration parameter, etc. type data), and the metadata may include at least one or more of the following:
datapspace: rank and dimension of the currently stored raw data;
datatype: the type of the currently stored raw data, such as video, audio, text, and configuration parameters;
properties: attributes of currently stored original data, such as the case of data blocking (granularity size), compression case (Chunk and Compressed), and the like;
attributes: custom properties of the currently stored raw data.
The structure of the database directory (Dataset) can refer to the contents shown in the above embodiments, and will not be described herein again.
FIG. 5 is a block diagram illustrating a data acquisition device according to an exemplary embodiment; the apparatus of the present embodiment may be applied to a first device, which may include a processor and a memory, the memory being configured to store received data, the processor being configured to execute instructions for data processing; the first device may comprise a server operating independently, a distributed server, or a server cluster consisting of a plurality of servers. It should be noted that the first device may be understood as a terminal device, for example, a television device, a computer device, a smart phone, a tablet computer, a wearable device, and the like, and may also be understood as an operating system or a platform included in the terminal device. As shown in fig. 5, the apparatus includes: file acquisition module 110, file parsing module 120, and data acquisition module 130, wherein:
a file obtaining module 110, configured to obtain a file with a set executable format, where the file with the set executable format includes a file stored in advance by a second device based on a created file storage function, and an operating system of the first device is different from an operating system of the second device;
the file analysis module 120 is configured to invoke a pre-created file analysis mode to analyze the file with the set executable format to obtain a file structure directory;
the data obtaining module 130 is configured to, in response to receiving a data obtaining instruction with handle information, obtain target data corresponding to the handle information from the file structure directory.
As can be seen from the above description, the apparatus of this embodiment obtains a file with a set executable format, where the file with the set executable format includes a file stored in advance by a second device based on a created file storage function, and the operating systems of the first device and the second device are different, and calls a pre-created file parsing manner to parse the file with the set executable format to obtain a file structure directory, and further obtains target data corresponding to handle information from the file structure directory in response to receiving a data obtaining instruction with the handle information, so as to implement direct parsing of the file with the set executable format obtained from the second device with a different operating system, and further achieve obtaining the required target data based on the handle information in the data obtaining instruction, and break through the limitation that data cannot be directly parsed and obtained between devices with different operating systems in the related art, the cross-platform data analysis and acquisition are realized, the portability of a data acquisition scheme can be improved, and the subsequent application efficiency of the acquired data is improved.
FIG. 6 is a block diagram illustrating a data acquisition device according to yet another exemplary embodiment; the file obtaining module 210, the file analyzing module 220, and the data obtaining module 230 have the same functions as the file obtaining module 110, the file analyzing module 120, and the data obtaining module 130 in the embodiment shown in fig. 5, and are not described herein again.
In some embodiments, the file parsing module 220 may be further configured to read the file with the set executable format to obtain a file structure directory, where the file structure directory includes at least one segment directory, and the segment directory includes at least one database directory.
In some embodiments, in a case where the first device is a television device, each of the at least one database directory may be configured to independently store any of the following raw data:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
In some embodiments, the database directory may further be configured to store metadata of currently stored raw data, where the metadata includes at least one or more of the following:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
In some embodiments, the handle information may include a segment identifier of the target data corresponding to a segment directory in the file structure directory and a database identifier of a database directory;
on this basis, the data obtaining module 230 may be further configured to obtain, based on the segment identifier and the database identifier, original data corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory, so as to be analyzed by a setting program.
In some embodiments, in a case that the target data is a video file, an audio file, a picture file, or a text file, the data obtaining module 230 may be further configured to obtain metadata corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory, so as to be processed by the front end of the setting program.
In some embodiments, the apparatus of this embodiment may further include: an instruction receiving module 240;
the instruction receiving module 240 may include:
a handle display unit 241, configured to call a pre-created handle information display function, and display handle information corresponding to each data in the file structure directory;
an instruction receiving unit 242, configured to receive a data obtaining instruction carrying handle information and sent based on the displayed handle information.
FIG. 7 is a block diagram illustrating a data storage device in accordance with an exemplary embodiment; the method of the present embodiment may be applied to a second device comprising a processor and a memory, the memory being for storing received data, the processor being operable to execute instructions for data processing; the second device may comprise a server operating independently, a distributed server, or a server cluster consisting of a plurality of servers. It should be noted that the second device may be understood as a terminal device, such as a television device, a computer device, a smart phone, a tablet computer, a wearable device, and the like, and may also be understood as an operating system or a platform included in the terminal device. The operating systems or platforms of the second device and the first device may be different. As shown in fig. 7, the apparatus includes: a handle determination module 310, a directory generation module 320, and a file encapsulation module 330, wherein:
a handle determining module 310, configured to determine handle information of target data to be stored;
the directory generation module 320 is configured to compile the target data and the handle information to obtain a file structure directory;
the file encapsulation module 330 is configured to encapsulate the file structure directory into a file with a set executable format.
As can be seen from the above description, the apparatus of this embodiment obtains the file structure directory by determining the handle information of the target data to be stored, and writing the target data and the handle information, and then stores the file structure directory as the set executable format file, so that the target data and the handle information can be stored as the set executable format file for data analysis of the electronic devices of different operating systems, the limitation that data cannot be directly analyzed and acquired among devices of different operating systems in the related art can be broken through, a foundation is laid for subsequently implementing cross-platform data analysis and acquisition, and the portability of the data storage scheme can be improved.
FIG. 8 is a block diagram illustrating a data storage device in accordance with yet another exemplary embodiment; the method of this embodiment may be applied to a second device (e.g., a television device, a computer device, a smartphone, a tablet, a wearable device, etc.). The handle determining module 410, the directory generating module 420, and the file encapsulating module 430 have the same functions as the handle determining module 310, the directory generating module 320, and the file encapsulating module 330 in the embodiment shown in fig. 7, and are not described herein again.
In this embodiment, the handle determining module 410 may be further configured to determine that the target data corresponds to a segment identifier of a segment directory and a database identifier of a database directory in a file structure directory;
on this basis, as shown in fig. 8, the catalog generation module 420 may include:
a segment directory creating unit 421, configured to create a segment directory corresponding to the segment identifier;
a library directory creating unit 422, configured to create a database directory corresponding to the database identifier under the segment directory, so as to obtain a file structure directory.
In some embodiments, the catalog generation module 420 may further include:
a data adding unit 423, configured to add, to the database directory of the file structure directory, original data corresponding to any one of the following target data:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
In some embodiments, the directory generation module 420 may be further configured to add metadata of the currently stored original data to the database directory of the file structure directory,
the metadata includes at least one of:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
In some embodiments, the file encapsulation module 430 may be further configured to call a file storage function created in advance based on python to encapsulate the file structure directory, so as to obtain a file with a set executable format.
With regard to the system in the above embodiment, the specific manner in which the respective modules perform operations has been described in detail in the embodiment related to the system, and will not be elaborated here.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the device 900 may be a smart television, a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 9, device 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 906 provides power to the various components of the device 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the device 900.
The multimedia components 908 include a screen that provides an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the device 900. For example, the sensor component 914 may detect an open/closed state of the device 900, the relative positioning of components, such as a display and keypad of the device 900, the sensor component 914 may also detect a change in the position of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, orientation or acceleration/deceleration of the device 900, and a change in the temperature of the device 900. The sensor assembly 914 may also include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the device 900 and other devices in a wired or wireless manner. The device 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the device 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for executing the above-described file systems.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 904 comprising instructions, executable by processor 920 of device 900 to implement the file system described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (26)

1. A data acquisition method is applied to a first device and comprises the following steps:
acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by second equipment based on a created file storage function in advance, and operating systems of the first equipment and the second equipment are different;
calling a pre-established file analysis mode to analyze the file with the set executable format to obtain a file structure directory;
and in response to receiving a data acquisition instruction carrying handle information, acquiring target data corresponding to the handle information from the file structure directory.
2. The method according to claim 1, wherein the invoking a pre-created file parsing manner to parse the set executable format file to obtain a file structure directory comprises:
and reading the file with the set executable format to obtain a file structure directory, wherein the file structure directory comprises at least one segment directory, and the segment directory comprises at least one database directory.
3. The method of claim 2, wherein, in a case where the first device is a television device, each of the at least one database directory is configured to independently store any of the following raw data:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
4. The method of claim 2, wherein the database directory is further configured to store metadata of currently stored raw data, the metadata including at least one or more of:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
5. The method of claim 2, wherein the handle information comprises segment identifiers of the target data corresponding to a segment directory in the file structure directory and a database identifier of a database directory;
the acquiring the target data corresponding to the handle information from the file structure directory includes:
and acquiring original data corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory based on the segment identifier and the database identifier so as to be analyzed by a set program.
6. The method of claim 5, wherein in the case that the target data is a video file, an audio file, a picture file, or a text file, the method further comprises:
and acquiring metadata corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory so as to be processed by the front end of the setting program.
7. The method of claim 1, further comprising:
calling a pre-created handle information display function, and displaying handle information corresponding to each data in the file structure directory;
and receiving a data acquisition instruction which is sent based on the displayed handle information and carries the handle information.
8. A data storage method is applied to a second device and comprises the following steps:
determining handle information of target data to be stored;
compiling the target data and the handle information to obtain a file structure directory;
and packaging the file structure directory into a file with a set executable format.
9. The method of claim 8, wherein the determining handle information of the target data to be stored comprises:
determining that the target data corresponds to a segment identifier of a segment directory and a database identifier of a database directory in a file structure directory;
writing the target data and the handle information to obtain a file structure directory, including:
creating a segment directory corresponding to the segment identifier;
and creating a database directory corresponding to the database identifier under the segment directory to obtain a file structure directory.
10. The method of claim 9, further comprising:
adding any one of the following original data corresponding to the target data in the database directory of the file structure directory:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
11. The method of claim 9, further comprising:
adding currently stored metadata of the original data in the database directory of the file structure directory;
the metadata includes at least one of:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
12. The method of claim 8, wherein encapsulating the file structure directory into a set executable format file comprises:
and calling a file storage function created in advance based on python to package the file structure directory to obtain a file with a set executable format.
13. A data acquisition device, applied to a first device, includes:
the file acquisition module is used for acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by second equipment in advance based on a created file storage function, and operating systems of the first equipment and the second equipment are different;
the file analysis module is used for calling a pre-established file analysis mode to analyze the file with the set executable format to obtain a file structure directory;
and the data acquisition module is used for responding to a received data acquisition instruction carrying handle information and acquiring target data corresponding to the handle information from the file structure directory.
14. The apparatus according to claim 13, wherein the file parsing module is further configured to read the file with the set executable format to obtain a file structure directory, where the file structure directory includes at least one segment directory, and the segment directory includes at least one database directory.
15. The apparatus of claim 14, wherein, in a case where the first device is a television device, each of the at least one database directory is configured to independently store any of the following raw data:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
16. The apparatus of claim 14, wherein the database directory is further configured to store metadata of currently stored raw data, and wherein the metadata comprises at least one or more of:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
17. The apparatus of claim 14, wherein the handle information comprises segment identifiers of the target data corresponding to a segment directory in the file structure directory and database identifiers of a database directory;
the data acquisition module is further configured to acquire, based on the segment identifier and the database identifier, original data corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory, so as to be analyzed by a setting program.
18. The apparatus according to claim 17, wherein in a case that the target data is a video file, an audio file, a picture file, or a text file, the data obtaining module is further configured to obtain metadata corresponding to the target data from a corresponding database directory under a corresponding segment directory of the file structure directory, so as to be processed by a front end of the setting program.
19. The apparatus of claim 13, further comprising: an instruction receiving module;
the instruction receiving module comprises:
the handle display unit is used for calling a pre-created handle information display function and displaying the handle information corresponding to each data in the file structure directory;
and the instruction receiving unit is used for receiving a data acquisition instruction which is sent based on the displayed handle information and carries the handle information.
20. A data storage device, for use with a second device, comprising:
the handle determining module is used for determining the handle information of the target data to be stored;
the directory generation module is used for compiling the target data and the handle information to obtain a file structure directory;
and the file packaging module is used for packaging the file structure directory into a file with a set executable format.
21. The apparatus of claim 20, wherein the handle determination module is further configured to determine that the target data corresponds to a segment identifier of a segment directory and a database identifier of a database directory in a file structure directory;
the catalog generation module comprises:
a segment directory creating unit configured to create a segment directory corresponding to the segment identifier;
and the database directory creating unit is used for creating a database directory corresponding to the database identifier under the segment directory to obtain a file structure directory.
22. The apparatus of claim 21, wherein the catalog generation module further comprises:
a data adding unit, configured to add, in the database directory of the file structure directory, original data corresponding to any one of the following target data:
video files, audio files, picture files, text files, and tv search scan buffer files and screen panel configuration parameters.
23. The apparatus of claim 21, wherein the directory generation module is further configured to add metadata of currently stored original data in the database directory of the file structure directory;
the metadata includes at least one of:
rank and dimension of the currently stored raw data;
the type of the current stored raw data;
attributes of the currently stored raw data;
custom properties of the currently stored raw data.
24. The apparatus of claim 20, wherein the file encapsulation module is further configured to invoke a file storage function created in advance based on python to encapsulate the file structure directory, so as to obtain a file with a set executable format.
25. An electronic device, comprising:
a processor, and a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by second equipment based on a created file storage function in advance, and the operating systems of the electronic equipment and the second equipment are different;
calling a pre-established file analysis mode to analyze the file with the set executable format to obtain a file structure directory;
and in response to receiving a data acquisition instruction carrying handle information, acquiring target data corresponding to the handle information from the file structure directory.
26. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor of a first device, performs the steps of:
acquiring a file with a set executable format, wherein the file with the set executable format comprises a file stored by second equipment based on a created file storage function in advance, and operating systems of the first equipment and the second equipment are different;
calling a pre-established file analysis mode to analyze the file with the set executable format to obtain a file structure directory;
and in response to receiving a data acquisition instruction carrying handle information, acquiring target data corresponding to the handle information from the file structure directory.
CN202110139272.XA 2021-02-01 2021-02-01 Data acquisition method, data storage method, device, equipment and storage medium Pending CN112860625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110139272.XA CN112860625A (en) 2021-02-01 2021-02-01 Data acquisition method, data storage method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110139272.XA CN112860625A (en) 2021-02-01 2021-02-01 Data acquisition method, data storage method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112860625A true CN112860625A (en) 2021-05-28

Family

ID=75986025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110139272.XA Pending CN112860625A (en) 2021-02-01 2021-02-01 Data acquisition method, data storage method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112860625A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467825A (en) * 2021-06-30 2021-10-01 完美世界(北京)软件科技发展有限公司 IPA data display system, method, device, equipment and computer readable medium thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472660A (en) * 2002-07-08 2004-02-04 �Ҵ���˾ Method and device for mapping file sentence
US20070130157A1 (en) * 2005-12-05 2007-06-07 Namit Jain Techniques for performing file operations involving a link at a database management system
US20080288506A1 (en) * 2007-05-18 2008-11-20 William Boyd Brown Method for preserving virtual filesystem information across high availability takeover
US20140201177A1 (en) * 2013-01-11 2014-07-17 Red Hat, Inc. Accessing a file system using a hard link mapped to a file handle
CN104516974A (en) * 2014-12-26 2015-04-15 华为技术有限公司 Management method and device for file system directory entry
CN111371851A (en) * 2020-02-21 2020-07-03 苏州浪潮智能科技有限公司 Connection method, connection device, electronic equipment and storage medium
CN111858496A (en) * 2020-07-27 2020-10-30 北京大道云行科技有限公司 Metadata retrieval method and device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472660A (en) * 2002-07-08 2004-02-04 �Ҵ���˾ Method and device for mapping file sentence
US20070130157A1 (en) * 2005-12-05 2007-06-07 Namit Jain Techniques for performing file operations involving a link at a database management system
US20080288506A1 (en) * 2007-05-18 2008-11-20 William Boyd Brown Method for preserving virtual filesystem information across high availability takeover
US20140201177A1 (en) * 2013-01-11 2014-07-17 Red Hat, Inc. Accessing a file system using a hard link mapped to a file handle
CN104516974A (en) * 2014-12-26 2015-04-15 华为技术有限公司 Management method and device for file system directory entry
CN111371851A (en) * 2020-02-21 2020-07-03 苏州浪潮智能科技有限公司 Connection method, connection device, electronic equipment and storage medium
CN111858496A (en) * 2020-07-27 2020-10-30 北京大道云行科技有限公司 Metadata retrieval method and device, storage medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
汪帅;吕江花等: "一种支持数据去冗和扩容的多媒体文件云存储系统实现", 计算机研究与发展, no. 05 *
王健;李小勇;: "STANAG-4575文件系统在VXWorks上的实现", 微型电脑应用, no. 03 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467825A (en) * 2021-06-30 2021-10-01 完美世界(北京)软件科技发展有限公司 IPA data display system, method, device, equipment and computer readable medium thereof

Similar Documents

Publication Publication Date Title
CN107329743B (en) Application page display method and device and storage medium
CN106569800B (en) Front-end interface generation method and device
CN109032606B (en) Native application compiling method and device and terminal
CN110874217B (en) Interface display method and device for quick application and storage medium
CN107423106B (en) Method and apparatus for supporting multi-frame syntax
US10909203B2 (en) Method and device for improving page display effect via execution, conversion and native layers
CN111240694B (en) Application detection method, application detection device and storage medium
CN115185717B (en) Interface calling method and device, electronic equipment and storage medium
CN109117144B (en) Page processing method, device, terminal and storage medium
CN107463372B (en) Data-driven page updating method and device
CN105468606B (en) Webpage saving method and device
CN110865864B (en) Interface display method, device and equipment for quick application and storage medium
CN111090463B (en) Resource identification method and device and computer storage medium
CN112328330A (en) iOS component calling method, device, middleware, electronic equipment and medium
CN112860625A (en) Data acquisition method, data storage method, device, equipment and storage medium
CN107679205B (en) Multimedia data playing method and device, computer equipment and storage medium
CN111131000B (en) Information transmission method, device, server and terminal
CN111104110B (en) Global style sharing method, global style sharing device and electronic device
CN112631695A (en) Data verification method and device, electronic equipment and storage medium
CN109032583B (en) Data interaction method and device
CN111580824B (en) Program optimization method, device and storage medium
CN112711420B (en) Code conversion method and device
CN111241097B (en) Method for processing object, device for processing object and storage medium
CN112182027B (en) Information query method, device, electronic equipment and storage medium
CN110311968B (en) Method and device for loading file in streaming mode and intelligent equipment

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