CN111309709B - Method and device for establishing and retrieving database - Google Patents

Method and device for establishing and retrieving database Download PDF

Info

Publication number
CN111309709B
CN111309709B CN202010104739.2A CN202010104739A CN111309709B CN 111309709 B CN111309709 B CN 111309709B CN 202010104739 A CN202010104739 A CN 202010104739A CN 111309709 B CN111309709 B CN 111309709B
Authority
CN
China
Prior art keywords
data
information
database
storage
semantic tag
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.)
Active
Application number
CN202010104739.2A
Other languages
Chinese (zh)
Other versions
CN111309709A (en
Inventor
陆阳
李建岐
黄毕尧
高鸿坚
褚广斌
刘存林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
State Grid Corp of China SGCC
State Grid Chongqing Electric Power Co Ltd
Global Energy Interconnection Research Institute
Original Assignee
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
State Grid Corp of China SGCC
State Grid Chongqing Electric Power Co Ltd
Global Energy Interconnection Research Institute
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 Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd, State Grid Corp of China SGCC, State Grid Chongqing Electric Power Co Ltd, Global Energy Interconnection Research Institute filed Critical Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
Priority to CN202010104739.2A priority Critical patent/CN111309709B/en
Publication of CN111309709A publication Critical patent/CN111309709A/en
Application granted granted Critical
Publication of CN111309709B publication Critical patent/CN111309709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • 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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution

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)

Abstract

The invention provides a database establishing and retrieving method and device, wherein the database establishing method comprises the following steps: establishing a data characteristic table, wherein the data characteristic table comprises a first data information table, the first data information table is used for storing a plurality of different types of data information, and the data information comprises a data storage path; acquiring a storage path of data in an original data file; obtaining the storage position of the data in the data characteristic table according to the storage path of the data; inserting the data into the data feature table according to the storage position; and constructing a data characteristic database according to the data characteristic table after the data is inserted. By implementing the invention, the data file can be directly obtained aiming at a certain specific information to be detected or a specific condition, and the high efficiency and the flexibility of the data file retrieval are improved.

Description

一种数据库建立与检索方法及装置Method and device for establishing and retrieving database

技术领域technical field

本发明涉及数据处理技术领域,具体涉及一种数据库建立与检索方法及装置。The invention relates to the technical field of data processing, in particular to a database establishment and retrieval method and device.

背景技术Background technique

随着智能电表在全国范围内的广泛应用,用电信息采集系统对数据传输速率及可靠性的要求不断提高。当前,电力线载波与微功率无线是用电信息采集系统本地通信的主要方式。以电力线载波通信为例,由于电网结构、所处地理环境等的多样性,电力线信道特性存在电力线信道的噪声、阻抗和衰减等现象,影响用电信息采集系统传输的用户信息的效率和可靠性。为了对用电信息采集系统传输的用电信息的可靠性进行判定,需要对用电信息采集系统本地通信信道特性进行分析,通信信道特性分析包括多个方面的因素,包括地理环境、天气情况、电网结构等,所以需要对大量数据进行存储以便后续在进行信道特性分析时调用。With the widespread application of smart meters across the country, the data transmission rate and reliability requirements of the electricity consumption information collection system continue to increase. At present, power line carrier and micro-power wireless are the main methods of local communication in the power consumption information collection system. Taking power line carrier communication as an example, due to the diversity of power grid structure and geographical environment, etc., the characteristics of power line channels include noise, impedance and attenuation of power line channels, which affect the efficiency and reliability of user information transmitted by power information collection systems. . In order to judge the reliability of the electricity consumption information transmitted by the electricity consumption information collection system, it is necessary to analyze the characteristics of the local communication channel of the electricity consumption information collection system. The analysis of communication channel characteristics includes many factors, including geographical environment, weather conditions, Power grid structure, etc., so a large amount of data needs to be stored for subsequent call when performing channel characteristic analysis.

现有信道数据调用方式是预先将信道测量场景、信道测量类型、信道测量数据存储在文件内,在文件目录下对文件名和文件路径重复搜索取得不同的信道测量场景、信道测量类型、信道测量数据的数据文件,无法直接针对某些特定需求条件直接获得数据文件,导致数据文件的搜索效率低。The existing channel data calling method is to store channel measurement scenarios, channel measurement types, and channel measurement data in files in advance, and repeatedly search for file names and file paths in the file directory to obtain different channel measurement scenarios, channel measurement types, and channel measurement data. It is impossible to directly obtain data files for certain specific demand conditions, resulting in low search efficiency of data files.

发明内容Contents of the invention

因此,本发明要解决的技术问题在于克服现有数据存储方式导致数据文件的搜索效率低的缺陷,从而提供一种数据库建立与检索方法及装置。Therefore, the technical problem to be solved by the present invention is to overcome the defect of low search efficiency of data files caused by existing data storage methods, thereby providing a database establishment and retrieval method and device.

根据第一方面,本发明实施例提供一种数据库建立方法,包括:建立数据特征表,所述数据特征表包括第一数据信息表,所述第一数据信息表用于存储多个不同种类的数据信息,所述数据信息包含数据的存储路径;获取原始数据文件中数据的存储路径;根据所述数据的存储路径,得到所述数据在所述数据特征表中的存储位置;根据所述存储位置,将所述数据插入所述数据特征表;根据插入所述数据后的所述数据特征表,构建数据特征数据库。According to the first aspect, an embodiment of the present invention provides a method for establishing a database, including: establishing a data feature table, the data feature table includes a first data information table, and the first data information table is used to store a plurality of different types of Data information, the data information includes the storage path of the data; the storage path of the data in the original data file is obtained; according to the storage path of the data, the storage location of the data in the data feature table is obtained; according to the storage position, inserting the data into the data feature table; constructing a data feature database according to the data feature table after inserting the data.

结合第一方面,在第一方面第一实施方式中,所述数据特征表还包括第二数据信息表,所述第二数据信息表与所述第一数据信息表存储的数据信息的类别不同,所述第二数据信息表和所述第一数据信息表包含相同的数据文件id值,所述数据文件id值用于关联不同数据表中的数据信息。With reference to the first aspect, in the first implementation manner of the first aspect, the data characteristic table further includes a second data information table, and the type of data information stored in the second data information table is different from that stored in the first data information table , the second data information table and the first data information table contain the same data file id value, and the data file id value is used to associate data information in different data tables.

结合第一方面,在第一方面第二实施方式中,所述根据所述数据的存储路径,得到所述数据在所述数据特征表中的存储位置,包括:分割并解析所述数据的存储路径,得到语义标签;根据所述语义标签,查找语义标签表,所述语义标签表存储所述语义标签和数据特征表中存储位置的对应关系;确定所述数据在所述数据特征表中的存储位置。With reference to the first aspect, in the second implementation manner of the first aspect, the obtaining the storage location of the data in the data feature table according to the storage path of the data includes: dividing and analyzing the storage of the data path, to obtain the semantic label; according to the semantic label, search the semantic label table, the semantic label table stores the corresponding relationship between the semantic label and the storage location in the data feature table; determine the position of the data in the data feature table storage location.

结合第一方面,在第一方面第三实施方式中,所述根据所述数据的存储路径,得到所述数据在所述数据特征表中的存储位置,包括:分割并解析所述数据的存储路径,得到语义标签;对所述语义标签进行基于自然语言处理的分类和匹配,确定所述数据在所述数据特征表中的位置。With reference to the first aspect, in the third implementation manner of the first aspect, the obtaining the storage location of the data in the data feature table according to the storage path of the data includes: dividing and analyzing the storage of the data The path is to obtain semantic tags; classify and match the semantic tags based on natural language processing, and determine the position of the data in the data feature table.

结合第一方面第二实施方式,在第一方面第四实施方式中,所述根据所述语义标签,查找语义标签表,包括:当所述语义标签表中未查找到所述语义标签,则将所述语义标签与语义标签在所述数据特征表中存储位置的对应关系添加至所述语义标签表。With reference to the second implementation of the first aspect, in the fourth implementation of the first aspect, the searching the semantic tag table according to the semantic tag includes: when the semantic tag is not found in the semantic tag table, then Adding the correspondence between the semantic label and the storage location of the semantic label in the data feature table to the semantic label table.

结合第一方面第一实施方式,在第一方面第五实施方式中,所述数据特征表包括信道数据特征表。With reference to the first implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the data characteristic table includes a channel data characteristic table.

结合第一方面第五实施方式,在第一方面第六实施方式中,所述第二数据信息表包括:信道类型信息表,包括信道数据测量中使用的设备类型、测量内容类型、测量时/频域信息中的任意一种或几种;信道场景信息表,包括测量时间、测量环境、测量地点、测量气候、高度、湿度、温度信息中的任意一种或几种。With reference to the fifth implementation manner of the first aspect, in the sixth implementation manner of the first aspect, the second data information table includes: a channel type information table, including the device type used in channel data measurement, measurement content type, measurement time/ Any one or several types of frequency domain information; channel scene information table, including any one or several types of measurement time, measurement environment, measurement location, measurement climate, altitude, humidity, and temperature information.

根据第二方面,本发明实施例提供一种数据库检索方法,包括:获取待检索信息;在第一方面或第一方面任一实施方式中所述的数据库建立方法得到的数据特征数据库中,根据所述待检索信息检索得到相应的一个或多个存储路径;根据所述存储路径,得到检索结果。According to the second aspect, an embodiment of the present invention provides a database retrieval method, including: obtaining the information to be retrieved; in the data feature database obtained by the database establishment method described in the first aspect or any implementation manner of the first aspect, according to The information to be retrieved is retrieved to obtain corresponding one or more storage paths; according to the storage paths, a retrieval result is obtained.

根据第三方面,本发明实施例提供一种数据库建立装置,包括:数据特征表建立模块,用于建立数据特征表,所述数据特征表包括第一数据信息表,所述第一数据信息表用于存储多个不同种类的数据信息,所述数据信息包含数据的存储路径;存储路径获取模块,用于获取原始数据文件中数据的存储路径;存储位置获取模块,用于根据所述数据的存储路径,得到所述数据在所述数据特征表中的存储位置;数据插入模块,用于根据所述存储位置,将所述数据插入所述数据特征表;数据库构建模块,用于根据插入所述数据后的所述数据特征表,构建数据特征数据库。According to a third aspect, an embodiment of the present invention provides a database building device, including: a data feature table building module for building a data feature table, the data feature table includes a first data information table, and the first data information table For storing a plurality of different types of data information, the data information includes the storage path of the data; the storage path acquisition module is used to acquire the storage path of the data in the original data file; the storage location acquisition module is used for according to the data storage path The storage path is used to obtain the storage location of the data in the data feature table; the data insertion module is used to insert the data into the data feature table according to the storage location; the database construction module is used to insert the data into the data feature table according to the inserted The data feature table behind the above data is used to construct a data feature database.

根据第四方面,本发明实施例提供一种数据库检索装置,包括:待检索信息获取模块,用于获取待检索信息;存储路径检索模块,用于在第一方面或第一方面任一实施方式所述的数据库建立方法得到的数据特征数据库中,根据所述待检索信息检索得到相应的一个或多个存储路径;检索结果获取模块,用于根据所述存储路径,得到检索结果。According to the fourth aspect, an embodiment of the present invention provides a database retrieval device, including: an information to be retrieved acquisition module, used to obtain the information to be retrieved; a storage path retrieval module, used in the first aspect or any implementation mode of the first aspect In the data feature database obtained by the database establishment method, one or more corresponding storage paths are retrieved according to the information to be retrieved; the retrieval result acquisition module is used to obtain retrieval results according to the storage paths.

根据第五方面,本发明实施例提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时第一方面或第一方面任一实施方式所述的数据库建立方法或第二方面所述的数据库检索方法的步骤。According to a fifth aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the program, the first aspect or the second In one aspect, the steps of the database establishment method described in any one of the implementation manners or the database retrieval method described in the second aspect.

根据第六方面,本发明实施例提供一种存储介质,其上存储有计算机指令,该指令被处理器执行时实现第一方面或第一方面任一实施方式所述的数据库建立方法或第二方面所述的数据库检索方法的步骤。According to the sixth aspect, an embodiment of the present invention provides a storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the database establishment method or the second aspect described in the first aspect or any implementation manner of the first aspect is implemented. The steps of the database retrieval method described in the aspect.

本发明技术方案,具有如下优点:The technical solution of the present invention has the following advantages:

1.本实施例提供的数据库建立方法/装置,通过构建数据特征表将原始数据文件中的数据存储路径按照不同数据类型及名称进行划分,存储在数据特征表中,建立数据库。在数据库中将数据存储路径按照不同数据类型进行存储,对存储的数据进行了高效的分类,当在本实施例中的数据库中进行检索时,通过对数据特征表中存储的代表数据类型和名称的关键字进行检索,就能实现检索出所有满足特定条件的数据文件,实现了高效灵活检索。1. The database establishment method/device provided by this embodiment divides the data storage paths in the original data file according to different data types and names by constructing a data feature table, stores them in the data feature table, and establishes a database. In the database, the data storage paths are stored according to different data types, and the stored data are efficiently classified. When searching in the database in this embodiment, the representative data types and names stored in the data feature table Key words can be searched, and all data files that meet specific conditions can be retrieved, realizing efficient and flexible retrieval.

2.本实施例提供的数据库建立方法/装置,数据特征表包括第一数据信息表和第二数据信息表,将拥有同一数据存储路径的数据文件通过相同的数据文件id关联,通过将多类别数据分别存储在不同数据信息表中,便于数据扩展和数据检索,且建立新的数据特征表时,保持数据文件id一致即可,进一步提高了存储数据的可扩展性。2. In the database establishment method/device provided by the present embodiment, the data feature table includes a first data information table and a second data information table, and the data files with the same data storage path are associated through the same data file id, and the multi-category The data is stored in different data information tables, which is convenient for data expansion and data retrieval. When creating a new data feature table, it is only necessary to keep the data file id consistent, which further improves the scalability of stored data.

3.本实施例提供的数据库建立方法/装置,通过分割以及解析存储路径得到语义标签,并在预先存储好的语义标签表中进行查找,确定数据在数据特征表中的具体位置,提高了确定数据存储位置的准确性以及确定数据存储位置的效率。3. The method/device for establishing a database provided in this embodiment obtains the semantic tags by segmenting and resolving the storage path, and searches in the pre-stored semantic tag table to determine the specific position of the data in the data feature table, which improves the determination Accuracy of data storage location and efficiency of determining data storage location.

4.本实施例提供的数据库建立方法/装置,当上述通过语义标签表确定数据的存储位置时,语义标签表中未查询到该语义标签时,采用其他方式确定该数据的存储位置,并将得到的该语义标签和语义标签在数据特征表中的存储位置的对应关系添加到语义标签表中,完善语义标签表中的语义标签内容,有利于后续采用语义标签表确定数据的存储位置的有效性。4. In the database establishment method/device provided by this embodiment, when the above-mentioned storage location of the data is determined by the semantic label table, when the semantic label is not found in the semantic label table, other methods are used to determine the storage location of the data, and The obtained correspondence between the semantic label and the storage location of the semantic label in the data feature table is added to the semantic label table to improve the content of the semantic label in the semantic label table, which is beneficial to the subsequent use of the semantic label table to determine the effective storage location of the data. sex.

5.本实施例提供的数据库检索方法/装置,通过获取到的待检索信息,对上述实施例中的数据库进行检索,实现了直接针对某个特定待检测信息或者特定条件直接获得数据文件,提高了数据文件检索的效率和灵活性。5. The database retrieval method/device provided by this embodiment retrieves the database in the above-mentioned embodiment through the acquired information to be retrieved, and realizes directly obtaining data files directly for a certain specific information to be detected or a specific condition, improving It improves the efficiency and flexibility of data file retrieval.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific implementation of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the specific implementation or description of the prior art. Obviously, the accompanying drawings in the following description The drawings show some implementations of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.

图1为本发明实施例中数据库建立方法的一个具体示例的流程图;Fig. 1 is the flow chart of a specific example of the database establishment method in the embodiment of the present invention;

图2为本发明实施例中数据库检索方法的一个具体示例的流程图;Fig. 2 is the flow chart of a specific example of database retrieval method in the embodiment of the present invention;

图3为本发明实施例中数据库建立装置的一个具体示例的原理框图;Fig. 3 is a functional block diagram of a specific example of the database establishment device in the embodiment of the present invention;

图4为本发明实施例中数据库检索装置的一个具体示例的原理框图;Fig. 4 is the functional block diagram of a specific example of the database retrieval device in the embodiment of the present invention;

图5为本发明实施例中电子设备的一个具体示例的原理框图。Fig. 5 is a functional block diagram of a specific example of an electronic device in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, or in a specific orientation. construction and operation, therefore, should not be construed as limiting the invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and should not be construed as indicating or implying relative importance.

在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection. Connected, or integrally connected; it can be mechanically or electrically connected; it can be directly connected, or indirectly connected through an intermediary, or it can be the internal communication of two components, which can be wireless or wired connect. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations.

此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as there is no conflict with each other.

本实施例提供一种数据库建立方法,如图1所示,包括如下步骤:The present embodiment provides a method for establishing a database, as shown in Figure 1, comprising the following steps:

S110:建立数据特征表,数据特征表包括第一数据信息表,第一数据信息表用于存储多个不同种类的数据信息,数据信息包含数据的存储路径。S110: Establish a data characteristic table, the data characteristic table includes a first data information table, the first data information table is used to store a plurality of different types of data information, and the data information includes a data storage path.

示例性地,本实施例以对电力线信道特性数据建立数据库为例,不同种类的数据信息可以是信道测量城市、信道测量的地点、信道测量相线类型、信道测量的时间、信道测量场景、信道测量的温度、湿度等信息、信道测量设备类型、信道测量带宽类型、信道测量内容类型、信道测量域类型等信息数据。其中,测量设备类型在本实施例中包括FSH4手持式频谱仪和PicoScope高速数据采集卡;测量频段类型包括宽带电力线载波和窄带电力线载波;测量内容类型包括噪声、衰减和阻抗;信道测量域类型包括时域和频域。Exemplarily, this embodiment takes the establishment of a database for power line channel characteristic data as an example. Different types of data information may be channel measurement city, channel measurement location, channel measurement phase line type, channel measurement time, channel measurement scene, channel Measured temperature, humidity and other information, channel measurement equipment type, channel measurement bandwidth type, channel measurement content type, channel measurement domain type and other information data. Among them, the type of measurement equipment includes FSH4 handheld spectrum analyzer and PicoScope high-speed data acquisition card in this embodiment; the type of measurement frequency band includes broadband power line carrier and narrowband power line carrier; the type of measurement content includes noise, attenuation and impedance; the type of channel measurement domain includes time domain and frequency domain.

数据的存储路径表征在建立的数据特征表中针对不同种类的数据都对应包含该数据存储在相应文件夹的存储路径,当该数据是以二维平面图的方式存储时,该二维平面由横轴X,纵轴Y组成,则该数据的存储路径可以包括该数据所属的文件夹路径以及该数据在该数据文件中的X轴和Y轴的名称和单位。具体的数据特征表表格形式可以如表1所示。本实施例对第一数据信息表存储的多个数据信息的种类不做限定,本领域技术人员可以根据需要确定。The storage path of the data is represented in the established data feature table for different types of data, correspondingly including the storage path of the data stored in the corresponding folder. When the data is stored in the form of a two-dimensional plane, the two-dimensional plane consists of axis X and vertical axis Y, then the storage path of the data may include the path of the folder to which the data belongs and the names and units of the X-axis and Y-axis of the data in the data file. The specific form of the data feature table can be shown in Table 1. In this embodiment, the types of the multiple data information stored in the first data information table are not limited, and those skilled in the art can determine as required.

表1Table 1

Figure BDA0002388163280000081
Figure BDA0002388163280000081

S120:获取原始数据文件中数据的存储路径。S120: Obtain a storage path of data in the original data file.

示例性地,在本实施例中以原始数据文件为某小区进行信道特征测量的数据文件进行说明,该数据文件的存储结构采用多级文件目录形式进行存储,其中一级目录存储测量年/月份信息和测量城市信息,二级目录存储测量内容信息,三级目录存储测量频段信息,四级目录存储测量具体时间信息,五级目录存储数据文件,根据不同的测量信息,对应不同的文件名称。Exemplarily, in this embodiment, the original data file is used as a data file for channel characteristic measurement of a certain cell for illustration. The storage structure of the data file is stored in the form of a multi-level file directory, wherein the first-level directory stores the measurement year/month Information and measurement city information, the second-level directory stores measurement content information, the third-level directory stores measurement frequency band information, the fourth-level directory stores measurement specific time information, and the fifth-level directory stores data files. According to different measurement information, corresponding to different file names.

原始数据文件中数据的存储路径的获取方式可以是通过Python语言的os模块获取原始数据文件根目录下的所有数据文件的存储路径信息。其中,每个数据文件的存储路径为一条字符串,所有数据文件存储路径组成一个字符串列表,存储在算法程序中的数据文件路径列表变量中,以便后续使用。本实施例对原始数据文件中数据的存储路径的获取方法不做限定,本领域技术人员可以根据需要确定。The storage path of the data in the original data file can be obtained by using the os module of the Python language to obtain the storage path information of all data files under the root directory of the original data file. Wherein, the storage path of each data file is a string, and all data file storage paths form a string list, which is stored in the data file path list variable in the algorithm program for subsequent use. This embodiment does not limit the method for obtaining the storage path of the data in the original data file, which can be determined by those skilled in the art as needed.

S130:根据数据的存储路径,得到数据在数据特征表中的存储位置。S130: Obtain the storage location of the data in the data feature table according to the storage path of the data.

示例性地,根据数据的存储路径,得到数据在数据特征表中的存储位置的方式可以是首先对数据的存储路径进行分割,对分割后的存储路径进行人工定义语义标签,比如,分割后的存储路径中包含“Handan”,则人工定义“Handan”为邯郸,人工确定该数据在数据特征表中的存储位置,存储位置包括该数据在数据特征表所属的列名。具体本实施例对根据数据的存储路径,得到数据在数据特征表中的存储位置的方式不做限定,本领域技术人员可以根据需要确定。Exemplarily, according to the storage path of the data, the way to obtain the storage location of the data in the data feature table may be to first divide the storage path of the data, and manually define semantic labels for the divided storage paths, for example, the divided If the storage path contains "Handan", manually define "Handan" as Handan, and manually determine the storage location of the data in the data feature table, and the storage location includes the column name to which the data belongs in the data feature table. Specifically, this embodiment does not limit the manner of obtaining the storage location of the data in the data feature table according to the storage path of the data, and those skilled in the art can determine it as needed.

S140:根据存储位置,将数据插入数据特征表。S140: Insert data into the data feature table according to the storage location.

示例性地,根据存储位置,将数据插入数据特征表的方式可以是预先定义一个字典,该字典中存储有数据特征表中的各列列名,将上述步骤S130中获得的列名通过遍历该字典,将数据插入数据特征表。Exemplarily, according to the storage location, the way of inserting data into the data feature table may be to predefine a dictionary, which stores the names of the columns in the data feature table, and the column names obtained in the above step S130 are traversed through the Dictionary to insert data into the data feature table.

S150:根据插入数据后的数据特征表,构建数据特征数据库。S150: Construct a data feature database according to the data feature table after the data is inserted.

示例性地,根据插入数据后的数据特征表,编写数据库检索和分类查询平台的后台应用程序和前台应用程序。本实施例采用Python的Flask框架搭建后台程序,使用web前端技术搭建前端程序。后台程序的搭建通过Flask框架设计,供前端请求的数据查询接口和数据文件获取接口。数据查询接口提供查询入口,数据文件获取接口提供数据文件的获取功能,与原始数据文件对接。前端程序采用静态网页文件和JavaScript程序实现。Exemplarily, according to the data feature table after the data is inserted, the background application program and the foreground application program of the database retrieval and classification query platform are written. In this embodiment, the Flask framework of Python is used to build the background program, and the web front-end technology is used to build the front-end program. The background program is built through the Flask framework design for the data query interface and data file acquisition interface requested by the front end. The data query interface provides the query entry, and the data file acquisition interface provides the acquisition function of the data file, which is connected with the original data file. The front-end program is realized by static web page files and JavaScript programs.

基于http协议编写接口对应的请求函数,该函数可以是基于javaScript的数据查询请求或者基于其他语言的数据查询请求,其中基于javaScript的数据查询请求用于浏览器中访问和管理数据库使用,基于其他语言的数据查询请求可以通过结合UI编程将数据通过软件界面展示给用户查看。编写基于Flask微服务框架的后台服务端,该程序通过处理来自前端的数据查询请求,对数据查询请求进行预处理,将请求转换为数据库查询语言,通过调用数据库驱动程序接口,获得数据库返回数据,返回给客户端使用。该程序可以根据用户请求的数据资源读取文件库中的csv文件,并将读取的csv文件进行预处理后返回给客户端。编写基于javaScript的接口函数,通过数据查询请求向后台服务端发出请求,并将请求数据展示在浏览器网页页面中,供用户浏览查看。本实施例对数据特征库的构建方式不做限定,本领域技术人员可以根据需要确定。Write the request function corresponding to the interface based on the http protocol. This function can be a data query request based on javaScript or a data query request based on other languages. The data query request based on javaScript is used to access and manage the database in the browser, and it is based on other languages. The data query request can be combined with UI programming to display the data to the user through the software interface. Write a background server based on the Flask microservice framework. The program preprocesses the data query request by processing the data query request from the front end, converts the request into a database query language, and obtains the returned data from the database by calling the database driver interface. returned to the client for use. The program can read the csv file in the file library according to the data resource requested by the user, and return the read csv file to the client after preprocessing. Write a javaScript-based interface function, send a request to the background server through a data query request, and display the requested data in the browser web page for users to browse and view. This embodiment does not limit the construction method of the data feature database, which can be determined by those skilled in the art as needed.

本实施例提供的数据库建立方法,通过构建数据特征表将原始数据文件中的数据存储路径按照不同数据类型及名称进行划分,存储在数据特征表中,建立数据库。在数据库中将数据存储路径按照不同数据类型进行存储,对存储的数据进行了高效的分类,当在本实施例中的数据库中进行检索时,通过对数据特征表中存储的代表数据类型和名称的关键字进行检索,就能实现检索出所有满足特定条件的数据文件,实现了灵活高效检索。The database establishment method provided in this embodiment divides the data storage paths in the original data file according to different data types and names by constructing a data characteristic table, stores them in the data characteristic table, and establishes a database. In the database, the data storage paths are stored according to different data types, and the stored data are efficiently classified. When searching in the database in this embodiment, the representative data types and names stored in the data feature table By searching with keywords, all the data files meeting specific conditions can be retrieved, realizing flexible and efficient retrieval.

作为本实施例一种可选的实施方式,数据特征表还包括第二数据信息表,第二数据信息表与第一数据信息表存储的数据信息的类别不同,第二数据信息表和第一数据信息表包含相同的数据文件id值,数据文件id值用于关联不同数据表中的数据信息。As an optional implementation of this embodiment, the data feature table further includes a second data information table, the type of data information stored in the second data information table is different from that of the first data information table, and the second data information table is the same as the first data information table. The data information table contains the same data file id value, and the data file id value is used to associate data information in different data tables.

示例性地,第二数据信息表可以是将第一数据信息表中的数据信息按照不同的属性或者特征进行划分,以形成的一个或多个表,比如,将上述步骤S110中的信道测量城市、信道测量的地点、信道测量相线类型、信道测量的时间、信道测量场景、信道测量的温度、湿度等信息划分为信道场景信息;将信道测量设备类型、信道测量带宽类型、信道测量内容类型、信道测量的是时域或频域划分为信道类型信息;则可以将归类为信道场景信息的各个数据信息组成信道场景信息表以及将归类为信道类型信息的各个数据信息信道类型信息表,信道场景信息表以及信道类型信息表共同组成第二数据信息表。Exemplarily, the second data information table may be one or more tables formed by dividing the data information in the first data information table according to different attributes or characteristics, for example, the channel measurement city in the above step S110 , channel measurement location, channel measurement phase line type, channel measurement time, channel measurement scene, channel measurement temperature, humidity and other information are divided into channel scene information; channel measurement equipment type, channel measurement bandwidth type, channel measurement content type 1. The channel measurement is divided into channel type information in the time domain or frequency domain; then each data information classified as channel scene information can be composed into a channel scene information table and each data information classified as channel type information channel type information table , the channel scene information table and the channel type information table together form the second data information table.

当第二数据信息表包括上述的信道场景信息表和信道类型信息表时,第一数据信息表存储的内容是数据的存储路径,当该数据是以二维平面图的方式存储的,该二维平面有横轴X,纵轴Y组成时,数据的存储路径就包括X和Y轴的名称、X和Y轴的单位。When the second data information table includes the above-mentioned channel scene information table and channel type information table, the content stored in the first data information table is the storage path of the data. When the data is stored in the form of a two-dimensional plan, the two-dimensional When the plane has a horizontal axis X and a vertical axis Y, the data storage path includes the names of the X and Y axes, and the units of the X and Y axes.

为了使一个或多个第二数据信息表与第一数据信息表相关联,对于同一数据文件中的数据信息建立相同的数据文件id值。对第一数据信息表和第二数据信息表的列名以及数据类型详情参见表2、3、4所示,其中,表2表示第一数据信息表的列名以及数据类型,表3表示第二数据信息表中的信道类型信息表的列名以及数据类型,表4表示第二数据信息表中的信道场景信息表的列名以及数据类型。In order to associate one or more second data information tables with the first data information table, the same data file id value is established for data information in the same data file. For the column names and data types of the first data information table and the second data information table, see Table 2, 3, and 4 for details, wherein Table 2 represents the column names and data types of the first data information table, and Table 3 represents the first data information table. The column names and data types of the channel type information table in the second data information table, Table 4 shows the column names and data types of the channel scene information table in the second data information table.

表2Table 2

Figure BDA0002388163280000111
Figure BDA0002388163280000111

Figure BDA0002388163280000121
Figure BDA0002388163280000121

表3table 3

列编号column number 列名称column name 数据类型type of data 解释explain 11 idid INTINT 数据文件id值Data file id value 22 devicedevice SETSET 信道测量设备类型Channel Measurement Equipment Type 33 bandband SETSET 信道测量带宽类型Channel measurement bandwidth type 44 contentcontent SETSET 信道测量内容类型Channel Measurement Content Type 55 domaindomain SETSET 信道测量域类型Channel Measurement Field Type

表4Table 4

列编号column number 列名称column name 数据类型type of data 解释explain 11 idid INTINT 数据文件id值Data file id value 22 citycity VARcharVARchar 信道测量城市channel measurement city 33 positionposition VARcharVARchar 信道测量地点channel measurement location 44 powerlinepowerline SETSET 信道测量相线类型Channel measurement phase wire type 55 timetime TIMESTAMPTIMESTAMP 信道测量时间channel measurement time 66 sencesence SETSET 信道测量场景Channel Measurement Scenario 77 temperaturetemperature FLOATFLOAT 信道测量温度Channel measurement temperature 88 humidityhumidity FLOATFLOAT 信道测量湿度channel measuring humidity

需要说明的是,当数据特征表包括第一数据信息表和第二数据信息表,且第二数据信息表包括信道场景信息表和信道类型信息表,在后续将数据插入数据特征时,首先插入第一数据信息表,再插入上述信道类型数据表和信道场景数据表。It should be noted that when the data feature table includes the first data information table and the second data information table, and the second data information table includes the channel scene information table and the channel type information table, when inserting data into the data feature later, first insert The first data information table is inserted into the above-mentioned channel type data table and channel scene data table.

当向第一数据信息表中插入数据时,插入前,先通过读取数据文件的内容信息,获取数据文件中数据的X和Y轴名称和单位信息。此时该数据表2中的数据存储路径、数据X轴名称、数据X轴单位、数据Y轴名称、数据Y轴单位已经确定,只有数据文件id未知,而数据文件id列由数据库通过id自增设定自动生成,来保证id数据的唯一性。在插入完成后,通过sql查询获取由数据库生成的数据文件id值,供其他表插入使用。When inserting data into the first data information table, before inserting, first obtain the X and Y axis names and unit information of the data in the data file by reading the content information of the data file. At this time, the data storage path, data X-axis name, data X-axis unit, data Y-axis name, and data Y-axis unit in the data table 2 have been determined, only the data file id is unknown, and the data file id column is automatically determined by the database through the id. Additional settings are automatically generated to ensure the uniqueness of id data. After the insertion is completed, the id value of the data file generated by the database is obtained through SQL query for insertion into other tables.

当向信道类型信息表中插入数据时,插入前,检查上述步骤S140的字典中列名的完整性,当该字典中缺少信道类型信息表中的列名,向字典中添加缺少的列名,并查询该列是否存在默认值,若存在默认值,将值指定为默认值,若不存在,提示用户输入该列的值。当获取到列信息后,将与第一数据表中对应的数据文件id值以及数据插入至信道类型信息表。When inserting data in the channel type information table, before inserting, check the completeness of the column name in the dictionary of above-mentioned step S140, when lacking the column name in the channel type information table in this dictionary, add the missing column name in the dictionary, And query whether the column has a default value, if there is a default value, specify the value as the default value, if not, prompt the user to enter the value of the column. After the column information is obtained, insert the data file id value and data corresponding to the first data table into the channel type information table.

当向信道场景信息表中插入数据时,插入前,检查上述步骤S140的字典中信道场景列的完整性,如果该字典中缺少信道场景信息表中的列,向该字典中添加缺少列列名,并查询该列是否存在默认值,若存在默认值,将值指定为默认值,若不存在,提示用户输入该列的值。当获取到列信息后,将与第一数据表中对应的数据文件id值以及数据插入至信道类型信息表。When inserting data in the channel scene information table, before inserting, check the completeness of the channel scene column in the dictionary of above-mentioned step S140, if lack the column in the channel scene information table in this dictionary, add lacking column column name in this dictionary , and query whether the column has a default value, if there is a default value, specify the value as the default value, if not, prompt the user to enter the value of the column. After the column information is obtained, insert the data file id value and data corresponding to the first data table into the channel type information table.

本实施例提供的数据库建立方法,数据特征表包括第一数据信息表和第二数据信息表,将拥有同一数据存储路径的数据文件通过相同的数据文件id关联,通过将多类别数据分别存储在不同数据信息表中,便于数据扩展和数据检索,且建立新的数据特征表时,保持数据文件id一致即可,进一步提高了存储数据的可扩展性。In the database establishment method provided by this embodiment, the data feature table includes a first data information table and a second data information table, and the data files with the same data storage path are associated through the same data file id, and the multi-category data are respectively stored in In different data information tables, it is convenient for data expansion and data retrieval, and when creating a new data feature table, it is only necessary to keep the data file id consistent, which further improves the scalability of stored data.

作为本实施例一种可选的实施方式,上述步骤S130,包括:As an optional implementation manner of this embodiment, the above step S130 includes:

首先,分割并解析数据的存储路径,得到语义标签。First, segment and parse the storage path of the data to obtain semantic tags.

示例性地,将上述步骤S120中的字符串列表中的每一项,按照路径分隔符’\’,下划线分隔符’_’,空白分隔符和括号符等将存储路径进行分割。具体使用Python字符串处理函数split,函数执行后返回一个字符串列表,作为语义标签,可以将语义标签存储在算法程序中的语义标签列表变量中,以供后续使用。本实施例对数据的存储路径分割及解析方式以及得到语义标签方式不做限定,本领域技术人员可以根据需要确定。Exemplarily, each item in the string list in the above step S120 is divided into storage paths according to the path separator '\', the underscore separator '_', the blank separator and bracket symbols. Specifically, the Python string processing function split is used. After the function is executed, a string list is returned as a semantic label. The semantic label can be stored in the semantic label list variable in the algorithm program for subsequent use. This embodiment does not limit the storage path division and analysis method of data and the method of obtaining semantic tags, which can be determined by those skilled in the art as needed.

其次,根据语义标签,查找语义标签表,语义标签表存储语义标签和数据特征表中存储位置的对应关系。Secondly, according to the semantic label, look up the semantic label table, and the semantic label table stores the corresponding relationship between the semantic label and the storage location in the data feature table.

示例性地,语义标签表是预先存储的代表语义标签和数据特征表中存储位置的对应关系的列表。语义标签表可以包括语义标签值,数据信息表表名,数据信息表列名以及数据信息值。数据信息值表示填入数据信息表的具体值,该值可以是文字、数字等。在本实施例中,语义标签表的列名以及数据类型见表5。Exemplarily, the semantic tag table is a pre-stored list representing the correspondence between the semantic tags and the storage locations in the data feature table. The semantic label table may include semantic label values, data information table names, data information table column names, and data information values. The data information value indicates the specific value filled in the data information table, and the value can be text, numbers, etc. In this embodiment, the column names and data types of the semantic tag table are shown in Table 5.

表5table 5

Figure BDA0002388163280000141
Figure BDA0002388163280000141

Figure BDA0002388163280000151
Figure BDA0002388163280000151

针对表5,本实施例给出一个实际例子对表5进行说明,当第二数据信息表包含信道类型信息表以及信道场景信息表时,语义标签表的实际应用见表6所示。Regarding Table 5, this embodiment gives a practical example to illustrate Table 5. When the second data information table includes a channel type information table and a channel scene information table, see Table 6 for the practical application of the semantic label table.

表6Table 6

labellabel table_nametable_name column_namecolumn_name column_valuecolumn_value HandanHandan 信道场景信息表Channel Scene Information Table citycity 邯郸Handan 义乌Yiwu 信道场景信息表Channel Scene Information Table citycity 义乌Yiwu 衰减attenuation 信道类型信息表Channel Type Information Table contentcontent 衰减attenuation

根据语义标签,查找语义标签表的方式可以是当得到的语义标签是“Handan”时,在上述表6中的“label”列查询“Handan”。According to the semantic label, the way to search the semantic label table may be to query "Handan" in the "label" column in the above table 6 when the obtained semantic label is "Handan".

然后,确定数据在数据特征表中的存储位置。Then, determine the storage location of the data in the data feature table.

示例性地,仍以上述表6中的实际例子举例,当查询到Handan时,查看对应“Handan”的信息,在表6中可知,“Handan”应该插入到信道场景信息表中的信道测量城市列中,且即将存储在该列的数据信息值是“邯郸”。Exemplarily, still taking the actual example in the above table 6 as an example, when Handan is queried, check the information corresponding to "Handan". It can be seen from Table 6 that "Handan" should be inserted into the channel measurement city in the channel scene information table column, and the value of the data information to be stored in this column is "Handan".

本实施例提供的数据库建立方法,通过分割以及解析存储路径得到语义标签,并在预先存储好的语义标签表中进行查找,确定数据在数据特征表中的具体位置,提高了确定数据存储位置的准确性以及确定数据存储位置的速度。The method for establishing a database provided by this embodiment obtains semantic tags by segmenting and analyzing storage paths, and searches in a pre-stored semantic tag table to determine the specific location of data in the data feature table, which improves the efficiency of determining the data storage location. Accuracy and speed of determining where data is stored.

作为本实施例中一种可选的实施方式,上述步骤S130,包括:As an optional implementation manner in this embodiment, the above step S130 includes:

首先,分割并解析数据的存储路径,得到语义标签。具体方式见上述实施例中的对应部分,此处不再赘述。First, segment and parse the storage path of the data to obtain semantic tags. For specific manners, refer to corresponding parts in the foregoing embodiments, and details are not repeated here.

其次,对语义标签进行基于自然语言处理的分类和匹配,确定数据在数据特征表中的位置。Secondly, classify and match the semantic tags based on natural language processing, and determine the position of the data in the data feature table.

示例性地,基于自然语言处理的分类和匹配具体表示对语义标签进行分类算法和字符串匹配算法。其中字符串匹配值采用正则表达式匹配方式,判断字符串是否满足某种模式,比如当日期标签‘2012-09-05’满足日期正则表达式“^[0-9]{2,4}-[0-9]{1,2}-[0-9]{1,2}$”时,确定数据在数据特征表中的位置为信道场景表中的测量时间信息列,数据信息值存储为时间戳形式。再如,当出现城市标签’Handan’,算法会判断该标签是否属于城市数据库,城市数据库是算法程序中的一个字符串字典,该字典存储Key为中国所有城市的中文名称和拼音名称,字典的值为城市的中文名称,当标签与城市数据库的key匹配时,确定数据在数据特征表中的位置为信道数据库场景表中的测量城市列,数据信息值为字典中匹配key的值,即城市的中文名称。Exemplarily, the classification and matching based on natural language processing specifically refers to performing a classification algorithm and a character string matching algorithm on semantic tags. The string matching value adopts the regular expression matching method to judge whether the string satisfies a certain pattern, for example, when the date tag '2012-09-05' satisfies the date regular expression "^[0-9]{2,4}- [0-9]{1,2}-[0-9]{1,2}$", determine the position of the data in the data feature table as the measurement time information column in the channel scene table, and store the data information value as Timestamp format. For another example, when the city label 'Handan' appears, the algorithm will judge whether the label belongs to the city database. The city database is a string dictionary in the algorithm program. The key stored in the dictionary is the Chinese name and pinyin name of all cities in China. The dictionary's The value is the Chinese name of the city. When the label matches the key of the city database, the position of the data in the data feature table is determined as the measured city column in the scene table of the channel database. The data information value is the value of the matching key in the dictionary, that is, the city Chinese name.

本实施例提供的数据库建立方法,通过分割以及解析存储路径得到语义标签,通过基于自然语言处理的分类和匹配,确定数据在数据特征表中的具体位置,提高了确定数据存储位置的准确性以及确定数据存储位置的速度。The method for establishing a database provided by this embodiment obtains semantic tags by segmenting and analyzing storage paths, and determines the specific location of data in the data feature table through classification and matching based on natural language processing, thereby improving the accuracy of determining the location of data storage and The speed at which data storage locations are determined.

作为本实施例一种可选的实施方式,根据语义标签,查找语义标签表,包括:当语义标签表中未查找到语义标签,则将语义标签与语义标签在数据特征表中存储位置的对应关系添加至语义标签表。As an optional implementation of this embodiment, searching the semantic label table according to the semantic label includes: when the semantic label is not found in the semantic label table, the correspondence between the semantic label and the storage location of the semantic label in the data feature table Relationships are added to the semantic label table.

示例性地,当语义标签为“Handan”,但在语义标签表中未查询到“Handan”时,通过上述人工输入或者基于自然语言处理的方式获取“Handan”所对应在数据特征表中的位置是信道场景信息表中的信道测量城市列,且数据信息值为邯郸。将上述得到的{“Handan”,信道场景信息表,信道测量城市列,邯郸}这些信息添加至语义标签表。For example, when the semantic label is "Handan", but "Handan" is not found in the semantic label table, the position corresponding to "Handan" in the data feature table is obtained through the above-mentioned manual input or based on natural language processing is the channel measurement city column in the channel scene information table, and the data information value is Handan. Add the information obtained above {"Handan", channel scene information table, channel measurement city column, Handan} to the semantic label table.

本实施例提供的数据库建立方法,当上述通过语义标签表确定数据的存储位置时,语义标签表中未查询到该语义标签时,采用其他方式确定该数据的存储位置,并将得到的该语义标签和语义标签在数据特征标中的存储位置的对应关系添加到语义标签表中,完善语义标签表中的语义标签内容,有利于后续采用语义标签表确定数据的存储位置的有效性。In the database establishment method provided by this embodiment, when the storage location of the data is determined through the semantic label table, and the semantic label is not found in the semantic label table, other methods are used to determine the storage location of the data, and the obtained semantic The corresponding relationship between the label and the storage location of the semantic label in the data signature is added to the semantic label table to improve the content of the semantic label in the semantic label table, which is conducive to the subsequent use of the semantic label table to determine the validity of the storage location of the data.

本实施例提供一种数据库检索方法,如图2所示,包括:This embodiment provides a database retrieval method, as shown in Figure 2, including:

S210,获取待检索信息。S210. Obtain information to be retrieved.

示例性地,待检索信息由用户输入,在数据库中存在一个供前端请求的数据查询接口,待检索信息可以从数据查询接口中获取。Exemplarily, the information to be retrieved is input by the user, and there is a data query interface for front-end requests in the database, and the information to be retrieved can be obtained from the data query interface.

S220,在上述实施例中的数据库建立方法得到的数据特征数据库中,根据待检索信息检索得到相应的一个或多个存储路径。S220, in the data feature database obtained by the method for establishing the database in the above embodiment, retrieve one or more corresponding storage paths according to the information to be retrieved.

示例性地,根据待检索信息检索得到相应的一个或多个存储路径的方式可以是从数据查询接口获取到待检索信息后,解析该待检索信息,获取待检索信息属于何种信道类型和城市,并根据待检索信息生成sql查询语句,通过sql查询语句向sql数据库查询满足条件的数据列表,并通过后端程序对查询列表进行封装后,响应给前端进行解析,从而得到满足条件的一个或者多个存储路径。Exemplarily, the way of obtaining one or more corresponding storage paths according to the information to be retrieved may be to analyze the information to be retrieved after obtaining the information to be retrieved from the data query interface, and obtain the channel type and city to which the information to be retrieved belongs , and generate a sql query statement based on the information to be retrieved, query the sql database for a list of data that meets the conditions through the sql query statement, and encapsulate the query list through the back-end program, and then respond to the front-end for analysis, so as to obtain one or Multiple storage paths.

具体实现过程为:数据查询接口接收待检索信息,数据文件获取接口通过获取数据查询接口接收到的请求信息,解析请求信息所对应的的数据文件id值,后台系统根据数据文件id值向第一数据信息表提取查询请求,获取数据文件的一个或者多个存储路径。The specific implementation process is as follows: the data query interface receives the information to be retrieved, the data file acquisition interface obtains the request information received by the data query interface, parses the data file id value corresponding to the request information, and the background system sends the data file id value to the first The data information table extracts query requests to obtain one or more storage paths of data files.

S230,根据存储路径,得到检索结果。S230. Obtain a retrieval result according to the storage path.

示例性地,根据一个或者多个存储路径向数据文件发起读请求,读取数据文件并获取数据在文件中存储的文件偏移量信息,并将数据存储信息反馈给前端界面,得到检索结果。Exemplarily, a read request is initiated to the data file according to one or more storage paths, the data file is read and the file offset information of the data stored in the file is obtained, and the data storage information is fed back to the front-end interface to obtain the retrieval result.

本实施例提供的数据库检索方法,通过获取到的待检索信息,对上述实施例中的数据库进行检索,实现了直接针对某个特定待检测信息或者特定条件直接获得数据文件,提高了数据文件检索的高效性和灵活性。The database retrieval method provided in this embodiment retrieves the database in the above embodiment through the acquired information to be retrieved, and realizes directly obtaining data files for a certain specific information to be detected or specific conditions, which improves the retrieval of data files. efficiency and flexibility.

本实施例提供一种数据库建立装置,如图3所示,包括:This embodiment provides a database establishment device, as shown in Figure 3, comprising:

数据特征表建立模块310,用于建立数据特征表,数据特征表包括第一数据信息表,第一数据信息表用于存储多个不同种类的数据信息,数据信息包含数据的存储路径;具体实现方式见上述实施例方法中步骤S110部分的相关描述,在此不再赘述。The data feature table building module 310 is used to set up a data feature table, the data feature table includes a first data information table, the first data information table is used to store a plurality of different types of data information, and the data information includes a data storage path; specific implementation For the method, refer to the relevant description of step S110 in the method of the above-mentioned embodiment, and details are not repeated here.

存储路径获取模块320,用于获取原始数据文件中数据的存储路径;具体实现方式见上述实施例方法中步骤S120部分的相关描述,在此不再赘述。The storage path obtaining module 320 is configured to obtain the storage path of the data in the original data file; for the specific implementation, please refer to the relevant description of step S120 in the method of the above embodiment, and details will not be repeated here.

存储位置获取模块330,用于根据数据的存储路径,得到数据在数据特征表中的存储位置;具体实现方式见上述实施例方法中步骤S130部分的相关描述,在此不再赘述。The storage location obtaining module 330 is used to obtain the storage location of the data in the data feature table according to the storage path of the data; for the specific implementation, please refer to the relevant description of step S130 in the method of the above-mentioned embodiment, which will not be repeated here.

数据插入模块340,用于根据存储位置,将数据插入数据特征表;具体实现方式见上述实施例方法中步骤S140部分的相关描述,在此不再赘述。The data insertion module 340 is configured to insert data into the data feature table according to the storage location; for the specific implementation, please refer to the relevant description of step S140 in the method of the above embodiment, which will not be repeated here.

数据库构建模块350,用于根据插入数据后的数据特征表,构建数据特征数据库。具体实现方式见上述实施例方法中步骤S150部分的相关描述,在此不再赘述。The database construction module 350 is configured to construct a data feature database according to the data feature table after the data is inserted. For a specific implementation manner, refer to the relevant description of step S150 in the method of the above embodiment, and details are not repeated here.

作为本实施例一种可选的实施方式,数据特征表建立模块310中还包括第二数据信息表建立模块,用于建立第二数据信息表,第二数据信息表与第一数据信息表存储的数据信息的类别不同,第二数据信息表和第一数据信息表包含相同的数据文件id值,数据文件id值用于关联不同数据表中的数据信息。具体实现方式见上述实施例方法中对应部分的相关描述,在此不再赘述。As an optional implementation of this embodiment, the data characteristic table establishment module 310 also includes a second data information table establishment module, which is used to establish a second data information table, and the second data information table is stored with the first data information table The types of data information are different, the second data information table and the first data information table contain the same data file id value, and the data file id value is used to associate data information in different data tables. For the specific implementation manner, refer to the relevant description of the corresponding part in the methods of the above embodiments, which will not be repeated here.

作为本实施例一种可选的实施方式,存储位置获取模块330,包括:As an optional implementation manner of this embodiment, the storage location acquisition module 330 includes:

第一语义标签获取模块,用于分割并解析数据的存储路径,得到语义标签;具体实现方式见上述实施例方法中对应部分的相关描述,在此不再赘述。The first semantic label acquisition module is used to divide and analyze the storage path of the data to obtain the semantic label; for the specific implementation, please refer to the relevant description of the corresponding part in the method of the above embodiment, which will not be repeated here.

第一语义标签查找模块,用于根据语义标签,查找语义标签表,语义标签表存储语义标签和数据特征表中存储位置的对应关系。具体实现方式见上述实施例方法中对应部分的相关描述,在此不再赘述。The first semantic label search module is configured to search a semantic label table according to the semantic label, and the semantic label table stores the corresponding relationship between the semantic label and the storage location in the data feature table. For the specific implementation manner, refer to the relevant description of the corresponding part in the methods of the above embodiments, which will not be repeated here.

第一存储位置确定模块,用于确定数据在数据特征表中的存储位置。具体实现方式见上述实施例方法中对应部分的相关描述,在此不再赘述。The first storage location determination module is used to determine the storage location of the data in the data feature table. For the specific implementation manner, refer to the relevant description of the corresponding part in the methods of the above embodiments, which will not be repeated here.

作为本实施例一种可选的实施方式,存储位置获取模块330,包括:As an optional implementation manner of this embodiment, the storage location acquisition module 330 includes:

第二语义标签获取模块,用于分割并解析数据的存储路径,得到语义标签;具体实现方式见上述实施例方法中对应部分的相关描述,在此不再赘述。The second semantic label acquisition module is used to divide and analyze the storage path of the data to obtain the semantic label; for the specific implementation, please refer to the relevant description of the corresponding part in the method of the above-mentioned embodiment, which will not be repeated here.

第二存储位置确定模块,用于对语义标签进行基于自然语言处理的分类和匹配,确定数据在数据特征表中的位置。具体实现方式见上述实施例方法中对应部分的相关描述,在此不再赘述。The second storage location determining module is used to classify and match the semantic tags based on natural language processing, and determine the location of the data in the data feature table. For the specific implementation manner, refer to the relevant description of the corresponding part in the methods of the above embodiments, which will not be repeated here.

作为本实施例一种可选的实施方式,上述第一语义标签查找模块,包括:As an optional implementation of this embodiment, the above-mentioned first semantic tag search module includes:

语义标签添加模块,用于当语义标签表中未查找到语义标签,则将语义标签与语义标签在数据特征表中存储位置的对应关系添加至语义标签表。具体实现方式见上述实施例方法中对应部分的相关描述,在此不再赘述。The semantic label adding module is used for adding the corresponding relationship between the semantic label and the storage position of the semantic label in the data feature table to the semantic label table when no semantic label is found in the semantic label table. For the specific implementation manner, refer to the relevant description of the corresponding part in the methods of the above embodiments, which will not be repeated here.

作为本实施例中一种可选的实施方式,上述数据特征表建立模块310中的数据特征表包括信道数据特征表。具体实现方式见上述实施例方法中对应部分的相关描述,在此不再赘述。As an optional implementation manner in this embodiment, the data feature table in the data feature table establishing module 310 includes a channel data feature table. For the specific implementation manner, refer to the relevant description of the corresponding part in the methods of the above embodiments, which will not be repeated here.

作为本实施例一种可选的实施方式,上述第二数据信息表建立模块中的第二数据信息表包括:As an optional implementation manner of this embodiment, the second data information table in the second data information table establishment module includes:

信道类型信息表,包括信道数据测量中使用的设备类型、测量内容类型、测量时/频域信息中的任意一种或几种;Channel type information table, including any one or several of the equipment type used in channel data measurement, measurement content type, and measurement time/frequency domain information;

信道场景信息表,包括测量时间、测量环境、测量地点、测量气候、高度、湿度、温度信息中的任意一种或几种。具体实现方式见上述实施例方法中对应部分的相关描述,在此不再赘述。Channel scene information table, including any one or more of measurement time, measurement environment, measurement location, measurement climate, altitude, humidity, and temperature information. For the specific implementation manner, refer to the relevant description of the corresponding part in the methods of the above embodiments, which will not be repeated here.

本实施例提供一种数据库检索装置,如图4所示,包括:This embodiment provides a database retrieval device, as shown in Figure 4, comprising:

待检索信息获取模块410,用于获取待检索信息;具体实现方式见上述实施例方法中步骤S210部分的相关描述,在此不再赘述。The information to be retrieved acquiring module 410 is configured to acquire the information to be retrieved; for the specific implementation, please refer to the relevant description of step S210 in the method of the above embodiment, which will not be repeated here.

存储路径检索模块420,用于在上述实施例中的数据库建立方法得到的数据特征数据库中,根据待检索信息检索得到相应的一个或多个存储路径;具体实现方式见上述实施例方法中步骤S220部分的相关描述,在此不再赘述。The storage path retrieval module 420 is used to retrieve one or more corresponding storage paths according to the information to be retrieved in the data feature database obtained by the database establishment method in the above embodiment; see step S220 in the method of the above embodiment for specific implementation Some related descriptions will not be repeated here.

检索结果获取模块430,用于根据存储路径,得到检索结果。具体实现方式见上述实施例方法中步骤S230部分的相关描述,在此不再赘述。The retrieval result obtaining module 430 is configured to obtain the retrieval result according to the storage path. For a specific implementation manner, refer to the relevant description of step S230 in the method of the above embodiment, and details are not repeated here.

本申请实施例还提供一种电子设备,如图5所示,处理器510和存储器520,其中处理器510和存储器520可以通过总线或者其他方式连接。An embodiment of the present application also provides an electronic device, as shown in FIG. 5 , a processor 510 and a memory 520, where the processor 510 and the memory 520 may be connected through a bus or in other ways.

处理器510可以为中央处理器(Central Processing Unit,CPU)。处理器510还可以为其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等芯片,或者上述各类芯片的组合。The processor 510 may be a central processing unit (Central Processing Unit, CPU). The processor 510 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate array (Field-Programmable Gate Array, FPGA) or Other chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips.

存储器520作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本发明实施例中的数据库建立或检索方法对应的程序指令/模块。处理器通过运行存储在存储器中的非暂态软件程序、指令以及模块,从而执行处理器的各种功能应用以及数据处理。The memory 520, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions/ module. The processor executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory.

存储器520可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储处理器所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器520可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 520 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created by the processor, and the like. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices. In some embodiments, memory 520 may optionally include memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

所述一个或者多个模块存储在所述存储器520中,当被所述处理器510执行时,执行如图1或图2所示实施例中的数据库建立或检索方法。The one or more modules are stored in the memory 520 , and when executed by the processor 510 , execute the database establishment or retrieval method in the embodiment shown in FIG. 1 or FIG. 2 .

上述电子设备的具体细节可以对应参阅图1或图2所示的实施例中对应的相关描述和效果进行理解,此处不再赘述。Specific details of the foregoing electronic device may be understood by referring to corresponding descriptions and effects in the embodiment shown in FIG. 1 or FIG. 2 , and will not be repeated here.

本实施例还提供了一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中数据库建立或检索方法。其中,所述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)、随机存储记忆体(Random Access Memory,RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等;所述存储介质还可以包括上述种类的存储器的组合。This embodiment also provides a computer storage medium, the computer storage medium stores computer-executable instructions, and the computer-executable instructions can execute the database establishment or retrieval method in any of the above method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk) Disk Drive, abbreviation: HDD) or solid-state drive (Solid-State Drive, SSD), etc.; the storage medium may also include a combination of the above-mentioned types of memory.

显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。Apparently, the above-mentioned embodiments are only examples for clear description, rather than limiting the implementation. For those of ordinary skill in the art, other changes or changes in different forms can be made on the basis of the above description. It is not necessary and impossible to exhaustively list all the implementation manners here. And the obvious changes or changes derived therefrom are still within the scope of protection of the present invention.

Claims (11)

1. A database creation method, comprising:
establishing a data characteristic table, wherein the data characteristic table comprises a first data information table, the first data information table is used for storing a plurality of different types of data information, and the data information comprises a data storage path;
acquiring a storage path of data in an original data file;
dividing and analyzing the storage path of the data to obtain a semantic tag;
searching a semantic tag table according to the semantic tag, wherein the semantic tag table stores the corresponding relation between the semantic tag and a storage position in a data feature table;
determining a storage position of the data in the data characteristic table;
inserting the data into the data feature table according to the storage position;
and constructing a data characteristic database according to the data characteristic table after the data is inserted.
2. The method of claim 1, wherein the data characterization table further comprises a second data information table, the second data information table being of a different type than the data information stored by the first data information table, the second data information table and the first data information table containing the same data file id value used to correlate data information in different data tables.
3. The method according to claim 1, wherein the obtaining, according to the storage path of the data, the storage location of the data in the data feature table includes:
dividing and analyzing the storage path of the data to obtain a semantic tag;
and classifying and matching the semantic tags based on natural language processing, and determining the position of the data in the data characteristic table.
4. The method of claim 1, wherein said looking up a semantic tag table based on said semantic tags comprises:
and when the semantic tag is not found in the semantic tag table, adding the corresponding relation between the semantic tag and the storage position of the semantic tag in the data feature table to the semantic tag table.
5. The method of claim 2, wherein the data characteristics table comprises a channel data characteristics table.
6. The method of claim 5, wherein the second data information table comprises:
a channel type information table including any one or more of a device type, a measurement content type, and measurement time/frequency domain information used in channel data measurement;
The channel scene information table comprises any one or more of measurement time, measurement environment, measurement place, measurement climate, altitude, humidity and temperature information.
7. A database retrieval method, comprising:
acquiring information to be retrieved;
in the data feature database obtained by the database creation method of any one of claims 1 to 6, retrieving a corresponding one or more storage paths according to the information to be retrieved;
and obtaining a retrieval result according to the storage path.
8. A database creation apparatus, comprising:
the system comprises a data feature table establishing module, a data feature table generating module and a data processing module, wherein the data feature table establishing module is used for establishing a data feature table, the data feature table comprises a first data information table, the first data information table is used for storing a plurality of different types of data information, and the data information comprises a data storage path;
the storage path acquisition module is used for acquiring the storage path of the data in the original data file;
the storage position acquisition module is used for dividing and analyzing the storage path of the data to obtain a semantic tag;
searching a semantic tag table according to the semantic tag, wherein the semantic tag table stores the corresponding relation between the semantic tag and a storage position in a data feature table;
Determining a storage position of the data in the data characteristic table;
the data insertion module is used for inserting the data into the data characteristic table according to the storage position;
and the database construction module is used for constructing a data characteristic database according to the data characteristic table after the data is inserted.
9. A database retrieval apparatus, comprising:
the information to be searched acquisition module is used for acquiring information to be searched;
a storage path retrieval module, configured to retrieve, in a data feature database obtained by the database creation method of any one of claims 1 to 6, one or more storage paths according to the information to be retrieved;
and the retrieval result acquisition module is used for acquiring a retrieval result according to the storage path.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the database creation method of any of claims 1-6 or the database retrieval method of claim 7 when the program is executed by the processor.
11. A storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the database creation method of any of claims 1-6 or the database retrieval method of claim 7.
CN202010104739.2A 2020-02-20 2020-02-20 Method and device for establishing and retrieving database Active CN111309709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010104739.2A CN111309709B (en) 2020-02-20 2020-02-20 Method and device for establishing and retrieving database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010104739.2A CN111309709B (en) 2020-02-20 2020-02-20 Method and device for establishing and retrieving database

Publications (2)

Publication Number Publication Date
CN111309709A CN111309709A (en) 2020-06-19
CN111309709B true CN111309709B (en) 2023-05-23

Family

ID=71160006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010104739.2A Active CN111309709B (en) 2020-02-20 2020-02-20 Method and device for establishing and retrieving database

Country Status (1)

Country Link
CN (1) CN111309709B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407563A (en) * 2021-06-04 2021-09-17 莱斯发展有限公司 Query form generation method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8595237B1 (en) * 2010-02-17 2013-11-26 Netapp, Inc. Method and system for managing metadata in a storage environment
CN108595523A (en) * 2018-03-27 2018-09-28 广州供电局有限公司 device data retrieval model construction method, device and computer equipment
CN109947789A (en) * 2019-01-28 2019-06-28 平安科技(深圳)有限公司 A kind of method, apparatus, computer equipment and the storage medium of the data processing of multiple database
WO2019223601A1 (en) * 2018-05-23 2019-11-28 杭州海康威视数字技术股份有限公司 Database system, and establishment method and apparatus therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8595237B1 (en) * 2010-02-17 2013-11-26 Netapp, Inc. Method and system for managing metadata in a storage environment
CN108595523A (en) * 2018-03-27 2018-09-28 广州供电局有限公司 device data retrieval model construction method, device and computer equipment
WO2019223601A1 (en) * 2018-05-23 2019-11-28 杭州海康威视数字技术股份有限公司 Database system, and establishment method and apparatus therefor
CN109947789A (en) * 2019-01-28 2019-06-28 平安科技(深圳)有限公司 A kind of method, apparatus, computer equipment and the storage medium of the data processing of multiple database

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨莹 ; .基于Oracle数据库大数据的检索优化分析与设计.数码世界.2017,(04),全文. *
肖玉泽 ; 张利军 ; 潘巍 ; 张小芳 ; 李战怀 ; .HDFS下海量小文件高效存储与索引方法.小型微型计算机系统.2015,(10),全文. *

Also Published As

Publication number Publication date
CN111309709A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN107844565B (en) Commodity searching method and device
CN104699835B (en) For determining that Webpage includes the method and device of point of interest POI data
US20140280318A1 (en) Method and System for Generating a Geocode Trie and Facilitating Reverse Geocode Lookups
CN107798001B (en) Webpage processing method, device and equipment
CN111726336B (en) A method and system for extracting identification information of a networked intelligent device
CN108572990A (en) Information-pushing method and device
CN106959976B (en) Search processing method and device
CN113992625B (en) Domain name source station detection method, system, computer and readable storage medium
CN112650529A (en) System and method capable of configuring generation of mobile terminal APP code
CN117171108B (en) Virtual model mapping method and system
CN110955855B (en) Information interception method, device and terminal
CN110674832B (en) Method, device and terminal for identifying enterprise to which Internet user belongs
CN111309709B (en) Method and device for establishing and retrieving database
US10430473B2 (en) Deep mining of network resource references
CN114238475A (en) Data processing method of data warehouse
CN113364895A (en) Method, device, electronic equipment and storage medium for resource scheduling
CN116401410B (en) Method, device, storage medium and equipment for accessing map data to multi-scene graph database
CN118069645A (en) Method, apparatus, device, medium and program product for detecting service data change
CN117472940A (en) Data blood relationship construction method and device, electronic equipment and storage medium
CN114443802B (en) Interface document processing method, device, electronic device and storage medium
KR101928076B1 (en) System and Method for Providing Foreigner Sightseeing Location Information Contents using Big Data
WO2023030553A2 (en) Distributed highway image storage method and apparatus, and distributed highway image search method and apparatus
CN104281693A (en) Semantic search method and semantic search system
CN107153674A (en) A kind of live room information methods of exhibiting and system
CN112699149A (en) Target data acquisition method and device, storage medium and electronic device

Legal Events

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