CN114896279A - Data query method, device, equipment and readable storage medium - Google Patents

Data query method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN114896279A
CN114896279A CN202210553809.1A CN202210553809A CN114896279A CN 114896279 A CN114896279 A CN 114896279A CN 202210553809 A CN202210553809 A CN 202210553809A CN 114896279 A CN114896279 A CN 114896279A
Authority
CN
China
Prior art keywords
target data
query
data
data source
target
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
CN202210553809.1A
Other languages
Chinese (zh)
Inventor
宁德刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Envision Innovation Intelligent Technology Co Ltd
Envision Digital International Pte Ltd
Original Assignee
Shanghai Envision Innovation Intelligent Technology Co Ltd
Envision Digital International Pte 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 Shanghai Envision Innovation Intelligent Technology Co Ltd, Envision Digital International Pte Ltd filed Critical Shanghai Envision Innovation Intelligent Technology Co Ltd
Priority to CN202210553809.1A priority Critical patent/CN114896279A/en
Publication of CN114896279A publication Critical patent/CN114896279A/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/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • 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)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a data query method, a data query device, data query equipment and a readable storage medium, and relates to the field of data analysis. The method comprises the following steps: receiving a query request, wherein the query request indicates data information of target data in a universal language format, and the data information comprises a target data source identifier of a data source where the target data is located and query keywords of the target data; based on the target data source identification, positioning a target data source where the target data is located, wherein registration information corresponding to at least two data sources is stored in the proxy query server, and the registration information is used for realizing conversion between the language format of the data sources and the universal language format; and acquiring target data from the target data source based on the query keywords and the registration information. The time for inquiring different data source data is reduced to a certain extent, and the repeated writing work caused by exporting converted files generated in the inquiring process is avoided to a certain extent.

Description

数据查询方法、装置、设备及可读存储介质Data query method, apparatus, device and readable storage medium

技术领域technical field

本申请实施例涉及数据分析领域,特别涉及一种数据查询方法、装置、设备及可读存储介质。The embodiments of the present application relate to the field of data analysis, and in particular, to a data query method, apparatus, device, and readable storage medium.

背景技术Background technique

随着办公自动化的提升,每个领域都有对应的自动化办公系统,每个领域的办公自动化系统都是独立开发,拥有自己特色的独立的软件系统和数据,不同领域之间的数据系统,需要做复杂的数据格式转换和导出/入的工作。With the improvement of office automation, each field has a corresponding automated office system. The office automation system in each field is independently developed and has its own independent software system and data. The data system between different fields needs to be Do complex data format conversion and export/import work.

相关技术中的不同领域的数据查询中,一般需要先做一次中间数据的转换,具体为源系统将目的系统所需的数据导出,成为中间文件;并将该中间文件转换为目的系统可以处理的数据文件;再将数据文件导入至目的系统中实现不同数据源之间的数据查询。In the data query of different fields in the related art, it is generally necessary to do an intermediate data conversion first, specifically, the source system exports the data required by the destination system to become an intermediate file; and converts the intermediate file into a process that the destination system can process. data files; and then import the data files into the destination system to realize data query between different data sources.

然而,相关技术中,每一次数据的导出转换再写入需要大量的输入/输出(Input/Output,简称IO)操作,耗时较长,并且会对在线服务的正常运行产生一定影响;并且在不同数据源数据查询时,每个系统都在不间断的产生新数据,需要定期的数据同步,每一次数据同步,不可避免的都要重复经历导出转化和写入,产生大量的重复工作。However, in the related art, each time the data is exported, converted and rewritten requires a large number of Input/Output (IO) operations, which takes a long time and will have a certain impact on the normal operation of the online service; and When querying data from different data sources, each system is constantly generating new data, which requires regular data synchronization. Every time data synchronization, it is inevitable to repeatedly go through export, transformation and writing, resulting in a lot of repetitive work.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种数据查询方法、装置、设备及可读存储介质,可以提高数据查询过程中的查询速度。所述技术方案如下:The embodiments of the present application provide a data query method, apparatus, device, and readable storage medium, which can improve the query speed in the data query process. The technical solution is as follows:

一方面,提供了一种数据查询方法,所述方法包括:In one aspect, a data query method is provided, the method comprising:

接收查询请求,所述查询请求以通用语言格式指示目标数据的数据信息,所述数据信息中包括所述目标数据所在数据源的目标数据源标识以及所述目标数据的查询关键字;receiving a query request, where the query request indicates data information of the target data in a common language format, and the data information includes a target data source identifier of a data source where the target data is located and a query keyword of the target data;

基于所述目标数据源标识,定位所述目标数据所在的目标数据源,所述代理查询服务器中存储有至少两个数据源对应的注册信息,所述注册信息用于实现所述数据源的语言格式与所述通用语言格式之间的转换;Based on the target data source identifier, locate the target data source where the target data is located, the proxy query server stores registration information corresponding to at least two data sources, and the registration information is used to implement the language of the data sources conversion between formats and said common language formats;

基于所述查询关键字和所述注册信息,从所述目标数据源中获取所述目标数据。The target data is acquired from the target data source based on the query keyword and the registration information.

一个可选的实施例中,所述基于所述目标数据源标识,定位所述目标数据所在的目标数据源之前,还包括:In an optional embodiment, before locating the target data source where the target data is located based on the target data source identifier, the method further includes:

接收所述至少两个数据源以所述通用语言格式上传的存储数据信息,所述存储数据信息中包括所述至少两个数据源的数据源标识和数据源数据信息和数据源路径信息,所述数据源标识用于唯一指示所述数据源,所述数据源数据信息用于指示数据源的数据内容;Receive stored data information uploaded by the at least two data sources in the common language format, where the stored data information includes data source identifiers, data source data information, and data source path information of the at least two data sources, and The data source identifier is used to uniquely indicate the data source, and the data source data information is used to indicate the data content of the data source;

对所述存储数据信息进行注册得到所述注册信息,并为所述至少两个数据源配置数据查询接口。The registration information is obtained by registering the stored data information, and a data query interface is configured for the at least two data sources.

一个可选的实施例中,所述代理查询服务器中包括注册信息表;In an optional embodiment, the proxy query server includes a registration information table;

所述对所述存储数据信息进行注册得到注册信息,包括:The registration of the stored data information to obtain registration information includes:

将所述存储数据信息注册至所述注册信息表中,得到与所述至少两个数据源分别对应的注册信息;registering the stored data information in the registration information table to obtain registration information corresponding to the at least two data sources respectively;

或者,or,

将所述至少两个数据源对应的存储数据信息分别注册至对应的注册信息表中,得到与所述至少两个数据源分别对应的注册信息表,第i个注册信息表中包括第i个数据源对应的注册信息,i为正整数。The stored data information corresponding to the at least two data sources is respectively registered in the corresponding registration information table, and the registration information table corresponding to the at least two data sources is obtained, and the i-th registration information table includes the i-th registration information table. The registration information corresponding to the data source, i is a positive integer.

一个可选的实施例中,所述基于所述目标数据源标识,定位所述目标数据所在的目标数据源,包括:In an optional embodiment, locating the target data source where the target data is located based on the target data source identifier includes:

解析所述查询请求,得到所述查询请求中的所述目标数据源标识;Parsing the query request to obtain the target data source identifier in the query request;

基于所述目标数据源标识,确定所述目标数据源标识对应的目标数据源路径,所述目标数据源路径为所述目标数据源的存储定位路径。Based on the target data source identifier, a target data source path corresponding to the target data source identifier is determined, and the target data source path is a storage location path of the target data source.

一个可选的实施例中,所述基于所述查询关键字和所述注册信息,从所述目标数据源中获取所述目标数据,包括:In an optional embodiment, the obtaining the target data from the target data source based on the query keyword and the registration information includes:

基于所述目标数据源标识,确定所述目标数据源标识对应的目标数据查询接口;Determine, based on the target data source identifier, a target data query interface corresponding to the target data source identifier;

基于所述查询关键字,通过所述目标数据查询接口从所述目标数据源路径上存储的所述目标数据源中,获取所述目标数据。Based on the query keyword, the target data is acquired from the target data source stored on the target data source path through the target data query interface.

一个可选的实施例中,所述基于所述查询关键字,通过所述目标数据查询接口从所述目标数据源路径上存储的所述目标数据源中,获取所述目标数据,包括:In an optional embodiment, the obtaining the target data from the target data source stored on the target data source path through the target data query interface based on the query keyword includes:

通过所述目标数据查询接口将所述查询关键字转换为与所述目标数据源对应的查询语句;Convert the query keyword into a query statement corresponding to the target data source through the target data query interface;

基于所述目标数据源路径向所述目标数据源发送所述查询语句;Send the query statement to the target data source based on the target data source path;

接收所述目标数据源反馈的所述目标数据。The target data fed back by the target data source is received.

一个可选的实施例中,所述查询请求中还包括目标计算要求;In an optional embodiment, the query request also includes target computing requirements;

所述从所述目标数据源中获取所述目标数据之后,还包括:After obtaining the target data from the target data source, the method further includes:

基于所述目标计算要求对所述目标数据进行计算处理,得到所述目标数据对应的查询结果;Calculate and process the target data based on the target calculation requirements to obtain a query result corresponding to the target data;

向数据处理终端发送所述查询结果。Send the query result to the data processing terminal.

另一方面,提供了一种数据查询装置,所述装置包括:In another aspect, a data query device is provided, the device comprising:

接收模块,用于接收查询请求,所述查询请求以通用语言格式指示目标数据的数据信息,所述数据信息中包括所述目标数据所在数据源的目标数据源标识以及所述目标数据的查询关键字;A receiving module, configured to receive a query request, where the query request indicates data information of target data in a common language format, and the data information includes the target data source identifier of the data source where the target data is located and the query key of the target data Character;

定位模块,用于基于所述目标数据源标识,定位所述目标数据所在的目标数据源,所述代理查询服务器中存储有至少两个数据源对应的注册信息,所述注册信息用于实现所述数据源的语言格式与所述通用语言格式之间的转换;A positioning module, configured to locate the target data source where the target data is located based on the target data source identifier, the proxy query server stores registration information corresponding to at least two data sources, and the registration information is used to realize all conversion between the language format of the data source and the common language format;

获取模块,用于基于所述查询关键字和所述注册信息,从所述目标数据源中获取所述目标数据。an obtaining module, configured to obtain the target data from the target data source based on the query keyword and the registration information.

另一方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述本申请实施例中任一所述的数据查询方法。In another aspect, a computer device is provided, the computer device includes a processor and a memory, the memory stores at least one instruction, at least a section of a program, a code set or an instruction set, the at least one instruction, the at least one A piece of program, the code set or the instruction set is loaded and executed by the processor to implement the data query method as described in any of the foregoing embodiments of the present application.

另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述本申请实施例中任一所述的数据查询方法。In another aspect, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, at least one piece of program, code set or instruction set, the at least one instruction, the at least one piece of program, the code The set or instruction set is loaded and executed by the processor to implement the data query method described in any of the foregoing embodiments of the present application.

另一方面,提供了一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得计算机执行如上述本申请实施例中任一所述的数据查询方法。In another aspect, a computer program product is provided, which, when the computer program product runs on a computer, causes the computer to execute the data query method described in any of the foregoing embodiments of the present application.

本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided in the embodiments of the present application include at least:

查询不同数据源内的数据信息之前,至少两个数据源将对应的注册信息注册至代理查询服务器中,代理查询服务器为至少两个数据源配置对应的数据查询接口;从而在代理查询服务器接收到查询请求时,能够基于其中的目标数据源标识和查询关键字在多个数据源中选择对应的数据源进行数据查询获取,减少了从不同数据源获取数据的时间,且减少了因查询过程中产生的导出转换文件带来的重复写入工作。Before querying data information in different data sources, at least two data sources register corresponding registration information in the proxy query server, and the proxy query server configures corresponding data query interfaces for the at least two data sources; thus, the proxy query server receives the query At the time of request, the corresponding data source can be selected from multiple data sources for data query and acquisition based on the target data source identifier and query keyword, which reduces the time for acquiring data from different data sources, and reduces the amount of data generated during the query process. The export of transform files brings rewrite work.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.

图1是本申请一个示例性实施例提供的实施环境示意图;FIG. 1 is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;

图2是本申请一个示例性实施例提供的数据查询方法的流程图;2 is a flowchart of a data query method provided by an exemplary embodiment of the present application;

图3是本申请另一个示例性实施例提供的数据查询方法的流程图;3 is a flowchart of a data query method provided by another exemplary embodiment of the present application;

图4是本申请另一个示例性实施例提供的数据查询方法的流程图;4 is a flowchart of a data query method provided by another exemplary embodiment of the present application;

图5是本申请一个示例性实施例提供的数据查询装置的结构框图;5 is a structural block diagram of a data query apparatus provided by an exemplary embodiment of the present application;

图6是本申请另一个示例性实施例提供的数据查询装置的结构框图;6 is a structural block diagram of a data query apparatus provided by another exemplary embodiment of the present application;

图7是本申请一个示例性的实施例提供的代理查询服务器的结构框图。FIG. 7 is a structural block diagram of a proxy query server provided by an exemplary embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

图1是本申请一个示例性实施例提供的实施环境示意图,如图1所示,该实施环境中包括终端110、代理查询服务器120以及多个数据源130,终端110中包括终端A111、终端B112,多个数据源130中包括数据源a131、数据源b132以及数据源c133。FIG. 1 is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application. As shown in FIG. 1 , the implementation environment includes a terminal 110 , a proxy query server 120 and multiple data sources 130 , and the terminal 110 includes a terminal A111 and a terminal B112 , the multiple data sources 130 include a data source a131, a data source b132 and a data source c133.

用户通过终端110向代理查询服务器120发送查询请求,以实现查询数据源130内的数据信息,该查询请求中包括数据源标识以及查询关键字。The user sends a query request to the proxy query server 120 through the terminal 110 to query the data information in the data source 130, and the query request includes the data source identifier and the query keyword.

本申请实施例中,通过构建一个通用的代理查询服务器120,多个数据源130将各自对应的存储数据信息注册至该代理查询服务器120中,该存储数据信息中包括数据源标识、数据存储定位路径以及结构信息,该结构信息用于指示数据源中数据内容的存储结构,在一些实施例中,结构信息中包括用户在查询目标数据时所使用的查询关键字。例如:数据源中存放公司人员的工资明细,其中包括人员和人员对应的月份,其中,以人员和月份之间的对应关系下包括数据值,如:张三和十月的对应关系下包括数据值5000,用于表示张三在十月份的工资为5000,在代理查询服务器120中注册时,将张三和十月对应的结构信息存储至代理查询服务器120中,在用户查询时,可以在终端中选择张三为查询关键字,查询数据源中张三对应的工资情况。In the embodiment of the present application, by constructing a general proxy query server 120, a plurality of data sources 130 register their corresponding stored data information in the proxy query server 120, and the stored data information includes the data source identifier and the data storage location. Path and structure information. The structure information is used to indicate the storage structure of the data content in the data source. In some embodiments, the structure information includes query keywords used by the user when querying the target data. For example: the salary details of the company personnel are stored in the data source, including the months corresponding to the personnel and the personnel, and the data values are included in the corresponding relationship between the personnel and the month, such as: the corresponding relationship between Zhang San and October includes data The value of 5000 is used to indicate that Zhang San's salary in October is 5000. When registering in the proxy query server 120, the structure information corresponding to Zhang San and October is stored in the proxy query server 120. Select Zhang San as the query keyword in the terminal to query the salary information corresponding to Zhang San in the data source.

可选的,不同数据源的存储数据信息通过通用语言格式注册至代理查询服务器120中,得到注册信息,其中,通用语言格式为结构化查询语言(Structured QueryLanguage,简称SQL)。Optionally, the stored data information of different data sources is registered in the proxy query server 120 through a common language format, where the common language format is Structured Query Language (SQL for short).

可选的,多个数据源130向代理查询服务器120中注册对应的注册信息时,将对应的数据源标识、结构信息和数据存储定位路径注册至对应的注册信息表中,在用户查询目标数据时,代理查询服务器120解析查询请求,并获知目标数据源标识和查询关键字;基于目标数据源标识和查询关键字,代理查询服务器120通过目标数据源对应的目标数据查询接口在目标数据源中获取与查询关键字对应的目标数据。Optionally, when multiple data sources 130 register the corresponding registration information in the proxy query server 120, the corresponding data source identification, structure information and data storage location path are registered in the corresponding registration information table, and the user queries the target data. When the proxy query server 120 parses the query request, and learns the target data source identifier and query keyword; based on the target data source identifier and query keyword, the proxy query server 120 searches the target data source through the target data query interface corresponding to the target data source. Get the target data corresponding to the query keyword.

该代理查询服务器120中包括与各个数据源130对应的数据查询接口(图1中未示出)。例如,代理查询服务器120分别接收到来自于数据源a131、数据源b132以及数据源c133的注册信息,并为数据源a131制定查询接口1、为数据源b132制定查询接口2以及为数据源c133制定查询接口3。The proxy query server 120 includes a data query interface (not shown in FIG. 1 ) corresponding to each data source 130 . For example, the proxy query server 120 receives the registration information from the data source a131, the data source b132 and the data source c133 respectively, and formulates the query interface 1 for the data source a131, the query interface 2 for the data source b132 and the data source c133. Query interface 3.

代理查询服务器120接收来自于终端A111的查询请求;解析该查询请求,获取目标数据源标识以及查询关键字;代理查询服务器120基于该目标数据源标识,定位目标数据源,并通过目标数据源对应的目标查询接口查询目标数据。在一些实施例中,查询请求中包括单个目标数据源的目标数据源标识,表示从该单个数据源中获取目标数据;或者,查询请求中包括多个目标数据源的目标数据源标识,表示从多个数据源中获取目标数据。The proxy query server 120 receives the query request from the terminal A111; parses the query request to obtain the target data source identifier and the query keyword; the proxy query server 120 locates the target data source based on the target data source identifier, and corresponds to the target data source through the target data source. The target query interface to query target data. In some embodiments, the query request includes a target data source identifier of a single target data source, indicating that the target data is obtained from the single data source; or, the query request includes target data source identifiers of multiple target data sources, indicating that the target data is obtained from the single data source. Obtain target data from multiple data sources.

可选的,查询请求中包括对目标数据的计算要求,代理查询服务器120基于该计算要求,对目标数据进行对应的计算处理。例如,该计算要求为数据计算、数据分类、数据统计以及数据投影等要求。Optionally, the query request includes calculation requirements for the target data, and the proxy query server 120 performs corresponding calculation processing on the target data based on the calculation requirements. For example, the calculation requirements are requirements such as data calculation, data classification, data statistics, and data projection.

代理查询服务器120基于该计算要求对目标数据进行处理,得到查询结果。代理查询服务器120将查询结果反馈至终端110的预设位置进行显示。例如,用户在终端A111发起查询请求,代理查询服务器120根据查询请求获取最终的查询结果,并将查询结果反馈至终端B112中;或者,终端A111也可以用于接收查询结果,终端B也可以用于发起查询请求,本申请对此不加以限定。The proxy query server 120 processes the target data based on the calculation requirements to obtain query results. The proxy query server 120 feeds back the query result to the preset position of the terminal 110 for display. For example, the user initiates a query request on the terminal A111, the proxy query server 120 obtains the final query result according to the query request, and feeds back the query result to the terminal B112; alternatively, the terminal A111 can also be used to receive the query result, and the terminal B can also use For initiating a query request, this application does not limit it.

值得注意的是,上述终端110可以实现为手机、平板电脑、可穿戴设备、便携式膝上笔记本电脑等移动终端,也可以实现为台式电脑、电子游戏机等终端,本申请实施例对此不加以限定。It is worth noting that the above-mentioned terminal 110 can be implemented as a mobile terminal such as a mobile phone, a tablet computer, a wearable device, a portable laptop computer, etc., or can also be implemented as a terminal such as a desktop computer, an electronic game console, etc. limited.

上述代理查询服务器120可以实现为一台服务器,也可以实现为多台服务器组成的服务器集群,上述服务器120可以实现为物理服务器,也可以实现为云服务器,本申请实施例对此不加以限定。The proxy query server 120 may be implemented as a single server, or as a server cluster composed of multiple servers. The server 120 may be implemented as a physical server or a cloud server, which is not limited in this embodiment of the present application.

结合上述实施环境,对本申请实施例中涉及的数据查询方法进行说明,图2是本申请一个示例性提供的数据查询方法的流程图,以该方法应用于代理查询服务器中,如图2所示,该方法包括:In combination with the above implementation environment, the data query method involved in the embodiments of the present application will be described. FIG. 2 is a flowchart of an exemplary data query method provided by the present application, and the method is applied to a proxy query server, as shown in FIG. 2 . , the method includes:

步骤210,接收查询请求,查询请求以通用语言格式指示目标数据的数据信息,数据信息中包括目标数据所在数据源的目标数据源标识以及目标数据的查询关键字。Step 210: Receive a query request. The query request indicates data information of the target data in a common language format. The data information includes a target data source identifier of the data source where the target data is located and a query keyword of the target data.

用户在终端内对目标数据进行查询的应用场景包括如下情况中的至少一种:The application scenario in which the user queries the target data in the terminal includes at least one of the following situations:

第一、终端内安装有查询多个数据源数据的应用程序,在应用程序内的查询界面中选择对应的目标数据进行查询;示例性的,用户在查询界面内可以键入对应的查询关键字进行查询。First, an application program for querying data from multiple data sources is installed in the terminal, and the corresponding target data is selected in the query interface in the application program to query; exemplarily, the user can enter the corresponding query keyword in the query interface to query. Inquire.

第二、终端内有查询多个数据源数据的平台或系统,示例性的,用户在对应设置有查询业务的网页界面内选择对应的目标数据进行查询。Second, the terminal has a platform or system for querying data from multiple data sources. Exemplarily, the user selects corresponding target data for querying in a web interface corresponding to a query service.

值得注意的是,上述应用场景仅为示例性的,本申请目标数据进行查询的应用场景不加以限定。It should be noted that the above application scenarios are only exemplary, and the application scenarios for querying the target data of the present application are not limited.

针对终端向服务器发送查询请求的方式,包括如下情况中的至少一种:The manner in which the terminal sends a query request to the server includes at least one of the following situations:

第一、用户在安装有查询应用程序的终端内键入查询关键字,该查询关键字用于在数据源中定位目标数据,该查询关键字内包括目标数据对应的目标数据源关键字以及数据内容对应的关键字。示例性的,以用户查询工资单为例,用户在终端键入关键字:“张三”、“十月”,用以指示查询张三在十月的工资明细。终端接收用户录入的关键字;将其转换为通用语言格式的查询语句附在查询请求内,并上传至代理查询服务器中,代理查询服务器在对应的数据源内查询张三在十月的工资明细,并将查询得到的目标数据返回至终端。First, the user enters a query keyword in the terminal where the query application program is installed, the query keyword is used to locate the target data in the data source, and the query keyword includes the target data source keyword corresponding to the target data and the data content. the corresponding keyword. Illustratively, taking the user querying the salary slip as an example, the user enters keywords: "Zhang San" and "October" on the terminal to instruct to query the salary details of Zhang San in October. The terminal receives the keyword entered by the user; converts it into a query statement in a common language format, attaches it to the query request, and uploads it to the proxy query server. The proxy query server queries the salary details of Zhang San in October in the corresponding data source. And return the target data obtained by the query to the terminal.

第二、终端内预先设置有对应的数据获取方案,该数据获取方案中包括目标数据源标识和查询关键字,用户查询目标数据时,在终端内选择与用户查询目标数据相符合的数据获取方案,终端将用户选择的数据获取方案转换为通用语言格式的查询语句附在查询请求内,并上传至代理查询服务器;代理查询服务器基于查询语句定位目标数据源,并根据查询关键字从目标数据源内获取目标数据。Second, a corresponding data acquisition scheme is preset in the terminal, and the data acquisition scheme includes the target data source identifier and the query keyword. When the user queries the target data, the terminal selects the data acquisition scheme that matches the user's query target data. , the terminal converts the data acquisition scheme selected by the user into a query statement in a common language format, attaches it to the query request, and uploads it to the proxy query server; the proxy query server locates the target data source based on the query statement, and selects the target data source according to the query keyword. Get target data.

第三、终端内设置有查询目标数据对应的功能控件,用户通过点击查询界面中对应的控件进行数据查询,功能控件对应设置有对应的目标数据源标识和查询关键字;用户点击控件后,终端将目标数据源标识和查询关键字转换为通用语言格式的查询语句附在查询请求内,并上传至代理查询服务器。Third, the terminal is provided with a function control corresponding to the query target data. The user can perform data query by clicking the corresponding control in the query interface, and the function control is correspondingly set with the corresponding target data source identifier and query keyword; after the user clicks the control, the terminal A query statement that converts the target data source identifier and query keyword into a common language format is attached to the query request and uploaded to the proxy query server.

在一些实施例中,不同数据源将对应的注册信息保存至代理查询服务器中时,均使用通用语言格式进行存储,代理查询服务器使用通用语言格式对查询请求进行解析后,得到查询请求中包括的目标数据源标识以及查询关键字。In some embodiments, when different data sources save the corresponding registration information in the proxy query server, they all use the common language format for storage. After the proxy query server uses the common language format to parse the query request, it obtains the Target data source identifier and query keywords.

在代理查询服务器接收查询请求之前,还包括数据源向代理查询服务进行注册的过程。Before the proxy query server receives the query request, the process of registering the data source with the proxy query service is also included.

即,代理查询服务器接收至少两个数据源以通用语言格式上传的存储数据信息,该存储数据信息中包括至少两个数据源的数据源标识、数据源数据信息以及数据源路径信息。其中,数据源标识用于唯一指示数据源,数据源信息用于指示数据源的数据源内容。值得注意的是,数据源信息并非实现为数据源中的数据源内容本身,而是用于指示数据源中数据的存储信息,如:存储格式、存储结构等。That is, the proxy query server receives stored data information uploaded by at least two data sources in a common language format, where the stored data information includes data source identifiers, data source data information and data source path information of the at least two data sources. The data source identifier is used to uniquely indicate the data source, and the data source information is used to indicate the data source content of the data source. It is worth noting that the data source information is not implemented as the data source content itself in the data source, but is used to indicate the storage information of the data in the data source, such as storage format, storage structure, and so on.

在本申请实施例中,至少两个数据源信息以SQL语言格式将与自身对应的存储数据信息上传至代理查询服务器中完成注册。In the embodiment of the present application, the at least two data source information uploads the stored data information corresponding to itself in the SQL language format to the proxy query server to complete the registration.

在一些实施例中,代理查询服务器在接收到数据源上传的存储数据信息后,对存储数据信息进行注册,得到注册信息,并未至少两个数据源配置数据查询结构。In some embodiments, after receiving the stored data information uploaded by the data source, the proxy query server registers the stored data information to obtain the registration information, and configures a data query structure for at least two data sources.

在一些实施例中,数据源的注册过程是数据源侧主动进行的;或者,数据源的注册过程是基于代理查询服务器的注册指示完成的。示意性的,当数据源中的数据存储结构发生变更,或者数据源中的数据存储格式发生变更时,向代理查询服务器发送注册更新请求,以实现在代理查询服务器中的更新注册(即数据源的主动注册过程);或者,在代理查询服务器的设置初期,代理查询服务器与各个数据源建立连接后,向各个数据源发送注册指示,从而各个数据源基于注册指示向代理查询服务器发送存储数据信息进行注册。In some embodiments, the registration process of the data source is actively performed by the data source side; or, the registration process of the data source is completed based on the registration instruction of the proxy query server. Illustratively, when the data storage structure in the data source changes, or the data storage format in the data source changes, a registration update request is sent to the proxy query server, so as to realize the update registration in the proxy query server (that is, the data source). Or, in the initial stage of the setting of the proxy query server, after the proxy query server establishes a connection with each data source, it sends a registration instruction to each data source, so that each data source sends the stored data information to the proxy query server based on the registration instruction. to register.

数据源路径信息用于指示数据源的存储定位路径,示例性的,存储数据信息中包括“Hive”、“http//C.html”,则表示数据源存储在http//C.html的数据路径上。The data source path information is used to indicate the storage location path of the data source. Exemplarily, if the stored data information includes "Hive" and "http//C.html", it means that the data source stores the data in http//C.html on the path.

值得注意的是,上述举例中涉及的存储数据信息格式仅是示例性的,还可以以其他格式表达存储数据信息,本申请对此不加以限定。It should be noted that the format of the stored data information involved in the above example is only an example, and the stored data information may also be expressed in other formats, which is not limited in this application.

代理查询服务器对存储数据信息进行注册得到注册信息,并为对应的数据源配置数据查询接口。示例性的,代理查询服务器基于数据源Hive以及数据源HDFS的存储数据信息进行注册,并为数据源Hive和数据源HDFS分别配置Hive数据查询接口和HDFS数据查询接口。The proxy query server registers the stored data information to obtain the registration information, and configures a data query interface for the corresponding data source. Exemplarily, the proxy query server performs registration based on the data source Hive and storage data information of the data source HDFS, and configures a Hive data query interface and an HDFS data query interface for the data source Hive and the data source HDFS, respectively.

步骤220,基于目标数据源标识,定位目标数据所在的目标数据源,代理查询服务器中存储有至少两个数据源对应的注册信息,注册信息用于实现数据源的语言格式与通用语言格式之间的转换。Step 220, based on the target data source identifier, locate the target data source where the target data is located, the proxy query server stores registration information corresponding to at least two data sources, and the registration information is used to realize the data source between the language format and the common language format. conversion.

代理查询服务器接收查询请求后,对该查询请求进行解析,得到查询请求内包括的目标数据源标识以及查询关键字;基于该目标数据源标识,确定目标数据源标识对应的目标数据源路径,目标数据源路径为目标数据源的存储定位路径。After receiving the query request, the proxy query server parses the query request to obtain the target data source identifier and query keyword included in the query request; The data source path is the storage location path of the target data source.

在接收查询请求之前,至少两个数据源将自身产生的存储数据信息向代理查询服务器以注册信息表的形式进行注册;故,代理服务器中包括注册信息表,代理查询服务器获取目标数据源标识后,基于查询请求内的目标数据源标识在注册信息表内查询对应的目标数据源。Before receiving the query request, at least two data sources register the stored data information generated by themselves with the proxy query server in the form of a registration information table; therefore, the proxy server includes a registration information table, and after the proxy query server obtains the target data source identifier , and query the corresponding target data source in the registration information table based on the target data source identifier in the query request.

也即,代理查询服务器中包括注册信息表,而注册过程中,将存储数据信息注册至注册信息表中,得到与至少两个数据源分别对应的注册信息;或者,将至少两个数据源对应的存储数据信息分别注册至对应的注册信息表中,得到至少两个数据源分别对应的注册信息表,其中,第i个注册信息表中包括第i个数据源对应的注册信息,i为正整数。That is, the proxy query server includes a registration information table, and during the registration process, the stored data information is registered in the registration information table to obtain registration information corresponding to at least two data sources respectively; or, at least two data sources are corresponding to The stored data information is registered in the corresponding registration information table respectively, and the corresponding registration information tables of at least two data sources are obtained, wherein the i-th registration information table includes the registration information corresponding to the i-th data source, and i is a positive Integer.

也即,注册信息表实现为一个包含整体数据源注册信息的表;或者,注册信息表实现为针对每个数据源分别独立的表。That is, the registration information table is implemented as a table containing the registration information of the overall data source; alternatively, the registration information table is implemented as a separate table for each data source.

在一些实施例中,数据源在向代理查询服务器进行注册时,代理查询服务器对数据源对应的存储定位路径对应存储在注册信息表中,从而代理查询服务器在从查询请求中获取目标数据源标识后,能够基于目标数据源标识从注册信息表中确定与目标数据源对应的存储定位路径,也即,实现定位目标数据所在的目标数据源。In some embodiments, when the data source registers with the proxy query server, the proxy query server stores the corresponding storage location path of the data source in the registration information table, so that the proxy query server obtains the target data source identifier from the query request Then, the storage location path corresponding to the target data source can be determined from the registration information table based on the target data source identifier, that is, the target data source where the target data is located can be located.

示意性的,注册信息表中包括数据源对应的:数据源标识、数据源结构、数据源接口信息、数据源存储定位路径、数据源语言格式等。Illustratively, the registration information table includes: data source identifier, data source structure, data source interface information, data source storage location path, data source language format, etc. corresponding to the data source.

步骤230,基于查询关键字和注册信息,从目标数据源中获取目标数据。Step 230: Acquire target data from the target data source based on the query keyword and the registration information.

代理查询服务器基于目标数据源标识确定目标数据所在的目标数据源后,基于查询关键字从目标数据源中获取对应的目标数据。After determining the target data source where the target data is located based on the target data source identifier, the proxy query server obtains the corresponding target data from the target data source based on the query keyword.

在一些实施例中,目标数据源中以键值对(key-value)的形式存储数据,也即,基于关键字(key)能够从目标数据源中确定与key对应的数据(value)。故,本申请实施例中,代理查询服务器在从查询请求中确定出查询关键字后,通过目标数据源对应的数据查询接口,以目标数据源对应的语言格式,从目标数据源中查询得到与关键字对应的目标数据。In some embodiments, the target data source stores data in the form of key-value pairs, that is, the data (value) corresponding to the key can be determined from the target data source based on the key (key). Therefore, in the embodiment of the present application, after determining the query keyword from the query request, the proxy query server obtains the query result from the target data source in the language format corresponding to the target data source through the data query interface corresponding to the target data source. The target data corresponding to the keyword.

综上所述,本实施例提供的数据查询方法,查询不同数据源内的数据信息之前,至少两个数据源将对应的注册信息注册至代理查询服务器中,代理查询服务器为至少两个数据源配置对应的数据查询接口;从而在代理查询服务器接收到查询请求时,能够基于其中的目标数据源标识和查询关键字在多个数据源中选择对应的数据源进行数据查询获取,减少了从不同数据源获取数据的时间,且减少了因查询过程中产生的导出转换文件带来的重复写入工作。To sum up, in the data query method provided by this embodiment, before querying data information in different data sources, at least two data sources register the corresponding registration information in the proxy query server, and the proxy query server is configured for at least two data sources Corresponding data query interface; thus, when the proxy query server receives a query request, it can select the corresponding data source from multiple data sources for data query and acquisition based on the target data source identifier and query keyword, which reduces the need for data query from different data sources. The time for the source to obtain data, and the repeated writing work caused by the export conversion file generated during the query process is reduced.

图3是本申请另一个示例性实施例提供的数据查询方法的流程图,以该方法应用于代理查询服务器中为例进行说明,如图3所示,该方法包括:Fig. 3 is a flow chart of a data query method provided by another exemplary embodiment of the present application. The method is applied to a proxy query server as an example for description. As shown in Fig. 3, the method includes:

步骤310,接收查询请求,查询请求以通用语言格式指示目标数据的数据信息,数据信息中包括目标数据所在数据源的目标数据源标识以及目标数据的查询关键字。Step 310: Receive a query request. The query request indicates data information of the target data in a common language format. The data information includes a target data source identifier of the data source where the target data is located and a query keyword of the target data.

接收查询请求的过程在上述步骤210中已进行了说明,此处不再赘述。The process of receiving the query request has been described in the above step 210, and will not be repeated here.

步骤320,解析查询请求,得到查询请求中的目标数据源标识和目标数据的查询关键字。Step 320: Parse the query request to obtain the target data source identifier and the query keyword of the target data in the query request.

在一些实施例中,代理查询服务器通过通用语言格式对查询请求进行解析,从而从查询请求中获取目标数据源标识和查询关键字,以实现数据查询。而其中,目标数据源标识用于定位目标数据所存储的目标数据源,查询关键字用于定位目标数据在数据源中所对应的存储关键字key。In some embodiments, the proxy query server parses the query request in a common language format, so as to obtain the target data source identifier and the query keyword from the query request, so as to realize the data query. Wherein, the target data source identifier is used to locate the target data source where the target data is stored, and the query key is used to locate the storage keyword key corresponding to the target data in the data source.

而服务器中注册有多个数据源对应的注册信息,根据目标数据源标识和注册信息能够定位到目标数据源所在的存储定位路径(也即目标数据源的存储位置);根据查询关键字能够从目标数据源中定位目标数据的存储位置。The server has registration information corresponding to multiple data sources registered in the server. According to the target data source identifier and registration information, the storage location path where the target data source is located (that is, the storage location of the target data source) can be located; The storage location of the target data in the target data source.

其中,由于多个数据源所对应的存储结构、存储语言等存储方式存在不同,而该多个数据源在代理查询服务器中进行了注册,完成了基于注册信息的格式统一,从而能够由终端以统一的通用语言格式向代理服务器查询,代理服务器基于不同数据源对应的数据存储类型,向不同的数据源进行数据获取。Among them, due to the different storage methods such as storage structures and storage languages corresponding to multiple data sources, the multiple data sources have been registered in the proxy query server, and the format based on the registration information has been unified, so that the terminal can use the The unified common language format queries the proxy server, and the proxy server obtains data from different data sources based on the data storage types corresponding to different data sources.

也即,上述查询请求中涉及的目标数据源的标识可以是一个,也可以是多个。That is, the identifier of the target data source involved in the above query request may be one or multiple.

步骤330,基于目标数据源标识,确定目标数据源标识对应的目标数据源路径,目标数据源路径为目标数据源的存储定位路径。Step 330 , based on the target data source identifier, determine the target data source path corresponding to the target data source identifier, and the target data source path is the storage location path of the target data source.

目标数据源路径为目标数据源的存储定位路径,也即,目标数据源路径为目标数据的存储位置。The target data source path is the storage location path of the target data source, that is, the target data source path is the storage location of the target data.

步骤340,基于目标数据源标识,确定目标数据源标识对应的目标数据查询接口。Step 340 , based on the target data source identifier, determine the target data query interface corresponding to the target data source identifier.

代理查询服务器解析查询请求获取目标数据源后,确定目标数据源标识对应的目标数据查询接口,其中,数据查询接口为代理查询服务器向数据源配置的用于实现数据获取的接口。After the proxy query server parses the query request to obtain the target data source, it determines the target data query interface corresponding to the target data source identifier, wherein the data query interface is an interface configured by the proxy query server to the data source to realize data acquisition.

步骤350,基于查询关键字,通过目标数据查询接口从目标数据源路径上存储的目标数据源中,获取目标数据。Step 350 , based on the query keyword, obtain the target data from the target data source stored on the target data source path through the target data query interface.

在一些实施例中,在通过目标数据查询结构进行数据查询时,通过目标数据查询结构将查询关键字转换为目标数据源对应的查询语句,基于目标数据源路径向目标数据源发送查询语句,并接收目标数据源反馈的目标数据。In some embodiments, when performing data query through the target data query structure, the query keyword is converted into a query statement corresponding to the target data source through the target data query structure, and the query statement is sent to the target data source based on the target data source path, and Receive target data fed back by the target data source.

代理查询服务器根据查询请求内的查询关键字,通过目标数据查询接口从目标数据源中获取目标数据。示例性的,查询请求为Hive:20200101-20200103,该请求用于指示查询数据源Hive内2020年01月01日至2020年01月03日内的数据信息,代理查询服务器基于数据源标识Hive,确定数据源Hive的目标存储定位路径http://b.com,代理查询服务器通过Hive查询接口从路径http://b.com内获取2020年01月01日至2020年01月03日产生的数据信息。The proxy query server obtains the target data from the target data source through the target data query interface according to the query keyword in the query request. Exemplarily, the query request is Hive: 20200101-20200103, and the request is used to instruct to query the data information in the data source Hive from January 01, 2020 to January 03, 2020. The proxy query server determines the Hive based on the data source identifier. The target storage location path of the data source Hive is http://b.com. The proxy query server obtains the data generated from January 1, 2020 to January 3, 2020 from the path http://b.com through the Hive query interface. information.

代理查询服务器接收目标数据源返回的目标数据,将该目标数据反馈至发送查询请求的终端,或者,反馈至另一台终端,本申请对此不加以限定。The proxy query server receives the target data returned by the target data source, and feeds back the target data to the terminal that sent the query request, or feeds back the target data to another terminal, which is not limited in this application.

综上所述,本实施例提供的数据查询方法,查询不同数据源内的数据信息之前,至少两个数据源将对应的注册信息注册至代理查询服务器中,代理查询服务器为至少两个数据源配置对应的数据查询接口;从而在代理查询服务器接收到查询请求时,根据目标数据存储路径从对应的数据源的数据查询接口获取目标数据,避免在所有数据库内对该存储路径进行查询导致的查询时间过长,减少了获取目标数据所需的时间。To sum up, in the data query method provided by this embodiment, before querying data information in different data sources, at least two data sources register the corresponding registration information in the proxy query server, and the proxy query server is configured for at least two data sources The corresponding data query interface; thus, when the proxy query server receives a query request, it obtains the target data from the data query interface of the corresponding data source according to the target data storage path, avoiding the query time caused by querying the storage path in all databases. Too long, reducing the time required to obtain the target data.

图4是本申请另一个示例性实施例提供的数据查询方法的流程图,以该方法应用于代理查询服务器中为例进行说明,如图4所示,该方法包括:Fig. 4 is a flow chart of a data query method provided by another exemplary embodiment of the present application. The method is applied to a proxy query server as an example for description. As shown in Fig. 4 , the method includes:

步骤410,接收查询请求,查询请求中包括目标数据源标识、查询关键字以及计算要求。Step 410: Receive a query request, where the query request includes a target data source identifier, a query keyword, and a calculation requirement.

查询关键字用于查询数据源内的目标数据,该目标数据可以是数字、时间、图像、视频等可以进行存储的数据内容。The query keyword is used to query the target data in the data source, and the target data can be data content that can be stored, such as numbers, time, images, and videos.

计算要求用于指示对目标数据进行对应处理的要求,该计算要求可以包括数值计算、分类、统计、图像处理、视频处理/投影等可以对上述目标数据进行处理的要求。The calculation requirements are used to indicate the requirements for corresponding processing of the target data, and the calculation requirements may include numerical calculation, classification, statistics, image processing, video processing/projection and other requirements for processing the above target data.

步骤420,基于目标数据源标识,定位目标数据所在的目标数据源;并从目标数据源内获取目标数据。Step 420: Based on the target data source identifier, locate the target data source where the target data is located; and obtain the target data from the target data source.

该步骤过程与步骤220至步骤230过程相同,此处不再赘述。The process of this step is the same as the process of step 220 to step 230, and will not be repeated here.

步骤430,基于目标计算要求对目标数据进行计算处理,得到目标数据对应的查询结果。Step 430 , perform calculation processing on the target data based on the target calculation requirements, and obtain a query result corresponding to the target data.

可选的,代理查询服务器接收目标数据查询接口返回的目标数据,再次解析查询请求(该步骤也可以在步骤410内完成,本申请对此不加以限定),并获取查询请求内的计算要求,基于该计算要求,对目标数据进行对应的处理,得到查询结果,代理查询服务器将该查询接口反馈至终端,该终端可以是发起查询请求的终端也可以是其他终端。Optionally, the proxy query server receives the target data returned by the target data query interface, parses the query request again (this step can also be completed in step 410, which is not limited in this application), and obtains the calculation requirements in the query request, Based on the calculation requirement, the target data is processed correspondingly to obtain a query result, and the proxy query server feeds back the query interface to the terminal, which may be the terminal that initiated the query request or other terminals.

综上所述,本实施例提供的数据查询方法,查询不同数据源内的数据信息之前,至少两个数据源将对应的注册信息注册至代理查询服务器中,代理查询服务器为至少两个数据源配置对应的数据查询接口;从而在代理查询服务器接收到查询请求时,能够基于其中的目标数据源标识和查询关键字在多个数据源中选择对应的数据源进行数据查询获取,获取目标数据后,基于用户的计算要求对目标数据进行处理,减少了从不同数据源获取数据的时间,且减少了因查询过程中产生的导出转换文件带来的重复写入工作,有效的缩短了处理目标数据的运算速度。To sum up, in the data query method provided by this embodiment, before querying data information in different data sources, at least two data sources register the corresponding registration information in the proxy query server, and the proxy query server is configured for at least two data sources Corresponding data query interface; so that when the proxy query server receives a query request, it can select a corresponding data source from multiple data sources based on the target data source identifier and query keyword for data query and acquisition, and after acquiring the target data, The target data is processed based on the user's computing requirements, which reduces the time to obtain data from different data sources, and reduces the repetitive writing work caused by the export and conversion files generated in the query process, effectively shortening the processing time of the target data. calculating speed.

图5是本申请一个示例性实施例提供的交换资源的支付装置的结构框图,如图5所示,该装置包括:接收模块510、定位模块520以及获取模块530;FIG. 5 is a structural block diagram of a payment device for exchanging resources provided by an exemplary embodiment of the present application. As shown in FIG. 5 , the device includes: a receiving module 510, a positioning module 520, and an obtaining module 530;

接收模块510,用于接收查询请求,所述查询请求以通用语言格式指示目标数据的数据信息,所述数据信息中包括所述目标数据所在数据源的目标数据源标识以及所述目标数据的查询关键字;The receiving module 510 is configured to receive a query request, where the query request indicates the data information of the target data in a common language format, and the data information includes the target data source identifier of the data source where the target data is located and the query of the target data keyword;

定位模块520,用于基于所述目标数据源标识,定位所述目标数据所在的目标数据源,所述代理查询服务器中存储有至少两个数据源对应的注册信息,所述注册信息用于实现所述数据源的语言格式与所述通用语言格式之间的转换;The positioning module 520 is configured to locate the target data source where the target data is located based on the target data source identifier, the proxy query server stores registration information corresponding to at least two data sources, and the registration information is used to realize conversion between the language format of the data source and the common language format;

获取模块530,用于基于所述查询关键字和所述注册信息,从所述目标数据源中获取所述目标数据。The obtaining module 530 is configured to obtain the target data from the target data source based on the query keyword and the registration information.

在一个可选的实施例中,如图6所示,所述装置,还包括:In an optional embodiment, as shown in FIG. 6 , the apparatus further includes:

所述接收模块510,还用于接收所述至少两个数据源以所述通用语言格式上传的存储数据信息,所述存储数据信息中包括所述至少两个数据源的数据源标识和数据源数据信息和数据源路径信息,所述数据源标识用于唯一指示所述数据源,所述数据源数据信息用于指示数据源的数据内容;The receiving module 510 is further configured to receive stored data information uploaded by the at least two data sources in the common language format, where the stored data information includes data source identifiers and data sources of the at least two data sources. data information and data source path information, the data source identifier is used to uniquely indicate the data source, and the data source data information is used to indicate the data content of the data source;

注册模块540,用于对所述存储数据信息进行注册得到所述注册信息,并为所述至少两个数据源配置数据查询接口。The registration module 540 is configured to register the stored data information to obtain the registration information, and configure a data query interface for the at least two data sources.

在一个可选的实施例中,如图6所示,所述注册模块540还包括:第一注册单元5410以及第二注册单元5420;In an optional embodiment, as shown in FIG. 6 , the registration module 540 further includes: a first registration unit 5410 and a second registration unit 5420;

所述第一注册单元5410,用于将所述存储数据信息注册至所述注册信息表中,得到与所述至少两个数据源分别对应的注册信息;The first registration unit 5410 is configured to register the stored data information in the registration information table to obtain registration information corresponding to the at least two data sources respectively;

所述第二注册单元5420,用于将所述至少两个数据源对应的存储数据信息分别注册至对应的注册信息表中,得到与所述至少两个数据源分别对应的注册信息表,第i个注册信息表中包括第i个数据源对应的注册信息,i为正整数。The second registration unit 5420 is configured to register the stored data information corresponding to the at least two data sources into the corresponding registration information table, respectively, to obtain the registration information table corresponding to the at least two data sources, the first The i registration information tables include registration information corresponding to the i-th data source, where i is a positive integer.

在一个可选的实施例中,如图6所示,所述装置,还包括:In an optional embodiment, as shown in FIG. 6 , the apparatus further includes:

解析模块550,用于解析所述查询请求,得到所述查询请求中的所述目标数据源标识;A parsing module 550, configured to parse the query request to obtain the target data source identifier in the query request;

所述定位模块520,还用于基于所述目标数据源标识,确定所述目标数据源标识对应的目标数据源路径,所述目标数据源路径为所述目标数据源的存储定位路径。The location module 520 is further configured to determine, based on the target data source identifier, a target data source path corresponding to the target data source identifier, where the target data source path is a storage location path of the target data source.

在一个可选的实施例中,如图6所示,所述装置,还包括:In an optional embodiment, as shown in FIG. 6 , the apparatus further includes:

所述的定位模块520,还用于基于所述目标数据源标识,确定所述目标数据源标识对应的目标数据查询接口;The positioning module 520 is further configured to determine a target data query interface corresponding to the target data source identifier based on the target data source identifier;

所述获取模块530,还用于基于所述查询关键字,通过所述目标数据查询接口从所述目标数据源路径上存储的所述目标数据源中,获取所述目标数据。The obtaining module 530 is further configured to obtain the target data from the target data source stored on the target data source path through the target data query interface based on the query keyword.

在一个可选的实施例中,如图6所示,所述获取模块530,还用于通过所述目标数据查询接口将所述查询关键字转换为与所述目标数据源对应的查询语句;基于所述目标数据源路径向所述目标数据源发送所述查询语句;接收所述目标数据源反馈的所述目标数据。In an optional embodiment, as shown in FIG. 6 , the obtaining module 530 is further configured to convert the query keyword into a query statement corresponding to the target data source through the target data query interface; Send the query statement to the target data source based on the target data source path; and receive the target data fed back by the target data source.

在一个可选的实施例中,如图6所示,所述装置,还包括:In an optional embodiment, as shown in FIG. 6 , the apparatus further includes:

发送模块560,用于基于所述目标计算要求对所述目标数据进行计算处理,得到所述目标数据对应的查询结果;向数据处理终端发送所述查询结果。The sending module 560 is configured to perform calculation processing on the target data based on the target calculation requirements to obtain a query result corresponding to the target data; and send the query result to a data processing terminal.

综上所述,本实施例提供的数据查询装置,查询不同数据源内的数据信息之前,至少两个数据源将自身产生的数据主动注册至代理查询服务器中,代理查询服务器为至少两个数据源配置对应的数据查询接口;并基于查询请求中的目标数据源标识和查询关键字,代理查询服务器通过目标数据查询接口在目标数据源内获取对应的目标数据。在一定程度上减少了查询不同数据源数据的时间,在一定程度上避免了因查询过程中产生的导出转换文件带来的重复写入工作。To sum up, in the data query device provided in this embodiment, before querying data information in different data sources, at least two data sources actively register the data generated by themselves into the proxy query server, and the proxy query server is at least two data sources. Configure the corresponding data query interface; and based on the target data source identifier and query keyword in the query request, the proxy query server obtains the corresponding target data in the target data source through the target data query interface. To a certain extent, the time for querying data from different data sources is reduced, and to a certain extent, the repeated writing work caused by the export and conversion files generated during the query process is avoided.

需要说明的是:上述实施例提供的数据查询装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的数据查询装置与数据查询方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the data query device provided by the above embodiment is only illustrated by the division of the above functional modules. In practical applications, the above functions can be allocated to different functional modules according to needs. It is divided into different functional modules to complete all or part of the functions described above. In addition, the data query device and the data query method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.

图7示出了本申请一个示例性实施例提供的代理查询服务器的结构示意图。该代理查询服务器可以是图1示出的代理查询服务器。具体来讲:FIG. 7 shows a schematic structural diagram of a proxy query server provided by an exemplary embodiment of the present application. The proxy query server may be the proxy query server shown in FIG. 1 . Specifically:

代理查询服务器120包括中央处理单元(CPU,Central Processing Unit)701、包括随机存取存储器(RAM,Random Access Memory)702和只读存储器(ROM,Read OnlyMemory)703的系统存储器704,以及连接系统存储器704和中央处理单元701的系统总线705。代理查询服务器120还包括帮助计算机内的各个器件之间传输信息的基本输入/输出系统(I/O系统,Input Output System)706,和用于存储操作系统713、应用程序714和其他程序模块715的大容量存储设备707。The proxy query server 120 includes a central processing unit (CPU, Central Processing Unit) 701, a system memory 704 including a random access memory (RAM, Random Access Memory) 702 and a read only memory (ROM, Read Only Memory) 703, and is connected to the system memory 704 and the system bus 705 of the central processing unit 701 . The proxy query server 120 also includes a basic input/output system (I/O system, Input Output System) 706 that helps to transfer information between various devices in the computer, and is used to store the operating system 713, application programs 714 and other program modules 715 The mass storage device 707.

基本输入/输出系统706包括有用于显示信息的显示器708和用于用户输入信息的诸如鼠标、键盘之类的输入设备709。其中显示器708和输入设备709都通过连接到系统总线705的输入输出控制器710连接到中央处理单元701。基本输入/输出系统706还可以包括输入输出控制器710以用于接收和处理来自键盘、鼠标、或电子触控笔等多个其他设备的输入。类似地,输入输出控制器710还提供输出到显示屏、打印机或其他类型的输出设备。The basic input/output system 706 includes a display 708 for displaying information and input devices 709 such as a mouse, keyboard, etc., for user input of information. Both the display 708 and the input device 709 are connected to the central processing unit 701 through an input output controller 710 connected to the system bus 705 . The basic input/output system 706 may also include an input output controller 710 for receiving and processing input from various other devices such as a keyboard, mouse, or electronic stylus. Similarly, input output controller 710 also provides output to a display screen, printer, or other type of output device.

大容量存储设备707通过连接到系统总线705的大容量存储控制器(未示出)连接到中央处理单元701。大容量存储设备707及其相关联的计算机可读介质为代理查询服务器120提供非易失性存储。也就是说,大容量存储设备707可以包括诸如硬盘或者紧凑型光盘只读存储器(CD-ROM,Compact Disc Read Only Memory)驱动器之类的计算机可读介质(未示出)。Mass storage device 707 is connected to central processing unit 701 through a mass storage controller (not shown) connected to system bus 705 . Mass storage device 707 and its associated computer-readable media provide non-volatile storage for proxy query server 120 . That is, the mass storage device 707 may include a computer-readable medium (not shown) such as a hard disk or a Compact Disc Read Only Memory (CD-ROM) drive.

不失一般性,计算机可读介质可以包括计算机存储介质和通信介质。计算机存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其他数据等信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储介质包括RAM、ROM、可擦除可编程只读存储器(EPROM,Erasable Programmable Read Only Memory)、带电可擦可编程只读存储器(EEPROM,Electrically Erasable Programmable Read OnlyMemory)、闪存或其他固态存储设备,CD-ROM、数字通用光盘(DVD,Digital VersatileDisc)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。当然,本领域技术人员可知计算机存储介质不局限于上述几种。上述的系统存储器704和大容量存储设备707可以统称为存储器。Without loss of generality, computer-readable media can include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, Erasable Programmable Read Only Memory (EPROM, Erasable Programmable Read Only Memory), Electrically Erasable Programmable Read Only Memory (EEPROM, Electrically Erasable Programmable Read Only Memory), flash memory, or other solid-state storage devices , CD-ROM, Digital Versatile Disc (DVD, Digital Versatile Disc) or other optical storage, cassette, magnetic tape, magnetic disk storage or other magnetic storage device. Of course, those skilled in the art know that the computer storage medium is not limited to the above-mentioned types. The system memory 704 and the mass storage device 707 described above may be collectively referred to as memory.

根据本申请的各种实施例,代理查询服务器120还可以通过诸如因特网等网络连接到网络上的远程计算机运行。也即代理查询服务器120可以通过连接在系统总线705上的网络接口单元711连接到网络712,或者说,也可以使用网络接口单元711来连接到其他类型的网络或远程计算机系统(未示出)。According to various embodiments of the present application, the proxy query server 120 may also run on a remote computer connected to a network through a network such as the Internet. That is, the proxy query server 120 can be connected to the network 712 through the network interface unit 711 connected to the system bus 705, or can also use the network interface unit 711 to connect to other types of networks or remote computer systems (not shown) .

上述存储器还包括一个或者一个以上的程序,一个或者一个以上程序存储于存储器中,被配置由CPU执行。The above-mentioned memory also includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU.

本申请的实施例还提供了一种计算机设备,该计算手机设备包括处理器和存储器,该存储器中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述各方法实施例提供的数据查询方法。Embodiments of the present application also provide a computer device, the computing mobile phone device includes a processor and a memory, and the memory stores at least one instruction, at least one program, code set or instruction set, at least one instruction, at least one program, The code set or instruction set is loaded and executed by the processor to implement the data query method provided by the above method embodiments.

本申请的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行,以实现上述各方法实施例提供的数据查询方法。Embodiments of the present application also provide a computer-readable storage medium, on which is stored at least one instruction, at least one piece of program, code set or instruction set, at least one instruction, at least one piece of program, code set or The instruction set is loaded and executed by the processor to implement the data query method provided by the above method embodiments.

可选地,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、固态硬盘(SSD,Solid State Drives)或光盘等。其中,随机存取记忆体可以包括电阻式随机存取记忆体(ReRAM,Resistance RandomAccess Memory)和动态随机存取存储器(DRAM,Dynamic Random Access Memory)。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。Optionally, the computer-readable storage medium may include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), Solid State Drives (SSD, Solid State Drives), or an optical disc. The random access memory may include a resistive random access memory (ReRAM, Resistance Random Access Memory) and a dynamic random access memory (DRAM, Dynamic Random Access Memory). The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.

以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only optional embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (10)

1.一种数据查询方法,其特征在于,应用于服务器中的代理查询服务器中,所述方法包括:1. a data query method, is characterized in that, is applied in the proxy query server in the server, and described method comprises: 接收查询请求,所述查询请求以通用语言格式指示目标数据的数据信息,所述数据信息中包括所述目标数据所在数据源的目标数据源标识以及所述目标数据的查询关键字;receiving a query request, where the query request indicates data information of the target data in a common language format, and the data information includes a target data source identifier of a data source where the target data is located and a query keyword of the target data; 基于所述目标数据源标识,定位所述目标数据所在的目标数据源,所述代理查询服务器中存储有至少两个数据源对应的注册信息,所述注册信息用于实现所述数据源的语言格式与所述通用语言格式之间的转换;Based on the target data source identifier, locate the target data source where the target data is located, the proxy query server stores registration information corresponding to at least two data sources, and the registration information is used to implement the language of the data sources conversion between formats and said common language formats; 基于所述查询关键字和所述注册信息,从所述目标数据源中获取所述目标数据。The target data is acquired from the target data source based on the query keyword and the registration information. 2.根据权利要求1所述的方法,其特征在于,所述基于所述目标数据源标识,定位所述目标数据所在的目标数据源之前,还包括:2. The method according to claim 1, wherein, before locating the target data source where the target data is located based on the target data source identifier, the method further comprises: 接收所述至少两个数据源以所述通用语言格式上传的存储数据信息,所述存储数据信息中包括所述至少两个数据源的数据源标识和数据源数据信息和数据源路径信息,所述数据源标识用于唯一指示所述数据源,所述数据源数据信息用于指示数据源的数据内容;Receive stored data information uploaded by the at least two data sources in the common language format, where the stored data information includes data source identifiers, data source data information, and data source path information of the at least two data sources, and The data source identifier is used to uniquely indicate the data source, and the data source data information is used to indicate the data content of the data source; 对所述存储数据信息进行注册得到所述注册信息,并为所述至少两个数据源配置数据查询接口。The registration information is obtained by registering the stored data information, and a data query interface is configured for the at least two data sources. 3.根据权利要求1所述的方法,其特征在于,所述代理查询服务器中包括注册信息表;3. The method according to claim 1, wherein the proxy query server comprises a registration information table; 所述对所述存储数据信息进行注册得到所述注册信息,包括:The registration of the stored data information to obtain the registration information includes: 将所述存储数据信息注册至所述注册信息表中,得到与所述至少两个数据源分别对应的注册信息;registering the stored data information in the registration information table to obtain registration information corresponding to the at least two data sources respectively; 或者,or, 将所述至少两个数据源对应的存储数据信息分别注册至对应的注册信息表中,得到与所述至少两个数据源分别对应的注册信息表,第i个注册信息表中包括第i个数据源对应的注册信息,i为正整数。The stored data information corresponding to the at least two data sources is respectively registered in the corresponding registration information table, and the registration information table corresponding to the at least two data sources is obtained, and the i-th registration information table includes the i-th registration information table. The registration information corresponding to the data source, i is a positive integer. 4.根据权利要求1至3任一所述的方法,其特征在于,所述基于所述目标数据源标识,定位所述目标数据所在的目标数据源,包括:4. The method according to any one of claims 1 to 3, wherein the locating the target data source where the target data is located based on the target data source identifier comprises: 解析所述查询请求,得到所述查询请求中的所述目标数据源标识;Parsing the query request to obtain the target data source identifier in the query request; 基于所述目标数据源标识,确定所述目标数据源标识对应的目标数据源路径,所述目标数据源路径为所述目标数据源的存储定位路径。Based on the target data source identifier, a target data source path corresponding to the target data source identifier is determined, and the target data source path is a storage location path of the target data source. 5.根据权利要求4所述的方法,其特征在于,所述基于所述查询关键字和所述注册信息,从所述目标数据源中获取所述目标数据,包括:5. The method according to claim 4, wherein the obtaining the target data from the target data source based on the query keyword and the registration information comprises: 基于所述目标数据源标识,确定所述目标数据源标识对应的目标数据查询接口;Determine, based on the target data source identifier, a target data query interface corresponding to the target data source identifier; 基于所述查询关键字,通过所述目标数据查询接口从所述目标数据源路径上存储的所述目标数据源中,获取所述目标数据。Based on the query keyword, the target data is acquired from the target data source stored on the target data source path through the target data query interface. 6.根据权利要求5所述的方法,其特征在于,所述基于所述查询关键字,通过所述目标数据查询接口从所述目标数据源路径上存储的所述目标数据源中,获取所述目标数据,包括:6 . The method according to claim 5 , wherein, based on the query keyword, the target data source is obtained from the target data source stored on the target data source path through the target data query interface. 7 . target data, including: 通过所述目标数据查询接口将所述查询关键字转换为与所述目标数据源对应的查询语句;Convert the query keyword into a query statement corresponding to the target data source through the target data query interface; 基于所述目标数据源路径向所述目标数据源发送所述查询语句;Send the query statement to the target data source based on the target data source path; 接收所述目标数据源反馈的所述目标数据。The target data fed back by the target data source is received. 7.根据权利要求5所述的方法,其特征在于,所述查询请求中还包括目标计算要求;7. The method according to claim 5, wherein the query request further comprises target computing requirements; 所述从所述目标数据源中获取所述目标数据之后,还包括:After obtaining the target data from the target data source, the method further includes: 基于所述目标计算要求对所述目标数据进行计算处理,得到所述目标数据对应的查询结果;Calculate and process the target data based on the target calculation requirements to obtain a query result corresponding to the target data; 向数据处理终端发送所述查询结果。Send the query result to the data processing terminal. 8.一种数据查询装置,其特征在于,所述装置包括:8. A data query device, wherein the device comprises: 接收模块,用于接收查询请求,所述查询请求以通用语言格式指示目标数据的数据信息,所述数据信息中包括所述目标数据所在数据源的目标数据源标识以及所述目标数据的查询关键字;A receiving module, configured to receive a query request, where the query request indicates data information of target data in a common language format, and the data information includes the target data source identifier of the data source where the target data is located and the query key of the target data Character; 定位模块,用于基于所述目标数据源标识,定位所述目标数据所在的目标数据源,所述代理查询服务器中存储有至少两个数据源对应的注册信息,所述注册信息用于实现所述数据源的语言格式与所述通用语言格式之间的转换;A positioning module, configured to locate the target data source where the target data is located based on the target data source identifier, the proxy query server stores registration information corresponding to at least two data sources, and the registration information is used to realize all conversion between the language format of the data source and the common language format; 获取模块,用于基于所述查询关键字和所述注册信息,从所述目标数据源中获取所述目标数据。an obtaining module, configured to obtain the target data from the target data source based on the query keyword and the registration information. 9.一种计算机设备,其特征在于,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一段程序,所述至少一段程序由所述处理器加载并执行以实现如权利要求1至7任一所述的数据查询方法。9. A computer device, characterized in that the computer device comprises a processor and a memory, and the memory stores at least a section of a program, the at least a section of the program is loaded and executed by the processor to implement the method as claimed in claim 1 Any one of the data query methods described in 7. 10.一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一段程序,所述至少一段程序由处理器加载并执行以实现如权利要求1至7任一所述的数据查询方法。10. A computer-readable storage medium, wherein the storage medium stores at least a piece of program, and the at least one piece of program is loaded and executed by a processor to realize the data according to any one of claims 1 to 7 query method.
CN202210553809.1A 2022-05-20 2022-05-20 Data query method, device, equipment and readable storage medium Pending CN114896279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210553809.1A CN114896279A (en) 2022-05-20 2022-05-20 Data query method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210553809.1A CN114896279A (en) 2022-05-20 2022-05-20 Data query method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114896279A true CN114896279A (en) 2022-08-12

Family

ID=82723627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210553809.1A Pending CN114896279A (en) 2022-05-20 2022-05-20 Data query method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114896279A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650773A (en) * 2020-12-24 2021-04-13 北京奇艺世纪科技有限公司 Data query method and device, electronic equipment and storage medium
CN112671843A (en) * 2020-12-08 2021-04-16 车智互联(北京)科技有限公司 Data request method, system and computing device
CN114490630A (en) * 2017-04-25 2022-05-13 华为技术有限公司 Query processing method, data source registration method and query engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490630A (en) * 2017-04-25 2022-05-13 华为技术有限公司 Query processing method, data source registration method and query engine
CN112671843A (en) * 2020-12-08 2021-04-16 车智互联(北京)科技有限公司 Data request method, system and computing device
CN112650773A (en) * 2020-12-24 2021-04-13 北京奇艺世纪科技有限公司 Data query method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11494395B2 (en) Creating dashboards for viewing data in a data storage system based on natural language requests
CN112100092B (en) Information caching method, device, equipment and medium
US10901811B2 (en) Creating alerts associated with a data storage system based on natural language requests
CN110362630B (en) Data management method, device, equipment and computer-readable storage medium
CN111723161A (en) A data processing method, device and equipment
CN113761016A (en) Data query method, device, equipment and storage medium
US10585678B2 (en) Insertion of custom activities in an orchestrated application suite
CN105930354B (en) Storage model conversion method and device
CN115293685A (en) Logistics order state tracking method, device, equipment and storage medium
CN113609168B (en) Data export method, device, terminal and readable storage medium
CN111651531B (en) Data importing method, device, equipment and computer storage medium
CN112783842B (en) Log collection method and device
CN114896279A (en) Data query method, device, equipment and readable storage medium
CN112231292B (en) File processing method, device, storage medium and computer equipment
CN104717091B (en) Server quality verification method and system
CN109522211B (en) Interface parameter transmission method and device, electronic equipment and storage medium
CN111488386A (en) Data query method and device
CN111309932B (en) Comment data query method, comment data query device, comment data query equipment and storage medium
CN109543079B (en) Data query method and device, computing equipment and storage medium
CN114840372B (en) Interface testing method, device, electronic device and computer readable storage medium
CN114741324B (en) Block chain stability testing method and device, electronic equipment and storage medium
US20190034555A1 (en) Translating a natural language request to a domain specific language request based on multiple interpretation algorithms
CN118689880B (en) Industrial Internet of things data storage optimization method, system and equipment
CN110908636A (en) Interface simulation method and device for automatically providing interface service
CN114741323B (en) Block chain performance testing method and device, electronic equipment and storage medium

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