JP2022510643A - Storage and reading methods, devices, electronic devices and storage media - Google Patents

Storage and reading methods, devices, electronic devices and storage media Download PDF

Info

Publication number
JP2022510643A
JP2022510643A JP2021530096A JP2021530096A JP2022510643A JP 2022510643 A JP2022510643 A JP 2022510643A JP 2021530096 A JP2021530096 A JP 2021530096A JP 2021530096 A JP2021530096 A JP 2021530096A JP 2022510643 A JP2022510643 A JP 2022510643A
Authority
JP
Japan
Prior art keywords
sample
target
sample set
field
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021530096A
Other languages
Japanese (ja)
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.)
Shenzhen Sensetime Technology Co Ltd
Original Assignee
Shenzhen Sensetime Technology 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 Shenzhen Sensetime Technology Co Ltd filed Critical Shenzhen Sensetime Technology Co Ltd
Publication of JP2022510643A publication Critical patent/JP2022510643A/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • 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/2228Indexing structures
    • 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/2282Tablespace storage structures; Management thereof
    • 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/903Querying
    • G06F16/9035Filtering based on additional data, e.g. user or group profiles

Landscapes

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

Abstract

本願の実施例は、記憶及び読み取り方法、装置、電子機器及び記憶媒体に関する。前記記憶方法は、サンプル集合内のサンプルのラベルに基づいて、サンプル集合に対応する記述情報を決定することと、サンプル集合内のサンプルのフィールド及び記憶位置に基づいて、サンプル集合に対応するフィールド情報を決定することと、記述情報及びフィールド情報に基づいて、サンプル集合の構成ファイルを決定することと、を含む。The embodiments of the present application relate to storage and reading methods, devices, electronic devices and storage media. The storage method determines the descriptive information corresponding to the sample set based on the label of the sample in the sample set, and the field information corresponding to the sample set based on the field and storage position of the sample in the sample set. And to determine the configuration file of the sample set based on the descriptive information and the field information.

Description

(関連出願の相互参照)
本願は、2019年10月28日に提出された、出願番号が201911031019.1である中国特許出願に基づく優先権を主張し、該中国特許出願の全内容が参照として本願に組み込まれる。
(Mutual reference of related applications)
The present application claims priority based on the Chinese patent application filed October 28, 2019, with application number 201911031019.1. The entire contents of the Chinese patent application are incorporated herein by reference.

本願は、コンピュータ技術分野に関し、記憶及び読み取り方法、装置、電子機器及び記憶媒体に関する。 The present application relates to the field of computer technology and relates to storage and reading methods, devices, electronic devices and storage media.

機械学習において、特に複数種のデータ集合を処理する必要がある場合、データ集合の記憶方式は、極めて重要である。関連技術において、データ集合の記憶は一般的には、データ集合自体の構造に適応するためであり、例えば、CSV(Comma-Separated Values:値をカンマで区切る)、HDF5(Hierarchical Data Format Version 5:階層的データフォーマットバージョン5)、ファイルストレージ(画像オーディオ)などのデータ記憶方式がある。 In machine learning, the storage method of a data set is extremely important, especially when it is necessary to process a plurality of types of data sets. In related arts, the storage of a data set is generally to adapt to the structure of the data set itself, for example, CSV (Comma-Separated Values: values separated by commas), HDF5 (Higherarchical Data Format Version 5 :). There are data storage methods such as hierarchical data format version 5) and file storage (image audio).

本願の実施例は、記憶及び読み取り方法、装置、電子機器及び記憶媒体を提供する。 The embodiments of the present application provide storage and reading methods, devices, electronic devices and storage media.

本願の一態様によれば、記憶方法を提供する。前記方法は、サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定することと、サンプル集合内のサンプルのフィールド及び記憶位置に基づいて、前記サンプル集合に対応するフィールド情報を決定することと、前記記述情報及び前記フィールド情報に基づいて、前記サンプル集合の構成ファイルを決定することと、を含む。 According to one aspect of the present application, a storage method is provided. The method determines the descriptive information corresponding to the sample set based on the label of the sample in the sample set, and the field corresponding to the sample set based on the field and storage position of the sample in the sample set. It includes determining the information and determining the configuration file of the sample set based on the descriptive information and the field information.

本願の実施例の読み取り方法によれば、サンプル集合の記述情報及びサンプルのフィールド情報を決定し、記述情報及びフィールド情報に基づいて構成ファイルを決定し、構成ファイルを生成することができる。複数のデータタイプのサンプルを1つのサンプル集合に記憶することをサポートし、より複雑なタイプのサンプル集合の記憶に適応することができる。構成ファイルによれば、サンプル集合における各タイプのサンプルデータの情報を取得することができ、サンプルデータの読み取りに寄与する。 According to the reading method of the embodiment of the present application, the description information of the sample set and the field information of the sample can be determined, the configuration file can be determined based on the description information and the field information, and the configuration file can be generated. It supports storing samples of multiple data types in one sample set and can be adapted to store more complex types of sample sets. According to the configuration file, information on each type of sample data in the sample set can be obtained, which contributes to reading the sample data.

可能な実現形態において、前記記述情報は、サンプルのラベルに対する記述情報を含み、ここで、サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定することは、前記サンプル集合内のサンプルのラベルに基づいて、ラベルリストを得ることであって、前記ラベルリストは、サンプルのラベルのカテゴリを含む、ことと、ラベルリストにおけるラベルに対して記述を追加し、前記サンプルのラベルの記述情報を得ることと、を含む。このような方式で、サンプルのラベルに対して、サンプルのラベルの記述情報を得て、各サンプルのラベルで表される意味を一致させ、サンプルの記憶及び読み取りに寄与する。 In a possible implementation, the descriptive information includes descriptive information for the label of the sample, where determining the descriptive information corresponding to the sample set based on the label of the sample in the sample set is the sample. To obtain a label list based on the labels of the samples in the set, the label list includes the categories of the labels of the sample and adds a description to the labels in the label list of the sample. Includes getting descriptive information on the label. In such a method, the description information of the label of the sample is obtained for the label of the sample, the meaning represented by the label of each sample is matched, and it contributes to the storage and reading of the sample.

可能な実現形態において、前記サンプル集合に少なくとも1つのデータタイプのサンプルが含まれる。 In a possible implementation, the sample set includes samples of at least one data type.

可能な実現形態において、前記フィールド情報は、サンプルの読み取り方式情報を更に含み、ここで、前記方法は、サンプル集合内のサンプルのデータタイプに基づいて、各データタイプに対応する読み取り方式を決定することと、前記サンプルのデータタイプ及び対応する読み取り方式に基づいて、前記サンプルの読み取り方式情報を得ることと、を更に含む。 In a possible embodiment, the field information further includes reading method information for the sample, wherein the method determines the reading method corresponding to each data type based on the data type of the sample in the sample set. It further includes obtaining reading method information for the sample based on the data type of the sample and the corresponding reading method.

このような方式で、複数種のサンプルの読み取り方式を決定することができ、複数のタイプのデータの記憶に寄与し、より複雑なタイプのデータ集合の記憶に適応すると同時に、読み取る時に、構成ファイルに基づいて適切な読み取り方式を取得してサンプルを読み取ることに寄与する。 In this way, it is possible to determine how to read multiple types of samples, which contributes to the storage of multiple types of data, adapts to the storage of more complex types of data sets, and at the same time, when reading, the configuration file. It contributes to reading the sample by acquiring an appropriate reading method based on.

可能な実現形態において、サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定することは、サンプル集合内のサンプルのカテゴリを分けるためのインデックス範囲情報を決定することと、前記サンプル集合内のサンプルの記述情報及びサンプルカテゴリのインデックス範囲情報に基づいて、前記サンプル集合に対応する記述情報を生成することと、を更に含む。 In a possible implementation, determining the descriptive information corresponding to the sample set based on the label of the sample in the sample set is to determine the index range information for separating the categories of the samples in the sample set. Further includes generating descriptive information corresponding to the sample set based on the descriptive information of the sample in the sample set and the index range information of the sample category.

このような方式で、サンプルを読み取る場合、特定のインデックス範囲においてターゲットサンプルをルックアップすることに寄与し、読み取り効率を向上させる。 When reading a sample in such a manner, it contributes to looking up the target sample in a specific index range and improves reading efficiency.

可能な実現形態において、前記フィールド情報は、サンプルの複数のフィールドのフィールドリストを含み、ここで、サンプル集合内のサンプルのフィールド及び記憶位置に基づいて、前記サンプル集合に対応するフィールド情報を決定することは、前記サンプル集合内の複数のサンプルのフィールドに対してまとめ処理を行い、前記フィールドリストを得ることを含む。 In a possible implementation, the field information comprises a field list of a plurality of fields of the sample, wherein the field information corresponding to the sample set is determined based on the field and storage position of the sample in the sample set. That includes performing a grouping process on the fields of a plurality of samples in the sample set to obtain the field list.

このような方式で、各フィールドをフィールドリストにまとめることができ、読み取りに寄与する。 In this way, each field can be grouped into a field list, which contributes to reading.

可能な実現形態において、前記記憶位置は、前記サンプル集合の記憶パス及び前記サンプル集合内のサンプルのインデックス位置を含む。このような方式で、各サンプルの正確な記憶位置を得ることができ、読み取りに寄与する。 In a possible implementation, the storage location includes the storage path of the sample set and the index position of the sample within the sample set. With such a method, an accurate storage position of each sample can be obtained, which contributes to reading.

可能な実現形態において、前記フィールド情報は、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含む。 In a possible implementation, the field information includes instructional information indicating whether to allow reading of multiple samples.

このような方式で、複数のサンプルを一括して読み取ることを許可するかどうかを指示することができ、サンプルの読み取りに寄与する。 In such a method, it is possible to instruct whether or not to allow reading of a plurality of samples at once, which contributes to reading the samples.

本願の一態様によれば、読み取り方法を提供する。前記方法は、サンプル集合に対応する構成ファイルに基づいて、サンプル集合内のターゲットサンプルの記憶位置及びターゲットフィールドを取得することと、前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取ることと、を含み、前記構成ファイルは、前記サンプル集合の記述情報及びサンプルのフィールド情報に基づいて決定されたものである。 According to one aspect of the present application, a reading method is provided. The method obtains the storage position and target field of the target sample in the sample set based on the configuration file corresponding to the sample set, and the target parameter value of the target field of the target sample based on the storage position. The configuration file is determined based on the description information of the sample set and the field information of the sample.

可能な実現形態において、前記方法は、前記構成ファイルに基づいて、ターゲットサンプルの読み取り方式を取得することを更に含む。 In a possible implementation, the method further comprises acquiring a method of reading the target sample based on the configuration file.

可能な実現形態において、前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取ることは、ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得することと、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記ターゲットサンプルをルックアップすることと、前記ターゲットサンプルの読み取り方式に基づいて、前記ターゲットサンプルを読み取り、ターゲットサンプルの1つ又は複数のフィールドのパラメータ値を得ることと、前記ターゲットサンプルの1つ又は複数のフィールドのパラメータ値から、前記ターゲットパラメータ値を決定することと、を含む。 In a possible implementation, reading the target parameter value of the target field of the target sample based on the storage location is based on the storage location of the target sample and the storage path of the sample set and the target sample in the sample set. Based on the storage path of the sample set and the index position of the target sample in the sample set, look up the target sample, and based on the reading method of the target sample. It includes reading a target sample to obtain parameter values for one or more fields of the target sample, and determining the target parameter values from the parameter values of one or more fields of the target sample.

可能な実現形態において、前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取ることは、ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得することと、前記サンプル集合の記憶パス及び前記ターゲットフィールドに基づいて、サンプル集合内の複数のサンプルのターゲットフィールドのパラメータ値の記憶位置を取得することと、サンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記複数のサンプルのターゲットフィールドのパラメータ値の記憶位置から、ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置を決定することと、前記ターゲットサンプルの読み取り方式に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取ることと、を含む。 In a possible implementation, reading the target parameter value of the target field of the target sample based on the storage location is the storage path of the sample set and the target sample in the sample set based on the storage position of the target sample. To obtain the index position of, and to obtain the storage position of the parameter value of the target field of a plurality of samples in the sample set based on the storage path of the sample set and the target field, and the target in the sample set. Based on the index position of the sample, the storage position of the parameter value of the target field of the target sample is determined from the storage position of the parameter value of the target field of the plurality of samples, and based on the reading method of the target sample. It includes reading the target parameter value from the storage position of the parameter value of the target field of the target sample.

可能な実現形態において、前記構成ファイルは、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含み、前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取ることは、前記ターゲットサンプルの所定読み取りモードを取得することと、前記所定読み取りモード及び前記指示情報に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取ることと、を含む。 In a possible implementation, the configuration file contains instructional information indicating whether to allow reading of multiple samples, and may read the target parameter value of the target field of the target sample based on the storage location. To acquire the predetermined read mode of the target sample, and to read the target parameter value from the storage position of the parameter value of the target field of the target sample based on the predetermined read mode and the instruction information. include.

可能な実現形態において、前記所定読み取りモード及び前記指示情報に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取ることは、前記所定読み取りモードが前記指示情報に合致しない場合、前記指示情報に対応する読み取り方式を用いて、前記ターゲットサンプルのターゲットフィールドのパラメータ値を読み取ることを含む。 In a possible embodiment, reading the target parameter value from the storage position of the parameter value in the target field of the target sample based on the predetermined read mode and the instruction information means that the predetermined reading mode is used as the instruction information. If they do not match, the reading method corresponding to the instruction information is used to read the parameter value of the target field of the target sample.

本願の一態様によれば、記憶装置を提供する。前記装置は、
サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定するように構成される第1決定コンポーネントと、
サンプル集合内のサンプルのフィールド及び記憶位置に基づいて、前記サンプル集合に対応するフィールド情報を決定するように構成される第2決定コンポーネントと、
前記記述情報及び前記フィールド情報に基づいて、前記サンプル集合の構成ファイルを決定するように構成される第3決定コンポーネントと、を備える。
According to one aspect of the present application, a storage device is provided. The device is
A first decision component configured to determine the descriptive information corresponding to the sample set based on the label of the sample in the sample set.
A second decision component configured to determine the field information corresponding to the sample set based on the field and storage location of the sample in the sample set.
It comprises a third decision component configured to determine the configuration file of the sample set based on the descriptive information and the field information.

可能な実現形態において、前記記述情報は、サンプルのラベルに対する記述情報を含み、
ここで、前記第1決定コンポーネントは更に、
前記サンプル集合内のサンプルのラベルに基づいて、ラベルリストを得ることであって、前記ラベルリストは、サンプルのラベルのカテゴリを含む、ことと、
ラベルリストにおけるラベルに対して記述を追加し、前記サンプルのラベルの記述情報を得ることと、を実行するように構成される。
In a possible implementation, the descriptive information includes descriptive information for the label of the sample.
Here, the first determination component further
To obtain a label list based on the labels of the samples in the sample set, the label list includes categories of labels for the samples.
It is configured to add a description to the label in the label list, obtain the description information of the label of the sample, and execute.

可能な実現形態において、前記サンプル集合に少なくとも1つのデータタイプのサンプルが含まれる。 In a possible implementation, the sample set includes samples of at least one data type.

可能な実現形態において、前記フィールド情報は、サンプルの読み取り方式情報を更に含み、
ここで、前記装置は、
サンプル集合内のサンプルのデータタイプに基づいて、各データタイプに対応する読み取り方式を決定するように構成される第4決定コンポーネントと、
前記サンプルのデータタイプ及び対応する読み取り方式に基づいて、前記サンプルの読み取り方式情報を得るように構成される第1取得コンポーネントと、を更に備える。
In a possible implementation, the field information further includes sample reading method information.
Here, the device is
A fourth decision component configured to determine the reading method for each data type based on the data types of the samples in the sample set.
It further comprises a first acquisition component configured to obtain reading method information for the sample based on the data type of the sample and the corresponding reading method.

可能な実現形態において、前記第1決定コンポーネントは更に、
サンプル集合内のサンプルのカテゴリを分けるためのインデックス範囲情報を決定し、
前記サンプル集合内のサンプルの記述情報及び前記サンプルカテゴリのインデックス範囲情報に基づいて、前記サンプル集合に対応する記述情報を生成するように構成される。
In a possible implementation, the first decision component further comprises.
Determine the index range information to separate the categories of samples in the sample set,
It is configured to generate descriptive information corresponding to the sample set based on the descriptive information of the sample in the sample set and the index range information of the sample category.

可能な実現形態において、前記フィールド情報は、サンプルの複数のフィールドのフィールドリストを含み、
ここで、前記第2決定コンポーネントは更に、
前記サンプル集合内の複数のサンプルのフィールドに対してまとめ処理を行い、前記フィールドリストを得るように構成される。
In a possible implementation, the field information comprises a field list of multiple fields in the sample.
Here, the second determination component further
It is configured to perform a collective process on the fields of a plurality of samples in the sample set to obtain the field list.

可能な実現形態において、前記記憶位置は、前記サンプル集合の記憶パス及び前記サンプル集合内のサンプルのインデックス位置を含む。 In a possible implementation, the storage location includes the storage path of the sample set and the index position of the sample within the sample set.

可能な実現形態において、前記フィールド情報は、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含む。 In a possible implementation, the field information includes instructional information indicating whether to allow reading of multiple samples.

本願の一態様によれば、読み取り装置を提供する。前記装置は、
サンプル集合に対応する構成ファイルに基づいて、サンプル集合内のターゲットサンプルの記憶位置及びターゲットフィールドを取得するように構成される第1取得コンポーネントと、
前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取るように構成される第1読み取りコンポーネントと、を備え、
前記構成ファイルは、前記サンプル集合の記述情報及びサンプルのフィールド情報に基づいて決定されたものである。
According to one aspect of the present application, a reading device is provided. The device is
A first acquisition component configured to acquire the storage location and target field of the target sample in the sample set, based on the configuration file corresponding to the sample set.
It comprises a first read component configured to read the target parameter value of the target field of the target sample based on the storage location.
The configuration file is determined based on the description information of the sample set and the field information of the sample.

可能な実現形態において、前記装置は、
前記構成ファイルに基づいて、ターゲットサンプルの読み取り方式を取得することを更に含む。
In a possible embodiment, the device is
Further including acquiring the reading method of the target sample based on the configuration file.

可能な実現形態において、前記第1読み取りコンポーネントは更に、
ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得し、
前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記ターゲットサンプルをルックアップし、
前記ターゲットサンプルの読み取り方式に基づいて、ターゲットサンプルを読み取り、ターゲットサンプルの1つ又は複数のフィールドのパラメータ値を得て、
前記ターゲットサンプルの1つ又は複数のフィールドのパラメータ値から、前記ターゲットパラメータ値を決定するように構成される。
In a possible embodiment, the first read component further
Based on the storage position of the target sample, the storage path of the sample set and the index position of the target sample in the sample set are acquired.
Look up the target sample based on the storage path of the sample set and the index position of the target sample in the sample set.
Based on the target sample reading method, the target sample is read, and the parameter values of one or more fields of the target sample are obtained.
It is configured to determine the target parameter value from the parameter values of one or more fields of the target sample.

可能な実現形態において、前記第1読み取りコンポーネントは更に、
ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得し、
前記サンプル集合の記憶パス及び前記ターゲットフィールドに基づいて、サンプル集合内の複数のサンプルのターゲットフィールドのパラメータ値の記憶位置を取得し、
サンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記複数のサンプルのターゲットフィールドのパラメータ値の記憶位置から、ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置を決定し、
前記ターゲットサンプルの読み取り方式に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取るように構成される。
In a possible embodiment, the first read component further
Based on the storage position of the target sample, the storage path of the sample set and the index position of the target sample in the sample set are acquired.
Based on the storage path of the sample set and the target field, the storage position of the parameter value of the target field of a plurality of samples in the sample set is acquired.
Based on the index position of the target sample in the sample set, the storage position of the parameter value of the target field of the target sample is determined from the storage position of the parameter value of the target field of the plurality of samples.
Based on the target sample reading method, the target parameter value is read from the storage position of the parameter value in the target field of the target sample.

可能な実現形態において、前記構成ファイルは、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含み、
前記第1読み取りコンポーネントは更に、
前記ターゲットサンプルの所定読み取りモードを取得し、
前記所定読み取りモード及び前記指示情報に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取るように構成される。
In a possible embodiment, the configuration file contains instructional information indicating whether to allow reading of multiple samples.
The first read component further
The predetermined read mode of the target sample is acquired, and the predetermined read mode is acquired.
Based on the predetermined reading mode and the instruction information, the target parameter value is read from the storage position of the parameter value in the target field of the target sample.

可能な実現形態において、前記第1読み取りコンポーネントは更に、
前記所定読み取りモードが前記指示情報に合致しない場合、前記指示情報に対応する読み取り方式を用いて、前記ターゲットサンプルのターゲットフィールドのパラメータ値を読み取るように構成される。
In a possible embodiment, the first read component further
When the predetermined reading mode does not match the instruction information, the reading method corresponding to the instruction information is used to read the parameter value of the target field of the target sample.

本願の一態様によれば、電子機器を提供する。前記電子機器は、
プロセッサと、
プロセッサによる実行可能な命令を記憶するように構成されるメモリと、を備え、
前記プロセッサは、上記記憶及び/又は読み取り方法を実行するように構成される。
According to one aspect of the present application, an electronic device is provided. The electronic device is
With the processor
With memory configured to store instructions that can be executed by the processor,
The processor is configured to perform the storage and / or read method.

本願の一態様によれば、コンピュータ可読記憶媒体を提供する。前記コンピュータ可読記憶媒体には、コンピュータプログラム命令が記憶されており、前記コンピュータプログラム命令がプロセッサにより実行される時、上記記憶及び/又は読み取り方法を実現する。 According to one aspect of the present application, a computer-readable storage medium is provided. The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the storage and / or reading method is realized.

本願の一態様によれば、コンピュータプログラムを提供する。前記コンピュータプログラムは、コンピュータ可読コードを含み、前記コンピュータ可読コードが電子機器で実行される時、前記電子機器におけるプロセッサは、上記記憶及び/又は読み取り方法を実行する。 According to one aspect of the present application, a computer program is provided. The computer program includes a computer-readable code, and when the computer-readable code is executed in the electronic device, the processor in the electronic device executes the storage and / or reading method.

上記の一般的な説明及び後述する細部に関する説明は、例示及び説明のためのものに過ぎず、本願を限定するものではないことが理解されるべきである。 It should be understood that the general description above and the details described below are for illustration and illustration purposes only and are not intended to limit the present application.

本願の他の特徴及び態様は、下記の図面に基づく例示的な実施例の詳細な説明を参照すれば明らかになる。 Other features and embodiments of the present application will become apparent with reference to the detailed description of exemplary embodiments based on the drawings below.

本願の実施例による記憶方法を示すフローチャートである。It is a flowchart which shows the storage method by the Example of this application. 本願の実施例におけるリストを示す概略図である。It is a schematic diagram which shows the list in the Example of this application. 本願の実施例による読み取り方法を示すフローチャートである。It is a flowchart which shows the reading method by the Example of this application. 本願の実施例による読み取り方法の適用を示す概略図である。It is a schematic diagram which shows the application of the reading method by the Example of this application. 本願の実施例による記憶装置を示すブロック図である。It is a block diagram which shows the storage device by an Example of this application. 本願の実施例による読み取り装置を示すブロック図である。It is a block diagram which shows the reading apparatus by the Example of this application. 本願の実施例による電子装置を示すブロック図である。It is a block diagram which shows the electronic device by an Example of this application. 本願の実施例による電子装置を示すブロック図である。It is a block diagram which shows the electronic device by an Example of this application.

ここで添付した図面は、明細書に引き入れて本明細書の一部分を構成し、本願に適合する実施例を示し、かつ、明細書とともに本願の技術的解決手段を解釈することに用いられる。 The drawings attached herein are incorporated into the specification to form a portion of the specification, show examples conforming to the present application, and are used together with the specification to interpret the technical solutions of the present application.

以下、図面を参照しながら本願の種々の例示的な実施例、特徴及び態様を詳しく説明する。図面における同一の符号は、同一または類似する機能を有する要素を示す。図面は、実施例の種々の態様を示しているが、特別な説明がない限り、必ずしも比率どおりの図面ではない。 Hereinafter, various exemplary embodiments, features and embodiments of the present application will be described in detail with reference to the drawings. The same reference numerals in the drawings indicate elements having the same or similar functions. The drawings show various aspects of the embodiments, but are not necessarily in proportion to the drawings unless otherwise specified.

ここで使用した「例示的」という用語は「例、実施例として用いられるか、または説明のためのものである」ことを意味する。ここで、「例示的なもの」として説明される如何なる実施例は、他の実施例より好適または有利であると必ずしも解釈されるべきではない。 The term "exemplary" as used herein means "as an example, as an example, or for illustration purposes". Here, any embodiment described as "exemplary" should not necessarily be construed as more suitable or advantageous than other embodiments.

本明細書において、用語「及び/又は」は、関連対象の関連関係を説明するためのものであり、3通りの関係が存在することを表す。例えば、A及び/又はBは、Aのみが存在すること、AとBが同時に存在すること、Bのみが存在するという3つの場合を表す。また、本明細書において、用語「少なくとも1つ」は、複数のうちのいずれか1つ又は複数のうちの少なくとも2つの任意の組み合わせを表す。例えば、A、B、Cのうちの少なくとも1つを含むことは、A、B及びCからなる集合から選ばれるいずれか1つ又は複数の要素を含むことを表す。 As used herein, the term "and / or" is used to describe the relationship of a related object and indicates that there are three types of relationships. For example, A and / or B represent three cases: that only A exists, that A and B exist at the same time, and that only B exists. Also, as used herein, the term "at least one" refers to any one of the plurality or any combination of at least two of the plurality. For example, including at least one of A, B, and C means containing any one or more elements selected from the set consisting of A, B, and C.

なお、本願の実施例をより良く説明するために、以下の具体的な実施形態において具体的な細部を多く記載した。当業者は、これら具体的な詳細に関わらず、本願の実施例は同様に実施可能であると理解すべきである。本願の実施例の主旨を明確にするために、一部の実例において、当業者に熟知されている方法、手段、素子及び回路については詳しく説明しないことにする。 In addition, in order to better explain the embodiment of the present application, many specific details have been described in the following specific embodiments. Those skilled in the art should understand that the embodiments of the present application are similarly feasible, regardless of these specific details. In order to clarify the gist of the embodiments of the present application, the methods, means, elements and circuits familiar to those skilled in the art will not be described in detail in some examples.

図1は、本願の実施例による記憶方法を示すフローチャートである。図1に示すように、前記方法は以下を含む。 FIG. 1 is a flowchart showing a storage method according to an embodiment of the present application. As shown in FIG. 1, the method includes:

ステップS11において、サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定する。 In step S11, the descriptive information corresponding to the sample set is determined based on the label of the sample in the sample set.

ステップS12において、サンプル集合内のサンプルのフィールド及び記憶位置に基づいて、前記サンプル集合に対応するフィールド情報を決定する。 In step S12, the field information corresponding to the sample set is determined based on the field and the storage position of the sample in the sample set.

ステップS13において、前記記述情報及び前記フィールド情報に基づいて、前記サンプル集合の構成ファイルを決定する。 In step S13, the configuration file of the sample set is determined based on the description information and the field information.

本願の実施例の読み取り方法によれば、サンプル集合の記述情報及びサンプルのフィールド情報を決定し、記述情報及びフィールド情報に基づいて構成ファイルを決定し、構成ファイルを生成することができる。複数のデータタイプのサンプルを1つのサンプル集合に記憶することをサポートし、より複雑なタイプのサンプル集合の記憶に適応することができる。構成ファイルによれば、サンプル集合における各タイプのサンプルデータの情報を取得することができ、サンプルデータの読み取りに寄与する。 According to the reading method of the embodiment of the present application, the description information of the sample set and the field information of the sample can be determined, the configuration file can be determined based on the description information and the field information, and the configuration file can be generated. It supports storing samples of multiple data types in one sample set and can be adapted to store more complex types of sample sets. According to the configuration file, information on each type of sample data in the sample set can be obtained, which contributes to reading the sample data.

可能な実現形態において、前記記憶方法の実行主体は、端末装置、サーバ又は他の処理装置であってもよい。ここで、端末装置は、ユーザ装置(User Equipment:UE)、携帯機器、ユーザ端末、端末、セルラ電話、コードレス電話、パーソナルデジタルアシスタント(Personal Digital Assistant:PDA)、ハンドヘルドデバイス、コンピューティングデバイス、車載機器、ウェアブル機器などであってもよい。可能な実現形態において、該方法は、プロセッサによりメモリに記憶されているコンピュータ可読命令を呼び出すことで実現してもよく、又はサーバにより実行されてもよい。例えば、サーバにおけるデータを前記記憶方法で記憶することができる。 In a possible implementation, the execution subject of the storage method may be a terminal device, a server, or another processing device. Here, the terminal device includes a user device (User Equipment: UE), a mobile device, a user terminal, a terminal, a cellular telephone, a cordless telephone, a personal digital assistant (PDA), a handheld device, a computing device, and an in-vehicle device. , Wearable devices, etc. may be used. In a possible embodiment, the method may be implemented by calling a computer-readable instruction stored in memory by a processor, or may be executed by a server. For example, the data in the server can be stored by the storage method.

可能な実現形態において、前記サンプル集合に複数サンプルが含まれてもよい。前記サンプルのデータタイプは、画像、ビデオ、数字又はテキストデータなどを含んでもよい。サンプルの記憶フォーマットは、CSV(Comma-Separated Values:値をカンマで区切る)、HDF5(Hierarchical Data Format 5階層的データ形式バージョン5)等を含んでもよく、本願の実施例は、サンプルのデータタイプ及び記憶フォーマットを限定しない。前記サンプル集合は、リストの形式で各サンプルを記憶することができる。つまり、各サンプルは、リストにおける一行の記憶領域を占めることができる。該行の記憶領域に、サンプルの1つ又は複数のフィールドが含まれてもよい。又は、ディクショナリー、配列などの形式で各サンプルを記憶することもできる。本願の実施例は、記憶方式を限定しない。サンプル集合を記憶する場合、ユーザにより入力されたサンプル集合の記述などの情報に基づいて、サンプル集合に対応する構成ファイルを生成することができ、又は、記憶されたサンプル集合のサンプル情報に基づいて、サンプル集合に対応する構成ファイルを自動的に生成することができる。 In a possible implementation, the sample set may include a plurality of samples. The data type of the sample may include images, videos, numbers or text data and the like. The storage format of the sample may include CSV (Comma-Separated Values: values separated by commas), HDF5 (Hierarchical Data Format 5 hierarchical data format version 5), etc., and examples of the present application include sample data types and samples. Does not limit the storage format. The sample set can store each sample in the form of a list. That is, each sample can occupy a row of storage in the list. The storage area of the row may contain one or more fields of the sample. Alternatively, each sample can be stored in a dictionary, sequence, or other format. The embodiments of the present application do not limit the storage method. When storing a sample set, a configuration file corresponding to the sample set can be generated based on information such as a description of the sample set input by the user, or based on the sample information of the stored sample set. , The configuration file corresponding to the sample set can be automatically generated.

図2は、本願の実施例におけるリストを示す概略図である。図2に示すように、前記リストは、サンプルのインデックスを行座標として、フィールドを列座標とすることができる。例えば、1つのサンプル(例えばサンプル1)は、ある人の資料データである。該サンプルのフィールドは、その人の身長(例えば、フィールド1)、体重(例えば、フィールド2)、学歴(例えば、フィールド3)などを含んでもよい。また、該サンプルは、各フィールドに対応するデータを有してもよい。本願の実施例は、フィールドを限定しない。 FIG. 2 is a schematic diagram showing a list in the embodiments of the present application. As shown in FIG. 2, the list can have sample indexes as row coordinates and fields as column coordinates. For example, one sample (eg, sample 1) is the data of a person. The field of the sample may include the person's height (eg, field 1), weight (eg, field 2), educational background (eg, field 3), and the like. In addition, the sample may have data corresponding to each field. The embodiments of the present application do not limit the fields.

可能な実現形態において、前記サンプル集合は、csvファイルを含んでもよい。前記csvファイルは、テーブル形式で、数値型データ、カテゴリ型データ、文字型データ及びデータパスなどの情報を記憶することができる。前記サンプル集合は、オーディオ、ビデオ、画像などの映像音声画像類ファイルを含んでもよい。例えば、AUファイル、MP4ファイル、JPEGファイルなどを含んでもよい。サンプル集合は、HDF5ファイルを更に含んでもよく、オーディオ、ビデオ、画像などのファイルのファイルフォーマットを記録することができる。前記サンプル集合は、txtファイルを更に含んでもよい。前記txtファイルは、文字型データなどを記憶することができる。前記サンプル集合に上記タイプのファイルのうちの少なくとも1つが含まれてもよい。サンプル集合内のサンプルは、ファイルに含まれるデータである。例において、サンプル集合に、複数のタイプのサブ集合が含まれてもよい。例えば、1つのサブ集合は、csvファイルであり、該ファイルに複数の数値型データサンプルが含まれ、もう1つのサブ集合は、画像サンプルからなるサブ集合などである。例において、各サブ集合は、リストの形式でサンプルを記憶することができる。例えば、csvファイルに、複数の数値型データサンプルからなるリストが含まれる。画像サンプルからなるサブ集合は、複数の画像サンプルからなるリストを含む。複数のサブ集合のリストをまとめ、サンプル集合内の全てのサンプルを記憶するリストを得ることもできる。本願の実施例は、サンプル集合におけるリストの形式を限定しない。 In a possible implementation, the sample set may include a csv file. The csv file can store information such as numerical data, category data, character data, and data path in a table format. The sample set may include audio / audio image files such as audio, video, and images. For example, an AU file, an MP4 file, a JPEG file, or the like may be included. The sample set may further include HDF5 files and can record the file formats of files such as audio, video and images. The sample set may further include a txt file. The txt file can store character type data and the like. The sample set may contain at least one of the above types of files. The samples in the sample set are the data contained in the file. In the example, the sample set may contain multiple types of subsets. For example, one subset is a csv file, the file contains a plurality of numerical data samples, and the other subset is a subset consisting of image samples and the like. In the example, each subset can store a sample in the form of a list. For example, the csv file contains a list of multiple numeric data samples. A subset of image samples contains a list of multiple image samples. You can also put together a list of multiple subsets to get a list that stores all the samples in the sample set. The embodiments of the present application do not limit the format of the list in the sample set.

可能な実現形態において、サンプル集合に、複数のデータタイプのサンプルが含まれてもよい。各タイプのサンプルは、特定の記憶及び読み取り方式を有してもよい。サンプル集合における複数種のサンプルを記憶する時に、サンプル集合に対応するフィールド情報によりサンプル集合を記述し、複数のタイプのサンプルを記憶するか又は読み取ることができる。例において、サンプル集合に複数のビデオが含まれ、フィールド情報に、ビデオの記憶又は読み取り方式に対する記述を含んでもよい。 In a possible implementation, the sample set may contain samples of multiple data types. Each type of sample may have a particular storage and reading scheme. When storing multiple types of samples in a sample set, the sample set can be described by the field information corresponding to the sample set, and multiple types of samples can be stored or read. In the example, the sample set may include a plurality of videos, and the field information may include a description of the video storage or reading method.

可能な実現形態において、前記サンプル集合内のサンプルは、ニューラルネットワークを訓練する時に用いられる訓練サンプルであってもよい。サンプル集合は、ラベルに対して記述を行う記述情報を有してもよい。前記記述情報は、メタデータmetaフォーマットの記述情報であってもよい。本願の実施例は、記述情報のタイプを限定しない。例において、各サンプルは、ラベルを有してもよい。例えば、サンプルのカテゴリ、属性又は確率などの情報を表すためのラベルを有してもよい。例えば、前記サンプルは、顔画像サンプルを含んでもよい。ニューラルネットワークにより身元検証を行う場合、ニューラルネットワークは、各顔画像サンプルと参照画像(例えば、1つのターゲット人物の顔画像)を比較し、顔画像サンプルと参照画像との類似度を決定する。類似度が類似度閾値(例えば、0.5)より大きい場合、顔画像サンプルと参照画像との類似度が高く、身元検証に合格したと決定し、そうでなければ、身元検証に合格しない。該ニューラルネットワークを訓練する時に、各顔画像サンプルに対してラベルを行い、ニューラルネットワークの損失関数にパラメータを提供する。例えば、1つの顔画像サンプルがターゲット人物の顔画像である場合、1とラベル付け、該顔画像サンプルにおける顔がターゲット人物の顔であることを表す。1つの顔画像サンプルがターゲット人物の顔画像ではない場合、0とラベル付け、該顔画像サンプルにおける顔がターゲット人物の顔ではないことを表す。 In a possible implementation, the sample in the sample set may be a training sample used when training a neural network. The sample set may have descriptive information that describes the label. The descriptive information may be descriptive information in the metadata meta format. The embodiments of the present application do not limit the type of descriptive information. In the example, each sample may have a label. For example, it may have labels to represent information such as sample categories, attributes or probabilities. For example, the sample may include a facial image sample. When performing identity verification by a neural network, the neural network compares each face image sample with a reference image (for example, a face image of one target person) and determines the degree of similarity between the face image sample and the reference image. If the similarity is greater than the similarity threshold (eg, 0.5), it is determined that the face image sample has a high similarity to the reference image and the identity verification has passed, otherwise the identity verification is not passed. When training the neural network, each face image sample is labeled and parameters are provided for the loss function of the neural network. For example, when one face image sample is a face image of a target person, it is labeled as 1, indicating that the face in the face image sample is the face of the target person. When one face image sample is not the face image of the target person, it is labeled as 0 to indicate that the face in the face image sample is not the face of the target person.

可能な実現形態において、前記記述情報は、サンプルのラベルに対する記述情報を含み、ここで、ステップS11は、前記サンプル集合内のサンプルのラベルに基づいて、ラベルリストを得ることであって、前記ラベルリストは、サンプルのラベルのカテゴリを含む、ことと、ラベルリストにおけるラベルに対して記述を追加し、前記サンプルのラベルの記述情報を得ることと、を含む。 In a possible embodiment, the descriptive information includes descriptive information for a label of the sample, wherein step S11 is to obtain a label list based on the label of the sample in the sample set, said label. The list includes that the category of the label of the sample is included, and that a description is added to the label in the label list to obtain the description information of the label of the sample.

可能な実現形態において、前記サンプルのラベルの記述情報は、ラベルを記述する情報であってもよい。各サンプルのラベルをまとめ、ラベルリストを得ることができる。例において、前記サンプルは、顔画像サンプルを含み得、各顔画像サンプルは、0又は1とラベル付け、0とラベル付けられたサンプルは、該顔画像サンプルにおける顔がターゲット人物の顔ではないことを表すことができ、1とラベル付けられたサンプルは、該顔画像サンプルにおける顔がターゲット人物の顔であることを表すことができる。ラベルをまとめることができ、例えば、ラベル0及び1をラベルリストにまとめることができる。つまり、ラベルリストに2列が含まれ、一列は、0であり、他の一列は、1である。本願の実施例は、ラベルのタイプ及びラベルリストのタイプを限定しない。勿論、他の実施例において、ラベル名称、即ち、ラベルの記述をまとめて、サンプル集合に含まれる各サンプルのラベル名称のリスト(label_names)を生成することもできる。 In a possible embodiment, the descriptive information of the label of the sample may be the information descriptive of the label. You can get a label list by putting together the labels for each sample. In an example, the sample may include a face image sample, where each face image sample is labeled 0 or 1, and in the sample labeled 0, the face in the face image sample is not the face of the target person. And the sample labeled 1 can represent that the face in the face image sample is the face of the target person. Labels can be grouped together, for example, labels 0 and 1 can be grouped together in a label list. That is, the label list contains two columns, one column is 0 and the other column is 1. The embodiments of the present application do not limit the type of label and the type of label list. Of course, in other embodiments, label names, that is, label descriptions can be combined to generate a list of label names (label_names) for each sample included in the sample set.

可能な実現形態において、ラベルリスト内の各ラベルに記述を追加することができる。例えば、0とラベル付けられた一列に「顔画像サンプルにおける顔がターゲット人物の顔ではない」という記述を追加し、1とラベル付けられた一列に「顔画像サンプルにおける顔がターゲット人物の顔である」という記述を追加することができる。各ラベルに記述を追加した後、前記サンプルのラベルの記述情報(label_imap)を得ることができる。上記ラベル及び記述は例だけであり、本願の実施例は、ラベルのタイプ及び記述を限定しない。 In a possible implementation, a description can be added to each label in the label list. For example, add the description "The face in the face image sample is not the face of the target person" to the row labeled 0, and "The face in the face image sample is the face of the target person" in the row labeled 1. "There is" can be added. After adding the description to each label, the description information (label_imap) of the label of the sample can be obtained. The above labels and descriptions are examples only, and the embodiments of the present application do not limit the types and descriptions of labels.

可能な実現形態において、前記サンプル集合にサンプルを記憶する過程において、サンプルのラベルに対して、いずれも統一した方式で記述を追加する。例えば、0とラベル付けられた一列に「顔画像サンプルにおける顔がターゲット人物の顔ではない」という記述を追加し、1とラベル付けられた一列に「顔画像サンプルにおける顔がターゲット人物の顔である」という記述を追加する。これらは、交換可能ではない。複数のタイプのデータは、いずれも一致した方式で記述を追加することができる。 In a possible implementation, in the process of storing a sample in the sample set, a description is added to the label of the sample in a unified manner. For example, add the description "The face in the face image sample is not the face of the target person" to the row labeled 0, and "The face in the face image sample is the face of the target person" in the row labeled 1. "There is" is added. These are not replaceable. Descriptions can be added to multiple types of data in a consistent manner.

可能な実現形態において、サンプルのラベルの記述情報は、ディクショナリー型データとして構成されてもよい。つまり、ディクショナリーのキーは、ラベルであり、ディクショナリーの値は、ラベルに対する記述であり、本願の実施例は、サンプルのラベルの記述情報のデータタイプを限定しない。 In a possible implementation, the descriptive information on the sample label may be configured as dictionary data. That is, the key of the dictionary is the label, the value of the dictionary is the description for the label, and the embodiment of the present application does not limit the data type of the description information of the label of the sample.

このような方式で、サンプルのラベルに対して、サンプルのラベルの記述情報を得て、各サンプルのラベルで表される意味を統一させ、サンプルの記憶及び読み取りに寄与する。 In such a method, the description information of the label of the sample is obtained for the label of the sample, the meaning represented by the label of each sample is unified, and it contributes to the storage and reading of the sample.

可能な実現形態において、前記記述情報は、サンプル集合内の各サンプルのカテゴリを分けるためのインデックス範囲情報を更に含む。前記方法で記述情報を決定するプロセスは、サンプル集合内の各サンプルのカテゴリを分けるためのインデックス範囲情報を決定することと、前記サンプル集合内のサンプルの記述情報及び前記サンプルカテゴリのインデックス範囲情報に基づいて、前記サンプル集合に対応する記述情報を生成することと、を更に含む。例えば、サンプルのラベルに基づいてカテゴリを分けることができる。例えば、サンプル集合を訓練集合、検証集合及びテスト集合に分けることができる。訓練集合に5000個のサンプルが含まれ、ここで、3000個のサンプルのラベルは、1であり、2000個のサンプルのラベルは、0である。又は、ラベルを区分することなく、直接的にサンプル集合内のサンプルの数及びインデックスに基づいて分けることができ、例えば、前記サンプル集合内のサンプルは、ニューラルネットワークを訓練する時に用いられる訓練サンプルであってもよく、訓練サンプルを複数のカテゴリに分けることができる。例えば、40%のサンプルを訓練集合とし、30%のサンプルをテスト集合とし、30%のサンプルを検証集合とすることができる。又は、各サンプルのインデックスに基づいて分けて、各カテゴリのインデックス範囲を決定することができる。例えば、前記サンプルは、リストの形式で各サンプルを記憶する。リストに10000個のサンプルが記憶されており、リストにおける1番目-4000番目のサンプルを訓練集合とし、リストにおける4001番目-7000番目のサンプルをテスト集合とし、7001番目-10000番目のサンプルを検証集合とすることができる。ここで、記述情報に、サンプルカテゴリを分けるインデックス範囲情報(例えば、1番目-4000番目、4001番目-7000番目、7001番目-10000番目など)が含まれてもよい。本願の実施例は、分け方及びインデックス範囲を限定しない。 In a possible implementation, the descriptive information further includes index range information for separating the categories of each sample in the sample set. The process of determining the descriptive information by the above method determines the index range information for dividing the category of each sample in the sample set, and the descriptive information of the sample in the sample set and the index range information of the sample category. Based on this, it further includes generating descriptive information corresponding to the sample set. For example, the categories can be separated based on the label of the sample. For example, the sample set can be divided into a training set, a verification set, and a test set. The training set contains 5000 samples, where the label of 3000 samples is 1 and the label of 2000 samples is 0. Alternatively, the labels can be divided directly based on the number and index of the samples in the sample set without dividing the labels. For example, the samples in the sample set are training samples used when training a neural network. There may be, and the training sample can be divided into multiple categories. For example, 40% of the samples can be the training set, 30% of the samples can be the test set, and 30% of the samples can be the verification set. Alternatively, the index range of each category can be determined separately based on the index of each sample. For example, the samples store each sample in the form of a list. 10,000 samples are stored in the list, the 1st-4000th sample in the list is the training set, the 4001-7000th sample in the list is the test set, and the 7001-10000th sample is the validation set. Can be. Here, the description information may include index range information (for example, 1st-4000th, 4001st-7000th, 7001st-10000th, etc.) that divides the sample category. The embodiments of the present application do not limit the division method and the index range.

サンプル集合は、上記訓練集合、テスト集合、検証集合という3つのサンプルカテゴリのサンプルサブ集合以外に、画像サブ集合、ビデオサブ集合などのような他の形式のデータサブ集合を更に含んでもよい。サンプル集合の記述情報は、上記訓練集合、テスト集合、検証集合という3つのサンプルカテゴリのサンプルサブ集合の記述情報以外に、画像サブ集合、ビデオサブ集合などのような他の形式のデータサブ集合の記述情報を更に含んでもよい。 In addition to the sample subsets of the three sample categories of the training set, the test set, and the verification set, the sample set may further include other types of data subsets such as image subsets, video subsets, and the like. The descriptive information of the sample set is not only the descriptive information of the sample subsets of the three sample categories of the above training set, test set, and verification set, but also the descriptive information of other types of data subsets such as image subsets, video subsets, and the like. Descriptive information may be further included.

このような方式で、サンプルを読み取る場合、特定のインデックス範囲においてターゲットサンプルをルックアップすることに寄与し、読み取り効率を向上させる。 When reading a sample in such a manner, it contributes to looking up the target sample in a specific index range and improves reading efficiency.

記述情報は、上記記述情報を含むが、これらに限定されず、例えば、サンプルの概説情報、属性情報、占有空間情報などのような他のタイプの記述情報を含んでもよい。本願の実施例は、記述情報に含まれる情報を限定しない。 The descriptive information includes, but is not limited to, the above descriptive information, and may include other types of descriptive information such as sample outline information, attribute information, occupied space information, and the like. The embodiments of the present application do not limit the information contained in the descriptive information.

可能な実現形態において、ステップS12において、サンプルのフィールド及び記憶位置に基づいて、サンプルのフィールド情報(fields)を決定することができ、例えば、サンプル集合に含まれる各サンプルファイル(例えば、CSVファイル、HDF5ファイル)におけるサンプルフィールド及び記憶位置に基づいて、各サンプルファイルのフィールド情報を決定し、それによって、サンプル集合の全てのフィールド情報を得ることができる。又は、サンプル集合における各タイプ(例えば、ピクチャ、ビデオ、文字など)のサンプルのフィールド及び記憶位置に基づいて、各タイプのサンプルのフィールド情報を決定し、それによって、サンプル集合の全てのフィールド情報を得ることができる。勿論、サンプル集合内の全てのサンプルのフィールド及び記憶位置に基づいて、サンプル集合全体のフィールド情報を得ることもできる。サンプル集合内の各サンプルは、1つ又は複数のフィールドを含んでもよい。例えば、1つのサンプルは、ある人の資料データであり、該サンプルのフィールドは、その人の身長、体重、学歴、国籍などを含んでもよい。もう1つのサンプルは、ある人の顔画像であり、該サンプルのフィールドは、その人の身元情報などを含んでもよい。本願の実施例は、フィールドを限定しない。 In a possible implementation, in step S12, field information (fields) of the sample can be determined based on the field and storage location of the sample, eg, each sample file included in the sample set (eg, CSV file, etc.). Based on the sample fields and storage locations in the HDF5 file), the field information for each sample file can be determined, thereby obtaining all the field information for the sample set. Alternatively, the field information of each type of sample is determined based on the field and storage position of each type of sample (eg, picture, video, text, etc.) in the sample set, thereby providing all the field information of the sample set. Obtainable. Of course, it is also possible to obtain the field information of the entire sample set based on the fields and storage positions of all the samples in the sample set. Each sample in the sample set may contain one or more fields. For example, one sample is data of a person's material, and the fields of the sample may include the person's height, weight, educational background, nationality, and the like. Another sample is a facial image of a person, and the fields of the sample may include the person's identity information and the like. The embodiments of the present application do not limit the fields.

可能な実現形態において、前記フィールド情報は、サンプルの複数のフィールドのフィールドリスト(name)を含み、ここで、ステップS12は、前記サンプル集合内の各サンプルのフィールドに対してまとめ処理を行い、前記フィールドリストを得ることを含む。例えば、フィールドリストに全てのフィールドをまとめることができる。例えば、人の身長、体重、学歴、国籍などのフィールドをフィールドリストに記入し、顔画像の身元情報などのフィールドもフィールドリストに記入することもできる。前記フィールドリストは、サンプル集合内の複数のサンプルのフィールドを表すことができる。例えば、サンプル集合に複数のサンプルファイル又は複数のタイプのサンプルが含まれる。各サンプルファイル又は各タイプのサンプルは、1つのフィールドリストに対応してもよい。各フィールドリストに、対応するサンプルファイル又は対応するタイプの複数のサンプルに含まれるフィールドが含まれる。又は、1つのフィールドリストにより、サンプル集合内の全てのサンプルのフィールドを含むこともできる。各フィールドは、サンプルのリストにおいて、一列のデータに対応する。該列のデータの幾つかの領域において、データは空白であってもよい。例えば、サンプルのリストに、「国籍」フィールドが含まれ、ある人の資料データのサンプルにおいて、該フィールドに、例えば「中国」、「米国」などのデータが存在してもよい。顔画像サンプルにおいて、該フィールドにデータが存在しない。つまり、前記リストにおいて、該顔画像サンプルが位置する行、「国籍」フィールドが位置する列に対応する領域において、データは空白である。 In a possible implementation, the field information includes a field list (name) of a plurality of fields of the sample, where step S12 performs a collective process on the fields of each sample in the sample set. Includes getting a field list. For example, you can put all the fields together in a field list. For example, fields such as height, weight, educational background, and nationality of a person can be entered in the field list, and fields such as identity information of a facial image can also be entered in the field list. The field list can represent the fields of a plurality of samples in the sample set. For example, a sample set contains multiple sample files or multiple types of samples. Each sample file or each type of sample may correspond to one field list. Each field list contains the fields contained in the corresponding sample file or multiple samples of the corresponding type. Alternatively, one field list may include fields for all samples in the sample set. Each field corresponds to a row of data in the list of samples. In some areas of the data in the column, the data may be blank. For example, the list of samples may include a "nationality" field, and in a sample of a person's data, the field may contain data such as "China", "US", and the like. In the face image sample, there is no data in the field. That is, in the list, the data is blank in the area corresponding to the row in which the face image sample is located and the column in which the "nationality" field is located.

可能な実現形態において、前記フィールド情報は、サンプルの記憶位置の記録を含んでもよい。前記記憶位置は、前記サンプル集合の記憶パス及び前記サンプル集合内のサンプルのインデックス位置を含む。例えば、前記サンプル集合の記憶パスは、前記サンプル集合がコンピュータのCドライブの「サンプル集合」フォルダーに保存されることである。 In a possible implementation, the field information may include recording the storage location of the sample. The storage position includes the storage path of the sample set and the index position of the sample in the sample set. For example, the storage path for the sample set is that the sample set is stored in the "sample set" folder on the C drive of the computer.

可能な実現形態において、サンプル集合における前記サンプルのインデックス位置は、サンプルの具体的な位置である。例において、各サンプルのデータは、オブジェクト(object)の形式で、サンプル集合に記憶されてもよい。つまり、サンプル集合における1つの記憶領域を占有する。前記サンプル集合は、リストの形式で各サンプルの記憶することができ、その場合、サンプルのデータは、サンプル集合における一行を占用することができる。前記インデックス位置は、行番号を表すことができる。例えば、1番目のサンプルは、サンプル集合におけるリストの1行目に位置し、2番目のサンプルは、サンプル集合におけるリストの2行目に位置する…前記フィールド情報に、サンプル集合の記憶パス及び各サンプルのインデックス位置が含まれてもよい。フィールド情報に基づいて、各サンプルの具体的な位置を決定することができる。例えば、2番目のサンプルは、コンピュータのCドライブの「サンプル集合」フォルダーにおけるサンプル集合のリストの2行目に位置する。また例えば、一部のサンプルは、一部のフィールドのみを有する可能性があり、又は、複数のサンプルは、同一のタイプ又は同一のサンプルファイルに属する。該インデックス位置は、サンプル集合内のサンプルの行列範囲又は複数のサンプルの行列範囲であってもよい。本願の実施例は、記憶位置を限定しない。 In a possible implementation, the index position of the sample in the sample set is the specific position of the sample. In the example, the data of each sample may be stored in the sample set in the form of an object. That is, it occupies one storage area in the sample set. The sample set can be stored in the form of a list for each sample, in which case the sample data can occupy a row in the sample set. The index position can represent a line number. For example, the first sample is located in the first row of the list in the sample set, the second sample is located in the second row of the list in the sample set ... The field information includes the storage path of the sample set and each. The index position of the sample may be included. The specific position of each sample can be determined based on the field information. For example, the second sample is located on the second line of the list of sample sets in the "Sample Sets" folder on the computer's C drive. Also, for example, some samples may have only some fields, or multiple samples belong to the same type or the same sample file. The index position may be a matrix range of samples in a sample set or a matrix range of a plurality of samples. The embodiments of the present application do not limit the storage position.

可能な実現形態において、前記サンプル集合に、少なくとも1つのデータタイプのサンプルが含まれる。例えば、CSV、HDF5、txt、他の画像映像などのタイプのサンプルが含まれる。前記フィールド情報は、各サンプルの読み取り方式情報を更に含み、ここで、前記方法は、サンプル集合内のサンプルのデータタイプに基づいて、サンプルを読み取るための読み取り方式を決定することと、前記サンプルのデータタイプ及び対応する読み取り方式に基づいて、サンプルの読み取り方式情報を得ることと、を更に含む。 In a possible implementation, the sample set includes samples of at least one data type. For example, samples of types such as CSV, HDF5, txt, and other images and images are included. The field information further includes reading method information for each sample, wherein the method determines a reading method for reading a sample based on the data type of the sample in the sample set. Further including obtaining sample reading method information based on the data type and the corresponding reading method.

可能な実現形態において、前記読み取り方式情報は、サンプルの読み取り方式を記述する情報であってもよい。サンプルのデータタイプに基づいて、サンプルの読み取り方式を判定することができる。例えば、1つのサンプルのデータタイプが画像である場合、該サンプルを画像読み取り関数で読み取ることができる。1つのサンプルのデータタイプがビデオである場合、該サンプルをビデオ読み取り関数で読み取ることができる。各サンプルの読み取り方式をそれぞれ決定することができる。各サンプルのデータタイプをまとめることもできる。例えば、サンプル集合又はサンプル集合に含まれるサンプルファイルに複数のサンプルが含まれ、前記複数のサンプルのデータタイプが3つであり、それぞれ、画像、ビデオ及び一般的なデータである。画像読み取り関数で画像タイプのサンプルを読み取り、ビデオ読み取り関数でビデオタイプのサンプルを読み取り、データ読み取り関数で一般的なデータタイプのサンプルを読み取ると決定することができる。従って、該サンプル集合又はサンプルファイルの読み取り方式情報は、上記データタイプ及びそれに対応する読み取り方式を含んでもよい。本願の実施例は、サンプルのデータタイプ及び読み取り方式を限定しない。 In a possible implementation, the reading method information may be information describing a reading method of the sample. The reading method of the sample can be determined based on the data type of the sample. For example, if the data type of one sample is an image, the sample can be read by an image reading function. If the data type of one sample is video, the sample can be read by a video reading function. The reading method of each sample can be determined individually. You can also combine the data types of each sample. For example, a sample set or a sample file contained in a sample set contains a plurality of samples, and the plurality of samples have three data types, which are images, videos, and general data, respectively. It can be determined that the image reading function reads the image type sample, the video reading function reads the video type sample, and the data reading function reads the common data type sample. Therefore, the reading method information of the sample set or the sample file may include the above data type and the corresponding reading method. The embodiments of the present application do not limit the data type and reading method of the sample.

可能な実現形態において、サンプルのデータタイプ及び対応する読み取り方式に基づいて、前記読み取り方式情報(proc)を得ることができる。例において、読み取り方式情報をディクショナリー型データとして構成することできる。例えば、ディクショナリーのキーは、データタイプであり、ディクショナリーの値は、データタイプに対応する読み取り方式である。例えば、ディクショナリーのキーは、画像であり、ディクショナリーの値は、画像読み取り関数である。本願の実施例は、読み取り方式情報のデータタイプを限定しない。 In a possible implementation, the reading method information (proc) can be obtained based on the data type of the sample and the corresponding reading method. In the example, the reading method information can be configured as dictionary type data. For example, the key of the dictionary is the data type, and the value of the dictionary is the reading method corresponding to the data type. For example, the key of the dictionary is the image and the value of the dictionary is the image reading function. The embodiments of the present application do not limit the data type of the reading method information.

可能な実現形態において、前記フィールド情報は、読み取り方式情報を含まなくてもよい。サンプルを読み取る場合、サンプルファイルの拡張子などの情報に基づいて、読み取り方式を決定することができる。例えば、1つのサンプルファイルの拡張子は、txtである場合、テキスト開き方式で該サンプルを読み取ることができる。1つのサンプルファイルの拡張子は、jpgであると、ピクチャ開き方式で、該サンプルを読み取ることができる。本願の実施例は、サンプルの拡張子及び開き方式を限定しない。 In a possible implementation, the field information may not include reading method information. When reading a sample, the reading method can be determined based on information such as the extension of the sample file. For example, if the extension of one sample file is txt, the sample can be read by a text opening method. If the extension of one sample file is jpg, the sample can be read by the picture opening method. The embodiments of the present application do not limit the extension and opening method of the sample.

このような方式で、複数種のサンプルの読み取り方式を決定することができ、複数のタイプのデータの記憶に寄与し、より複雑なタイプのデータ集合の記憶に適応すると同時に、読み取る時に、構成ファイルに基づいて適切な読み取り方式を取得してサンプルを読み取ることに寄与する。 In this way, it is possible to determine how to read multiple types of samples, which contributes to the storage of multiple types of data, adapts to the storage of more complex types of data sets, and at the same time, when reading, the configuration file. It contributes to reading the sample by acquiring an appropriate reading method based on.

可能な実現形態において、前記フィールド情報は、複数のサンプルの読み取りを許可するかどうかを指示する指示情報(fullonly)を更に含む。該指示情報は、複数のサンプルのデータを一括して読み取ることができるかどうかを指示することができる。例えば、該指示情報は、サンプル集合又はサンプルファイルにおける全てのサンプルのデータを一括して読み取ることができることを指示する場合、データを読み取る場合、サンプル集合又はサンプルファイルにおけるサンプルの全てを読み取ることができる。例えば、HDF5ファイルは、ファイル全体におけるサンプルを一括して読み取ることをサポートする。該指示情報は、サンプル集合又はサンプルファイルにおけるサンプルのデータを一括して読み取ることができないことを指示する場合、データを読み取る場合、サンプル集合又はサンプルファイルにおける全てのサンプルを一括して読み取ることができず、必要に応じて何時でも読み取ることができることをサポートする。例えば、一回で1つのみのサンプルのデータを読み取り、又は、一部のサンプルのデータを読み取る。 In a possible embodiment, the field information further includes instructional information (fulllonly) instructing whether to allow reading of multiple samples. The instruction information can indicate whether or not the data of a plurality of samples can be read at once. For example, when the instruction information indicates that the data of all the samples in the sample set or the sample file can be read at once, when reading the data, all the samples in the sample set or the sample file can be read. .. For example, an HDF5 file supports reading samples in bulk throughout the file. The instruction information can indicate that the sample data in the sample set or sample file cannot be read in a batch, and when reading the data, all the samples in the sample set or sample file can be read in a batch. It supports reading at any time as needed. For example, read the data of only one sample at a time, or read the data of some samples.

可能な実現形態において、ステップS13において、記述情報及びフィールド情報に基づいて、サンプル集合の構成ファイル(index.yml)を決定することができる。例において、記述情報及びフィールド情報のコンテンツを構成ファイルに記入し、又は、記述情報及びフィールド情報をパッケージングして構成ファイルを得ることができる。本願の実施例は、構成ファイルの取得方式を限定しない。 In a possible implementation, in step S13, the configuration file (index.yml) of the sample set can be determined based on the descriptive information and the field information. In the example, the contents of the descriptive information and the field information can be entered in the configuration file, or the descriptive information and the field information can be packaged to obtain the configuration file. The embodiment of the present application does not limit the acquisition method of the configuration file.

可能な実現形態において、前記構成ファイルは、複数種のタイプの記憶方式を記録するファイルであってもよい。つまり、構成ファイルに、各サンプルのフィールド、ラベル、記憶位置及び読み取り方式などの情報が含まれる。各データタイプのサンプルはいずれも、サンプル集合に記憶されてもよく、また、読み取りのために、構成ファイルにフィールド、ラベル、記憶位置及び読み取り方式などの情報を保存することができる。前記構成ファイルは、複数種のデータタイプのサンプルの記憶及び読み取りのための基礎を提供する。 In a possible implementation, the configuration file may be a file that records multiple types of storage schemes. That is, the configuration file contains information such as fields, labels, storage locations and reading methods for each sample. Each sample of each data type may be stored in a sample set and information such as fields, labels, storage locations and reading methods can be stored in the configuration file for reading. The configuration file provides the basis for storing and reading samples of multiple data types.

図3は、本願の実施例による読み取り方法を示すフローチャートである。図3に示すように、前記方法は、以下を含む。 FIG. 3 is a flowchart showing a reading method according to the embodiment of the present application. As shown in FIG. 3, the method includes:

ステップS14において、サンプル集合に対応する構成ファイルに基づいて、サンプル集合内のターゲットサンプルの記憶位置及びターゲットフィールドを取得する。 In step S14, the storage position and the target field of the target sample in the sample set are acquired based on the configuration file corresponding to the sample set.

ステップS15において、前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取る。 In step S15, the target parameter value of the target field of the target sample is read based on the storage position.

ここで、前記構成ファイルは、前記サンプル集合の記述情報及びサンプルのフィールド情報に基づいて決定されたものである。 Here, the configuration file is determined based on the description information of the sample set and the field information of the sample.

本願の実施例の読み取り方式によれば、構成ファイルに基づいて、ターゲットサンプルの記憶位置及びターゲットフィールドを決定し、ターゲットサンプルのターゲットパラメータを読み取ることができる。構成ファイルに基づいて、サンプル集合から、各カテゴリのサンプルを読み取ることができ、異なるタイプのサンプルを構成ファイルにより読み取ることを可能にし、各カテゴリのサンプルに対してプログラムインタフェースを配置する必要がなく、サンプルデータの記憶及び読み取りに寄与し、読み取り効率を向上させる。該構成ファイルによれば、複数種のデータタイプのサンプルファイル(例えば、CSV、HDF5、他のファイル(画像、オーディオ)タイプのサンプル)の記憶及び読み取りをサポートし、より複雑なタイプのサンプル集合内のサンプルの読み取りに適応することができる。 According to the reading method of the embodiment of the present application, the storage position and the target field of the target sample can be determined based on the configuration file, and the target parameter of the target sample can be read. Based on the configuration file, you can read the samples of each category from the sample set, allowing different types of samples to be read by the configuration file, without the need to place a program interface for each category of samples. Contributes to the storage and reading of sample data and improves reading efficiency. According to the configuration file, it supports storage and reading of sample files of multiple data types (eg, CSV, HDF5, samples of other file (image, audio) types), and within a more complex type of sample set. Can be adapted to read samples in.

可能な実現形態において、前記構成ファイルは、サンプル集合内のサンプルを記述するためのファイルであってもよく、構成ファイルを用いてサンプル集合内のサンプルを読み取ることができる。前記構成ファイルは、サンプル集合に対応する記述情報及びフィールド情報を含んでもよい。サンプルを読み取る場合、記述情報及びフィールド情報に基づいて、サンプルを読み取ることができる。サンプル集合に複数種のデータタイプのサンプルが含まれてもよい。例えば、CSV、HDF5、他のファイル(画像オーディオ)等のタイプのサンプルが含まれてもよい。記述情報は、サンプルラベルに対する記述情報であってもよく、サンプル集合内の各サンプルのラベルのリスト、ラベルの記述情報及びサンプル集合内の各サンプルのカテゴリを分けるためのインデックス範囲情報などを含んでもよい。フィールド情報は、サンプルを記述するための情報であってもよい。フィールド情報は、複数種のサンプルのフィールドリスト、データタイプ、読み取り方式、記憶パス、インデックス位置などを記録することができる。記述情報及びフィールド情報に基づいて、ターゲットサンプルのようなサンプルを読み取ることができる。各データタイプのサンプルをいずれも上記方式で読み取ることができる。従って、複数種のタイプのデータ読み取りをサポートすることができる。 In a possible implementation, the configuration file may be a file for describing the samples in the sample set, and the configuration file can be used to read the samples in the sample set. The configuration file may include descriptive information and field information corresponding to the sample set. When reading a sample, the sample can be read based on the description information and the field information. The sample set may contain samples of multiple data types. For example, samples of types such as CSV, HDF5, and other files (image audio) may be included. The descriptive information may be descriptive information for the sample label, and may include a list of labels for each sample in the sample set, descriptive information for the labels, and index range information for separating the categories of each sample in the sample set. good. The field information may be information for describing a sample. The field information can record the field list, data type, reading method, storage path, index position, etc. of a plurality of types of samples. A sample such as a target sample can be read based on the descriptive information and the field information. Any sample of each data type can be read by the above method. Therefore, it is possible to support multiple types of data reading.

可能な実現形態において、構成ファイルに基づいて、サンプル集合内のサンプル又はサンプルのフィールドデータを読み取ることができる。ステップS14において、前記サンプル集合は、リストの形式で各サンプルを記憶することができる。構成ファイルのフィールド情報から、読み取ろうとしているターゲットサンプルの記憶情報及び読み取ろうとしているターゲットフィールドを得ることができる。ステップS15において、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取る。 In a possible implementation, the sample or sample field data in the sample set can be read based on the configuration file. In step S14, the sample set can store each sample in the form of a list. From the field information of the configuration file, the stored information of the target sample to be read and the target field to be read can be obtained. In step S15, the target parameter value of the target field of the target sample is read.

可能な実現形態において、ターゲットサンプルを読み取る場合、ターゲットサンプルが属するサンプルファイルの名称又は拡張子に基づいて、ターゲットサンプルの読み取り方式を決定することができる。例えば、1つのサンプルファイルの拡張子は、txtである場合、テキスト開き方式で該サンプルを読み取ることができる。1つのサンプルファイルの拡張子は、jpgである場合、ピクチャ開き方式で、該サンプルを読み取ることができる。又は、前記構成ファイルのフィールド情報に、サンプル、サンプルファイル又は1つのデータタイプの読み取り方式が含まれてもよい。前記方法は、前記構成ファイルに基づいて、ターゲットサンプルの読み取り方式を取得することを更に含む。つまり、構成ファイルのフィールド情報から、サンプルの読み取り方式情報を取得することができる。例えば、ターゲットサンプルの読み取り方式を直接的に取得することができ、又は、ターゲットサンプルが属するデータタイプ(例えば、画像、テキストなど)に基づいて、対応する読み取り方式を取得し、続いて、該読み取り方式で、ターゲットサンプルを読み取ることができる。 In a possible implementation, when reading a target sample, the reading method of the target sample can be determined based on the name or extension of the sample file to which the target sample belongs. For example, if the extension of one sample file is txt, the sample can be read by a text opening method. When the extension of one sample file is jpg, the sample can be read by the picture opening method. Alternatively, the field information in the configuration file may include a sample, a sample file, or a reading method for one data type. The method further comprises acquiring a reading method for the target sample based on the configuration file. That is, the sample reading method information can be obtained from the field information of the configuration file. For example, the reading method of the target sample can be obtained directly, or the corresponding reading method can be obtained based on the data type to which the target sample belongs (eg, image, text, etc.), followed by the reading. The method can read the target sample.

可能な実現形態において、ステップS14において、ターゲットサンプルの記憶位置に基づいて、ターゲットサンプルをルックアップし、ターゲットサンプルの読み取り方式で、ターゲットサンプル及びターゲットサンプルのターゲットフィールドを読み取ることができる。前記ターゲットフィールドは、ターゲットサンプルの複数のフィールドのうちのいずれか1つ又は複数であってもよく、ターゲットサンプルの全てのフィールドであってもよい。ステップS14は、ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得することと、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記ターゲットサンプルをルックアップすることと、前記ターゲットサンプルの読み取り方式に基づいて、ターゲットサンプルを読み取り、ターゲットサンプルの1つ又は複数のフィールドのパラメータ値を得ることと、前記ターゲットサンプルの1つ又は複数のフィールドのパラメータ値から、前記ターゲットパラメータ値を決定することと、を含んでもよい。 In a possible implementation, in step S14, the target sample can be looked up based on the storage position of the target sample, and the target sample and the target field of the target sample can be read by the target sample reading method. The target field may be any one or a plurality of fields of the target sample, or may be all fields of the target sample. Step S14 acquires the storage path of the sample set and the index position of the target sample in the sample set based on the storage position of the target sample, and the storage path of the sample set and the index of the target sample in the sample set. Looking up the target sample based on the position, reading the target sample based on the reading method of the target sample, and obtaining the parameter value of one or more fields of the target sample, and the target sample. The target parameter value may be determined from the parameter values of one or more fields of the above.

可能な実現形態において、ターゲットサンプルの記憶位置を決定することができる。例えば、フィールド情報に記録されたサンプル集合の記憶パス及びサンプルリストにおけるターゲットサンプルのインデックス位置に基づいて、ターゲットサンプルの正確な位置を決定し、正確な位置により、ターゲットサンプルをルックアップすることができる。例えば、ターゲットサンプルがサンプル2であり、該サンプルの記憶位置に基づいて、コンピュータのCドライブの「サンプル集合」フォルダーのサンプル集合におけるリストの2行目から、該サンプルをルックアップすることができる。 In a possible implementation, the storage location of the target sample can be determined. For example, the exact position of the target sample can be determined based on the storage path of the sample set recorded in the field information and the index position of the target sample in the sample list, and the exact position can be used to look up the target sample. .. For example, the target sample is sample 2, and the sample can be looked up from the second line of the list in the sample set in the "sample set" folder of the computer's C drive based on the storage location of the sample.

可能な実現形態において、読み取り方式情報に記録されたターゲットサンプルの読み取り方式で、ターゲットサンプルを読み取ることができる。例えば、ターゲットサンプルはテキストデータであり、テキストデータ読み取り関数により、ターゲットサンプルを読み取ることができ、ターゲットサンプルの1つ又は複数のフィールドのパラメータ値を得ることができる。更に、1つ又は複数のフィールドのパラメータ値から、ターゲットフィールドのターゲットパラメータ値を決定することができる。例えば、サンプル2の身長、体重、学歴、国籍などのフィールドのパラメータ値を読み取ることができる。ここで、ターゲットフィールドは、身長である。上記パラメータ値から、身長フィールドのパラメータ値を決定することができる。 In a possible implementation, the target sample can be read by the reading method of the target sample recorded in the reading method information. For example, the target sample is text data, and the text data reading function can read the target sample and obtain the parameter values of one or more fields of the target sample. Further, the target parameter value of the target field can be determined from the parameter values of one or more fields. For example, it is possible to read the parameter values of the fields such as height, weight, educational background, and nationality of sample 2. Here, the target field is height. From the above parameter values, the parameter value of the height field can be determined.

可能な実現形態において、ステップS14において、構成ファイルのフィールド情報から、1つのフィールド(ターゲットフィールド)を取得し、リストから、複数のサンプルのターゲットフィールドのパラメータ値を取得することができる。更に、ターゲットサンプルのターゲットフィールドのパラメータ値を取得することができる。ステップS14は、ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得することと、前記サンプル集合の記憶パス及び前記ターゲットフィールドに基づいて、サンプル集合内の複数のサンプルのターゲットフィールドのパラメータ値の記憶位置を取得することと、サンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記複数のサンプルのターゲットフィールドのパラメータ値の記憶位置から、ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置を決定することと、前記ターゲットサンプルの読み取り方式に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取ることと、を含んでもよい。 In a possible implementation, in step S14, one field (target field) can be acquired from the field information of the configuration file, and the parameter values of the target fields of a plurality of samples can be acquired from the list. Furthermore, the parameter value of the target field of the target sample can be acquired. Step S14 acquires the storage path of the sample set and the index position of the target sample in the sample set based on the storage position of the target sample, and the sample is based on the storage path of the sample set and the target field. Based on the storage position of the parameter value of the target field of multiple samples in the set and the index position of the target sample in the sample set, the target is stored from the storage position of the parameter value of the target field of the multiple samples. Determining the storage position of the parameter value of the target field of the sample, and reading the target parameter value from the storage position of the parameter value of the target field of the target sample based on the reading method of the target sample. It may be included.

可能な実現形態において、フィールド情報に基づいて、ターゲットサンプルの記憶位置を決定することができる。例えば、フィールド情報に記録されたサンプル集合の記憶パス及びサンプルリストにおけるターゲットサンプルのインデックス位置に基づいて、ターゲットサンプルの正確な位置を決定することができる。例えば、サンプル集合の記憶パスは、コンピュータのCドライブの「サンプル集合」フォルダーにおけるサンプル集合であり、ターゲットサンプルのインデックス位置は、サンプル集合におけるリストの2行目である。 In a possible implementation, the storage position of the target sample can be determined based on the field information. For example, the exact position of the target sample can be determined based on the storage path of the sample set recorded in the field information and the index position of the target sample in the sample list. For example, the storage path of the sample set is the sample set in the "sample set" folder on the C drive of the computer, and the index position of the target sample is the second line of the list in the sample set.

可能な実現形態において、フィールド情報から、ターゲットフィールドを選択し、サンプル集合の記憶パス及びターゲットフィールドに基づいて、ターゲットフィールドのパラメータ値の記憶位置を取得することができる。例えば、コンピュータのCドライブの「サンプル集合」フォルダーにおけるサンプル集合から、身長フィールドのパラメータ値の記憶位置を取得することができる。また、サンプル集合内のターゲットサンプルのインデックス位置に基づいて、ターゲットサンプルのターゲットフィールドの記憶位置を決定する。例えば、身長フィールドの複数のパラメータ値の記憶位置から、サンプル2の身長フィールドの記憶位置を決定する。つまり、身長フィールドの複数のパラメータ値の記憶位置における2行目の記憶位置を決定する。更に、構成ファイルから、ターゲットサンプルの読み取り方式を取得し、ターゲットパラメータ値を読み取ることができる。例えば、データ読み取り関数により、該記憶位置におけるターゲットパラメータ値を読み取ることができる。 In a possible implementation, the target field can be selected from the field information and the storage position of the parameter value of the target field can be acquired based on the storage path of the sample set and the target field. For example, the storage position of the parameter value of the height field can be obtained from the sample set in the "sample set" folder of the C drive of the computer. Also, the storage position of the target field of the target sample is determined based on the index position of the target sample in the sample set. For example, the storage position of the height field of the sample 2 is determined from the storage positions of a plurality of parameter values in the height field. That is, the storage position of the second line in the storage position of the plurality of parameter values in the height field is determined. Further, the target sample reading method can be obtained from the configuration file and the target parameter value can be read. For example, the data reading function can read the target parameter value at the storage position.

可能な実現形態において、ラベルに基づいて、ターゲットサンプルを読み取ることもできる。例えば、ニューラルネットワークを訓練する過程において、所定割合に従って、各ラベルタイプのサンプルを読み取ることができる。例えば、所定の数のサンプルを読み取ることができる。ここで、50%は、ラベルが1であるサンプルであり、50%は、ラベルが0であるサンプルである。又は、インデックス範囲情報に基づいてサンプルを読み取ることができる。例えば、訓練の場合、訓練集合におけるサンプルを読み取ることができ、試験の場合、テスト集合におけるサンプルを読み取ることができ、検証の場合、検証集合におけるサンプルを読み取ることができる。本願の実施例は、読み取り方式を限定しない。 In a possible implementation, the target sample can also be read based on the label. For example, in the process of training a neural network, samples of each label type can be read according to a predetermined percentage. For example, a predetermined number of samples can be read. Here, 50% is a sample having a label of 1, and 50% is a sample having a label of 0. Alternatively, the sample can be read based on the index range information. For example, in the case of training, the sample in the training set can be read, in the case of the test, the sample in the test set can be read, and in the case of verification, the sample in the verification set can be read. The embodiments of the present application do not limit the reading method.

可能な実現形態において、前記構成ファイルは、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含み、前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取ることは、前記ターゲットサンプルの所定読み取りモードを取得することと、前記所定読み取りモード及び前記指示情報に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取ることと、を含む。例において、サンプルを読み取る場合、ユーザは、所定読み取りモードを設定することができ、各サンプルを必要の時だけ読み取ることができ、全てのサンプルを一括して読み取ることもできる。例えば、画像、ビデオ、テキストなどのサンプルに対して、ユーザは、必要に応じて何時でも読み取ることができることを設定し、1つ又は複数のサンプルをそれぞれ読み取ることを設定することができる。複数のサンプルを順に読み取り、又は、全てのサンプルを一括して読み取ることもできる。 In a possible implementation, the configuration file contains instructional information indicating whether to allow reading of multiple samples, and may read the target parameter value of the target field of the target sample based on the storage location. To acquire the predetermined read mode of the target sample, and to read the target parameter value from the storage position of the parameter value of the target field of the target sample based on the predetermined read mode and the instruction information. include. In the example, when reading samples, the user can set a predetermined read mode, each sample can be read only when necessary, and all samples can be read at once. For example, for a sample such as an image, video, text, etc., the user can set it to be able to read at any time as needed, and set to read one or more samples respectively. Multiple samples can be read in sequence, or all samples can be read at once.

可能な実現形態において、前記所定読み取りモード及び前記指示情報に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取ることは、前記所定読み取りモードが前記指示情報に合致しない場合、前記指示情報に対応する読み取り方式を用いて、前記ターゲットサンプルのターゲットフィールドのパラメータ値を読み取ることを含む。一部のデータフォーマットのサンプルは、全てのサンプルを一括して読み取ることのみをサポートする。例えば、HDF5フォーマットのサンプルについて、全てのサンプルを一括して読み取ることのみをサポートする。この場合、該サンプルファイルの指示情報は、複数のサンプルの読み取りを許可する指示情報(例えば、全てのサンプルを一括して読み取ることをサポートする指示情報)である場合、所定読み取りモードは、必要に応じて何時でも読み取ることができることであれば、所定読み取りモードは、指示情報に合致せず、所定読み取りモードでHDF5フォーマットのサンプルを読み取ることができない。従って、該タイプのサンプルの指示情報に基づいて、全てのHDF5フォーマットのサンプルを一括して読み取ることができ、更に、読み取られた全てのサンプルから、ターゲットサンプルのターゲットフィールドのターゲットパラメータ値をルックアップすることができる。同様に、一部のデータフォーマットのサンプルは、全てのサンプルを一括して読み取ることをサポートしない場合、その指示情報を、複数のサンプルの読み取りを許可しない指示情報(例えば、全てのサンプルを一括して読み取ることをサポートしない)と設定することができる。所定読み取りモードは、全てのサンプルを一括して読み取ることであれば、所定読み取りモードは、指示情報に合致せず、所定読み取りモードでサンプルを読み取ることができない。従って、該タイプのサンプルの指示情報に基づいて、サンプルデータを必要に応じて何時でも読み取ることができる。 In a possible embodiment, reading the target parameter value from the storage position of the parameter value in the target field of the target sample based on the predetermined read mode and the instruction information means that the predetermined reading mode is used as the instruction information. If they do not match, the reading method corresponding to the instruction information is used to read the parameter value of the target field of the target sample. Samples in some data formats only support reading all samples at once. For example, for HDF5 format samples, it only supports reading all samples at once. In this case, if the instruction information of the sample file is instruction information that allows reading of a plurality of samples (for example, instruction information that supports reading all samples at once), the predetermined reading mode is necessary. If it can be read at any time, the predetermined reading mode does not match the instruction information, and the HDF5 format sample cannot be read in the predetermined reading mode. Therefore, it is possible to read all HDF5 format samples at once based on the instruction information of the sample of the type, and further, look up the target parameter value of the target field of the target sample from all the read samples. can do. Similarly, if samples in some data formats do not support reading all samples at once, the instruction information will be referred to as instruction information that does not allow reading of multiple samples (eg, all samples at once). Does not support reading). If the predetermined reading mode reads all the samples at once, the predetermined reading mode does not match the instruction information and the samples cannot be read in the predetermined reading mode. Therefore, sample data can be read at any time as needed, based on the instructional information of the type of sample.

本願の実施例の読み取り方法によれば、サンプルのラベルに対して、サンプルのラベルの記述情報を得て、各サンプルのラベルで表される意味を一致させ、サンプルの記憶及び読み取りに寄与する。また、複数種のサンプルの読み取り方式を決定することができ、複数のタイプのデータの記憶に寄与し、より複雑なタイプのデータ集合の記憶に適応する。更に、記述情報及びフィールド情報に基づいて構成ファイルを決定し、構成ファイルに基づいて、サンプル集合から各カテゴリのサンプルを読み取ることができ、異なるタイプのサンプルに対して、構成ファイルによりサンプル記述及びフィールド情報を取得して読み取ることを可能にし、各カテゴリのサンプルに対してプログラムインタフェースを配置する必要がなく、サンプルデータの記憶及び読み取りに寄与し、複数種のタイプのデータ記憶をサポートすることができ、より複雑なタイプのサンプル集合の記憶に適応する。 According to the reading method of the embodiment of the present application, the description information of the label of the sample is obtained with respect to the label of the sample, the meaning represented by the label of each sample is matched, and it contributes to the storage and reading of the sample. In addition, it is possible to determine the reading method of a plurality of types of samples, which contributes to the storage of a plurality of types of data and adapts to the storage of a more complicated type of data set. In addition, the configuration file can be determined based on the description information and field information, and the samples of each category can be read from the sample set based on the configuration file, and for different types of samples, the sample description and fields can be determined by the configuration file. It allows information to be retrieved and read, does not require a program interface for each category of sample, contributes to the storage and reading of sample data, and can support multiple types of data storage. , Applies to the storage of more complex types of sample sets.

図4は、本願の実施例による読み取り方法の適用を示す概略図である。図4に示すように、サンプル集合に複数のサンプルが含まれてもよい。サンプルのデータタイプは、画像、オーディオ、ビデオ及び/又は一般的なデータ(例えば、数値型データ、カテゴリ型データ、文字型データ)などを含んでもよい。サンプル集合は、リストの形式で各サンプルを記憶することができる。つまり、各サンプルは、サンプルのリストにおける一行の記憶領域を占有することができる。各サンプルは、1つ又は複数のフィールドを含んでもよい。例えば、1つのサンプルは、ある人の資料データである。該サンプルのフィールドは、その人の身長、体重、学歴、国籍などを含んでもよい。該サンプルは、各フィールドに対応するデータを有してもよい。 FIG. 4 is a schematic diagram showing the application of the reading method according to the embodiment of the present application. As shown in FIG. 4, a plurality of samples may be included in the sample set. The data type of the sample may include images, audio, video and / or general data (eg, numerical data, categorical data, character data) and the like. The sample set can store each sample in the form of a list. That is, each sample can occupy a row of storage in the list of samples. Each sample may contain one or more fields. For example, one sample is the data of a person. The field of the sample may include the person's height, weight, educational background, nationality, and the like. The sample may have data corresponding to each field.

可能な実現形態において、サンプル集合内のサンプルは、複数のデータタイプを含んでもよい。各タイプのサンプルは、特定の記憶及び読み取り方式を有してもよく、また、各サンプルは、対応するラベルを有してもよい。構成ファイル(index.yml)に記述情報が含まれてもよい。例えば、メタデータmetaフォーマットの記述情報が含まれてもよい。前記記述情報は、各サンプルのラベル及びラベルに対する記述を記録することができる。 In a possible implementation, the samples in the sample set may contain multiple data types. Each type of sample may have a particular storage and reading scheme, and each sample may have a corresponding label. Descriptive information may be included in the configuration file (index.yml). For example, descriptive information in the metadata meta format may be included. The description information can record the label of each sample and the description for the label.

例において、サンプルのラベルの記述情報(label_imap)は、ディクショナリー型データであってもよく、ディクショナリーのキーは、ラベルであり、ディクショナリーの値は、ラベルに対する記述である。例えば、ディクショナリーのキーは0であり、ディクショナリーの値は、サンプルにおけるオブジェクトがターゲットオブジェクトではないことであり、ディクショナリーのキーは1であり、ディクショナリーの値は、サンプルにおけるオブジェクトがターゲットオブジェクトであることである。 In the example, the description information (label_imap) of the label of the sample may be dictionary type data, the key of the dictionary is the label, and the value of the dictionary is the description for the label. For example, the dictionary key is 0, the dictionary value is that the object in the sample is not the target object, the dictionary key is 1, and the dictionary value is that the object in the sample is the target object. be.

例において、記述情報は、サンプル集合内の各サンプルのカテゴリ(例えば、サンプルサブ集合subsets)を分けるためのインデックス範囲情報を更に含む。例えば、サンプル集合内のサンプルは、ニューラルネットワークを訓練する場合に用いられる訓練サンプルであり、訓練サンプルを複数のカテゴリに分類することができる。例えば、40%のサンプルを訓練集合とし、30%のサンプルをテスト集合とし、30%のサンプルを検証集合とすることができる。インデックス範囲情報は、サンプルのリストにおける、訓練集合のサンプル、テスト集合のサンプル及び検証集合のサンプルのインデックス範囲を決定する。 In the example, the descriptive information further includes index range information for separating the categories of each sample in the sample set (eg, sample subset subsets). For example, a sample in a sample set is a training sample used when training a neural network, and the training sample can be classified into a plurality of categories. For example, 40% of the samples can be the training set, 30% of the samples can be the test set, and 30% of the samples can be the verification set. The index range information determines the index range of the training set sample, the test set sample, and the validation set sample in the list of samples.

可能な実現形態において、前記構成ファイルにフィールド情報が含まれてもよい。フィールド情報は、サンプルの複数のフィールドのフィールドリスト(name)、及びサンプルの記憶位置を含む。これは、フィールド及び記憶位置によりサンプルのデータを読み取るために用いられる。 In a possible implementation, the configuration file may contain field information. The field information includes a field list (name) of a plurality of fields of the sample and a storage position of the sample. It is used to read sample data by field and storage location.

例において、フィールド情報は、サンプルの読み取り方式情報を更に含んでもよい。サンプルの読み取り方式情報は、ディクショナリー型データであってもよく、ディクショナリーのキーは、サンプルのデータタイプであり、ディクショナリーの値は、データタイプに対応する読み取り方式である。例えば、ディクショナリーのキーは、画像であり、ディクショナリーの値は、画像読み取り関数であり、ディクショナリーのキーは、ビデオであり、ディクショナリーの値は、ビデオ読み取り関数である。 In the example, the field information may further include sample reading method information. The sample reading method information may be dictionary type data, the key of the dictionary is the data type of the sample, and the value of the dictionary is the reading method corresponding to the data type. For example, the dictionary key is an image, the dictionary value is an image reading function, the dictionary key is a video, and the dictionary value is a video reading function.

例において、各サンプルのフィールドをまとめることができる。例えば、1つのサンプルは、ある人の資料データである。該サンプルのフィールドは、その人の身長、体重、学歴及び国籍を含んでもよい。もう1つのサンプルは、その人の顔画像サンプルである。顔画像サンプルのフィールドは、その人の身元情報(例えば、姓名、番号など)を含んでもよい。上記全てのフィールドをまとめ、フィールドリストを得ることができる。例えば、フィールドリストに、身長、体重、学歴、国籍及び身元情報などのフィールドが含まれる。 In the example, the fields of each sample can be grouped together. For example, one sample is the data of a person. The field of the sample may include the person's height, weight, educational background and nationality. Another sample is the person's face image sample. The field of the face image sample may include the person's identity information (eg, first and last name, number, etc.). You can get a field list by putting together all the above fields. For example, the field list includes fields such as height, weight, educational background, nationality and identity information.

例において、フィード情報は、サンプルの記憶位置を更に含んでもよい。各サンプルの記憶位置を決定することができる。前記記憶位置は、サンプル集合の記憶パス及びサンプルリストにおけるサンプルのインデックス位置を含んでもよい。例えば、サンプル集合の記憶パスは、Cドライブの「サンプル集合」フォルダーであり、ルックアップされるべきターゲットサンプルのインデックス位置は、サンプルリストにおける2行目であると、該サンプルの記憶位置は、Cドライブの「サンプル集合」フォルダーにおけるサンプル集合におけるリストの2行目である。 In the example, the feed information may further include the storage location of the sample. The storage position of each sample can be determined. The storage position may include the storage path of the sample set and the index position of the sample in the sample list. For example, if the storage path of the sample set is the "sample set" folder on the C drive, and the index position of the target sample to be looked up is the second line in the sample list, the storage position of the sample is C. The second line of the list in the sample set in the drive's "sample set" folder.

例において、フィールド情報は、全てのサンプルの読み取りを許可するかどうかを指示する指示情報(fullonly)を更に含む。該指示情報は、全てのサンプルのデータを一括して読み取ることができるかどうかを指示することができる。例えば、該指示情報は、全てのサンプルのデータを一括して読み取ることができることを指示すると、データを読み取る場合、サンプルにおけるサンプルの全てを読み取ることができる。例えば、サンプルリスト全体を読み取ることができる。該指示情報は、全てのサンプルのデータを一括して読み取ることができないことを指示すると、データを読み取る場合、全てのサンプルを一括して読み取ることができず、例えば、一回で1つのみのサンプルのデータを読み取り、又は、一部のサンプルのデータを読み取ることができる。 In the example, the field information further includes instructional information (fulllonly) instructing whether to allow reading of all samples. The instruction information can indicate whether or not the data of all the samples can be read at once. For example, if the instruction information indicates that the data of all the samples can be read at once, when reading the data, all of the samples in the sample can be read. For example, you can read the entire sample list. If the instruction information indicates that the data of all the samples cannot be read at once, when reading the data, all the samples cannot be read at once, for example, only one at a time. The data of the sample can be read, or the data of a part of the sample can be read.

可能な実現形態において、構成ファイルに基づいて、サンプル集合内のサンプル又はサンプルのデータを読み取ることができる。例えば、構成ファイルのフィールド情報から、サンプルリストにおける、読み取ろうとしているターゲットサンプルのインデックスを読み取り、構成ファイルの記述ファイルから、ターゲットサンプルの読み取り方式を得て、リストにおけるターゲットサンプルのインデックスに基づいて、ターゲットサンプルの記憶位置をルックアップし、また、ターゲットサンプルの読み取り方式で、ターゲットサンプル又はターゲットサンプルの1つ又は複数のパラメータ値を読み取ることができる。また例えば、フィールド情報から、1つのフィールドを取得し、リストから、複数のサンプルの該フィールドのデータ(該フィールドが空白であるサンプルを無視してもよい)の記憶位置を取得し、サンプルリストにおけるターゲットサンプルのインデックスに基づいて、ターゲットサンプルの該フィールドのデータの記憶位置をルックアップし、ターゲットサンプルの読み取り方式で、ターゲットサンプルの該フィールドの記憶位置から、該データを読み取ることができる。 In a possible implementation, the sample or sample data in the sample set can be read based on the configuration file. For example, from the field information in the configuration file, read the index of the target sample to be read in the sample list, obtain the reading method of the target sample from the description file of the configuration file, and based on the index of the target sample in the list. The storage position of the target sample can be looked up, and one or more parameter values of the target sample or the target sample can be read by the target sample reading method. Further, for example, one field is acquired from the field information, and the storage position of the data of the field of a plurality of samples (the sample in which the field is blank may be ignored) is acquired from the list, and the storage position in the sample list is acquired. Based on the index of the target sample, the storage position of the data in the field of the target sample can be looked up, and the data can be read from the storage position of the field of the target sample by the reading method of the target sample.

可能な実現形態において、前記記憶及び読み取り方法は、複数種のタイプのサンプルの記憶に適用可能である。例えば、コンピュータ教育分野において、該記憶方法を用いることで、複数種のタイプのサンプルを一致した記憶方法で記憶することができ、記憶及び読み取りに寄与し、学生による操作に寄与する。前記記憶方法は、プログラミング言語環境に限定されず、構成ファイルを利用して、異なるタイプのサンプルを一致した方式で記憶することができる。 In a possible implementation, the storage and reading methods are applicable to the storage of multiple types of samples. For example, in the field of computer education, by using the storage method, a plurality of types of samples can be stored by a matching storage method, which contributes to memory and reading, and contributes to operation by students. The storage method is not limited to the programming language environment, and different types of samples can be stored in a matched manner by using a configuration file.

以下、1つの実際の適用シーンにおける本願の実施例の例示的な適用を説明する。 Hereinafter, exemplary application of the embodiments of the present application in one actual application scene will be described.

機械学習において、特に、複数種のデータ集合を処理する必要がある場合、データ集合の記憶方式は、極めて重要である。異なるデータ集合を同一のプロトコルによりまとめる必要がある。現在のデータ集合の記憶方式に汎用プロトコル及び法則がない。データ集合の記憶方式は一般的には、データ集合自体の構造に適応する方式であり、相互適応できない。従来のCSV、HDF5、ファイルストレージ(画像オーディオ)などのデータ記憶方式は、機能が強く、サポートするデータタイプが限られており、データ集合における種々のデータの記憶需要を満たすことができない。 In machine learning, the storage method of a data set is extremely important, especially when it is necessary to process a plurality of types of data sets. Different data sets need to be grouped together by the same protocol. There are no general-purpose protocols and rules in the storage method of current data sets. The storage method of a data set is generally a method that adapts to the structure of the data set itself and cannot be adapted to each other. Conventional data storage methods such as CSV, HDF5, and file storage (image audio) have strong functions and support limited data types, and cannot meet the storage demand for various data in a data set.

機械学習において、データ集合は、ますます広くなっている。我々は、大部のデータが異なっており、メタデータ記述が複雑であるデータ集合を記憶するためのデータ集合記憶プロトコルを見付ける必要がある。これにより、データフレームワーク全体をより明瞭にし、データ集合における各類のデータの記述をより完備にする。 In machine learning, data sets are becoming more and more widespread. We need to find a data set storage protocol for storing data sets where most of the data is different and the metadata description is complex. This makes the entire data framework clearer and makes the description of each type of data in the data set more complete.

従って、本願の実施例は、データ集合記憶プロトコルを提供する。その目的は、機械学習に関わるデータ集合を可能な限り同一の方式でまとめ、データ集合のメタデータ及び各類のデータファイル情報を包括することである。それと同時に、該プロトコルは、異なる底層のデータ集合に移植して記憶することができ、複数種の言語環境に適応する。 Accordingly, the embodiments of the present application provide a data set storage protocol. The purpose is to organize the data sets related to machine learning in the same way as possible, and to include the metadata of the data sets and the data file information of each kind. At the same time, the protocol can be ported and stored in different bottom layer data sets and adapted to multiple linguistic environments.

可能な実現形態において、本願の実施例は、以下を含む。 In a possible embodiment, the embodiments of the present application include:

1、該プロトコルは、構成ファイルにより、データ集合記憶解決手段を提供する。プロトコルは、メタデータ及びデータ集合フィールド情報を含む。 1. The protocol provides a data set storage solution means by means of a configuration file. The protocol includes metadata and data set field information.

2、メタデータは、データ記述、サブ集合範囲、データディクショナリーなどの情報を含む。 2. Metadata includes information such as data description, subset range, and data dictionary.

3、データ集合フィールドは、データ集合に包括される各類のデータファイルの情報を含む。 3. The data set field contains information of each kind of data file included in the data set.

可能な実現形態において、本願の実施例は以下を含む。 In a possible embodiment, the embodiments of the present application include:

各データ集合は、1つの構成ファイル(index.yml)を含み、ファイルにメタデータ情報(meta)、及びデータ集合における各類のデータのデータ集合フィールド情報(fields)が含まれる。 Each data set contains one configuration file (index.yml), which contains metadata information (meta) and data set field information (fields) of each class of data in the data set.

メタデータ(meta)は、データ集合を記述するための複数の情報を含んでもよい。一般的には、下記フィールドを含んでもよい(これらに限定されない)。 The metadata (meta) may include a plurality of pieces of information for describing the data set. In general, the following fields may be included (but not limited to).

1、各サンプルのラベル名称のリスト(label_names)。つまり、全てのラベル名称のリストである。 1. List of label names of each sample (label_names). That is, a list of all label names.

2、サンプルのラベルの記述情報(label_imap)である。つまり、ラベル名称及び数字ラベルに一対一で対応するディクショナリーである。 2. Descriptive information (label_imap) of the label of the sample. In other words, it is a dictionary that has a one-to-one correspondence with label names and numeric labels.

3、各サンプルのカテゴリのインデックス範囲情報(subsets)である。つまり、機械学習モデルの場合、データ集合を訓練集合、テスト集合及び検証集合に分ける必要がある。これは、データに対応するインデックス範囲を含む。他の形式のデータサブ集合を記憶することもできる。 3. Index range information (subsets) for each sample category. That is, in the case of a machine learning model, it is necessary to divide the data set into a training set, a test set, and a verification set. This includes the index range corresponding to the data. It can also store other types of data subsets.

データ集合フィールド(fields)に下記情報が含まれる。 The data set fields (fields) contain the following information.

1、フィールドリスト(name)。つまり、データ集合における該データのフィールド名所である。 1. Field list (name). That is, it is a field spot of the data in the data set.

2、インデックス位置(file)。つまり、データが位置するファイルパス及び対応する行列範囲である。 2. Index position (file). That is, the file path where the data is located and the corresponding matrix range.

3、読み取り方式情報(proc)。つまり、データ読み取り方式(テキスト、画像など)及びデータタイプである。 3. Reading method information (proc). That is, the data reading method (text, image, etc.) and data type.

4、指示情報(fullonly)。つまり、全てのデータを一括して読み取ることをサポートするかどうかを指示する指示情報である。 4. Instruction information (fulllonly). That is, it is instructional information instructing whether or not to support reading all the data at once.

プログラムは、構成ファイルのメタデータ及びデータ集合フィールド情報に基づいて、対応するファイルから、必要な情報を抽出することができる。 The program can extract the required information from the corresponding file based on the metadata and data set field information of the configuration file.

可能な実現形態において、本願の実施例における各類の記憶データファイルは以下を含む。 In a possible implementation, the storage data files of each class in the embodiments of the present application include:

1、csvファイル:テーブルで記憶されたデータである。一般的には、数値型データ、カテゴリ型データ、文字型データ及び他のデータのパスなどの情報を含んでもよい。 1. csv file: Data stored in a table. In general, it may include information such as numerical data, categorical data, character data and paths of other data.

2、HDF5ファイル:データ集合における全ての画像データ、オーディオデータなどを統合し、fullonlyのためのサポートを提供する。 2. HDF5 file: Integrates all image data, audio data, etc. in the data set and provides support for fulllonly.

3、txtファイル:文字データを記憶するファイルである。 3. txt file: A file that stores character data.

4、他の画像映像類ファイル:データタイプ(オーディオ、ビデオ、画像など)によって、一般的には、異なるデータファイル(auファイル、MP4ファイル、JPEGファイル等)を生成する。 4. Other image / video files: Generally, different data files (au files, MP4 files, JPEG files, etc.) are generated depending on the data type (audio, video, image, etc.).

従来技術に汎用のデータ集合記憶プロトコルが存在しないという欠点に対して、本願の実施例は、大部の機械学習データ集合をより一致した方式で記憶可能にする。 In contrast to the drawback that there is no general purpose data set storage protocol in the prior art, the embodiments of the present application make it possible to store most machine learning data sets in a more consistent manner.

従来技術において一般的にはサブ集合言語環境で記憶することに限定されるという欠点に対して、本願の実施例は、異なる底層で記憶することができ、言語環境に限定されない。 In contrast to the drawbacks of the prior art that it is generally limited to storage in a sub-aggregate language environment, the embodiments of the present application can be stored in different bottom layers and are not limited to the language environment.

要するに、本願の実施例は、異なる記憶方式のデータをまとめてデータ集合を形成する方式を提供し、また、具体的なプログラミング言語及び環境に限定されない。 In short, the embodiments of the present application provide a method of collecting data of different storage methods to form a data set, and are not limited to a specific programming language and environment.

本願に言及した上記各方法の実施例は、原理や論理から逸脱しない限り、互いに組み合わせることで組み合わせた実施例を構成することができ、紙数に限りがあるため、本願において逐一説明しないことが理解されるべきである。 Examples of the above methods referred to in the present application can be combined with each other as long as they do not deviate from the principle or logic, and the number of papers is limited. Should be understood.

なお、本願の実施例は、記憶及び読み取り装置、電子機器、コンピュータ可読記憶媒体、プログラムを更に提供する。上記はいずれも、本願で提供されるいずれか1つの記憶及び読み取り方法を実現するためのものである。対応する技術的解決手段及び説明は、方法に関連する記述を参照することができ、ここで、詳細な説明を省略する。 The embodiments of the present application further provide storage and reading devices, electronic devices, computer-readable storage media, and programs. All of the above are for realizing any one of the storage and reading methods provided in the present application. Corresponding technical solutions and description may refer to description relating to the method, where detailed description is omitted.

実施形態の上記方法において、各ステップの記述順番は、厳しい実行順番として実施過程を限定するものではなく、各ステップの具体的な実行順番はその機能及び考えられる内在的論理により決まることは、当業者であれば理解すべきである。 In the above method of the embodiment, the description order of each step does not limit the execution process as a strict execution order, and the specific execution order of each step is determined by its function and possible intrinsic logic. Any trader should understand.

図5は、本願の実施例による記憶装置を示すブロック図である。図5に示すように、前記装置は、
サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定するように構成される第1決定コンポーネント11と、
サンプル集合内のサンプルのフィールド及び記憶位置に基づいて、前記サンプル集合に対応するフィールド情報を決定するように構成される第2決定コンポーネント12と、
前記記述情報及び前記フィールド情報に基づいて、前記サンプル集合の構成ファイルを決定するように構成される第3決定コンポーネント13と、を備える。
FIG. 5 is a block diagram showing a storage device according to an embodiment of the present application. As shown in FIG. 5, the apparatus is
A first decision component 11 configured to determine descriptive information corresponding to the sample set based on the label of the sample in the sample set.
A second decision component 12 configured to determine the field information corresponding to the sample set based on the field and storage position of the sample in the sample set.
It includes a third determination component 13 configured to determine a configuration file for the sample set based on the descriptive information and the field information.

可能な実現形態において、前記記述情報は、サンプルのラベルに対する記述情報を含み、
ここで、前記第1決定コンポーネントは更に、
前記サンプル集合内のサンプルのラベルに基づいて、ラベルリストを得ることであって、前記ラベルリストは、サンプルのラベルのカテゴリを含む、ことと、
ラベルリストにおけるラベルに対して記述を追加し、前記サンプルのラベルの記述情報を得ることと、を実行するように構成される。
In a possible implementation, the descriptive information includes descriptive information for the label of the sample.
Here, the first determination component further
To obtain a label list based on the labels of the samples in the sample set, the label list includes categories of labels for the samples.
It is configured to add a description to the label in the label list, obtain the description information of the label of the sample, and execute.

可能な実現形態において、前記サンプル集合に少なくとも1つのデータタイプのサンプルが含まれる。 In a possible implementation, the sample set includes samples of at least one data type.

可能な実現形態において、前記フィールド情報は、サンプルの読み取り方式情報を更に含み、
ここで、前記装置は、
サンプル集合内のサンプルのデータタイプに基づいて、各データタイプに対応する読み取り方式を決定するように構成される第4決定コンポーネントと、
前記サンプルのデータタイプ及び対応する読み取り方式に基づいて、前記サンプルの読み取り方式情報を得るように構成される第1取得コンポーネントと、を更に備える。
In a possible implementation, the field information further includes sample reading method information.
Here, the device is
A fourth decision component configured to determine the reading method for each data type based on the data types of the samples in the sample set.
It further comprises a first acquisition component configured to obtain reading method information for the sample based on the data type of the sample and the corresponding reading method.

可能な実現形態において、前記第1決定コンポーネントは更に、
サンプル集合内のサンプルのカテゴリを分けるためのインデックス範囲情報を決定し、
前記サンプル集合内のサンプルの記述情報及び前記サンプルカテゴリのインデックス範囲情報に基づいて、前記サンプル集合に対応する記述情報を生成するように構成される。
In a possible implementation, the first decision component further comprises.
Determine the index range information to separate the categories of samples in the sample set,
It is configured to generate descriptive information corresponding to the sample set based on the descriptive information of the sample in the sample set and the index range information of the sample category.

可能な実現形態において、前記フィールド情報は、サンプルの複数のフィールドのフィールドリストを含み、
ここで、前記第2決定コンポーネントは更に、
前記サンプル集合内の複数のサンプルのフィールドに対してまとめ処理を行い、前記フィールドリストを得るように構成される。
In a possible implementation, the field information comprises a field list of multiple fields in the sample.
Here, the second determination component further
It is configured to perform a collective process on the fields of a plurality of samples in the sample set to obtain the field list.

可能な実現形態において、前記記憶位置は、前記サンプル集合の記憶パス及び前記サンプル集合内のサンプルのインデックス位置を含む。 In a possible implementation, the storage location includes the storage path of the sample set and the index position of the sample within the sample set.

可能な実現形態において、前記フィールド情報は、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含む。 In a possible implementation, the field information includes instructional information indicating whether to allow reading of multiple samples.

図6は、本願の実施例による読み取り装置を示すブロック図である。図6に示すように、前記装置は、
サンプル集合に対応する構成ファイルに基づいて、サンプル集合内のターゲットサンプルの記憶位置及びターゲットフィールドを取得するように構成される第1取得コンポーネント14と、
前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取るように構成される第1読み取りコンポーネント15と、を備え、
前記構成ファイルは、前記サンプル集合の記述情報及びサンプルのフィールド情報に基づいて決定されたものである。
FIG. 6 is a block diagram showing a reading device according to an embodiment of the present application. As shown in FIG. 6, the apparatus is
A first acquisition component 14 configured to acquire the storage location and target field of the target sample in the sample set based on the configuration file corresponding to the sample set.
It comprises a first read component 15 configured to read the target parameter value of the target field of the target sample based on the storage location.
The configuration file is determined based on the description information of the sample set and the field information of the sample.

可能な実現形態において、前記装置は、
前記構成ファイルに基づいて、ターゲットサンプルの読み取り方式を取得することを更に含む。
In a possible embodiment, the device is
Further including acquiring the reading method of the target sample based on the configuration file.

可能な実現形態において、前記第1読み取りコンポーネントは更に、
ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得し、
前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記ターゲットサンプルをルックアップし、
前記ターゲットサンプルの読み取り方式に基づいて、ターゲットサンプルを読み取り、ターゲットサンプルの1つ又は複数のフィールドのパラメータ値を得て、
前記ターゲットサンプルの1つ又は複数のフィールドのパラメータ値から、前記ターゲットパラメータ値を決定するように構成される。
In a possible embodiment, the first read component further
Based on the storage position of the target sample, the storage path of the sample set and the index position of the target sample in the sample set are acquired.
Look up the target sample based on the storage path of the sample set and the index position of the target sample in the sample set.
Based on the target sample reading method, the target sample is read, and the parameter values of one or more fields of the target sample are obtained.
It is configured to determine the target parameter value from the parameter values of one or more fields of the target sample.

可能な実現形態において、前記第1読み取りコンポーネントは更に、
ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得し、
前記サンプル集合の記憶パス及び前記ターゲットフィールドに基づいて、サンプル集合内の複数のサンプルのターゲットフィールドのパラメータ値の記憶位置を取得し、
サンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記複数のサンプルのターゲットフィールドのパラメータ値の記憶位置から、ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置を決定し、
前記ターゲットサンプルの読み取り方式に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取るように構成される。
In a possible embodiment, the first read component further
Based on the storage position of the target sample, the storage path of the sample set and the index position of the target sample in the sample set are acquired.
Based on the storage path of the sample set and the target field, the storage position of the parameter value of the target field of a plurality of samples in the sample set is acquired.
Based on the index position of the target sample in the sample set, the storage position of the parameter value of the target field of the target sample is determined from the storage position of the parameter value of the target field of the plurality of samples.
Based on the target sample reading method, the target parameter value is read from the storage position of the parameter value in the target field of the target sample.

可能な実現形態において、前記構成ファイルは、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含み、
前記第1読み取りコンポーネントは更に、
前記ターゲットサンプルの所定読み取りモードを取得し、
前記所定読み取りモード及び前記指示情報に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取るように構成される。
In a possible embodiment, the configuration file contains instructional information indicating whether to allow reading of multiple samples.
The first read component further
The predetermined read mode of the target sample is acquired, and the predetermined read mode is acquired.
Based on the predetermined reading mode and the instruction information, the target parameter value is read from the storage position of the parameter value in the target field of the target sample.

可能な実現形態において、前記第1読み取りコンポーネントは更に、
前記所定読み取りモードが前記指示情報に合致しない場合、前記指示情報に対応する読み取り方式を用いて、前記ターゲットサンプルのターゲットフィールドのパラメータ値を読み取るように構成される。
In a possible embodiment, the first read component further
When the predetermined reading mode does not match the instruction information, the reading method corresponding to the instruction information is used to read the parameter value of the target field of the target sample.

幾つかの実施例において、本願の実施例で提供される装置における機能及びモジュールは、上記方法の実施例に記載の方法を実行するために用いられ、具体的な実現形態は上記方法の実施例の説明を参照されたい。簡潔化のために、ここで詳細な説明を省略する。 In some embodiments, the functions and modules in the apparatus provided in the embodiments of the present application are used to perform the methods described in the embodiments of the above methods, the specific embodiment of which is the embodiments of the above methods. Please refer to the explanation of. For the sake of brevity, detailed description is omitted here.

本願の実施例はコンピュータ可読記憶媒体を更に提供する。該コンピュータ可読記憶媒体にはコンピュータプログラム命令が記憶されており、前記コンピュータプログラム命令がプロセッサにより実行される時、上記方法を実現する。コンピュータ可読記憶媒体は揮発性コンピュータ可読記憶媒体又は不揮発性コンピュータ可読記憶媒体であってもよい。 The embodiments of the present application further provide a computer-readable storage medium. The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the above method is realized. The computer-readable storage medium may be a volatile computer-readable storage medium or a non-volatile computer-readable storage medium.

本願の実施例は電子機器を更に提供する。該電子機器は、プロセッサと、プロセッサによる実行可能な命令を記憶するように構成されるメモリと、を備え、前記プロセッサは、上記方法を実行するように構成される。 The embodiments of the present application further provide electronic devices. The electronic device comprises a processor and a memory configured to store instructions that can be executed by the processor, the processor being configured to perform the method.

電子機器は、端末、サーバ又は他の形態の機器として提供されてもよい。 The electronic device may be provided as a terminal, a server or other form of device.

図7は、一例示的な実施例による電子機器800を示すブロック図である。例えば、電子機器800は、携帯電話、コンピュータ、デジタル放送端末、メッセージング装置、ゲームコンソール、タブレットデバイス、医療機器、フィットネス機器、パーソナルデジタルアシスタントなどの端末であってもよい。 FIG. 7 is a block diagram showing an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be a terminal such as a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, or a personal digital assistant.

図7を参照すると、電子機器800は、処理ユニット802、メモリ804、電源ユニット806、マルチメディアユニット808、オーディオユニット810、入力/出力(Input/Output:I/O)インタフェース812、センサユニット814及び通信ユニット816のうちの1つ又は複数を備えてもよい。 Referring to FIG. 7, the electronic device 800 includes a processing unit 802, a memory 804, a power supply unit 806, a multimedia unit 808, an audio unit 810, an input / output (I / O) interface 812, a sensor unit 814, and the like. One or more of the communication units 816 may be provided.

処理ユニット802は一般的には、電子機器800の全体操作を制御する。例えば、表示、通話呼、データ通信、カメラ操作及び記録操作に関連する操作を制御する。処理ユニット802は、指令を実行するための1つ又は複数のプロセッサ820を備えてもよい。それにより上記方法の全て又は一部のステップを実行する。なお、処理ユニット802は、他のユニットとのインタラクションのために、1つ又は複数のモジュールを備えてもよい。例えば、処理ユニット802はマルチメディアコンポーネントを備えることで、マルチメディアユニット808と処理ユニット802とのインタラクションに寄与する。 The processing unit 802 generally controls the overall operation of the electronic device 800. For example, it controls operations related to display, call call, data communication, camera operation and recording operation. The processing unit 802 may include one or more processors 820 for executing commands. Thereby, all or part of the steps of the above method are performed. The processing unit 802 may include one or more modules for interaction with other units. For example, the processing unit 802 includes a multimedia component, which contributes to the interaction between the multimedia unit 808 and the processing unit 802.

メモリ804は、各種のデータを記憶することで電子機器800における操作をサポートするように構成される。これらのデータの例として、電子機器800上で操作れる如何なるアプリケーション又は方法の命令、連絡先データ、電話帳データ、メッセージ、イメージ、ビデオ等を含む。メモリ804は任意のタイプの揮発性または不揮発性記憶装置、あるいはこれらの組み合わせにより実現される。例えば、スタティックランダムアクセスメモリ(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)、磁気メモリ、フラッシュメモリ、磁気もしくは光ディスクを含む。 The memory 804 is configured to support operations in the electronic device 800 by storing various types of data. Examples of these data include instructions, contact data, phonebook data, messages, images, videos, etc. of any application or method that can be manipulated on the electronic device 800. The memory 804 is realized by any type of volatile or non-volatile storage device, or a combination thereof. For example, static random access memory (Static Random Access Memory: SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable ReadOnly Memory: EEPROM), erasable programmable read-only memory (ErasableMemory) ), Programmable Read Only Memory (PROM), Read Only Memory (ROM), magnetic memory, flash memory, magnetic or optical disk.

電源ユニット806は電子機器800の様々なユニットに電力を提供する。電源ユニット806は、電源管理システム、1つ又は複数の電源、及び電子機器800のための電力生成、管理、分配に関連する他のユニットを備えてもよい。 The power supply unit 806 provides power to various units of the electronic device 800. The power supply unit 806 may include a power supply management system, one or more power supplies, and other units involved in power generation, management, and distribution for the electronic device 800.

マルチメディアユニット808は、上記電子機器800とユーザとの間に出力インタフェースを提供するためのスクリーンを備える。幾つかの実施例において、スクリーンは、液晶ディスプレイ(Liquid Crystal Display:LCD)及びタッチパネル(Touch panel:TP)を含む。スクリーンは、タッチパネルを含むと、タッチパネルとして実現され、ユーザからの入力信号を受信する。タッチパネルは、タッチ、スライド及びパネル上のジェスチャを感知する1つ又は複数のタッチセンサを備える。上記タッチセンサは、タッチ又はスライド動作の境界を感知するだけでなく、上記タッチ又はスライド操作に関連する持続時間及び圧力を検出することもできる。幾つかの実施例において、マルチメディアユニット808は、フロントカメラ及び/又はリアカメラを備える。電子機器800が、撮影モード又はビデオモードのような操作モードであれば、フロントカメラ及び/又はリアカメラは外部からのマルチメディアデータを受信することができる。各フロントカメラ及びリアカメラは固定した光学レンズシステム又は焦点及び光学ズーム能力を持つものであってもよい。 The multimedia unit 808 includes a screen for providing an output interface between the electronic device 800 and the user. In some embodiments, the screen comprises a liquid crystal display (LCD) and a touch panel (TP). When the screen includes a touch panel, it is realized as a touch panel and receives an input signal from the user. The touch panel comprises one or more touch sensors that sense touches, slides and gestures on the panel. The touch sensor can not only detect the boundary of the touch or slide motion, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia unit 808 comprises a front camera and / or a rear camera. If the electronic device 800 is in an operating mode such as a shooting mode or a video mode, the front camera and / or the rear camera can receive multimedia data from the outside. Each front and rear camera may have a fixed optical lens system or focal and optical zoom capabilities.

オーディオユニット810は、オーディオ信号を出力及び/又は入力するように構成される。例えば、オーディオユニット810は、マイクロホン(microphone:MIC)を備える。電子機器800が、通話モード、記録モード及び音声識別モードのような操作モードであれば、マイクロホンは、外部からのオーディオ信号を受信するように構成される。受信したオーディオ信号を更にメモリ804に記憶するか、又は通信ユニット816を経由して送信することができる。幾つかの実施例において、オーディオユニット810は、オーディオ信号を出力するように構成されるスピーカーを更に備える。 The audio unit 810 is configured to output and / or input an audio signal. For example, the audio unit 810 includes a microphone (MIC). If the electronic device 800 is in an operating mode such as a call mode, a recording mode and a voice recognition mode, the microphone is configured to receive an audio signal from the outside. The received audio signal can be further stored in the memory 804 or transmitted via the communication unit 816. In some embodiments, the audio unit 810 further comprises a speaker configured to output an audio signal.

I/Oインタフェース812は、処理ユニット802と周辺インタフェースモジュールとの間のインタフェースを提供する。上記周辺インタフェースモジュールは、キーボード、クリックホイール、ボタン等であってもよい。これらのボタンは、ホームボダン、ボリュームボタン、スタートボタン及びロックボタンを含むが、これらに限定されない。 The I / O interface 812 provides an interface between the processing unit 802 and the peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, or the like. These buttons include, but are not limited to, a home button, a volume button, a start button and a lock button.

センサユニット814は、1つ又は複数のセンサを備え、電子機器800のために様々な状態の評価を行うように構成される。例えば、センサユニット814は、電子機器800のオン/オフ状態、ユニットの相対的な位置決めを検出することができる。例えば、上記ユニットが電子機器800のディスプレイ及びキーパッドである。センサユニット814は電子機器800又は電子機器800における1つのユニットの位置の変化、ユーザと電子機器800との接触の有無、電子機器800の方位又は加速/減速及び電子機器800の温度の変動を検出することもできる。センサユニット814は近接センサを備えてもよく、いかなる物理的接触もない場合に周囲の物体の存在を検出するように構成される。センサユニット814は、CMOS(Complementary Metal Oxide Semiconductor:相補型金属酸化膜半導体)又はCCD(Charge-coupled Device:電荷結合素子)画像センサのような光センサを備えてもよく、結像に適用されるように構成される。幾つかの実施例において、該センサユニット814は、加速度センサ、ジャイロセンサ、磁気センサ、圧力センサ又は温度センサを備えてもよい。 The sensor unit 814 comprises one or more sensors and is configured to perform various state assessments for the electronic device 800. For example, the sensor unit 814 can detect the on / off state of the electronic device 800 and the relative positioning of the unit. For example, the unit is a display and a keypad of an electronic device 800. The sensor unit 814 detects a change in the position of one unit in the electronic device 800 or the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature fluctuation of the electronic device 800. You can also do it. The sensor unit 814 may include a proximity sensor and is configured to detect the presence of surrounding objects in the absence of any physical contact. The sensor unit 814 may include an optical sensor such as a CMOS (Complementary Metal Oxide Semiconductor) or a CCD (Charge-coupled Device) image sensor, and is applied to imaging. It is configured as follows. In some embodiments, the sensor unit 814 may include an accelerometer, gyro sensor, magnetic sensor, pressure sensor or temperature sensor.

通信ユニット816は、電子機器800と他の機器との有線又は無線方式の通信に寄与するように構成される。電子機器800は、WiFi、2G(2-Generation wireless telephone technology:第2世代移動通信技術)又は3G(3-Generation wireless telephone technology:第3世代移動通信技術)、又はそれらの組み合わせのような通信規格に基づいた無線ネットワークにアクセスできる。一例示的な実施例において、通信ユニット816は放送チャネルを経由して外部放送チャネル管理システムからの放送信号又は放送関連する情報を受信する。一例示的な実施例において、上記通信ユニット816は、近接場通信(Near Field Communication:NFC)コンポーネントを更に備えることで近距離通信を促進する。例えば、NFCモジュールは、無線周波数識別(Radio Frequency Identification:RFID)技術、赤外線データ協会(Infrared Data Association:IrDA)技術、超広帯域(Ultra Wide Band:UWB)技術、ブルートゥース(Bluetooth:BT)技術及び他の技術に基づいて実現される。 The communication unit 816 is configured to contribute to wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 is a communication standard such as WiFi, 2G (2-Generation wireless telephone technology: 2nd generation mobile communication technology) or 3G (3-Generation wireless telephone technology: 3rd generation mobile communication technology), or a combination thereof. You can access the wireless network based on. In an exemplary embodiment, the communication unit 816 receives broadcast signals or broadcast-related information from an external broadcast channel management system via the broadcast channel. In an exemplary embodiment, the communication unit 816 further comprises a Near Field Communication (NFC) component to facilitate short-range communication. For example, NFC modules include Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth: Bluetooth, et al. It is realized based on the technology of.

例示的な実施例において、電子機器800は、1つ又は複数の特定用途向け集積回路(Application Specific Integrated Circuit:ASIC)、デジタル信号プロセッサ(Digital Signal Process:DSP)、デジタル信号処理機器(Digital Signal Process Device:DSPD)、プログラマブルロジックデバイス(Programmable Logic Device:PLD)、フィールドプログラマブルゲートアレイ(Field Programmable Gate Array:FPGA)、コントローラ、マイクロコントローラ、マイクロプロセッサ又は他の電子素子により実現され、上記方法を実行するように構成されてもよい。 In an exemplary embodiment, the electronic device 800 includes one or more Applied Specific Integrated Circuits (ASICs), a Digital Signal Process (DSP), and a Digital Signal Process. Implemented by a Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic element to perform the above method. It may be configured as follows.

例示的な実施例において、コンピュータプログラム命令を記憶したメモリ804のような不揮発性コンピュータ可読記憶媒体を更に提供する。上記コンピュータプログラム命令は、電子機器800のプロセッサ820により実行され、上記方法を完了する。 In an exemplary embodiment, further provided is a non-volatile computer readable storage medium, such as memory 804, which stores computer program instructions. The computer program instruction is executed by the processor 820 of the electronic device 800 to complete the method.

本願の実施例は、コンピュータプログラム製品を更に提供する。前記コンピュータプログラム製品は、コンピュータ可読コードを含み、前記コンピュータ可読コードが機器で実行される時、機器におけるプロセッサは、上記いずれか1つの実施例で提供される方法を実現するための命令を実行する。 The embodiments of the present application further provide computer program products. The computer program product includes a computer-readable code, and when the computer-readable code is executed in the device, the processor in the device executes an instruction for realizing the method provided in any one of the above embodiments. ..

該コンピュータプログラム製品は、ハードウェア、ソフトウェア又はその組み合わせにより実現することができる。1つの選択可能な実施例において、前記コンピュータプログラム製品はコンピュータ記憶媒体として具現化され、もう1つの選択可能な実施例において、コンピュータプログラム製品は、例えば、ソフトウェア開発キット(Software Development Kit:SDK)などのようなソフトウェア製品として具現化される。 The computer program product can be realized by hardware, software or a combination thereof. In one selectable embodiment, the computer program product is embodied as a computer storage medium, and in another selectable embodiment, the computer program product is, for example, a software development kit (SDK) or the like. It is embodied as a software product such as.

図8は、本願の実施例によるもう1つの電子機器1900を示すブロック図である。例えば、電子機器1900は、サーバとして提供されてもよい。図8を参照すると、電子機器1900は、処理ユニット1922を備える。それは、1つ又は複数のプロセッサ、及びメモリ1932で表されるメモリリソースを更に備える。該メモリリースは、アプリケーションプログラムのような、処理ユニット1922により実行される命令を記憶するためのものである。メモリ1932に記憶されているアプリケーションプログラムは、それぞれ一組の命令に対応する1つ又は1つ以上のモジュールを含んでもよい。なお、処理ユニット1922は、命令を実行して、上記方法を実行するように構成される。 FIG. 8 is a block diagram showing another electronic device 1900 according to the embodiment of the present application. For example, the electronic device 1900 may be provided as a server. Referring to FIG. 8, the electronic device 1900 includes a processing unit 1922. It further comprises one or more processors and a memory resource represented by memory 1932. The memory lease is for storing instructions executed by the processing unit 1922, such as an application program. The application program stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. The processing unit 1922 is configured to execute the instruction and execute the above method.

電子機器1900は、電子機器1900の電源管理を実行するように構成される電源ユニット1926と、電子機器1900をネットワークに接続するように構成される有線又は無線ネットワークインタフェース1950と、入力出力(I/O)インタフェース1958と、を更に備えてもよい。電子機器1900は、Windows ServerTM、Mac OS XTM、UnixTM, LinuxTM、FreeBSDTM又は類似したもののような、メモリ1932に記憶されているオペレーティングシステムを実行することができる。 The electronic device 1900 includes a power supply unit 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and input / output (I / O). O) Interface 1958 may be further provided. The electronic device 1900 can run an operating system stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.

例示的な実施例において、例えば、コンピュータプログラム命令を含むメモリ1932のような不揮発性コンピュータ可読記憶媒体を更に提供する。上記コンピュータプログラム命令は、電子機器1900の処理ユニット1922により実行されて上記方法を完了する。 In an exemplary embodiment, further provided is a non-volatile computer readable storage medium such as memory 1932 containing computer program instructions. The computer program instruction is executed by the processing unit 1922 of the electronic device 1900 to complete the method.

本願の実施例は、システム、方法及び/又はコンピュータプログラム製品であってもよい。コンピュータプログラム製品は、コンピュータ可読記憶媒体を備えてもよく、プロセッサに本願の実施例の各態様を実現するためのコンピュータ可読プログラム命令がそれに記憶されている。 The embodiments of the present application may be systems, methods and / or computer program products. The computer program product may include a computer-readable storage medium, in which computer-readable program instructions for realizing each aspect of the embodiments of the present application are stored in the processor.

コンピュータ可読記憶媒体は、命令実行装置に用いられる命令を保持又は記憶することができる有形装置であってもよい。コンピュータ可読記憶媒体は、例えば、電気記憶装置、磁気記憶装置、光記憶装置、電磁記憶装置、半導体記憶装置又は上記の任意の組み合わせであってもよいが、これらに限定されない。コンピュータ可読記憶媒体のより具体的な例(非網羅的なリスト)は、ポータブルコンピュータディスク、ハードディスク、ランダムアクセスメモリ(Random Access Memory:RAM)、読み出し専用メモリ(Read Only Memory:ROM)、消去可能なプログラマブル読み出し専用メモリ(Electrical Programmable Read Only Memory:EPROM又はフラッシュ)、スタティックランダムアクセスメモリ(Static Random Access Memory:SRAM)、ポータブルコンパクトディスク読み出し専用メモリ(Compact Disc Read-Only Memory:CD-ROM)、デジタル多目的ディスク(Digital Video Disc:DVD)、メモリスティック、フレキシブルディスク、命令が記憶されているパンチカード又は凹溝内における突起構造のような機械的符号化装置、及び上記任意の適切な組み合わせを含む。ここで用いられるコンピュータ可読記憶媒体は、電波もしくは他の自由に伝搬する電磁波、導波路もしくは他の伝送媒体を通って伝搬する電磁波(例えば、光ファイバケーブルを通過する光パルス)、または、電線を通して伝送される電気信号などの、一時的な信号それ自体であると解釈されるべきではない。 The computer-readable storage medium may be a tangible device capable of holding or storing instructions used in the instruction execution device. The computer-readable storage medium may be, for example, an electric storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the above, but is not limited thereto. More specific examples (non-exhaustive lists) of computer-readable storage media are portable computer disks, hard disks, random access memory (RAM), read-only memory (Read Only Memory: ROM), and erasable. Programmable Read-Only Memory (Electrical Program Read Only Memory: EPROM or Flash), Static Random Access Memory (SRAM), Portable Compact Disk Read-Only Memory (Compact Computer Read-Only Memory: Multi-purpose) Includes a disk (Digital Visual Disk: DVD), a memory stick, a flexible disk, a mechanical coding device such as a punch card in which instructions are stored or a protrusion structure in a groove, and any suitable combination described above. The computer-readable storage medium used herein is a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, an optical pulse passing through an optical fiber cable), or through an electric wire. It should not be construed as a temporary signal itself, such as a transmitted electrical signal.

ここで説明されるコンピュータ可読プログラム命令を、コンピュータ可読記憶媒体から各コンピューティング/処理装置にダウンロードすることができるか、又は、インターネット、ローカルエリアネットワーク、ワイドエリアネットワーク及び/又は無線ネットワークのようなネットワークを経由して外部コンピュータ又は外部記憶装置にダウンロードすることができる。ネットワークは、伝送用銅線ケーブル、光ファイバー伝送、無線伝送、ルータ、ファイアウォール、交換機、ゲートウェイコンピュータ及び/又はエッジサーバを含んでもよい。各コンピューティング/処理装置におけるネットワークインターフェースカード又はネットワークインタフェースは、ネットワークからコンピュータ可読プログラム命令を受信し、該コンピュータ可読プログラム命令を転送し、各コンピューティング/処理装置におけるコンピュータ可読記憶媒体に記憶する。 The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or networks such as the Internet, local area networks, wide area networks and / or wireless networks. It can be downloaded to an external computer or an external storage device via. The network may include copper cables for transmission, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. The network interface card or network interface in each computing / processing device receives computer-readable program instructions from the network, transfers the computer-readable program instructions, and stores them in a computer-readable storage medium in each computing / processing device.

本願の実施例の操作を実行するためのコンピュータ可読プログラム命令は、アセンブラ命令、命令セットアーキテクチャ(Industry Standard Architecture:ISA)命令、マシン命令、マシン依存命令、マイクロコード、ファームウェア命令、状態設定データ、又は1つ又は複数のプログラミング言語で記述されたソースコード又はターゲットコードであってもよい。前記プログラミング言語は、Smalltalk、C++などのようなオブジェクト指向プログラミング言語と、「C」プログラミング言語又は類似したプログラミング言語などの従来の手続型プログラミング言語とを含む。コンピュータ可読プログラム命令は、ユーザコンピュータ上で完全に実行してもよいし、ユーザコンピュータ上で部分的に実行してもよいし、独立したソフトウェアパッケージとして実行してもよいし、ユーザコンピュータ上で部分的に実行してリモートコンピュータ上で部分的に実行してもよいし、又はリモートコンピュータ又はサーバ上で完全に実行してもよい。リモートコンピュータの場合に、リモートコンピュータは、任意の種類のネットワーク(ローカルエリアネットワーク(local area network:LAN)やワイドエリアネットワーク(Wide Area Network:WAN)を含む)を通じてユーザのコンピュータに接続するか、または、外部のコンピュータに接続することができる(例えばインターネットサービスプロバイダを用いてインターネットを通じて接続する)。幾つかの実施例において、コンピュータ可読プログラム命令の状態情報を利用して、プログラマブル論理回路、フィールドプログラマブルゲートアレイ(FPGA)又はプログラマブル論理アレイ(programmable logic array:PLA)のような電子回路をカスタマイズする。該電子回路は、コンピュータ可読プログラム命令を実行することで、本願の各態様を実現することができる。 The computer-readable program instructions for performing the operations of the embodiments of the present application are assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or It may be source code or target code written in one or more programming languages. The programming language includes object-oriented programming languages such as Smalltalk, C ++, and conventional procedural programming languages such as "C" programming languages or similar programming languages. Computer-readable program instructions may be executed completely on the user computer, partially on the user computer, as a separate software package, or partially on the user computer. It may be executed partially on the remote computer, or it may be executed completely on the remote computer or the server. In the case of a remote computer, the remote computer connects to or connects to the user's computer through any type of network, including a local area network (LAN) or a wide area network (Wide Area Network: WAN). , Can connect to an external computer (eg, connect through the internet using an internet service provider). In some embodiments, the state information of computer-readable program instructions is used to customize electronic circuits such as programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (PLAs). The electronic circuit can realize each aspect of the present application by executing a computer-readable program instruction.

ここで、本願の実施例の方法、装置(システム)及びコンピュータプログラム製品のフローチャート及び/又はブロック図を参照しながら、本願の各態様を説明する。フローチャート及び/又はブロック図の各ブロック及びフローチャート及び/又はブロック図における各ブロックの組み合わせは、いずれもコンピュータ可読プログラム命令により実現できる。 Here, each aspect of the present application will be described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products of the embodiments of the present application. Each block of the flowchart and / or the block diagram and each combination of the blocks in the flowchart and / or the block diagram can be realized by a computer-readable program instruction.

これらのコンピュータ可読プログラム命令は、汎用コンピュータ、専用コンピュータまたはその他プログラマブルデータ処理装置のプロセッサに提供でき、それによって機器を生み出し、これら命令はコンピュータまたはその他プログラマブルデータ処理装置のプロセッサにより実行される時、フローチャート及び/又はブロック図における1つ又は複数のブロック中で規定している機能/操作を実現する装置を生み出した。これらのコンピュータ可読プログラム命令をコンピュータ可読記憶媒体に記憶してもよい。これらの命令によれば、コンピュータ、プログラマブルデータ処理装置及び/又は他の装置は特定の方式で動作する。従って、命令が記憶されているコンピュータ可読記憶媒体は、フローチャート及び/又はブロック図おける1つ又は複数のブロック中で規定している機能/操作を実現する各態様の命令を含む製品を備える。 These computer-readable program instructions can be provided to the processor of a general purpose computer, dedicated computer or other programmable data processing device, thereby creating a device, and when these instructions are executed by the processor of the computer or other programmable data processing device, the flowchart. And / or created a device that realizes the functions / operations specified in one or more blocks in the block diagram. These computer-readable program instructions may be stored in a computer-readable storage medium. According to these instructions, computers, programmable data processing devices and / or other devices operate in a particular manner. Accordingly, a computer-readable storage medium in which instructions are stored comprises a product comprising instructions of each aspect that realizes a function / operation defined in one or more blocks in a flow chart and / or a block diagram.

コンピュータ可読プログラム命令をコンピュータ、他のプログラマブルデータ処理装置又は他の装置にロードしてもよい。これにより、コンピュータ、他のプログラマブルデータ処理装置又は他の装置で一連の操作の工程を実行して、コンピュータで実施されるプロセスを生成する。従って、コンピュータ、他のプログラマブルデータ処理装置又は他の装置で実行される命令により、フローチャート及び/又はブロック図における1つ又は複数のブロック中で規定している機能/操作を実現する。 Computer-readable program instructions may be loaded into a computer, other programmable data processing device, or other device. This causes a computer, other programmable data processing device, or other device to perform a series of steps of operation to create a process performed on the computer. Therefore, instructions executed by a computer, other programmable data processing device, or other device realize the functions / operations specified in one or more blocks in the flowchart and / or block diagram.

図面におけるフローチャート及びブロック図は、本願の複数の実施例によるシステム、方法及びコンピュータプログラム製品の実現可能なアーキテクチャ、機能および操作を例示するものである。この点で、フローチャート又はブロック図における各ブロックは、1つのモジュール、プログラムセグメント又は命令の一部を表すことができる。前記モジュール、プログラムセグメント又は命令の一部は、1つまたは複数の所定の論理機能を実現するための実行可能な命令を含む。いくつかの取り替えとしての実現中に、ブロックに表記される機能は図面中に表記される順序と異なる順序で発生することができる。例えば、二つの連続するブロックは実際には基本的に並行して実行でき、場合によっては反対の順序で実行することもでき、これは関係する機能から確定する。ブロック図及び/又はフローチャートにおける各ブロック、及びブロック図及び/又はフローチャートにおけるブロックの組み合わせは、所定の機能又は操作を実行するための専用ハードウェアベースシステムにより実現するか、又は専用ハードウェアとコンピュータ命令の組み合わせにより実現することができる。 The flowcharts and block diagrams in the drawings illustrate the feasible architectures, functions and operations of the systems, methods and computer program products according to the plurality of embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent part of a module, program segment or instruction. Some of the modules, program segments or instructions include executable instructions to implement one or more predetermined logical functions. During implementation as some replacement, the functions shown in the blocks can occur in a different order than shown in the drawing. For example, two consecutive blocks can actually be executed essentially in parallel, and in some cases in opposite order, which is determined by the functions involved. Each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, is realized by a dedicated hardware-based system for performing a predetermined function or operation, or a dedicated hardware and a computer instruction. It can be realized by the combination of.

以上は本発明の各実施例を説明したが、前記説明は例示的なものであり、網羅するものではなく、且つ開示した各実施例に限定されない。説明した各実施例の範囲と趣旨から脱逸しない場合、当業者にとって、多くの修正及び変更は容易に想到しえるものである。本明細書に用いられる用語の選択は、各実施例の原理、実際の応用、或いは市場における技術の改善を最もよく解釈すること、或いは他の当業者が本明細書に開示された各実施例を理解できることを目的とする。 Although each embodiment of the present invention has been described above, the above description is exemplary, not exhaustive, and is not limited to the disclosed examples. Many modifications and changes are readily conceivable to those skilled in the art, provided that they do not deviate from the scope and intent of each of the embodiments described. The choice of terminology used herein best interprets the principles, practical applications, or technological improvements in the market of each embodiment, or each embodiment disclosed herein by one of ordinary skill in the art. The purpose is to be able to understand.

Claims (31)

記憶方法であって、
サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定することと、
前記サンプル集合内のサンプルのフィールド及び記憶位置に基づいて、前記サンプル集合に対応するフィールド情報を決定することと、
前記記述情報及び前記フィールド情報に基づいて、前記サンプル集合の構成ファイルを決定することと、を含む、記憶方法。
It ’s a memory method,
Determining the descriptive information corresponding to the sample set based on the label of the sample in the sample set.
Determining the field information corresponding to the sample set based on the field and storage position of the sample in the sample set.
A storage method comprising determining a configuration file of the sample set based on the descriptive information and the field information.
前記記述情報は、サンプルのラベルに対する記述情報を含み、
ここで、サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定することは、
前記サンプル集合内のサンプルのラベルに基づいて、ラベルリストを得ることであって、前記ラベルリストは、サンプルのラベルのカテゴリを含む、ことと、
ラベルリストにおけるラベルに対して記述を追加し、前記サンプルのラベルの記述情報を得ることと、を含むことを特徴とする
請求項1に記載の方法。
The descriptive information includes descriptive information for the label of the sample.
Here, it is not possible to determine the descriptive information corresponding to the sample set based on the label of the sample in the sample set.
To obtain a label list based on the labels of the samples in the sample set, the label list includes categories of labels for the samples.
The method according to claim 1, wherein a description is added to the label in the label list to obtain description information of the label of the sample, and the present invention includes.
前記サンプル集合に少なくとも1つのデータタイプのサンプルが含まれることを特徴とする
請求項1又は2に記載の方法。
The method according to claim 1 or 2, wherein the sample set includes samples of at least one data type.
前記フィールド情報は、サンプルの読み取り方式情報を更に含み、
ここで、前記方法は、
サンプル集合内のサンプルのデータタイプに基づいて、各データタイプに対応する読み取り方式を決定することと、
前記サンプルのデータタイプ及び対応する読み取り方式に基づいて、前記サンプルの読み取り方式情報を得ることと、を更に含むことを特徴とする
請求項3に記載の方法。
The field information further includes sample reading method information.
Here, the method is
Determining the reading method for each data type based on the data types of the samples in the sample set,
The method of claim 3, further comprising obtaining reading method information for the sample based on the data type of the sample and the corresponding reading method.
サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定することは、
サンプル集合内のサンプルのカテゴリを分けるためのインデックス範囲情報を決定することと、
前記サンプル集合内のサンプルの記述情報及びサンプルカテゴリのインデックス範囲情報に基づいて、前記サンプル集合に対応する記述情報を生成することと、を更に含むことを特徴とする
請求項1-4のいずれか一項に記載の方法。
Determining the descriptive information corresponding to the sample set based on the label of the sample in the sample set is
Determining the index range information to separate the categories of samples in the sample set,
One of claims 1-4, further comprising generating descriptive information corresponding to the sample set based on the descriptive information of the sample in the sample set and the index range information of the sample category. The method described in paragraph 1.
前記フィールド情報は、サンプルの複数のフィールドのフィールドリストを含み、
ここで、サンプル集合内のサンプルのフィールド及び記憶位置に基づいて、前記サンプル集合に対応するフィールド情報を決定することは、
前記サンプル集合内の複数のサンプルのフィールドに対してまとめ処理を行い、前記フィールドリストを得ることを含むことを特徴とする
請求項1-5のいずれか一項に記載の方法。
The field information includes a field list of multiple fields in the sample.
Here, determining the field information corresponding to the sample set is based on the field and storage position of the sample in the sample set.
The method according to any one of claims 1-5, which comprises performing a grouping process on a field of a plurality of samples in the sample set to obtain the field list.
前記記憶位置は、前記サンプル集合の記憶パス及び前記サンプル集合内のサンプルのインデックス位置を含むことを特徴とする
請求項1-6のいずれか一項に記載の方法。
The method according to any one of claims 1-6, wherein the storage position includes a storage path of the sample set and an index position of a sample in the sample set.
前記フィールド情報は、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含むことを特徴とする
請求項1-7のいずれか一項に記載の方法。
The method according to any one of claims 1-7, wherein the field information includes instructional information indicating whether or not reading of a plurality of samples is permitted.
読み取り方法であって、
サンプル集合に対応する構成ファイルに基づいて、サンプル集合内のターゲットサンプルの記憶位置及びターゲットフィールドを取得することと、
前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取ることと、を含み、
前記構成ファイルは、前記サンプル集合の記述情報及びサンプルのフィールド情報に基づいて決定されたものである、読み取り方法。
It ’s a reading method.
Obtaining the storage location and target field of the target sample in the sample set based on the configuration file corresponding to the sample set,
Including reading the target parameter value of the target field of the target sample based on the storage location.
The reading method, wherein the configuration file is determined based on the description information of the sample set and the field information of the sample.
前記方法は、
前記構成ファイルに基づいて、ターゲットサンプルの読み取り方式を取得することを更に含むことを特徴とする
請求項9に記載の方法。
The method is
The method of claim 9, further comprising acquiring a reading method for the target sample based on the configuration file.
前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取ることは、
ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得することと、
前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記ターゲットサンプルをルックアップすることと、
前記ターゲットサンプルの読み取り方式に基づいて、前記ターゲットサンプルを読み取り、ターゲットサンプルの1つ又は複数のフィールドのパラメータ値を得ることと、
前記ターゲットサンプルの1つ又は複数のフィールドのパラメータ値から、前記ターゲットパラメータ値を決定することと、を含むことを特徴とする
請求項10に記載の方法。
Reading the target parameter value of the target field of the target sample based on the storage position is
To obtain the storage path of the sample set and the index position of the target sample in the sample set based on the storage position of the target sample.
To look up the target sample based on the storage path of the sample set and the index position of the target sample in the sample set.
Based on the target sample reading method, the target sample is read to obtain the parameter values of one or more fields of the target sample.
10. The method of claim 10, comprising determining the target parameter value from the parameter values of one or more fields of the target sample.
前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取ることは、
ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得することと、
前記サンプル集合の記憶パス及び前記ターゲットフィールドに基づいて、サンプル集合内の複数のサンプルのターゲットフィールドのパラメータ値の記憶位置を取得することと、
サンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記複数のサンプルのターゲットフィールドのパラメータ値の記憶位置から、ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置を決定することと、
前記ターゲットサンプルの読み取り方式に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取ることと、を含むことを特徴とする
請求項10に記載の方法。
Reading the target parameter value of the target field of the target sample based on the storage position is
To obtain the storage path of the sample set and the index position of the target sample in the sample set based on the storage position of the target sample.
To acquire the storage position of the parameter value of the target field of a plurality of samples in the sample set based on the storage path of the sample set and the target field.
To determine the storage position of the parameter value of the target field of the target sample from the storage position of the parameter value of the target field of the plurality of samples based on the index position of the target sample in the sample set.
The method according to claim 10, wherein the target parameter value is read from a storage position of a parameter value in a target field of the target sample based on the reading method of the target sample.
前記構成ファイルは、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含み、
前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取ることは、
前記ターゲットサンプルの所定読み取りモードを取得することと、
前記所定読み取りモード及び前記指示情報に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取ることと、を含むことを特徴とする
請求項9-12のいずれか一項に記載の方法。
The configuration file contains instructional information indicating whether to allow reading of multiple samples.
Reading the target parameter value of the target field of the target sample based on the storage position is
Acquiring the predetermined read mode of the target sample and
One of claims 9-12, comprising reading the target parameter value from a storage position of the parameter value in the target field of the target sample based on the predetermined read mode and the instruction information. The method described in paragraph 1.
前記所定読み取りモード及び前記指示情報に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取ることは、
前記所定読み取りモードが前記指示情報に合致しない場合、前記指示情報に対応する読み取り方式を用いて、前記ターゲットサンプルのターゲットフィールドのパラメータ値を読み取ることを含むことを特徴とする
請求項13に記載の方法。
Reading the target parameter value from the storage position of the parameter value in the target field of the target sample based on the predetermined read mode and the instruction information is not possible.
13. The thirteenth aspect of the present invention, wherein when the predetermined reading mode does not match the instruction information, the reading method corresponding to the instruction information is used to read the parameter value of the target field of the target sample. Method.
記憶装置であって、
サンプル集合内のサンプルのラベルに基づいて、前記サンプル集合に対応する記述情報を決定するように構成される第1決定コンポーネントと、
サンプル集合内のサンプルのフィールド及び記憶位置に基づいて、前記サンプル集合に対応するフィールド情報を決定するように構成される第2決定コンポーネントと、
前記記述情報及び前記フィールド情報に基づいて、前記サンプル集合の構成ファイルを決定するように構成される第3決定コンポーネントと、を備える、記憶装置。
It ’s a storage device,
A first decision component configured to determine the descriptive information corresponding to the sample set based on the label of the sample in the sample set.
A second decision component configured to determine the field information corresponding to the sample set based on the field and storage location of the sample in the sample set.
A storage device comprising a third determination component configured to determine a configuration file for the sample set based on the descriptive information and the field information.
前記記述情報は、サンプルのラベルに対する記述情報を含み、
ここで、前記第1決定コンポーネントは更に、
前記サンプル集合内のサンプルのラベルに基づいて、ラベルリストを得ることであって、前記ラベルリストは、サンプルのラベルのカテゴリを含む、ことと、
ラベルリストにおけるラベルに対して記述を追加し、前記サンプルのラベルの記述情報を得ることと、を実行するように構成されることを特徴とする
請求項15に記載の装置。
The descriptive information includes descriptive information for the label of the sample.
Here, the first determination component further
To obtain a label list based on the labels of the samples in the sample set, the label list includes categories of labels for the samples.
The apparatus according to claim 15, wherein a description is added to a label in a label list to obtain description information of the label of the sample, and the device is configured to execute.
前記サンプル集合に少なくとも1つのデータタイプのサンプルが含まれることを特徴とする
請求項15又は16に記載の装置。
The apparatus according to claim 15 or 16, wherein the sample set includes samples of at least one data type.
前記フィールド情報は、サンプルの読み取り方式情報を更に含み、
ここで、前記装置は、
サンプル集合内のサンプルのデータタイプに基づいて、各データタイプに対応する読み取り方式を決定するように構成される第4決定コンポーネントと、
前記サンプルのデータタイプ及び対応する読み取り方式に基づいて、前記サンプルの読み取り方式情報を得るように構成される第1取得コンポーネントと、を更に備えることを特徴とする
請求項17に記載の装置。
The field information further includes sample reading method information.
Here, the device is
A fourth decision component configured to determine the reading method for each data type based on the data types of the samples in the sample set.
17. The apparatus of claim 17, further comprising a first acquisition component configured to obtain reading method information for the sample based on the data type of the sample and the corresponding reading method.
前記第1決定コンポーネントは更に、
サンプル集合内のサンプルのカテゴリを分けるためのインデックス範囲情報を決定し、
前記サンプル集合内のサンプルの記述情報及び前記サンプルカテゴリのインデックス範囲情報に基づいて、前記サンプル集合に対応する記述情報を生成するように構成されることを特徴とする
請求項15-18のいずれか一項に記載の装置。
The first decision component further
Determine the index range information to separate the categories of samples in the sample set,
One of claims 15-18, characterized in that it is configured to generate descriptive information corresponding to the sample set based on the descriptive information of the sample in the sample set and the index range information of the sample category. The device according to paragraph 1.
記フィールド情報は、サンプルの複数のフィールドのフィールドリストを含み、
ここで、前記第2決定コンポーネントは更に、
前記サンプル集合内の複数のサンプルのフィールドに対してまとめ処理を行い、前記フィールドリストを得るように構成されることを特徴とする
請求項15-19のいずれか一項に記載の装置。
The field information includes a field list of multiple fields in the sample.
Here, the second determination component further
The apparatus according to any one of claims 15-19, wherein the fields of a plurality of samples in the sample set are collectively processed to obtain the field list.
前記記憶位置は、前記サンプル集合の記憶パス及び前記サンプル集合内のサンプルのインデックス位置を含むことを特徴とする
請求項15-20のいずれか一項に記載の装置。
The apparatus according to any one of claims 15-20, wherein the storage position includes a storage path of the sample set and an index position of a sample in the sample set.
前記フィールド情報は、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含むことを特徴とする
請求項15-21のいずれか一項に記載の装置。
The apparatus according to any one of claims 15-21, wherein the field information includes instruction information indicating whether or not reading of a plurality of samples is permitted.
読み取り装置であって、
サンプル集合に対応する構成ファイルに基づいて、サンプル集合内のターゲットサンプルの記憶位置及びターゲットフィールドを取得するように構成される第1取得コンポーネントと、
前記記憶位置に基づいて、前記ターゲットサンプルのターゲットフィールドのターゲットパラメータ値を読み取るように構成される第1読み取りコンポーネントと、を備え、
前記構成ファイルは、前記サンプル集合の記述情報及びサンプルのフィールド情報に基づいて決定されたものである、読み取り装置。
It ’s a reading device,
A first acquisition component configured to acquire the storage location and target field of the target sample in the sample set, based on the configuration file corresponding to the sample set.
It comprises a first read component configured to read the target parameter value of the target field of the target sample based on the storage location.
The configuration file is a reading device determined based on the description information of the sample set and the field information of the sample.
前記装置は、
前記構成ファイルに基づいて、ターゲットサンプルの読み取り方式を取得することを更に含むことを特徴とする
請求項23に記載の装置。
The device is
23. The apparatus of claim 23, further comprising acquiring a method of reading a target sample based on the configuration file.
前記第1読み取りコンポーネントは更に、
ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得し、
前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記ターゲットサンプルをルックアップし、
前記ターゲットサンプルの読み取り方式に基づいて、ターゲットサンプルを読み取り、ターゲットサンプルの1つ又は複数のフィールドのパラメータ値を得て、
前記ターゲットサンプルの1つ又は複数のフィールドのパラメータ値から、前記ターゲットパラメータ値を決定するように構成されることを特徴とする
請求項24に記載の装置。
The first read component further
Based on the storage position of the target sample, the storage path of the sample set and the index position of the target sample in the sample set are acquired.
Look up the target sample based on the storage path of the sample set and the index position of the target sample in the sample set.
Based on the target sample reading method, the target sample is read, and the parameter values of one or more fields of the target sample are obtained.
24. The apparatus of claim 24, wherein the target parameter value is determined from the parameter values of one or more fields of the target sample.
前記第1読み取りコンポーネントは更に、
ターゲットサンプルの記憶位置に基づいて、前記サンプル集合の記憶パス及びサンプル集合内のターゲットサンプルのインデックス位置を取得し、
前記サンプル集合の記憶パス及び前記ターゲットフィールドに基づいて、サンプル集合内の複数のサンプルのターゲットフィールドのパラメータ値の記憶位置を取得し、
サンプル集合内のターゲットサンプルのインデックス位置に基づいて、前記複数のサンプルのターゲットフィールドのパラメータ値の記憶位置から、ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置を決定し、
前記ターゲットサンプルの読み取り方式に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取るように構成されることを特徴とする
請求項24に記載の装置。
The first read component further
Based on the storage position of the target sample, the storage path of the sample set and the index position of the target sample in the sample set are acquired.
Based on the storage path of the sample set and the target field, the storage position of the parameter value of the target field of a plurality of samples in the sample set is acquired.
Based on the index position of the target sample in the sample set, the storage position of the parameter value of the target field of the target sample is determined from the storage position of the parameter value of the target field of the plurality of samples.
24. The apparatus according to claim 24, wherein the target parameter value is read from a storage position of a parameter value in a target field of the target sample based on the reading method of the target sample.
前記構成ファイルは、複数のサンプルの読み取りを許可するかどうかを指示する指示情報を含み、
前記第1読み取りコンポーネントは更に、
前記ターゲットサンプルの所定読み取りモードを取得し、
前記所定読み取りモード及び前記指示情報に基づいて、前記ターゲットサンプルのターゲットフィールドのパラメータ値の記憶位置から、前記ターゲットパラメータ値を読み取るように構成されることを特徴とする
請求項23-26のいずれか一項に記載の装置。
The configuration file contains instructional information indicating whether to allow reading of multiple samples.
The first read component further
The predetermined read mode of the target sample is acquired, and the predetermined read mode is acquired.
One of claims 23-26, which is configured to read the target parameter value from the storage position of the parameter value in the target field of the target sample based on the predetermined reading mode and the instruction information. The device according to paragraph 1.
前記第1読み取りコンポーネントは更に、
前記所定読み取りモードが前記指示情報に合致しない場合、前記指示情報に対応する読み取り方式を用いて、前記ターゲットサンプルのターゲットフィールドのパラメータ値を読み取るように構成されることを特徴とする
請求項27に記載の装置。
The first read component further
27. The device described.
電子機器であって、
プロセッサと、
プロセッサによる実行可能な命令を記憶するように構成されるメモリと、を備え、
前記プロセッサは、前記メモリに記憶されている命令を読み出して、請求項1から6のいずれか一項に記載の方法を実行するように構成される。電子機器。
It ’s an electronic device,
With the processor
With memory configured to store instructions that can be executed by the processor,
The processor is configured to read an instruction stored in the memory and execute the method according to any one of claims 1 to 6. Electronics.
コンピュータ可読記憶媒体であって、コンピュータプログラム命令が記憶されており、前記コンピュータプログラム命令がプロセッサにより実行される時、請求項1から14のいずれか一項に記載の方法を実現する、コンピュータ可読記憶媒体。 A computer-readable storage medium that stores computer program instructions and realizes the method according to any one of claims 1 to 14 when the computer program instructions are executed by a processor. Medium. コンピュータプログラムであって、コンピュータ可読コードを含み、前記コンピュータ可読コードが電子機器で実行される時、前記電子機器におけるプロセッサは、請求項1から14のいずれか一項に記載の方法を実行する、コンピュータプログラム。 A computer program comprising a computer-readable code, wherein when the computer-readable code is executed in the electronic device, the processor in the electronic device performs the method according to any one of claims 1 to 14. Computer program.
JP2021530096A 2019-10-28 2020-06-12 Storage and reading methods, devices, electronic devices and storage media Pending JP2022510643A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201911031019.1A CN110765111B (en) 2019-10-28 2019-10-28 Storage and reading method and device, electronic equipment and storage medium
CN201911031019.1 2019-10-28
PCT/CN2020/095925 WO2021082461A1 (en) 2019-10-28 2020-06-12 Storage and reading method and apparatus, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
JP2022510643A true JP2022510643A (en) 2022-01-27

Family

ID=69334163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021530096A Pending JP2022510643A (en) 2019-10-28 2020-06-12 Storage and reading methods, devices, electronic devices and storage media

Country Status (5)

Country Link
JP (1) JP2022510643A (en)
KR (1) KR20210089242A (en)
CN (1) CN110765111B (en)
TW (1) TWI739633B (en)
WO (1) WO2021082461A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765111B (en) * 2019-10-28 2023-03-31 深圳市商汤科技有限公司 Storage and reading method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010003029A (en) * 2008-06-19 2010-01-07 Dainippon Printing Co Ltd Effect analyzing method and effect analyzing system

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7505984B1 (en) * 2002-12-09 2009-03-17 Google Inc. Systems and methods for information extraction
AU2003900854A0 (en) * 2003-02-26 2003-03-13 Sesay, Sahid General purpose electronic controller software
US7685380B1 (en) * 2005-06-29 2010-03-23 Xilinx, Inc. Method for using configuration memory for data storage and read operations
CN100521623C (en) * 2007-05-22 2009-07-29 网御神州科技(北京)有限公司 High-performance Syslog processing and storage method
CN102567361A (en) * 2010-12-23 2012-07-11 金蝶软件(中国)有限公司 Data table layering summarizing method and data table layering summarizing device
US20130246336A1 (en) * 2011-12-27 2013-09-19 Mcafee, Inc. System and method for providing data protection workflows in a network environment
CN103294714B (en) * 2012-02-28 2016-04-27 阿里巴巴集团控股有限公司 The defining method of the memory location of the field attribute value of index field and device
JP6357161B2 (en) * 2012-10-22 2018-07-11 アビニシオ テクノロジー エルエルシー Method for characterizing a data source in a data storage system
CN104102652B (en) * 2013-04-08 2017-05-24 国家电网公司 Unstructured data storage system and method
US9116901B2 (en) * 2013-05-23 2015-08-25 Oracle International Corporation Database snapshot analysis
CN104346358B (en) * 2013-07-29 2018-11-23 腾讯科技(深圳)有限公司 Data processing system, administrative center and data processing method
CN103823845B (en) * 2014-01-28 2017-01-18 浙江大学 Method for automatically annotating remote sensing images on basis of deep learning
CN105426541B (en) * 2015-12-23 2019-03-08 北京奇虎科技有限公司 A kind of storage method and device of general data
CN107015985B (en) * 2016-01-27 2021-03-30 创新先进技术有限公司 Data storage and acquisition method and device
US10726514B2 (en) * 2017-04-28 2020-07-28 Intel Corporation Compute optimizations for low precision machine learning operations
US11665219B2 (en) * 2017-07-10 2023-05-30 Qualcomm Incorporated Processing media data using a generic descriptor for file format boxes
US20190114543A1 (en) * 2017-10-12 2019-04-18 British Cayman Islands Intelligo Technology Inc. Local learning system in artificial intelligence device
GB2568660B (en) * 2017-10-20 2020-10-14 Graphcore Ltd Generating Random Numbers Based on a Predetermined Probaility Distribution in an Execution Unit
CN108319645B (en) * 2017-12-25 2022-09-16 中国科学院信息工程研究所 Multi-version file view management method and device in heterogeneous storage environment
CN109634805A (en) * 2018-11-19 2019-04-16 平安科技(深圳)有限公司 Monitoring data processing method, device, electronic equipment and storage medium
CN109739893B (en) * 2018-12-28 2022-04-22 上海尚往网络科技有限公司 Metadata management method, equipment and computer readable medium
CN110765111B (en) * 2019-10-28 2023-03-31 深圳市商汤科技有限公司 Storage and reading method and device, electronic equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010003029A (en) * 2008-06-19 2010-01-07 Dainippon Printing Co Ltd Effect analyzing method and effect analyzing system

Also Published As

Publication number Publication date
WO2021082461A1 (en) 2021-05-06
KR20210089242A (en) 2021-07-15
CN110765111B (en) 2023-03-31
TWI739633B (en) 2021-09-11
CN110765111A (en) 2020-02-07
TW202117565A (en) 2021-05-01

Similar Documents

Publication Publication Date Title
CN109089133B (en) Video processing method and device, electronic equipment and storage medium
TWI747325B (en) Target object matching method, target object matching device, electronic equipment and computer readable storage medium
JP2022516518A (en) Methods and equipment for training neural networks, methods and equipment for processing images
CN111242303B (en) Network training method and device, and image processing method and device
JP2021529398A (en) Video processing methods and equipment, electronic devices and storage media
JP2022520120A (en) Face image recognition methods and devices, electrical equipment and storage media
CN110569329B (en) Data processing method and device, electronic equipment and storage medium
CN110858924B (en) Video background music generation method and device and storage medium
JP2022518283A (en) Prediction methods and devices, electronic devices and storage media
US20200012701A1 (en) Method and apparatus for recommending associated user based on interactions with multimedia processes
CN108960283B (en) Classification task increment processing method and device, electronic equipment and storage medium
CN110659690B (en) Neural network construction method and device, electronic equipment and storage medium
CN110633715B (en) Image processing method, network training method and device and electronic equipment
JP2022510643A (en) Storage and reading methods, devices, electronic devices and storage media
CN114168798A (en) Text storage management and retrieval method and device
CN113987128A (en) Related article searching method and device, electronic equipment and storage medium
CN110070046B (en) Face image recognition method and device, electronic equipment and storage medium
CN109460458B (en) Prediction method and device for query rewriting intention
CN107729439A (en) Obtain the methods, devices and systems of multi-medium data
CN116484828A (en) Similar case determining method, device, apparatus, medium and program product
CN112131999B (en) Identity determination method and device, electronic equipment and storage medium
CN112149653A (en) Information processing method, information processing device, electronic equipment and storage medium
CN110019928B (en) Video title optimization method and device
CN111428613A (en) Data processing method, device, equipment and storage medium
CN112801025B (en) Target feature determining method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210527

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210527

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220712

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230221