A data query method and device, computer device and storage medium
By dividing the data query process into entry query transactions and component query transactions, and obtaining the identification and attribute information of the query object, the problem of high resource consumption and low query efficiency in the existing technology is solved, and the efficient utilization of server resources and the improvement of query efficiency are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-07
- Publication Date
- 2026-03-31
AI Technical Summary
Existing data query methods consume a lot of resources, have low query efficiency, and result in slow response times.
The data query process is divided into entry query transactions and component query transactions. The entry query transaction obtains the identification information of the query object, and the component query transaction obtains the attribute information, thus achieving efficient utilization of server resources.
It improved query efficiency, reduced resource consumption, and achieved efficient utilization of server resources.
Smart Images

Figure CN114911841B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a data query method, apparatus, computer equipment, and storage medium. Background Technology
[0002] With the development of internet technology, mobile banking, online banking, bank counters, self-service terminals, and other payment methods can all act as transaction initiators, sending query requests to the server. As a result, the number of query requests received by the server is increasing day by day.
[0003] In existing technologies, data query transactions are typically triggered by events from the data query requester. Each query transaction involves extensive logical processing, database reading, and file system interactions. Taking a mobile banking app's fund product information query as an example, when a user queries a list of available products, the server retrieves product information for multiple products across various dimensions and attributes, and then returns the results to the mobile banking app. However, in practical applications, the information displayed on a user interface is limited, and the information needed by the user may only be a portion of the query results. Therefore, existing data query methods are resource-intensive, resulting in wasted resources, low query efficiency, and slow response times. Summary of the Invention
[0004] This invention provides a data query method, apparatus, computer equipment, and storage medium to achieve efficient utilization of server resources.
[0005] In a first aspect, embodiments of the present invention provide a data query method, executed by a server, the method comprising:
[0006] When a data query request is detected from the data query requester, an entry query transaction is performed based on the data query request to obtain the identification information of the query object;
[0007] Send the query object and its identification information to the data query requester;
[0008] Based on the identifier information of the queried object, perform component query transactions to obtain the attribute information of the queried object;
[0009] The attribute information of the queried object is sent to the data query requester so that the data query requester can display the identification and attribute information of the queried object.
[0010] Secondly, embodiments of the present invention also provide a data query device deployed in a server, the device comprising:
[0011] The entry query module is used to detect a data query request sent by the data query requester, perform an entry query transaction based on the data query request, and obtain the identification information of the query object.
[0012] The identification information sending module is used to send the query object and identification information to the data query requester;
[0013] The component query module is used to perform component query transactions based on the identifier information of the query object and obtain the attribute information of the query object;
[0014] The attribute information sending module is used to send the attribute information of the query object to the data query requester, so that the data query requester can display the identification information and attribute information of the query object.
[0015] Thirdly, embodiments of the present invention also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the data query method as described in any of the embodiments of the present invention.
[0016] Fourthly, embodiments of the present invention also provide a storage medium for storing computer-executable instructions, which, when executed by a computer processor, are used to perform a data query method as described in any of the embodiments of the present invention.
[0017] The technical solution of this invention divides a single query into an entry query transaction and a component query transaction. The entry query transaction retrieves the identifier information of the query object based on the data query request and returns the query object and its identifier information to the data query requester. The component query transaction retrieves the attribute information of the query object based on the identifier information and returns the attribute information to the data query requester. This solves the problem of high resource consumption and low query efficiency in existing technologies where a single query transaction retrieves all information about the query object across multiple dimensions and attributes before providing feedback. It achieves efficient utilization of server resources and improves query efficiency.
[0018] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart of a data query method provided in Embodiment 1 of the present invention;
[0021] Figure 2 This is a flowchart of a data query method provided in Embodiment 2 of the present invention;
[0022] Figure 3 This is a schematic diagram of the structure of a data query device provided in Embodiment 3 of the present invention;
[0023] Figure 4 This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention. Detailed Implementation
[0024] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0026] Example 1
[0027] Figure 1 The flowchart of a data query method is provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of querying data according to the data query request of the data query requester. The method can be executed by a data query device, which can be implemented in hardware and / or software. The data query device can be configured in a server and used in conjunction with the data query requester.
[0028] like Figure 1 As shown, the method includes:
[0029] S110. When a data query request is detected from the data query requester, an entry query transaction is performed based on the data query request to obtain the identification information of the query object.
[0030] In specific banking scenarios, when users query data through mobile banking, online banking, bank counters, self-service terminals, or other data query requesters, they trigger the query by clicking buttons or performing other actions. After detecting the user's action, the data query requester sends a data query request to the server.
[0031] In this embodiment of the invention, the data query process is completed through multiple query transactions. The first query transaction in the data query process is the entry query transaction. For example, the entry query transaction can be a query of a list of purchasable products, a query of a user's holdings list, or a query of information about a single product.
[0032] The identification information of the queried object can be a unique label or key attribute information of the queried object. For example, when the entry transaction is a query for fund product information, the identification information of the queried object can be the fund code of the fund product.
[0033] Entry query transactions can be further divided into single query transactions and multiple query transactions, with the number of entry query transactions not exceeding the number of query objects. Correspondingly, when the number of query objects is one, the entry query transaction is a single query transaction; when the number of query objects is multiple, the entry query transaction is a multiple query transaction. A single query transaction returns the identification information of a single query object, while a multiple query transaction returns the identification information of multiple query objects.
[0034] The number of entry-level query transactions is determined by the server. Specifically, the server can determine the number of entry-level query transactions based on factors such as the concurrency of data query requests, resource usage, response time, and current data query efficiency. For example, when the data query requester is a counter terminal device, because the monitor screen is large and the counter user (i.e., the teller) is familiar with the business, to facilitate the teller obtaining a large amount of product information at once, multiple entry-level query transactions can be initiated when the teller queries product information through the transaction interface on the monitor, querying the identification information of multiple products. In another example, when the data query requester is a mobile terminal, and the user queries fund product information through mobile banking, because the mobile terminal screen is small and the customer has less understanding of the business, a small number of entry-level query transactions can be initiated to query the identification information of a small number of products.
[0035] In this embodiment of the invention, by querying transactions through the entry point to determine only the identification information of the queried object, the server's processing of program logic can be reduced, access to the data storage system can be reduced, excessive network resource consumption and redundancy of query results can be avoided, and efficient utilization of server resources can be achieved.
[0036] S120. Send the query object and identification information to the data query requester.
[0037] After the server obtains the identifier information of the queried object through the entry point query transaction, it sends the queried object and identifier information back to the data query requester. Upon receiving the queried object and identifier information, the data query requester determines whether to display the queried object and identifier information based on the type of data query requester and business needs.
[0038] The data query requester can directly display the query object and identification information returned by the entry query transaction. For example, when the data query requester is a mobile terminal, and the user queries fund product information through mobile banking, since the customer has limited understanding of the business, multiple interfaces are needed to guide the user. Each interface needs to display less information, so the query object and identification information returned by the entry query transaction can be directly displayed.
[0039] The data query requester can also store the query object and its identification information, wait for the results of the component query transaction, and then assemble and display them together. For example, when the data query requester is a counter terminal device, due to the large screen size and the teller's familiarity with the business, to facilitate the teller's access to a large amount of product information at once, when the teller queries product information through the transaction interface on the monitor, they can query the product's attribute information through the component query transaction. After receiving the query object and identification information returned by the entry query transaction, the data query requester can combine it with the attribute information retrieved by the component query transaction and display them together.
[0040] S130. Based on the identifier information of the queried object, perform component query transactions to obtain the attribute information of the queried object.
[0041] Component query transactions are used to query the relevant attribute information of a query object based on its identification information and other query conditions in the data query request. For example, when the data query request is to query fund product information, the entry query transaction returns the identification information of each fund product. Based on the identification information of each fund product, the component query transaction can perform queries such as the latest net asset value of the product, the product sales time, the product manager, the product description, and the product's investment targets.
[0042] Component query transactions can also be divided into single query transactions and multiple query transactions. The number of component query transactions matches the number of attributes of the query object.
[0043] In this embodiment of the invention, the combination of entry query transaction and component query transaction is flexible and can be flexibly combined and invoked according to the actual needs of the data query requester's business, while reducing the resource consumption of query transactions.
[0044] Optionally, based on the identifier information of the query object, a component query transaction is performed to obtain the attribute information of the query object. This may include: performing a component query transaction based on the identifier information of the query object, determining the attribute information that matches the identifier information in the attribute database, and using it as the attribute information of the query object.
[0045] The component query transaction uses the identifier information of the query object as the query condition to retrieve the attribute information of each query object from the attribute database. This setup improves the scalability of data queries; when query attributes are expanded, there is no need to expand the underlying query interface, only the addition of new query component transactions and attribute databases is required.
[0046] Optionally, a component query transaction can also be used as an entry query transaction: determine the identification information of the query object; perform a component query transaction based on the identification information of the query object to obtain the attribute information of the query object.
[0047] In this embodiment of the invention, after the data query requester has saved the identification information of each query object, when the query process for a certain query object is triggered again, the data query requester can send a data query request to the server based on the query object. After receiving the data query request, the server determines the identification information of the query object and performs corresponding attribute information queries based on the identification information. For example, when a user queries available fund products through the mobile banking app on a mobile terminal, the server obtains the identification and attribute information of each available fund product through entry query transactions and component query transactions. After the data query requester displays this on the display interface, the user clicks on fund product A in the list of available fund products. At this time, the data query requester has saved the identification information of fund product A. After sending a data query request to the server, the server will query other attribute information of fund product A based on the identification information of fund product A and feed it back to the data query requester. The data query requester combines all the information of fund product A and displays the detailed information interface of fund product A to the user.
[0048] S140. Send the attribute information of the queried object to the data query requester so that the data query requester can display the identification information and attribute information of the queried object.
[0049] In this embodiment of the invention, after the server obtains the attribute information of the queried object through component query transactions, it sends the attribute information of the queried object to the data query requester. After obtaining each queried object, its identification information, and attribute information, the data query requester can display the above information through the user interface.
[0050] The technical solution of this invention divides a single query into an entry query transaction and a component query transaction. The entry query transaction retrieves the identifier information of the query object based on the data query request and returns the query object and its identifier information to the data query requester. The component query transaction retrieves the attribute information of the query object based on the identifier information and returns the attribute information to the data query requester. This solves the problem of high resource consumption and low query efficiency in existing technologies where a single query transaction retrieves all information about the query object across multiple dimensions and attributes before providing feedback. It achieves efficient utilization of server resources and improves query efficiency.
[0051] Example 2
[0052] Figure 2 This is a flowchart of a data query method provided in Embodiment 2 of the present invention. Based on the above embodiments, the present invention further specifies the process of querying the identification information of the query object and the process of querying the attribute information, and adds a step of directly performing component query transactions based on the identification information of the query object, and a step of creating a new component query transaction when adding a new query attribute.
[0053] like Figure 2 As shown, the method includes:
[0054] S210. Determine whether a data query request sent by the data query requester has been detected. If yes, execute S220; otherwise, return to execute S210.
[0055] After receiving a data query request from the data query requester, the server parses the data query request to obtain the query conditions and the attributes of the query object, and may also obtain the query conditions and the type of the data query requester. The server determines the attributes of the query object based on the type of the data query requester. This embodiment does not impose any restrictions on this.
[0056] S220. Perform an entry transaction query based on the data query request and determine the identifier information of the query object in the identifier database.
[0057] The identification database only stores the identification information of each product, and does not store the specific attribute information of each product.
[0058] S230. Send the query object and identification information to the data query requester.
[0059] The above embodiments have described how to send the query object and identification information to the data query requester, and how the data query requester constructs a display interface based on the query object and identification information. This embodiment will not repeat the description here.
[0060] S240. Based on the data query request, determine at least one attribute of the query object.
[0061] The number of attributes of the query object matches the type of the data query requester. Specifically, the number of attributes of the query object can be determined in advance based on factors such as the business needs of the data query requester and the size of the interface.
[0062] Based on the data query request, at least one attribute of the query object is determined. This can be achieved by the data query requester determining the required attributes of the query object based on actual business needs and factors such as interface size, and generating a data query request based on the determined attributes. After receiving the data query request, the server performs an entry query transaction and a component query transaction based on the parsed attributes of the query object. Alternatively, the server can pre-set the correspondence between the data query requester type, query conditions, and query object attributes. After receiving the data query request sent by the data query requester, the server determines the corresponding query object attributes based on the data query requester type. This embodiment does not impose any limitations on this approach.
[0063] S250. Based on the identifier information and attributes of the queried object, perform component query transactions to obtain the attribute information of the queried object.
[0064] In this embodiment of the invention, the server queries different attribute information of the queried object by calling different components to query transactions. For example, when querying product details, the server can call the latest net asset value query transaction, the most recent available sales period query transaction, and the credit limit query transaction to query the latest net asset value information, most recent available sales period information, and credit limit information of each queried object. The component query object uses the identifier information of the queried object as input conditions to search for the attribute information of the queried object in the attribute database.
[0065] S260. Send the attribute information of the queried object to the data query requester so that the data query requester can assemble and display the identification information and attribute information of the queried object.
[0066] In this embodiment, taking a query process including an entry query transaction and a component query transaction as an example, the query object and its identification information returned by the entry query transaction, and the attribute information returned by the component query transaction are assembled to generate a user interface to be displayed to the user.
[0067] In some specific application scenarios, when the data query requester is a mobile terminal that has deployed mobile banking, since the product information that needs to be displayed on each user interface is relatively small, the component transaction can be omitted during a query process. In this case, the query object and its identification information returned by the entry query transaction can be displayed directly. This embodiment does not impose any restrictions on this.
[0068] S270. Determine if the queried object has a new attribute. If yes, execute S280; otherwise, return to execute S210.
[0069] S280. Create a new component query transaction that matches the new attribute, so as to query the new attribute information of the query object according to the new query component transaction.
[0070] In this embodiment of the invention, when expanding the query attributes of a query object, it is only necessary to create an attribute database matching the new attributes and create a new component query transaction to realize the query of the new attribute information. Compared with the prior art, which modifies the interface of the query transaction when expanding query attributes, the technical solution of this embodiment does not require the data query requester to be modified synchronously due to interface modification. Especially when there are multiple data query requesters calling the query transaction, the modification cost is high. The technical solution of this embodiment reduces the modification cost when expanding query attributes, and also avoids the risk of interface modification and upgrade causing other transactions.
[0071] Example 3
[0072] Figure 3 This is a schematic diagram of a data query device provided in Embodiment 3 of the present invention. Figure 3 As shown, the device includes: an entry query module 310, an identification information sending module 320, a component query module 330, and an attribute information sending module 340.
[0073] The entry query module 310 is used to perform an entry query transaction based on the data query request when it detects a data query request sent by the data query requester, and obtain the identification information of the query object.
[0074] The identification information sending module 320 is used to send the query object and identification information to the data query requester;
[0075] The component query module 330 is used to perform component query transactions based on the identifier information of the query object to obtain the attribute information of the query object;
[0076] The attribute information sending module 340 is used to send the attribute information of the query object to the data query requester so that the data query requester can display the identification information and attribute information of the query object.
[0077] The technical solution of this invention divides a single query into an entry query transaction and a component query transaction. The entry query transaction retrieves the identifier information of the query object based on the data query request and returns the query object and its identifier information to the data query requester. The component query transaction retrieves the attribute information of the query object based on the identifier information and returns the attribute information to the data query requester. This solves the problem of high resource consumption and low query efficiency in existing technologies where a single query transaction retrieves all information about the query object across multiple dimensions and attributes before providing feedback. It achieves efficient utilization of server resources and improves query efficiency.
[0078] Based on the above embodiments, the number of entry query transactions is less than or equal to the number of query objects, the number of entry query transactions is determined by the server, and the number of component query transactions matches the number of attributes of the query objects.
[0079] Based on the above embodiments, the component query module 330 includes:
[0080] An attribute determination unit is used to determine at least one attribute of a query object based on a data query request.
[0081] The number of attributes of the queried object matches the type of the data query requester;
[0082] The attribute information acquisition unit is used to perform component query transactions based on the identifier information and attributes of the query object, and obtain the attribute information of the query object.
[0083] Based on the above embodiments, the entry query module 310 includes:
[0084] The entry query unit is used to perform entry transaction queries based on data query requests and determine the identifier information of the query object in the identifier database.
[0085] Component query module 330 includes:
[0086] The component query unit is used to perform component query transactions based on the identifier information of the query object, and to determine the attribute information that matches the identifier information in the attribute database as the attribute information of the query object.
[0087] Based on the above embodiments, the attribute information sending module 340 includes:
[0088] The attribute information sending unit is used to send the attribute information of the query object to the data query requester, so that the data query requester can assemble and display the identification information and attribute information of the query object.
[0089] Based on the above embodiments, the device further includes:
[0090] The identification information determination module is used to determine the identification information of the query object;
[0091] The component query transaction module is used to perform component query transactions based on the identifier information of the query object, and obtain the attribute information of the query object.
[0092] Based on the above embodiments, the device further includes:
[0093] The component query transaction addition module is used to create a new component query transaction that matches the new attribute if it is determined that the query object has a new attribute, so as to query the new attribute information of the query object based on the new query component transaction.
[0094] The data query device provided in this embodiment of the invention can execute the data query method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method execution.
[0095] Example 4
[0096] Figure 4 This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention, as shown below. Figure 4 As shown, the computer device includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of processors 70 in the computer device can be one or more. Figure 4 Taking a processor 70 as an example; the processor 70, memory 71, input device 72, and output device 73 in a computer device can be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0097] The memory 71, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the data query method in this embodiment of the invention (e.g., the entry query module 310, the identification information sending module 320, the component query module 330, and the attribute information sending module 340 in the data query device). The processor 70 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory 71, thereby implementing the aforementioned data query method. This method includes:
[0098] When a data query request is detected from the data query requester, an entry query transaction is performed based on the data query request to obtain the identification information of the query object;
[0099] Send the query object and its identification information to the data query requester;
[0100] Based on the identifier information of the queried object, perform component query transactions to obtain the attribute information of the queried object;
[0101] The attribute information of the queried object is sent to the data query requester so that the data query requester can display the identification and attribute information of the queried object.
[0102] The memory 71 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on terminal usage. Furthermore, the memory 71 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory, or other non-volatile solid-state storage device. In some instances, the memory 71 may further include memory remotely located relative to the processor 70, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0103] Input device 72 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the computer device. Output device 73 may include display devices such as a display screen.
[0104] Example 5
[0105] Embodiment 5 of the present invention also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a data query method, the method comprising:
[0106] When a data query request is detected from the data query requester, an entry query transaction is performed based on the data query request to obtain the identification information of the query object;
[0107] Send the query object and its identification information to the data query requester;
[0108] Based on the identifier information of the queried object, perform component query transactions to obtain the attribute information of the queried object;
[0109] The attribute information of the queried object is sent to the data query requester so that the data query requester can display the identification and attribute information of the queried object.
[0110] Of course, the computer-executable instructions provided in the embodiments of the present invention are not limited to the method operations described above, but can also perform related operations in the data query method provided in any embodiment of the present invention.
[0111] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0112] It is worth noting that in the embodiments of the above data query device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of the present invention.
[0113] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A data query method, characterized by, The method is executed by a server, and the method comprises: When a data query request sent by a data query requester is detected, an entry query transaction is performed according to the data query request to obtain identification information of a query object, comprising: An entry transaction query is performed according to the data query request to determine the identification information of the query object in an identification database; The query object and the identification information are sent to the data query requester; A component query transaction is performed according to the identification information of the query object to obtain attribute information of the query object, comprising: A component query transaction is performed according to the identification information of the query object to determine attribute information matched with the identification information in an attribute database as the attribute information of the query object; The attribute information of the query object is sent to the data query requester to enable the data query requester to display the identification information and the attribute information of the query object; If it is determined that the query object has new attributes, a new component query transaction matched with the new attributes is created to perform a query of the new attribute information of the query object according to the new component query transaction.
2. The method of claim 1, wherein, The number of entry query transactions is less than or equal to the number of query objects, and the number of entry query transactions is determined by the server, and the number of component query transactions matches the number of attributes of the query object.
3. The method of claim 2, wherein, A component query transaction is performed according to the identification information of the query object to obtain attribute information of the query object, comprising: At least one attribute of the query object is determined according to the data query request; The number of attributes of the query object matches the type of the data query requester; A component query transaction is performed according to the identification information of the query object and the attribute to obtain the attribute information of the query object.
4. The method of claim 1, wherein, The attribute information of the query object is sent to the data query requester to enable the data query requester to display the identification information and the attribute information of the query object after assembling. The apparatus is deployed in a server, and the apparatus comprises:
5. A data query apparatus, characterized by comprising: An entry query module configured to, when a data query request sent by a data query requester is detected, perform an entry query transaction according to the data query request to obtain identification information of a query object; The entry query module comprises: An entry query unit configured to perform an entry transaction query according to the data query request to determine the identification information of the query object in an identification database; An identification information sending module configured to send the query object and the identification information to the data query requester; A component query module configured to perform a component query transaction according to the identification information of the query object to obtain attribute information of the query object; The component query module comprises: A component query unit configured to perform a component query transaction according to the identification information of the query object to determine attribute information matched with the identification information in an attribute database as the attribute information of the query object; An attribute information sending module configured to send the attribute information of the query object to the data query requester to enable the data query requester to display the identification information and the attribute information of the query object; The component query transaction adding module is configured to, if it is determined that the query object has an added attribute, create an added component query transaction matched with the added attribute, and query the added attribute information of the query object according to the added component query transaction.
6. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor implements the data query method of any one of claims 1-4 when executing the program.
7. A storage medium storing computer-executable instructions, wherein: The computer executable instructions are used to execute the data query method of any one of claims 1-4 when executed by the computer processor.
Citation Information
Patent Citations
Query method and system of database, client side, server and database
CN101706819A
Data attribute query method and data attribute query device
CN113515544A
Financial data query method and device and readable storage medium
CN113515549A