WO2021189829A1 - 数据查询方法、装置、电子设备及存储介质 - Google Patents

数据查询方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2021189829A1
WO2021189829A1 PCT/CN2020/122112 CN2020122112W WO2021189829A1 WO 2021189829 A1 WO2021189829 A1 WO 2021189829A1 CN 2020122112 W CN2020122112 W CN 2020122112W WO 2021189829 A1 WO2021189829 A1 WO 2021189829A1
Authority
WO
WIPO (PCT)
Prior art keywords
query
data
business scenario
association
model
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.)
Ceased
Application number
PCT/CN2020/122112
Other languages
English (en)
French (fr)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2021189829A1 publication Critical patent/WO2021189829A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/242Query formulation
    • G06F16/2433Query languages
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/2452Query translation
    • G06F16/24522Translation of natural language queries to structured queries
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application relates to data processing technology, and in particular to a data query method, device, electronic equipment, and computer-readable storage medium.
  • the inventor realizes that the current query process of the data in the reported information has the following defects: 1. For each adjustment, the business personnel must make new version adjustments and develop new codes in the data query, which is inefficient. 2. When the entire version is adjusted and the code is updated, data query will generate a large amount of code, causing a large amount of storage and computing resources to occupy, and the flexibility is not high.
  • a data query method including:
  • the query field and the associated condition are spliced to obtain complete query information, and the complete query information is used to query the reported data from the information source of the business scenario.
  • a data query device includes:
  • the business determination module is configured to obtain a task data set and a model table set, determine a corresponding business scenario according to the task data set and model table set, and determine a query information segment to be reported according to the business scenario;
  • the data mapping module is used to obtain the model table corresponding to the business scenario in the model table set, map the model table and the query information segment by using a query statement, and splice the query field to obtain the query field, wherein the query field is Including query commands;
  • the main table determining module is configured to determine the data main table and the data service table in the business scenario according to the query field;
  • the table association module is used to associate the data master table and the data service table according to the query command to obtain the association conditions, and configure them in the database;
  • the information splicing module is used to splice the query fields and the associated conditions to obtain complete query information, and use the complete query information to query the reported data from the information source of the business scenario.
  • An electronic device which includes:
  • Memory storing at least one instruction
  • the processor executes the instructions stored in the memory to implement the following steps:
  • the query field and the associated condition are spliced to obtain complete query information, and the complete query information is used to query the reported data from the information source of the business scenario.
  • a computer-readable storage medium storing at least one instruction, and the at least one instruction is executed by a processor in an electronic device to implement the following steps:
  • the query field and the associated condition are spliced to obtain complete query information, and the complete query information is used to query the reported data from the information source of the business scenario.
  • FIG. 1 is a schematic flowchart of a data query method provided by an embodiment of this application
  • Figure 2 is a schematic diagram of a detailed implementation process of one of the steps in Figure 1;
  • Figure 3 is a schematic diagram of a detailed implementation process of another step in Figure 1;
  • FIG. 4 is a schematic diagram of query field mapping in an embodiment of this application.
  • Fig. 5 is a schematic diagram of a detailed implementation process of another step in Fig. 1;
  • Fig. 6 is a schematic diagram of a master chart data table and a data service table in an embodiment of the application
  • FIG. 7 is a schematic diagram of a detailed implementation process of another step in FIG. 1;
  • FIG. 8 is a schematic diagram of the relationship between the main data table and the data service table in the database in an embodiment of the application;
  • Figure 9 is the complete query information of the personal information segment in the embodiment of the application.
  • Figure 10 is a schematic diagram of a detailed implementation process of another step in Figure 1
  • FIG. 11 is a functional module diagram of a data query device provided by an embodiment of this application.
  • FIG. 12 is a schematic structural diagram of an electronic device that implements the data query method provided by an embodiment of the application.
  • the execution subject of the data query method provided in the embodiments of the present application includes, but is not limited to, at least one of the electronic devices that can be configured to execute the method provided in the embodiments of the present application, such as a server and a terminal.
  • the data query method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform.
  • the server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
  • the data query method includes:
  • the task data set refers to the reported products uploaded by users, such as financial products such as Tianjin Guarantee and Hunan Small Loan.
  • the business scenario refers to a business scenario corresponding to the reported product, such as a loan scenario and a loan scenario.
  • the model table set refers to a set of template tables provided by a regulatory authority for determining the reported product and business scenario.
  • the model table set includes: report body table (rrs_report_main_body): used to confirm the report body; report product configuration table (rrs_body_product_config): used to determine the main reported product configuration relationship; message template table (rrs_paper_template): used to confirm the report Message format; message node table (rrs_paper_node): used to confirm the configuration of the reported message node; configuration field table (rrs_choice_field): used to determine the source of the value field; child node field configuration table (rrs_node_field_set): used to confirm the reported node Field settings; business scene table (rrs_business_scene): used for business scene settings, mainly to configure the where conditions of the sql query main table of the scene data to determine the scope of the data; scene data segment query script association mode mapping table (rrs_scene_nodequery_set): used Confirm the association relationship between the main table and other business tables in each scene (each information segment determines
  • the S1 specifically includes:
  • S12 Match the scene report node mapping table in the model table set according to the business scene, and obtain the query information segment.
  • the extracting keywords in the task data set by using a preset sentence processing algorithm includes:
  • One or more keywords are selected from the word segmentation result.
  • the preset sentence processing algorithm in the embodiment of the present application may be the currently published TextRank, a semantic-based keyword extraction algorithm, and the like. For example, if the user uploads Tianjin guarantee and extracts the keyword "guarantee", the business scenario corresponding to the matching business scenario table is a lending scenario, and it is determined from the scenario report node mapping table that the query information segment that needs to be uploaded for the lending scenario includes personal information Segment, business information segment, status information segment.
  • the query statement may use a SQL statement, which allows the user to concisely declare the required business logic.
  • SQL is a prescriptive language, and only needs to be clearly expressed, without knowing the specific method; SQL It can be optimized, built-in multiple query optimizers, multiple query optimizers can translate the optimal execution plan for SQL.
  • the S2 specifically includes:
  • the configuration page refers to a page used for field configuration in the overall supervision and reporting process.
  • the query field includes query commands, such as SQL commands.
  • the SQL command can be used to dynamically support configuration scenarios. Once the regulatory authority updates and adjusts the format of the reported fields, the reported scenarios, and the corresponding information due to the gradual increase in reporting subjects and reported products, only the SQL statements need to be adjusted, and different ones can be generated arbitrarily Scenes and messages with different information segments have high flexibility.
  • the S3 specifically includes:
  • the data table contains all query fields, it is determined to be the data master table, and if it contains part of the query fields, it is determined to be the data service table.
  • the data master table refers to the most critical data table corresponding to different business scenarios.
  • the data service table refers to the service sub-tables related to the data master table in different business scenarios according to the regulations of the supervisory department. In the embodiment of this application, no matter the loan contract, user information, user's credit information or guarantee information, etc., all correspond to the same IOU, so there is only a unique data master table for each scenario.
  • the business scenario is a loan out scenario
  • the query fields include the corresponding query fields of the personal information section, the business information section, and the status information section.
  • the data master table obtained by the query field is the loan contract table (rrs_loan_contract, alias is Icot), and the data service table includes the guarantee contract table (rrs_guarantee_contract, alias is guar) and so on.
  • the associating the data master table and the data service table according to the query command to obtain the association condition specifically includes:
  • the associating the data master table and the data service table according to the alias to obtain the association condition specifically includes:
  • the corresponding association function is obtained by using the alias association relationship, and the data master table and the data service table are associated through the association function to obtain the association condition.
  • FIG. 8 shows the relationship between the main data table and the data service table in the database.
  • Associated function lcot.cust_id cust.cust_id for internal connection.
  • an alias is used for association, which can decouple the configuration from the actual database table, greatly enhance the flexibility of the model, reduce the difficulty of data collection and modification, and improve maintainability.
  • FIG. 9 it is an example of the complete query information that has been spliced.
  • the figure 9 includes the query field of the personal information segment, the main table of the associated data of the personal information segment, and the data service table. Through the complete query information, complete reported data can be queried.
  • the method further includes:
  • the format object is converted into the final uploaded data in the unified format by using the format conversion function.
  • the database may be jQuery, which is a concise and fast JavaScript library that can be used to simplify event processing, and the purpose is to make it easier for developers to use JavaScript on the website.
  • the final upload data refers to the data that is finally uploaded to the regulatory authority.
  • the format of the final upload data may be JSON format.
  • the JSON JavaScript Object Notation, JS Object Notation
  • JSON JavaScript Object Notation, JS Object Notation
  • JS Object Notation is a lightweight data exchange format, the format is relatively simple, easy to read and write, at the same time the format is compressed, occupies a small bandwidth, easy to transfer between data. By converting to JSON format, the occupation of computer storage and computing resources can be reduced.
  • any required query commands can be generated according to the requirements of the model table, so that it is not limited to the data source, data range, and data format, and the required data can be obtained very flexibly.
  • the configuration can quickly adjust the message format and content, improve maintainability, and use aliases for association, which can decouple the configuration from the actual database table, reduce the occupation of computer resources, and greatly enhance the flexibility of queries. Reduce the difficulty of data query. Therefore, the data query method, device, and computer-readable storage medium proposed in this application can solve the phenomenon of occupying a large amount of storage, computing resources and low flexibility.
  • FIG. 11 it is a functional module diagram of a data query device provided by an embodiment of the present application.
  • the data query device 100 described in this application can be installed in an electronic device.
  • the data query device 100 may include a service determination module 101, a data mapping module 102, a master table determination module 103, a table association module 104, and an information splicing module 105.
  • the module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of an electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
  • each module/unit is as follows:
  • the service determination module 101 is used to obtain a task data set and a model table set, and determine a corresponding business scenario, and determine the query information segment to be reported according to the business scenario.
  • the task data set refers to the reported product uploaded by the user, such as Tianjin Guarantee and Hunan Small Loan.
  • the business scenario refers to a business scenario corresponding to the reported product, such as a loan scenario and a loan scenario.
  • the model table set refers to a set of template tables provided by a regulatory authority for determining the reported product and business scenario.
  • the model table set includes: report body table (rrs_report_main_body): used to confirm the report body; report product configuration table (rrs_body_product_config): used to determine the main reported product configuration relationship; message template table (rrs_paper_template): used to confirm the report Message format; message node table (rrs_paper_node): used to confirm the configuration of the reported message node; configuration field table (rrs_choice_field): used to determine the source of the value field; child node field configuration table (rrs_node_field_set): used to confirm the reported node Field settings; business scene table (rrs_business_scene): used for business scene settings, mainly to configure the where conditions of the sql query main table of the scene data to determine the scope of the data; scene data segment query script association mode mapping table (rrs_scene_nodequery_set): used Confirm the association relationship between the main table and other business tables in each scene (each information segment determines
  • the business determining module 101 obtains the task data set and model table set through the following operations, determines the corresponding business scenario according to the task data set and model table set, and determines the query information to be reported according to the business scenario part:
  • the query information segment is obtained.
  • the service determining module 101 obtains the keywords through the following operations:
  • One or more keywords are selected from the word segmentation result.
  • the currently published TextRank, semantic-based keyword extraction algorithm, etc. may be used to select one or more keywords. For example, if the user uploads Tianjin guarantee and extracts the keyword "guarantee", the business scenario corresponding to the matching business scenario table is a lending scenario, and it is determined from the scenario report node mapping table that the query information segment that needs to be uploaded for the lending scenario includes personal information Segment, business information segment, status information segment.
  • the data mapping module 102 is configured to obtain a model table corresponding to the business scenario in the model table set, and use a query statement to map the model table and the query information segment, and to splice the query field to obtain the query field.
  • the query field includes query commands.
  • the query statement may use a SQL statement, which allows the user to concisely declare the required business logic.
  • SQL is a prescriptive language, and only needs to be clearly expressed, without knowing the specific method; SQL It can be optimized, built-in multiple query optimizers, multiple query optimizers can translate the optimal execution plan for SQL.
  • the data mapping module 102 obtains the task data set and model table set through the following operations, determines the corresponding business scenario according to the task data set and model table set, and determines the query information segment to be reported according to the business scenario :
  • the SQL statement is used to map the field names and the field descriptions in the model table, and splice them into query fields with SQL commands.
  • the configuration page refers to a page used for field configuration in the overall supervision and reporting process.
  • the query field includes query commands, such as SQL commands.
  • the SQL command can be used to dynamically support configuration scenarios. Once the regulatory authority updates and adjusts the format of the reported fields, the reported scenarios, and the corresponding information due to the gradual increase in reporting subjects and reported products, only the SQL statements need to be adjusted, and different ones can be generated arbitrarily Scenes and messages with different information segments have high flexibility.
  • the main table determining module 103 is configured to determine the data main table and the data service table in the business scenario according to the query field.
  • the master table determining module 103 determines the data master table and the data service table through the following operations:
  • the data table contains all query fields, it is determined to be the data master table, and if it contains part of the query fields, it is determined to be the data service table.
  • the data master table refers to the most critical data table corresponding to different business scenarios.
  • the data service table refers to the service sub-tables related to the data master table in different business scenarios according to the regulations of the supervisory department. In the embodiments of this application, no matter the loan contract, user information, user's credit information or guarantee information, etc., all correspond to the same IOU, so there is only a unique data master table for each scenario.
  • the table association module 104 is configured to associate the data master table and the data service table according to the query command to obtain association conditions, and configure them in a database.
  • the table association module 104 obtains the association conditions through the following operations:
  • the table association module 104 associates the data master table and the data service table according to the alias through the following operations to obtain association conditions:
  • the corresponding association function is obtained by using the alias association relationship, and the data master table and the data service table are associated through the association function to obtain the association condition.
  • association is performed in the form of aliases, which can decouple the configuration from the actual database table, greatly enhance the flexibility of the model, reduce the difficulty of data collection and modification, and improve maintainability.
  • the information splicing module 105 is configured to splice the query fields and the associated conditions to obtain complete query information, and use the complete query information to query the reported data from the information source of the business scenario.
  • the information splicing module 105 also performs a formatting operation on the complete query information through the following operations to obtain a data intermediate table in a unified format:
  • the format conversion function is used to convert the format object into the final uploaded data in the unified format.
  • the database may be jQuery, which is a concise and fast JavaScript library that can be used to simplify event processing, and the purpose is to make it easier for developers to use JavaScript on the website.
  • the final upload data refers to the data that is finally uploaded to the regulatory authority.
  • the format of the final upload data may be JSON format.
  • the JSON JavaScript Object Notation, JS Object Notation
  • JSON JavaScript Object Notation, JS Object Notation
  • JS Object Notation is a lightweight data exchange format, the format is relatively simple, easy to read and write, at the same time the format is compressed, occupies a small bandwidth, easy to transfer between data. By converting to JSON format, the occupation of computer storage and computing resources can be reduced.
  • FIG. 12 it is a schematic structural diagram of an electronic device that implements a data query method provided by an embodiment of the present application.
  • the electronic device 1 may include a processor 10, a memory 11, and a bus, and may also include a computer program stored in the memory 11 and running on the processor 10, such as a data query program 12.
  • the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, magnetic disk, CD etc.
  • the memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, for example, a mobile hard disk of the electronic device 1.
  • the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital) equipped on the electronic device 1. , SD) card, flash card (Flash Card), etc.
  • the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device.
  • the memory 11 can be used not only to store application software and various data installed in the electronic device 1, such as the code of the data query program 12, etc., but also to temporarily store data that has been output or will be output.
  • the processor 10 may be composed of integrated circuits in some embodiments, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same function or different functions, including one or more Combinations of central processing unit (CPU), microprocessor, digital processing chip, graphics processor, and various control chips, etc.
  • the processor 10 is the control core (Control Unit) of the electronic device, which uses various interfaces and lines to connect various components of the entire electronic device, and runs or executes programs or modules (such as data) stored in the memory 11 Query programs, etc.), and call data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
  • Control Unit Control Unit
  • the bus may be a peripheral component interconnection standard (peripheral component interconnection standard) component interconnect, PCI for short) bus or extended industry standard structure (extended industry standard architecture, EISA for short) bus, etc.
  • the bus can be divided into address bus, data bus, control bus and so on.
  • the bus is configured to implement connection and communication between the memory 11 and at least one processor 10 and the like.
  • FIG. 12 only shows an electronic device with components. Those skilled in the art can understand that the structure shown in FIG. 12 does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure. Components, or a combination of certain components, or different component arrangements.
  • the electronic device 1 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the at least one processor 10 through a power management device, thereby controlling power
  • the device implements functions such as charge management, discharge management, and power consumption management.
  • the power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, and power status indicators.
  • the electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
  • the electronic device 1 may also include a network interface.
  • the network interface may include a wired interface and/or a wireless interface (such as a Wi-Fi interface, a Bluetooth interface, etc.), which is usually used in the electronic device 1 Establish a communication connection with other electronic devices.
  • the electronic device 1 may also include a user interface.
  • the user interface may be a display (Display) and an input unit (such as a keyboard (Keyboard)).
  • the user interface may also be a standard wired interface or a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
  • the data query program 12 stored in the memory 11 in the electronic device 1 is a combination of multiple instructions, and when running in the processor 10, it can realize:
  • the query field and the associated condition are spliced to obtain complete query information, and the complete query information is used to query the reported data from the information source of the business scenario.
  • the integrated module/unit of the electronic device 1 can be stored in a non-volatile computer readable storage medium, or can be stored In a volatile computer readable storage medium.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) .
  • the computer-readable storage medium stores a computer program (for example, a data query program), and when the computer program is executed by a processor, the following steps are implemented:
  • the query field and the associated condition are spliced to obtain complete query information, and the complete query information is used to query the reported data from the information source of the business scenario.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.
  • the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请涉及数据处理技术,揭露了一种数据查询方法,包括:根据任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;利用查询语句将所述模型表集和所述查询信息段进行映射,拼接得到包括查询命令的查询字段;根据所述查询字段确定所述业务场景中的数据主表和数据业务表;根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件;拼接所述查询字段及所述关联条件得到完整查询信息并得到上报数据。此外,本申请还涉及区块链技术,所述完整查询信息可存储至区块链的节点。本申请还提出一种数据查询装置、电子设备以及计算机可读存储介质。本申请可以解决占用大量的存储及灵活性不高的问题。

Description

数据查询方法、装置、电子设备及存储介质
本申请要求于2020年9月2日提交中国专利局、申请号为CN202010912977.6,发明名称为“数据查询方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及数据处理技术,尤其涉及一种数据查询方法、装置、电子设备及计算机可读存储介质。
背景技术
通常,金融等行业需要根据监管要求上报各自的业务数据、财务数据等信息。不同上报主体总体处理流程是一致的,但是在信息查询过程中数据来源、上报产品、上报字段格式、上报场景及对应信息段、报文格式都各不相同,监管部门会根据上报主体、上报产品的逐渐丰富对上报字段格式、上报场景及对应信息进行更新调整。
技术问题
发明人意识到目前的上报信息中数据的查询过程存在下述缺陷:1、针对每一次调整,在数据查询中业务人员都要进行新的版本调整,开发新的代码,效率低下。2、在整个版本调整及代码更新时,数据查询都会产生大量代码,造成大量的存储及计算资源占用的现象,且灵活性不高。
技术解决方案
一种数据查询方法,包括:
获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
一种数据查询装置,所述装置包括:
业务确定模块,用于获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
数据映射模块,用于获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
主表确定模块,用于根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
表格关联模块,用于根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
信息拼接模块,用于拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
一种电子设备,所述电子设备包括:
存储器,存储至少一个指令;及
处理器,执行所述存储器中存储的指令以实现如下步骤:
获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一个指令,所述至少一个指令被电子设备中的处理器执行以实现如下步骤:
获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
附图说明
图1为本申请一实施例提供的数据查询方法的流程示意图;
图2为图1中其中一个步骤的详细实施流程示意图;
图3为图1中另一个步骤的详细实施流程示意图;
图4为本申请实施例中查询字段映射示意图;
图5为图1中另一个步骤的详细实施流程示意图;
图6为本申请实施例中图数据主表、数据业务表示意图;
图7为图1中另一个步骤的详细实施流程示意图;
图8为本申请实施例中数据库中所述数据主表及所述数据业务表的关系示意图;
图9为本申请实施例中个人信息段的完整查询信息;
图10为图1中另一个步骤的详细实施流程示意图
图11为本申请一实施例提供的数据查询装置的功能模块图;
图12为本申请一实施例提供的实现所述数据查询方法的电子设备的结构示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
本发明的实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例提供的数据查询方法的执行主体包括但不限于服务端、终端等能够被配置为执行本申请实施例提供的该方法的电子设备中的至少一种。换言之,所述数据查询方法可以由安装在终端设备或服务端设备的软件或硬件来执行,所述软件可以是区块链平台。所述服务端包括但不限于:单台服务器、服务器集群、云端服务器或云端服务器集群等。
参照图1所示,为本申请一实施例提供的数据查询方法的流程示意图。在本实施例中,所述数据查询方法包括:
S1、获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段。
本申请实施例中,所述任务数据集是指用户上传的上报产品,如天津担保、湖南小贷等金融产品。所述业务场景是指所述上报产品对应的业务场景,如放款场景、借款场景。所述模型表集是指监管部门提供的用于确定所述上报产品、业务场景的模板表集合。所述模型表集包括:上报主体表(rrs_report_main_body):用来确认上报主体;上报产品配置表(rrs_body_product_config):用来确定主要上报的产品配置关系;报文模板表(rrs_paper_template):用来确认上报报文格式;报文节点表(rrs_paper_node):用来确认上报报文节点配置;配置字段表(rrs_choice_field):用来确定取值字段来源;子节点字段配置表(rrs_node_field_set):用来确认上报节点字段设置;业务场景表(rrs_business_scene):用于业务场景设置,主要配置该场景数据查询主表的sql的where条件,确定数据的范围;场景数据段查询脚本关联方式映射表(rrs_scene_nodequery_set):用来确认各场景下通过主表关联其他业务表的关联关系(各信息段根据查询字段的来源确定需要用到的表,动态拼接为完整的查询sql);场景上报节点映射表(rrs_scene_node_mapping):用来确认每个场景需要上报哪些查询信息段。
较佳地,参阅图2所示,所述S1具体包括:
S10、利用预设的语句处理算法提取所述任务数据集中的关键词;
S11、根据所述关键词匹配所述模型表集中的业务场景表,获取所述业务场景;
S12、根据所述业务场景匹配所述模型表集中的场景上报节点映射表,获取所述查询信息段。
详细地,所述利用预设的语句处理算法提取所述任务数据集中的关键词,包括:
将所述任务数据集中包含的文本进行分词处理,并除去停用词,得到分词结果;
从所述分词结果挑选出一个或者多个关键词。
进一步地,本申请实施例中所述预设的语句处理算法可以是目前已公开的TextRank、基于语义的关键词提取算法等。比如,用户上传天津担保,提取关键词“担保”,则匹配业务场景表对应的业务场景为放款场景,从所述场景上报节点映射表中确定所述放款场景需要上传的查询信息段包括个人信息段、业务信息段、状态信息段。
S2、获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令。
优选地,所述查询语句可使用SQL语句,所述SQL语句允许用户简明扼要地声明需要的业务逻辑,SQL属于设定式语言,只需将需求表达清楚即可,不需要了解具体做法;SQL可优化,内置多种查询优化器,多种查询优化器可为SQL翻译出最优执行计划。
详细地,参阅图3所示,所述S2具体包括:
S20、从预设的配置页面中获取所述模型表;
S21、提取所述查询信息段中的字段名称;
S22、利用SQL语句将所述字段名称和所述模型表中的字段说明进行映射,拼接为带有SQL命令的查询字段。
较佳地,所述配置页面是指在监管上报整体流程中,用来进行字段配置的页面。
详细地,参阅图4所示,为天津担保的首次放款成功场景时,放款场景中个人信息段进行映射,拼接得到个人信息段的查询字段过程。图中的箭头表示个人信息段与所述模型表中的字段的映射关系。
进一步地,所述查询字段中包括查询命令,如SQL命令。采用所述SQL命令可以动态支持配置化场景,一旦监管部门由于上报主体、上报产品的逐渐增多对上报字段格式、上报场景及对应信息进行更新调整时,只需要调整SQL语句,就可以任意生成不同场景、不同信息段的报文,具有很高的灵活性。
S3、根据所述查询字段确定所述业务场景中的数据主表和数据业务表。
优选地,参阅图5所示,所述S3具体包括:
S30、利用所述查询字段查找所述业务场景下需上报的所有数据表,判断所述数据表中是否包含所有查询字段;
S31、若所述数据表中包含所有查询字段,则确定为所述数据主表,若包含部分查询字段,则确定为所述数据业务表。
较佳地,所述数据主表是指在不同业务场景中对应的最为关键的数据表。所述数据业务表是指在不同的业务场景中按照监管部门规定的与所述数据主表相关的业务子表。本申请实施例中,无论是借款合同、用户信息、用户的授信信息还是担保信息等都是对应同一笔借据,因此每个场景都只有唯一的一张数据主表。
详细地,参阅图6所示,以天津担保的首次放款成功场景为例,所述业务场景为放款场景,所述查询字段包括个人信息段、业务信息段、状态信息段相应的查询字段,根据所述查询字段得到数据主表为借款合同表(rrs_loan_contract,别名为Icot),数据业务表包括担保合同表(rrs_guarantee_contract,别名为guar)等。
S4、根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中。
较佳地,参阅图7所示,所述根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,具体包括:
S40、根据所述查询命令提取所述数据主表及所述数据业务表的别名;
S41、根据所述别名对所述数据主表及所述数据业务表进行关联,得到关联条件。
具体地,所述根据所述别名对所述数据主表及所述数据业务表进行关联,得到关联条件,具体包括:
获取所述模型表集中的关联方式映射表,根据所述别名匹配所述关联方式映射表中的别名关联关系;
利用所述别名关联关系获取相应的关联函数,通过所述关联函数将所述数据主表及所述数据业务表关联起来,得到所述关联条件。
详细地,参阅图8所示,以天津担保的首次放款成功场景为例,图8为数据库中所述数据主表及所述数据业务表的关系。如图8所示,本场景下数据主表的别名为lcot,如果用到guar,则会通过左连接关联函数lcot.g_contract_no=guar.contract_no进行左连接,如果用到cust,则会通过内连接关联函数lcot.cust_id = cust.cust_id进行内连接。
本申请实施例中采用别名的方式进行关联,可以让配置和实际的数据库表脱钩,大大增强了模型的灵活度,降低了数据采集、修改的难度,提高了可维护性。
S5、拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
较佳地,参阅图9所示,为拼接完成的完整查询信息的一个示例。所述图9包括个人信息段的查询字段,个人信息段的关联数据主表及数据业务表。通过所述完整查询信息,可以查询到完整的上报数据。
优选地,参阅图10所示,所述S5之后,该方法还包括:
S50、利用预设的数据库将所述上报数据转化为格式对象;
S51、通过调用所述数据库中的格式转化函数,利用所述格式转化函数将所述格式对象转化为所述统一格式的最终上传数据。
本申请实施例中,所述数据库可以是jQuery,所述jQuery是一个简洁而快速的JavaScript库,可用于简化事件处理,目的是让开发者更容易地在网站上使用JavaScript。所述最终上传数据是指最终上传至监管部门的数据,所述最终上传数据的格式可以为JSON格式,所述JSON(JavaScript Object Notation, JS 对象简谱)是一种轻量级的数据交换格式,格式比较简单, 易于读写, 同时格式都是压缩的, 占用带宽小,易于数据间的传输。通过转化为JSON格式,可以降低占用计算机存储及计算资源。
本申请实施例通过拼接查询语句,可以根据模型表要求生成任意需要的查询命令,这样就不限于数据来源,数据范围,数据格式,可以非常灵活的得到需要的数据,通过调整所述查询语句的配置可以快速调整报文格式和内容,提高可维护性,并且采用别名的方式进行关联,可以让配置和实际的数据库表脱钩,减少了对计算机资源的占用,大大增强了查询的灵活度,同时降低了数据查询的难度。因此本申请提出的数据查询方法、装置及计算机可读存储介质,可以解决占用大量的存储、计算资源及灵活性不高的现象。
如图11所示,是本申请一实施例提供的数据查询装置的功能模块图。
本申请所述数据查询装置100可以安装于电子设备中。根据实现的功能,所述数据查询装置100可以包括业务确定模块101、数据映射模块102、主表确定模块103、表格关联模块104及信息拼接模块105。本发所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。
在本实施例中,关于各模块/单元的功能如下:
所述业务确定模块101,用于获取任务数据集及模型表集,并确定相应的业务场景,根据所述业务场景确定要上报的查询信息段。
本申请实施例中,所述任务数据集是指用户上传的上报产品,如天津担保、湖南小贷。所述业务场景是指所述上报产品对应的业务场景,如放款场景、借款场景。所述模型表集是指监管部门提供的用于确定所述上报产品、业务场景的模板表集合。所述模型表集包括:上报主体表(rrs_report_main_body):用来确认上报主体;上报产品配置表(rrs_body_product_config):用来确定主要上报的产品配置关系;报文模板表(rrs_paper_template):用来确认上报报文格式;报文节点表(rrs_paper_node):用来确认上报报文节点配置;配置字段表(rrs_choice_field):用来确定取值字段来源;子节点字段配置表(rrs_node_field_set):用来确认上报节点字段设置;业务场景表(rrs_business_scene):用于业务场景设置,主要配置该场景数据查询主表的sql的where条件,确定数据的范围;场景数据段查询脚本关联方式映射表(rrs_scene_nodequery_set):用来确认各场景下通过主表关联其他业务表的关联关系(各信息段根据查询字段的来源确定需要用到的表,动态拼接为完整的查询sql);场景上报节点映射表(rrs_scene_node_mapping):用来确认每个场景需要上报哪些查询信息段。
较佳地,所述业务确定模块101通过下述操作获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段:
利用预设的语句处理算法提取所述任务数据集中的关键词;
根据所述关键词匹配所述模型表集中的业务场景表,获取所述业务场景;
根据所述业务场景匹配所述模型表集中的场景上报节点映射表,获取所述查询信息段。
进一步地,所述业务确定模块101通过下述操作获取所述关键词:
将所述任务数据集中包含的文本进行分词处理,并除去停用词,得到分词结果;
从所述分词结果挑选出一个或者多个关键词。
进一步地,本申请实施例中可以采用目前已公开的TextRank、基于语义的关键词提取算法等来挑选出一个或者多个关键词。比如,用户上传天津担保,提取关键词“担保”,则匹配业务场景表对应的业务场景为放款场景,从所述场景上报节点映射表中确定所述放款场景需要上传的查询信息段包括个人信息段、业务信息段、状态信息段。
所述数据映射模块102,用于获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令。
优选地,所述查询语句可使用SQL语句,所述SQL语句允许用户简明扼要地声明需要的业务逻辑,SQL属于设定式语言,只需将需求表达清楚即可,不需要了解具体做法;SQL可优化,内置多种查询优化器,多种查询优化器可为SQL翻译出最优执行计划。
详细地,所述数据映射模块102通过下述操作获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段:
从预设的配置页面中获取所述模型表;
提取所述查询信息段中的字段名称;
利用SQL语句将所述字段名称和所述模型表中的字段说明进行映射,拼接为带有SQL命令的查询字段。
较佳地,所述配置页面是指在监管上报整体流程中,用来进行字段配置的页面。
进一步地,所述查询字段中包括查询命令,如SQL命令。采用所述SQL命令可以动态支持配置化场景,一旦监管部门由于上报主体、上报产品的逐渐增多对上报字段格式、上报场景及对应信息进行更新调整时,只需要调整SQL语句,就可以任意生成不同场景、不同信息段的报文,具有很高的灵活性。
所述主表确定模块103,用于根据所述查询字段确定所述业务场景中的数据主表和数据业务表。
优选地,所述主表确定模块103通过下述操作确定数据主表与数据业务表:
利用所述查询字段查找所述业务场景下需上报的所有数据表,判断所述数据表中是否包含所有查询字段;
若所述数据表中包含所有查询字段,则确定为所述数据主表,若包含部分查询字段,则确定为所述数据业务表。
较佳地,所述数据主表是指在不同业务场景中对应的最为关键的数据表。所述数据业务表是指在不同的业务场景中按照监管部门规定的与所述数据主表相关的业务子表。本申请实施例中,无论是借款合同、用户信息、用户的授信信息还是担保信息等都是对应同一笔借据,因此每个场景都只有唯一的一张数据主表。
所述表格关联模块104,用于根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中。
较佳地,所述表格关联模块104通过下述操作得到关联条件:
根据所述查询命令提取所述数据主表及所述数据业务表的别名;
根据所述别名对所述数据主表及所述数据业务表进行关联,得到关联条件;
具体地,所述表格关联模块104通过下述操作根据所述别名对所述数据主表及所述数据业务表进行关联,得到关联条件:
获取所述模型表集中的关联方式映射表,根据所述别名匹配所述关联方式映射表中的别名关联关系;
利用所述别名关联关系获取相应的关联函数,通过所述关联函数将所述数据主表及所述数据业务表关联起来,得到所述关联条件。
详细地,本申请实施例中,如果用到guar,则会通过左连接关联函数lcot.g_contract_no=guar.contract_no进行左连接,如果用到cust,则会通过内连接关联函数lcot.cust_id = cust.cust_id进行内连接。
进一步地,本申请实施例中,采用别名的方式进行关联,可以让配置和实际的数据库表脱钩,大大增强了模型的灵活度,降低了数据采集、修改的难度,提高了可维护性。
所述信息拼接模块105,用于拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
较佳地,所述信息拼接模块105还通过下述操作对所述完整查询信息进行格式化操作,得到统一格式的数据中间表:
利用预设的数据库将所述上报数据转化为格式对象;
通过调用所述数据库中的格式转化函数,利用所述格式转化函数将所述格式对象转化为所述统一格式的最终上传数据。
本申请实施例中,所述数据库可以是jQuery,所述jQuery是一个简洁而快速的JavaScript库,可用于简化事件处理,目的是让开发者更容易地在网站上使用JavaScript。所述最终上传数据是指最终上传至监管部门的数据,所述最终上传数据的格式可以为JSON格式,所述JSON(JavaScript Object Notation, JS 对象简谱)是一种轻量级的数据交换格式,格式比较简单, 易于读写, 同时格式都是压缩的, 占用带宽小,易于数据间的传输。通过转化为JSON格式,可以降低占用计算机存储及计算资源。
如图12所示,是本申请一实施例提供的实现数据查询方法的电子设备的结构示意图。
所述电子设备1可以包括处理器10、存储器11和总线,还可以包括存储在所述存储器11中并可在所述处理器10上运行的计算机程序,如数据查询程序12。
其中,所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。所述存储器11在一些实施例中可以是电子设备1的内部存储单元,例如该电子设备1的移动硬盘。所述存储器11在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式移动硬盘、智能存储卡(Smart Media Card, SMC)、安全数字(Secure Digital, SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器11还可以既包括电子设备1的内部存储单元也包括外部存储设备。所述存储器11不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如数据查询程序12的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。
所述处理器10在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器10是所述电子设备的控制核心(Control Unit),利用各种接口和线路连接整个电子设备的各个部件,通过运行或执行存储在所述存储器11内的程序或者模块(例如数据查询程序等),以及调用存储在所述存储器11内的数据,以执行电子设备1的各种功能和处理数据。
所述总线可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器11以及至少一个处理器10等之间的连接通信。
图12仅示出了具有部件的电子设备,本领域技术人员可以理解的是,图12示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。
例如,尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理装置与所述至少一个处理器10逻辑相连,从而通过电源管理装置实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。
进一步地,所述电子设备1还可以包括网络接口,可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备1与其他电子设备之间建立通信连接。
可选地,该电子设备1还可以包括用户接口,用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。
应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。
所述电子设备1中的所述存储器11存储的数据查询程序12是多个指令的组合,在所述处理器10中运行时,可以实现:
获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
具体地,所述处理器10对上述指令的具体实现方法可参考图1至图10对应实施例中相关步骤的描述,在此不赘述。
进一步地,所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性计算机可读取存储介质中,也可以存储在一个易失性计算机可读取存储介质中。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。所述计算机可读存储介质中存储有计算机程序(例如,数据查询程序),所述计算机程序被处理器执行时实现如下步骤:
获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。

Claims (20)

  1. 一种数据查询方法,其中,所述方法包括:
    获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
    获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
    根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
    根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
    拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
  2. 如权利要求1所述的数据查询方法,其中,所述获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段,包括:
    利用预设的语句处理算法提取所述任务数据集中的关键词;
    根据所述关键词匹配所述模型表集中的业务场景表,确定所述业务场景;
    根据所述业务场景匹配所述模型表集中的场景上报节点映射表,获取所述查询信息段。
  3. 如权利要求2所述的数据查询方法,其中,所述利用预设的语句处理算法提取所述任务数据集中的关键词,包括:
    将所述任务数据集中包含的文本进行分词处理,并除去停用词,得到分词结果;
    从所述分词结果挑选出一个或者多个关键词。
  4. 如权利要求1所述的数据查询方法,其中,所述根据所述查询字段确定所述业务场景中的数据主表和数据业务表,包括:
    利用所述查询字段查找所述业务场景下需上报的所有数据表,判断所述数据表中是否包含所有查询字段;
    若所述数据表中包含所有查询字段,则确定为所述数据主表,若包含部分查询字段,则确定为所述数据业务表。
  5. 如权利要求1所述的数据查询方法,其中,所述根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,包括:
    根据所述查询命令提取所述数据主表及所述数据业务表的别名;
    根据所述别名对所述数据主表及所述数据业务表进行关联,得到关联条件。
  6. 如权利要求5所述的数据查询方法,其中,所述根据所述别名对所述数据主表及所述数据业务表进行关联,得到关联条件,包括:
    获取所述模型表集中的关联方式映射表,根据所述别名匹配所述关联方式映射表中的别名关联关系;
    利用所述别名关联关系获取相应的关联函数,通过所述关联函数将所述数据主表及所述数据业务表关联起来,得到所述关联条件。
  7. 如权利要求1至6中任意一项所述的数据查询方法,其中,所述利用所述完整查询信息从所述业务场景的信息源中查询上报数据后,还包括:
    利用预设的数据库将所述上报数据转化为格式对象;
    通过调用所述数据库中的格式转化函数,利用所述格式转化函数将所述格式对象转化为所述统一格式的最终上传数据。
  8. 一种数据查询装置,其中,所述装置包括:
    业务确定模块,用于获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
    数据映射模块,用于获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
    主表确定模块,用于根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
    表格关联模块,用于根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
    信息拼接模块,用于拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
  9. 一种电子设备,其中,所述电子设备包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行如下步骤:
    获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
    获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
    根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
    根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
    拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
  10. 如权利要求9所述的电子设备,其中,所述获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段,包括:
    利用预设的语句处理算法提取所述任务数据集中的关键词;
    根据所述关键词匹配所述模型表集中的业务场景表,确定所述业务场景;
    根据所述业务场景匹配所述模型表集中的场景上报节点映射表,获取所述查询信息段。
  11. 如权利要求10所述的电子设备,其中,所述利用预设的语句处理算法提取所述任务数据集中的关键词,包括:
    将所述任务数据集中包含的文本进行分词处理,并除去停用词,得到分词结果;
    从所述分词结果挑选出一个或者多个关键词。
  12. 如权利要求9所述的电子设备,其中,所述根据所述查询字段确定所述业务场景中的数据主表和数据业务表,包括:
    利用所述查询字段查找所述业务场景下需上报的所有数据表,判断所述数据表中是否包含所有查询字段;
    若所述数据表中包含所有查询字段,则确定为所述数据主表,若包含部分查询字段,则确定为所述数据业务表。
  13. 如权利要求9所述的电子设备,其中,所述根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,包括:
    根据所述查询命令提取所述数据主表及所述数据业务表的别名;
    根据所述别名对所述数据主表及所述数据业务表进行关联,得到关联条件。
  14. 如权利要求13所述的电子设备,其中,所述根据所述别名对所述数据主表及所述数据业务表进行关联,得到关联条件,包括:
    获取所述模型表集中的关联方式映射表,根据所述别名匹配所述关联方式映射表中的别名关联关系;
    利用所述别名关联关系获取相应的关联函数,通过所述关联函数将所述数据主表及所述数据业务表关联起来,得到所述关联条件。
  15. 如权利要求9至14中任意一项所述的电子设备,其中,所述利用所述完整查询信息从所述业务场景的信息源中查询上报数据后,所述指令被所述至少一个处理器执行,以使所述至少一个处理器还执行:
    利用预设的数据库将所述上报数据转化为格式对象;
    通过调用所述数据库中的格式转化函数,利用所述格式转化函数将所述格式对象转化为所述统一格式的最终上传数据。
  16. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下步骤:
    获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段;
    获取所述模型表集中所述业务场景对应的模型表,利用查询语句将所述模型表和所述查询信息段进行映射,拼接得到查询字段,其中,所述查询字段中包括查询命令;
    根据所述查询字段确定所述业务场景中的数据主表和数据业务表;
    根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,并配置到数据库中;
    拼接所述查询字段及所述关联条件得到完整查询信息,利用所述完整查询信息从所述业务场景的信息源中查询上报数据。
  17. 如权利要求16所述的计算机可读存储介质,其中,所述获取任务数据集及模型表集,根据所述任务数据集及模型表集确定相应的业务场景,根据所述业务场景确定要上报的查询信息段,包括:
    利用预设的语句处理算法提取所述任务数据集中的关键词;
    根据所述关键词匹配所述模型表集中的业务场景表,确定所述业务场景;
    根据所述业务场景匹配所述模型表集中的场景上报节点映射表,获取所述查询信息段。
  18. 如权利要求17所述的计算机可读存储介质,其中,所述利用预设的语句处理算法提取所述任务数据集中的关键词,包括:
    将所述任务数据集中包含的文本进行分词处理,并除去停用词,得到分词结果;
    从所述分词结果挑选出一个或者多个关键词。
  19. 如权利要求16所述的计算机可读存储介质,其中,所述根据所述查询字段确定所述业务场景中的数据主表和数据业务表,包括:
    利用所述查询字段查找所述业务场景下需上报的所有数据表,判断所述数据表中是否包含所有查询字段;
    若所述数据表中包含所有查询字段,则确定为所述数据主表,若包含部分查询字段,则确定为所述数据业务表。
  20. 如权利要求16所述的计算机可读存储介质,其中,所述根据所述查询命令将所述数据主表及所述数据业务表进行关联,得到关联条件,包括:
    根据所述查询命令提取所述数据主表及所述数据业务表的别名;
    根据所述别名对所述数据主表及所述数据业务表进行关联,得到关联条件。
PCT/CN2020/122112 2020-09-02 2020-10-20 数据查询方法、装置、电子设备及存储介质 Ceased WO2021189829A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010912977.6 2020-09-02
CN202010912977.6A CN112052242B (zh) 2020-09-02 2020-09-02 数据查询方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2021189829A1 true WO2021189829A1 (zh) 2021-09-30

Family

ID=73608040

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/122112 Ceased WO2021189829A1 (zh) 2020-09-02 2020-10-20 数据查询方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN112052242B (zh)
WO (1) WO2021189829A1 (zh)

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114048249A (zh) * 2021-11-16 2022-02-15 北京互金新融科技有限公司 数据检索方法、装置、电子设备及计算机可读存储介质
CN114064655A (zh) * 2021-11-23 2022-02-18 上证所信息网络有限公司 一种可配置化数据查询及数据关系的自动发现方法
CN114090653A (zh) * 2021-11-17 2022-02-25 中通服软件科技有限公司 一种资源数据统计方法、装置、元平台设备及存储介质
CN114090582A (zh) * 2021-11-24 2022-02-25 中国建设银行股份有限公司 生成领域模型的方法、装置、设备、存储介质及程序产品
CN114153866A (zh) * 2021-10-29 2022-03-08 多点生活(成都)科技有限公司 一种基于es的实时数据中心配置系统及其处理方法
CN114357009A (zh) * 2021-12-17 2022-04-15 绿盟科技集团股份有限公司 一种数据查询方法、装置和电子设备
CN114387021A (zh) * 2022-01-11 2022-04-22 平安普惠企业管理有限公司 业务状态生成方法、装置、设备及存储介质
CN114490710A (zh) * 2021-12-30 2022-05-13 武汉思普崚技术有限公司 一种达梦数据库查询结果集的解析方法
CN114547076A (zh) * 2022-02-21 2022-05-27 京东方科技集团股份有限公司 数据处理方法和数据处理系统
CN114579104A (zh) * 2022-03-04 2022-06-03 中国农业银行股份有限公司 数据分析场景的生成方法、装置、设备及存储介质
CN114971435A (zh) * 2022-08-01 2022-08-30 武汉易维科技股份有限公司 智慧水务云服务方法、装置、设备及介质
CN115145581A (zh) * 2022-06-30 2022-10-04 电子科大科园股份有限公司 数据映射方法、装置、电子设备及存储介质
CN115357604A (zh) * 2022-10-18 2022-11-18 天聚地合(苏州)科技股份有限公司 一种数据查询方法和装置
CN115374206A (zh) * 2022-08-29 2022-11-22 中国银行股份有限公司 监管报送方法、装置、存储介质和设备
CN115392206A (zh) * 2022-10-26 2022-11-25 深圳迅策科技有限公司 基于wps/excel快速查询数据方法、装置、设备及存储介质
CN115525659A (zh) * 2022-10-24 2022-12-27 中国农业银行股份有限公司 数据查询方法、装置、电子设备及存储介质
CN115544096A (zh) * 2022-11-22 2022-12-30 深圳市东信时代信息技术有限公司 数据查询方法、装置、计算机设备及存储介质
CN115617819A (zh) * 2022-12-19 2023-01-17 思创数码科技股份有限公司 数据存储方法、系统、计算机设备及存储介质
CN115774731A (zh) * 2022-12-20 2023-03-10 中国建设银行股份有限公司 一种数据查询方法、装置、电子设备和存储介质
CN115858531A (zh) * 2022-12-16 2023-03-28 中国建设银行股份有限公司 结构化参数表的配置方法、装置、设备、介质及产品
CN115994172A (zh) * 2022-12-09 2023-04-21 华青融天(北京)软件股份有限公司 一种业务访问关系确定的方法、装置、设备及介质
CN116226127A (zh) * 2023-02-27 2023-06-06 建信金融科技有限责任公司 业务信息查询方法、装置及设备
CN116302524A (zh) * 2023-03-01 2023-06-23 浙江赛美特软件科技有限公司 一种数据处理系统、方法、电子设备及存储介质
CN116756244A (zh) * 2023-07-04 2023-09-15 无锡雪浪数制科技有限公司 数据同步方法、装置、电子设备及存储介质
CN117033370A (zh) * 2023-07-07 2023-11-10 中国平安人寿保险股份有限公司 用于场景调用的数据查询方法、装置、计算机设备及介质
CN117149830A (zh) * 2023-08-29 2023-12-01 招商银行股份有限公司 业务查询方法、装置、设备及存储介质
CN118193164A (zh) * 2024-03-27 2024-06-14 上海数禾信息科技有限公司 数据处理方法、装置、计算机设备和存储介质
CN119226498A (zh) * 2024-12-03 2024-12-31 恒生电子股份有限公司 信息提取方法及字段划选方法
CN119484372A (zh) * 2024-11-26 2025-02-18 中国农业银行股份有限公司 网络设备检测方法、装置、设备、存储介质及程序产品
CN119558897A (zh) * 2024-11-06 2025-03-04 中国建设银行股份有限公司 信息处理方法、装置、电子设备及存储介质
CN119807234A (zh) * 2024-11-22 2025-04-11 金蝶软件(中国)有限公司 单据查询方法、装置、设备、存储介质和程序产品
CN120407691A (zh) * 2025-03-24 2025-08-01 杭州电子科技大学 基于动态难度调整的Text2SQL数据集生成方法
CN120498924A (zh) * 2025-07-16 2025-08-15 中电信数智科技有限公司 基于vpdn的多用户复用与流量节约的工业数采系统
CN120873049A (zh) * 2025-09-26 2025-10-31 苏州瑞云智服信息科技有限公司 一种主表数据和明细数据的显示方法、系统、设备及介质

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527818A (zh) * 2020-12-23 2021-03-19 平安普惠企业管理有限公司 报表生成方法、装置、设备及存储介质
CN113760948B (zh) * 2021-01-29 2025-02-21 北京沃东天骏信息技术有限公司 一种数据查询的方法及装置
CN113271307B (zh) * 2021-05-18 2023-05-16 中国工商银行股份有限公司 数据组装方法、装置、计算机系统及存储介质
CN113419718A (zh) * 2021-06-29 2021-09-21 未鲲(上海)科技服务有限公司 数据报送方法、装置、设备及介质
CN113362177B (zh) * 2021-06-30 2024-03-19 中国农业银行股份有限公司 交易数据回溯方法及装置
CN113434654B (zh) * 2021-07-13 2025-02-25 北京沃东天骏信息技术有限公司 一种数据处理方法及装置、设备、存储介质
CN114328492B (zh) * 2021-12-30 2024-09-17 北京合思信息技术有限公司 用于企业应用集成的数据处理方法以及相关装置
CN114416661A (zh) * 2022-01-21 2022-04-29 平安消费金融有限公司 数据上报方法、装置、设备及存储介质
CN114741393B (zh) * 2022-04-19 2023-04-28 四川大学 一种材料基因工程数据转换及检索方法
CN115237981B (zh) * 2022-07-22 2026-03-06 平安信托有限责任公司 基于用户行为分析的数据采集方法、装置、设备及介质
CN115422468B (zh) * 2022-09-30 2025-08-19 中国建设银行股份有限公司 一种数据查询系统的构建方法及装置
CN117454862A (zh) * 2023-12-25 2024-01-26 青岛民航凯亚系统集成有限公司 一种基于引擎模式的报表生成方法及自助bi系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521412A (zh) * 2011-12-28 2012-06-27 用友软件股份有限公司 数据关联装置和数据关联方法
US20160063063A1 (en) * 2014-09-02 2016-03-03 Salesforce.Com, Inc. Database query system
CN110069532A (zh) * 2019-03-14 2019-07-30 东软集团股份有限公司 数据查询方法、装置、计算机可读存储介质及电子设备
CN110597842A (zh) * 2019-07-22 2019-12-20 石化盈科信息技术有限责任公司 业务数据查询方法及系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7487142B2 (en) * 2004-06-10 2009-02-03 International Business Machines Corporation Methods and apparatus for specifying and processing descriptive queries for data sources
CN108710708A (zh) * 2018-05-31 2018-10-26 泰康保险集团股份有限公司 报表处理方法、装置、介质及电子设备
CN109254966B (zh) * 2018-08-23 2023-04-25 平安科技(深圳)有限公司 数据表查询方法、装置、计算机设备及存储介质
CN109814856B (zh) * 2019-01-17 2022-04-15 平安科技(深圳)有限公司 数据录入方法、装置、终端及计算机可读存储介质
CN110263105B (zh) * 2019-05-21 2021-09-10 北京百度网讯科技有限公司 查询处理方法、查询处理系统、服务器和计算机可读介质
CN111367945A (zh) * 2020-02-28 2020-07-03 平安医疗健康管理股份有限公司 报表查询方法、装置、设备及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521412A (zh) * 2011-12-28 2012-06-27 用友软件股份有限公司 数据关联装置和数据关联方法
US20160063063A1 (en) * 2014-09-02 2016-03-03 Salesforce.Com, Inc. Database query system
CN110069532A (zh) * 2019-03-14 2019-07-30 东软集团股份有限公司 数据查询方法、装置、计算机可读存储介质及电子设备
CN110597842A (zh) * 2019-07-22 2019-12-20 石化盈科信息技术有限责任公司 业务数据查询方法及系统

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114153866A (zh) * 2021-10-29 2022-03-08 多点生活(成都)科技有限公司 一种基于es的实时数据中心配置系统及其处理方法
CN114153866B (zh) * 2021-10-29 2024-12-06 多点生活(成都)科技有限公司 一种基于es的实时数据中心配置系统及其处理方法
CN114048249A (zh) * 2021-11-16 2022-02-15 北京互金新融科技有限公司 数据检索方法、装置、电子设备及计算机可读存储介质
CN114090653A (zh) * 2021-11-17 2022-02-25 中通服软件科技有限公司 一种资源数据统计方法、装置、元平台设备及存储介质
CN114064655B (zh) * 2021-11-23 2024-03-29 上证所信息网络有限公司 一种可配置化数据查询及数据关系的自动发现方法
CN114064655A (zh) * 2021-11-23 2022-02-18 上证所信息网络有限公司 一种可配置化数据查询及数据关系的自动发现方法
CN114090582A (zh) * 2021-11-24 2022-02-25 中国建设银行股份有限公司 生成领域模型的方法、装置、设备、存储介质及程序产品
CN114357009A (zh) * 2021-12-17 2022-04-15 绿盟科技集团股份有限公司 一种数据查询方法、装置和电子设备
CN114490710A (zh) * 2021-12-30 2022-05-13 武汉思普崚技术有限公司 一种达梦数据库查询结果集的解析方法
CN114387021A (zh) * 2022-01-11 2022-04-22 平安普惠企业管理有限公司 业务状态生成方法、装置、设备及存储介质
CN114547076A (zh) * 2022-02-21 2022-05-27 京东方科技集团股份有限公司 数据处理方法和数据处理系统
CN114579104A (zh) * 2022-03-04 2022-06-03 中国农业银行股份有限公司 数据分析场景的生成方法、装置、设备及存储介质
CN115145581A (zh) * 2022-06-30 2022-10-04 电子科大科园股份有限公司 数据映射方法、装置、电子设备及存储介质
CN114971435A (zh) * 2022-08-01 2022-08-30 武汉易维科技股份有限公司 智慧水务云服务方法、装置、设备及介质
CN115374206A (zh) * 2022-08-29 2022-11-22 中国银行股份有限公司 监管报送方法、装置、存储介质和设备
CN115357604A (zh) * 2022-10-18 2022-11-18 天聚地合(苏州)科技股份有限公司 一种数据查询方法和装置
CN115525659A (zh) * 2022-10-24 2022-12-27 中国农业银行股份有限公司 数据查询方法、装置、电子设备及存储介质
CN115392206A (zh) * 2022-10-26 2022-11-25 深圳迅策科技有限公司 基于wps/excel快速查询数据方法、装置、设备及存储介质
CN115392206B (zh) * 2022-10-26 2023-01-13 深圳迅策科技有限公司 基于wps/excel快速查询数据方法、装置、设备及存储介质
CN115544096A (zh) * 2022-11-22 2022-12-30 深圳市东信时代信息技术有限公司 数据查询方法、装置、计算机设备及存储介质
CN115544096B (zh) * 2022-11-22 2023-03-28 深圳市东信时代信息技术有限公司 数据查询方法、装置、计算机设备及存储介质
CN115994172B (zh) * 2022-12-09 2024-05-14 华青融天(北京)软件股份有限公司 一种业务访问关系确定的方法、装置、设备及介质
CN115994172A (zh) * 2022-12-09 2023-04-21 华青融天(北京)软件股份有限公司 一种业务访问关系确定的方法、装置、设备及介质
CN115858531A (zh) * 2022-12-16 2023-03-28 中国建设银行股份有限公司 结构化参数表的配置方法、装置、设备、介质及产品
CN115617819A (zh) * 2022-12-19 2023-01-17 思创数码科技股份有限公司 数据存储方法、系统、计算机设备及存储介质
CN115774731A (zh) * 2022-12-20 2023-03-10 中国建设银行股份有限公司 一种数据查询方法、装置、电子设备和存储介质
CN116226127A (zh) * 2023-02-27 2023-06-06 建信金融科技有限责任公司 业务信息查询方法、装置及设备
CN116302524A (zh) * 2023-03-01 2023-06-23 浙江赛美特软件科技有限公司 一种数据处理系统、方法、电子设备及存储介质
CN116756244A (zh) * 2023-07-04 2023-09-15 无锡雪浪数制科技有限公司 数据同步方法、装置、电子设备及存储介质
CN117033370A (zh) * 2023-07-07 2023-11-10 中国平安人寿保险股份有限公司 用于场景调用的数据查询方法、装置、计算机设备及介质
CN117149830A (zh) * 2023-08-29 2023-12-01 招商银行股份有限公司 业务查询方法、装置、设备及存储介质
CN118193164A (zh) * 2024-03-27 2024-06-14 上海数禾信息科技有限公司 数据处理方法、装置、计算机设备和存储介质
CN118193164B (zh) * 2024-03-27 2024-11-05 上海数禾信息科技有限公司 数据处理方法、装置、计算机设备和存储介质
CN119558897A (zh) * 2024-11-06 2025-03-04 中国建设银行股份有限公司 信息处理方法、装置、电子设备及存储介质
CN119807234A (zh) * 2024-11-22 2025-04-11 金蝶软件(中国)有限公司 单据查询方法、装置、设备、存储介质和程序产品
CN119484372A (zh) * 2024-11-26 2025-02-18 中国农业银行股份有限公司 网络设备检测方法、装置、设备、存储介质及程序产品
CN119226498A (zh) * 2024-12-03 2024-12-31 恒生电子股份有限公司 信息提取方法及字段划选方法
CN120407691A (zh) * 2025-03-24 2025-08-01 杭州电子科技大学 基于动态难度调整的Text2SQL数据集生成方法
CN120498924A (zh) * 2025-07-16 2025-08-15 中电信数智科技有限公司 基于vpdn的多用户复用与流量节约的工业数采系统
CN120873049A (zh) * 2025-09-26 2025-10-31 苏州瑞云智服信息科技有限公司 一种主表数据和明细数据的显示方法、系统、设备及介质

Also Published As

Publication number Publication date
CN112052242A (zh) 2020-12-08
CN112052242B (zh) 2024-06-04

Similar Documents

Publication Publication Date Title
WO2021189829A1 (zh) 数据查询方法、装置、电子设备及存储介质
WO2021189826A1 (zh) 报文生成方法、装置、电子设备及计算机可读存储介质
WO2022179123A1 (zh) 数据更新及展示方法、装置、电子设备及存储介质
CN109086199A (zh) 一种自动化生成测试脚本的方法、终端和可存储介质
WO2019134340A1 (zh) 薪资计算方法、应用服务器及计算机可读存储介质
CN115080651A (zh) Excel数据导入方法、装置、电子设备及存储介质
WO2022100032A1 (zh) 系统分析可视化方法、装置、电子设备及计算机可读存储介质
CN113626223A (zh) 一种接口调用方法和装置
CN111897831A (zh) 业务报文的生成方法、装置、电子设备及存储介质
CN112685117A (zh) 系统语言国际化维护方法、装置及计算机可读存储介质
CN111897856A (zh) 监管报文生成方法、装置、电子设备及可读存储介质
CN112667415B (zh) 数据调用方法、装置、可读存储介质及电子设备
CN112702228B (zh) 服务限流响应方法、装置、电子设备及可读存储介质
WO2022179121A1 (zh) 脚本自动生成方法、装置、电子设备及存储介质
CN113064589A (zh) 报表生成方法、装置、电子设备及存储介质
WO2022048362A1 (zh) 数据存储方法、装置、电子设备及存储介质
CN111538573A (zh) 异步任务处理方法、装置及计算机可读存储介质
CN114625712A (zh) 数据同步方法、装置、电子设备及存储介质
WO2022179122A1 (zh) 基于大数据的数据存储方法、装置、电子设备及存储介质
WO2022134345A1 (zh) 文件访问方法、装置、设备及可读存储介质
CN111984293A (zh) 一种信息处理方法、装置和存储介质
CN115964412B (zh) 数据统计处理方法、系统、电子设备及存储介质
CN114003661B (zh) 离线数据录入方法、装置、电子设备及存储介质
CN116955314A (zh) 数据库统一维护管控方法、装置、设备及存储介质
CN115033510A (zh) 组件通信方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20927067

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20927067

Country of ref document: EP

Kind code of ref document: A1