CN112749190B - Data query method and device, computing equipment and computer storage medium - Google Patents
Data query method and device, computing equipment and computer storage medium Download PDFInfo
- Publication number
- CN112749190B CN112749190B CN201911053789.6A CN201911053789A CN112749190B CN 112749190 B CN112749190 B CN 112749190B CN 201911053789 A CN201911053789 A CN 201911053789A CN 112749190 B CN112749190 B CN 112749190B
- Authority
- CN
- China
- Prior art keywords
- data
- query
- list
- business
- query data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
- G06F16/24534—Query rewriting; Transformation
- G06F16/24535—Query rewriting; Transformation of sub-queries or views
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明实施例涉及通信技术领域,公开了一种数据查询方法、装置、计算设备及计算机存储介质,该方法包括:获取用户端的查询请求;根据所述查询请求在用户数据表中确定查询数据;在所述查询数据的数据量大于预设阈值的情况下,根据预设过滤条件对所述查询数据进行过滤,得到目标查询数据;将所述查询数据存储至目标文件中;将所述目标查询数据以及所述目标文件的地址作为查询结果发送至所述用户端。通过上述方式,本发明实施例实现了在获取用户全量数据的情况下,对用户进行快速响应。
The embodiment of the present invention relates to the field of communication technology, and discloses a data query method, device, computing device, and computer storage medium. The method includes: obtaining a query request from a user terminal; determining query data in a user data table according to the query request; When the data volume of the query data is greater than the preset threshold, filter the query data according to preset filter conditions to obtain target query data; store the query data in a target file; store the target query The data and the address of the target file are sent to the client as query results. Through the above method, the embodiment of the present invention realizes a quick response to the user in the case of obtaining the full amount of data of the user.
Description
技术领域technical field
本发明实施例涉及通信技术领域,具体涉及一种数据查询方法、装置、计算设备及计算机存储介质。The embodiments of the present invention relate to the technical field of communications, and in particular to a data query method, device, computing device, and computer storage medium.
背景技术Background technique
随着移动互联网业务的发展,用户的GPRS清单增长迅速,占到清单总存储量的百分之七十以上。在用户进行GPRS清单查询时,需要对大量的结果进行处理,以获取用户查询的清单数据。目前的数据查询方式包括全量查询和索引查询两种。全量查询方式获取全部的查询结果,再在客户端进行分页处理。索引查询方式一般使用页码索引进行查询,每次查询指定页码范围内的数据。With the development of mobile Internet services, the user's GPRS list grows rapidly, accounting for more than 70% of the total storage capacity of the list. When a user performs a GPRS list query, a large number of results need to be processed to obtain the list data queried by the user. The current data query methods include full query and index query. The full query method obtains all query results, and then performs paging processing on the client side. The index query method generally uses the page number index for query, and the data within the specified page number range is queried each time.
在实现本发明实施例的过程中,发明人发现:现有的全量查询方法会造成查询时间过长,而且网络数据传输量过大,导致查询响应时间过长,用户需要等待很长时间才能获取到查询结果。索引查询方式无法获得统计结果及全量数据。In the process of implementing the embodiments of the present invention, the inventors found that: the existing full query method will cause the query time to be too long, and the network data transmission volume is too large, resulting in a query response time that is too long, and the user needs to wait for a long time to obtain to the query results. The index query method cannot obtain statistical results and full data.
发明内容Contents of the invention
鉴于上述问题,本发明实施例提供了一种数据查询方法、装置计算设备及计算机存储介质,克服了上述问题或者至少部分地解决了上述问题。In view of the above problems, embodiments of the present invention provide a data query method, device computing equipment, and computer storage media, which overcome the above problems or at least partially solve the above problems.
根据本发明实施例的一个方面,提供了一种数据插叙方法,所述方法包括:According to an aspect of an embodiment of the present invention, a data insertion method is provided, the method comprising:
获取用户端的查询请求;Obtain the query request from the client;
根据所述查询请求在用户数据表中确定查询数据;determining query data in the user data table according to the query request;
在所述查询数据的数据量大于预设阈值的情况下,根据预设过滤条件对所述查询数据进行过滤,得到目标查询数据;When the data amount of the query data is greater than a preset threshold, filter the query data according to a preset filter condition to obtain target query data;
将所述查询数据存储至目标文件中;storing the query data into a target file;
将所述目标查询数据以及所述目标文件的地址作为查询结果发送至所述用户端。sending the target query data and the address of the target file to the client as a query result.
可选的,所述用户数据表包括统计数据表和清单数据表,所述根据所述查询请求查询用户数据表确定查询数据,包括:Optionally, the user data table includes a statistical data table and a list data table, and the querying the user data table according to the query request to determine the query data includes:
根据所述查询请求查询所述统计数据表,得到查询数据的数据量;Querying the statistical data table according to the query request to obtain the data volume of the query data;
根据所述查询请求查询所述清单数据表,得到查询数据清单;Querying the list data table according to the query request to obtain a query data list;
将所述查询数据的数据量和所述查询数据清单作为所述查询数据。The data amount of the query data and the query data list are used as the query data.
可选的,所述在所述查询数据的数据量大于预设阈值的情况下,根据预设过滤条件对所述查询数据进行过滤,得到目标查询数据,包括:Optionally, when the data volume of the query data is greater than a preset threshold, the query data is filtered according to a preset filter condition to obtain target query data, including:
在所述查询数据的数据量大于预设阈值的情况下,根据预设过滤条件对所述查询数据清单进行过滤,得到目标查询数据;When the data volume of the query data is greater than a preset threshold, filter the list of query data according to a preset filter condition to obtain target query data;
可选的,所述将所述查询数据存储至目标文件中,包括:Optionally, the storing the query data into the target file includes:
将所述查询数据清单存储至目标文件中。The query data list is stored in an object file.
可选的,在所述查询数据的数据量小于或等于预设阈值的情况下,将所述查询数据作为查询结果发送至用户端。Optionally, when the amount of the query data is less than or equal to a preset threshold, the query data is sent to the client as a query result.
可选的,所述方法还包括:Optionally, the method also includes:
根据获取的用户端的业务详单构建清单数据表;Build a list data table according to the business details obtained from the client;
根据所述业务详单的用户标识、业务类型标识以及业务详单日期将统计数据表中的目标业务详单合并,得到合并后的业务详单;Merge the target business bills in the statistical data table according to the user identification, business type identifier and business bill date of the business bills to obtain the merged business bills;
根据所述合并后的业务详单及所述合并后的业务详单的统计量更新统计数据表。The statistical data table is updated according to the combined business detailed list and the statistics of the combined business detailed list.
可选的,所述根据所述合并后的业务详单及所述合并后的业务详单的统计量更新统计数据表,包括:Optionally, the updating the statistical data table according to the combined business detailed list and the statistics of the combined business detailed list includes:
删除所述统计数据表中失效数据,所述失效数据为所述统计数据表中业务详单日期在预设日期之前的业务详单。Delete invalid data in the statistical data table, where the invalid data is the business detailed bills in the statistical data table whose date of business detailed bill is before a preset date.
根据本发明实施例的另一方面,提供了一种数据查询装置,包括:According to another aspect of the embodiments of the present invention, a data query device is provided, including:
获取模块,用于获取用户端的查询请求;An acquisition module, configured to acquire a query request from the client;
确定模块,用于根据所述查询请求在用户数据表中确定查询数据;A determination module, configured to determine query data in the user data table according to the query request;
过滤模块,用于在所述查询数据的数据量大于预设阈值的情况下,根据预设过滤条件对所述查询数据进行过滤,得到目标查询数据;A filtering module, configured to filter the query data according to preset filter conditions to obtain target query data when the data volume of the query data is greater than a preset threshold;
存储模块,用于将所述查询数据存储至目标文件中;a storage module, configured to store the query data into a target file;
发送模块,用于将所述目标查询数据以及所述目标文件的地址作为查询结果发送至所述用户端。A sending module, configured to send the target query data and the address of the target file to the client as a query result.
根据本发明实施例的另一方面,提供了一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;According to another aspect of the embodiments of the present invention, a computing device is provided, including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete the mutual communication via the communication bus. communication between
所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述的一种数据查询方法。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to execute the above-mentioned data query method.
根据本发明实施例的又一方面,提供了一种计算机存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令使所述处理器执行上述的一种数据查询方法。According to yet another aspect of the embodiments of the present invention, a computer storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction causes the processor to execute the above-mentioned data query method.
本发明实施例根据查询请求确定查询数据的数据量,在查询数据的数据量大于预设阈值时,向用户端返回目标查询数据以及存储查询数据的目标文件地址,相较于向用户返回所有查询数据,本发明实施例可以在保证返回主要查询信息的基础上,实现对用户的查询请求进行快速响应;此外,在查询数据的数据量大于预设阈值时,通过将查询数据对应的业务详单存储在目标文件中,向用户返回该目标文件的地址,以使用户下载查看业务详单,相较于将业务详单返回至用户端,本发明实施例在实现用户查询请求的情况下降低了数据服务器的资源损耗。The embodiment of the present invention determines the data volume of the query data according to the query request. When the data volume of the query data is greater than the preset threshold, the target query data and the target file address for storing the query data are returned to the client. Compared with returning all query data to the user data, the embodiment of the present invention can realize a quick response to the user's query request on the basis of ensuring that the main query information is returned; in addition, when the data volume of the query data is greater than the preset threshold, the business details corresponding to the query data Stored in the target file, and return the address of the target file to the user, so that the user can download and view the service detailed list. Compared with returning the service detailed list to the client, the embodiment of the present invention reduces the Resource consumption of the data server.
上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and The advantages can be more obvious and understandable, and the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1示出了本发明第一实施例提供的一种数据查询方法的流程图;Fig. 1 shows a flow chart of a data query method provided by the first embodiment of the present invention;
图2示出了本发明第二实施例提供的一种数据查询方法的流程图;Fig. 2 shows a flow chart of a data query method provided by the second embodiment of the present invention;
图3示出了本发明第三实施例提供的一种数据查询装置的功能框图;Fig. 3 shows a functional block diagram of a data query device provided by a third embodiment of the present invention;
图4示出了本发明第四实施例提供的一种计算设备的结构示意图。FIG. 4 shows a schematic structural diagram of a computing device provided by a fourth embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
本发明实施例的应用场景是用户端网络数据查询,其中网络数据包括但不限于GPRS清单、话费清单等。用户端选择查询的网络数据类型及所需查询的时间段,数据服务器接收到用户查询请求,根据该查询请求查询数据服务器端存储的网络数据。数据服务器首先根据查询请求确定用户需要查询的网络数据的总数量,如果该数量较大,则启动精简查询模式,即,返回主要的查询信息,并将清单数据存储在一个预设的目标文件中,当向用户返回查询结果时,返回主要的查询信息以及预设的目标文件的地址,使用户能够快速的获取查询结果,且可以根据需求选择下载目标文件中的清单数据。如果用户需要查询的网络数据的总数量较小时,则启动全量查询,即,返回清单数据,便于用户获取查询结果。通过本发明实施例的方案,实现了快速获取查询结果,保证了数据查询服务器对于用户的快速响应,同时,保证了用户对所查询内容的需求。下面通过各具体实施方式对本发明各具体实施例进行说明。The application scenario of the embodiment of the present invention is user terminal network data query, wherein the network data includes but not limited to GPRS list, call charge list and so on. The user terminal selects the type of network data to be queried and the time period required for the query, and the data server receives the query request from the user, and queries the network data stored on the data server side according to the query request. The data server first determines the total amount of network data that the user needs to query according to the query request. If the amount is large, the simplified query mode is started, that is, the main query information is returned, and the list data is stored in a preset target file , when the query result is returned to the user, the main query information and the address of the preset target file are returned, so that the user can quickly obtain the query result, and can choose to download the list data in the target file according to the demand. If the total amount of network data to be queried by the user is small, a full query is started, that is, the list data is returned, so that the user can obtain the query result. Through the solution of the embodiment of the present invention, the query result can be quickly obtained, the data query server can quickly respond to the user, and at the same time, the user's demand for the query content can be guaranteed. Various specific embodiments of the present invention will be described below through various specific implementation modes.
图1示出了本发明第一实施例的一种数据查询方法的流程图,如图1所示,该方法包括以下步骤:Fig. 1 shows the flowchart of a kind of data inquiry method of the first embodiment of the present invention, as shown in Fig. 1, this method comprises the following steps:
步骤110:获取用户端的查询请求。Step 110: Obtain a query request from the client.
其中,用户端的查询请求是用户在查询平台输入的查询信息。查询平台可以是运营商提供的一个查询网页,在该查询网页上设置有查询菜单,例如,查询菜单包括但不局限于需查询号码、需查询数据、起始时间、终止时间等。其中,需查询号码相当于用户端的一个标识信息,用于表示具体查询某一个特定电话号码的数据。需查询数据设置于下拉选项,包括但不局限于话费清单查询、GPRS清单查询。起始时间可设置为一个下拉的日历选项,用户可以选择需要查询数据的起始年月日。同样的,结束时间可设置一个下拉的日历选项,用户可以选择需要查询数据的结束年月日,可以理解的是,结束年月日相对于起始年月日的时间应该更接近查询当日的时间,或者结束年月日相对于起始年月日的时间应为同一天。Wherein, the query request of the client is the query information input by the user on the query platform. The query platform can be a query webpage provided by the operator, on which a query menu is set, for example, the query menu includes but not limited to the number to be queried, the data to be queried, the start time, the end time, etc. Wherein, the number to be inquired is equivalent to an identification information of the user end, and is used to represent the data of inquiring about a specific telephone number. The data to be queried is set in the drop-down options, including but not limited to call bill query and GPRS list query. The starting time can be set as a drop-down calendar option, and the user can select the starting year, month, and day for querying data. Similarly, a drop-down calendar option can be set for the end time, and the user can select the end year, month, and day of the data to be queried. It is understandable that the time of the end year, month, and day relative to the start year, month, and day should be closer to the time of the query day , or the time of the end year, month, and day relative to the start year, month, and day should be the same day.
在用户端输入查询信息之后,点击用户端设置的查询按钮即可进行数据查询。当用户点击查询按钮后,数据服务器即可获取到用户的查询请求。其中,数据服务器包括查询程序以及数据库,其中查询程序用于根据用户的查询请求访问数据库,以获取查询结果;数据库用于存储用户的业务详单,业务详单是指用户进行具体业务操作时所产生的信息,例如,用户访问网络时消耗的GPRS信息、用户通话时的通话信息等。在一种实施方式中,数据服务器为Hbase服务器,查询程序为Hbase服务器端的查询程序,数据库为Hbase数据库。本发明实施例并不限定数据服务器获取用户端的查询请求的方式,例如,用户端和数据服务器端可以通过预设一个协议进行通信,或设置第三方用于数据转换,将用户端的查询请求转换为数据服务器能够处理的数据等。After entering the query information on the client side, click the query button set on the client side to perform data query. After the user clicks the query button, the data server can obtain the user's query request. Among them, the data server includes a query program and a database, wherein the query program is used to access the database according to the query request of the user to obtain the query result; The generated information, for example, the GPRS information consumed when the user accesses the network, the call information when the user calls, etc. In one embodiment, the data server is an Hbase server, the query program is a query program on the Hbase server side, and the database is an Hbase database. The embodiment of the present invention does not limit the way that the data server obtains the query request of the client. For example, the client and the data server can communicate through a preset protocol, or set a third party for data conversion, and convert the query request of the client into Data that the data server can handle, etc.
步骤120:根据该查询请求在用户数据表中确定查询数据。Step 120: Determine query data in the user data table according to the query request.
其中,用户数据表存储在数据服务器中的数据库中。在用户数据表中,记录了海量用户的业务详单,该业务详单包括但不限于用户标识,即电话号码、业务类型、相关日期等信息。根据查询请求中包含的需查询号码、需查询数据以及查询时间段在用户数据表中匹配查询数据。Wherein, the user data table is stored in a database in the data server. In the user data table, the business details of a large number of users are recorded, and the business details include but not limited to user identification, that is, telephone number, business type, relevant date and other information. Match the query data in the user data table according to the number to be queried, the data to be queried, and the query time period contained in the query request.
在一些实施例中,数据服务器在接收到查询请求后,根据查询请求生成请求报文,该请求报文是数据服务器根据与用户端服务器之间的协议生成的一种报文。报文按照协议预设的格式将查询请求进行存储,便于数据服务器根据该请求报文进行数据查询。请求报文携带查询数据标识,该查询数据标识与查询请求中的需查询数据相匹配。在一种实施方式中,请求报文具体包括如表1所示信息。In some embodiments, after receiving the query request, the data server generates a request message according to the query request, and the request message is a message generated by the data server according to the protocol with the client server. The message stores the query request according to the format preset by the protocol, so that the data server can perform data query according to the request message. The request message carries the query data identifier, and the query data identifier matches the data to be queried in the query request. In an implementation manner, the request message specifically includes the information shown in Table 1.
表1Table 1
其中,序号1表示用户输入的查询请求,1.1至1.4是从查询请求中提取到的关键字段,父元素名称为请求报文中的字段,包括手机号码、查询模板号、开始时间和结束时间。其中,查询模板号是一种查询数据标识,用于表示需要查询的数据。在一种实施方式中,根据需要查询的数据不同,查询模板号有56种,每一种查询模板号表示一种需要查询的数据,例如,602表示GPRS清单查询。Among them, the serial number 1 represents the query request input by the user, 1.1 to 1.4 are the key fields extracted from the query request, and the parent element name is the field in the request message, including the mobile phone number, query template number, start time and end time . Wherein, the query template number is a query data identifier, which is used to represent the data to be queried. In one embodiment, there are 56 types of query template numbers according to different data to be queried, and each query template number represents a kind of data to be queried, for example, 602 represents GPRS list query.
步骤130:在该查询数据的数据量大于预设阈值的情况下,根据预设过滤条件该查询数据进行过滤,得到目标查询数据。Step 130: When the data volume of the query data is greater than the preset threshold, filter the query data according to preset filtering conditions to obtain target query data.
其中,根据用户数据表中与查询请求相匹配的查询数据的数据量,查询数据是指用户数据表中与查询请求相匹配的业务详单,查询数据的数据量是指业务详单的数量。如果该业务详单的数量大于预设阈值,则将所有业务详单作为查询结果返回给用户时会消耗大量时间,造成用户查询等待时间过长,用户满意度降低;此外,查询时间过长可能会导致该查询因超时而失败,无法返回查询结果。因此,当查询数据的数据量大于预设阈值时,则会进行精简查询,即仅向用户返回与查询请求相关的主要信息。主要信息的确定是通过预设的过滤条件进行过滤得到的,该预设的过滤条件根据查询请求中的需查询数据进行人为设定,并将该过滤条件和查询请求中需查询数据建立对应关系,将该对应关系固化在数据服务器中,便于在需要进行精简查询时根据该对应关系对查询到的业务详单进行过滤。本发明实施例并不以预设过滤条件的具体内容为限,例如,在需查询数据为GPRS详单时,预设的过滤条件可以是GPRS消耗费用为0,即将GPRS消耗时不产生费用的业务详单过滤掉,仅保留产生费用的GPRS详单。Wherein, according to the data volume of the query data matching the query request in the user data table, the query data refers to the business detailed bills matching the query request in the user data table, and the data volume of the query data refers to the number of business detailed bills. If the number of the business details is greater than the preset threshold, it will take a lot of time to return all the business details to the user as the query result, resulting in a long waiting time for the user query and a decrease in user satisfaction; in addition, too long query time may It will cause the query to fail due to timeout, and the query result cannot be returned. Therefore, when the data volume of the query data is greater than a preset threshold, a streamlined query will be performed, that is, only the main information related to the query request will be returned to the user. The determination of the main information is obtained by filtering through preset filter conditions. The preset filter conditions are artificially set according to the data to be queried in the query request, and a corresponding relationship is established between the filter conditions and the data to be queried in the query request. , and solidify the corresponding relationship in the data server, so as to filter the queried business details according to the corresponding relationship when a simplified query is required. The embodiments of the present invention are not limited to the specific content of the preset filter condition. For example, when the query data is a GPRS detailed list, the preset filter condition can be that the GPRS consumption fee is 0, that is, no fee is generated when the GPRS is consumed. The business bills are filtered out, and only the GPRS bills that generate fees are kept.
在查询数据的数据量小于或等于预设阈值的情况下,将查询数据作为查询结果发送至用户端,即向用户返回与查询请求相匹配的业务详单。When the data volume of the query data is less than or equal to the preset threshold, the query data is sent to the client as the query result, that is, the business details matching the query request are returned to the user.
步骤140:将查询数据存储至目标文件中。Step 140: Store the query data into the target file.
其中,为了便于用户了解需查询数据对应的业务详单,在执行步骤130的同时,在数据服务器后台启动一个全量查询,即,获取所有与查询请求匹配的业务详单,将所有业务详单存储在一个指定的目标文件中。在一种实施方式中,该目标文件位于下载服务器中,下载服务器是一个可供用户端访问并下载数据资源的服务器。下载服务器可以与数据服务器建立通信,便于数据服务器将业务详单存储至下载服务器中的目标文件中。例如,在数据服务器中存储有下载服务器中目标文件的url地址,数据服务器将查询到的业务详单存储在该url地址对应的目标文件中即可。Among them, in order to facilitate the user to understand the business details corresponding to the data to be queried, while executing
步骤150:将目标查询数据以及目标文件的地址作为查询结果发送至用户端。Step 150: Send the target query data and the address of the target file to the client as a query result.
其中,目标查询数据为经过预设过滤条件过滤后得到的包含主要查询信息的数据。目标文件的地址即为目标文件的url地址。Wherein, the target query data is data including main query information obtained after being filtered by preset filter conditions. The address of the target file is the url address of the target file.
在一些实施例中,数据服务器在确定目标查询数据以及目标文件的地址后,将目标查询数据以及目标文件地址作为查询结果,按照预设的格式存储为响应报文。响应报文是数据服务器确定查询结果后,根据与用户端服务器之间的协议生成的一种报文,该报文按照协议预设的格式将查询结果进行存储,便于用户端服务器根据该响应报文确定查询结果。在一种实施方式中,响应报文包括如表2所示的如下信息。In some embodiments, after the data server determines the target query data and the address of the target file, the target query data and the target file address are used as query results and stored as a response message in a preset format. The response message is a message generated by the data server according to the agreement with the client server after confirming the query result. text to determine the query results. In an implementation manner, the response message includes the following information as shown in Table 2.
表2Table 2
其中,序号1对应的信息为查询结果,包括目标查询结果和目标文件地址,其中目标文件地址时一个url地址,用户可以点击该url地址,以获取目标文件中存储的业务详单。Among them, the information corresponding to the serial number 1 is the query result, including the target query result and the target file address, wherein the target file address is a url address, and the user can click the url address to obtain the business details stored in the target file.
值得说明的是,在查询数据的数据量大于预设阈值的情况下,将业务详单作为查询结果存储在响应报文中,对应的目标文件为空。It is worth noting that when the amount of query data is greater than the preset threshold, the business details are stored in the response message as the query result, and the corresponding target file is empty.
本发明实施例根据查询请求确定查询数据的数据量,在查询数据的数据量大于预设阈值时,向用户端返回目标查询数据以及存储查询数据的目标文件地址,相较于向用户返回所有查询数据,本发明实施例可以在保证返回主要查询信息的基础上,实现对用户的查询请求进行快速响应;此外,在查询数据的数据量大于预设阈值时,通过将查询数据对应的业务详单存储在目标文件中,向用户返回该目标文件的地址,以使用户下载查看业务详单,相较于将业务详单返回至用户端,本发明实施例在实现用户查询请求的情况下降低了数据服务器的资源损耗。The embodiment of the present invention determines the data volume of the query data according to the query request. When the data volume of the query data is greater than the preset threshold, the target query data and the target file address for storing the query data are returned to the client. Compared with returning all query data to the user data, the embodiment of the present invention can realize a quick response to the user's query request on the basis of ensuring that the main query information is returned; in addition, when the data volume of the query data is greater than the preset threshold, the business details corresponding to the query data Stored in the target file, and return the address of the target file to the user, so that the user can download and view the service detailed list. Compared with returning the service detailed list to the client, the embodiment of the present invention reduces the Resource consumption of the data server.
图2示出了本发明第二实施例的一种数据查询方法的流程图,在本发明实施例中,用户数据表包括统计数据表和清单数据表,如图2所示,本发明实施例包括以下步骤:Fig. 2 shows a flow chart of a data query method in the second embodiment of the present invention. In the embodiment of the present invention, the user data table includes a statistical data table and a list data table. As shown in Fig. 2, the embodiment of the present invention Include the following steps:
步骤210:根据获取的用户端的业务详单构建清单数据表。Step 210: Construct an inventory data table according to the obtained detailed service list of the client.
其中,清单数据表的表头是预先构建的,即,预先设置清单数据表中包含的字段,从获取的用户端的业务详单中提取相关字段,并存储在相应的表格中。清单数据表的每一行表示一条业务详单,每一列对应的信息相同。在一种实施方式中,用户清单数据表中包括电话号码、业务日期、业务类型以及话单详情。在获取到一条话单后,从话单中提取相应的信息进行存储,海量的话单信息存储后构成清单数据表。Wherein, the header of the list data table is pre-built, that is, the fields contained in the list data table are pre-set, and the relevant fields are extracted from the obtained business detailed list of the client, and stored in the corresponding table. Each row of the list data table represents a detailed business list, and each column corresponds to the same information. In one embodiment, the user list data table includes phone number, service date, service type and bill details. After obtaining a bill, the corresponding information is extracted from the bill for storage, and a large amount of bill information is stored to form a list data table.
步骤220:根据业务详单的用户标识、业务类型标识以及业务详单日期将统计数据表中的目标业务详单合并,得到合并后的业务详单。Step 220: Merge the target business bills in the statistical data table according to the user ID, business type ID, and business bill date of the business bills to obtain a merged business bill.
其中,获取到的业务详单会存储在统计数据表中,统计数据表中预先设置有相关的字段,该字段包括用户标识、业务类型标识、业务详单日期及统计量。用户标识包括但不限于手机号码,业务类型标识表示业务详单对应的业务,例如,GPRS清单、话费清单等。业务详单日期是业务详单对应的业务发生的日期。获取的每一个业务详单在合并前的数据量均为1。Wherein, the obtained business detailed bill will be stored in the statistical data table, and related fields are preset in the statistical data table, and the field includes user ID, business type ID, business detailed bill date and statistics. The user ID includes but not limited to the mobile phone number, and the service type ID indicates the service corresponding to the service list, for example, GPRS list, call charge list, etc. The business detailed bill date is the date when the business corresponding to the business detailed bill occurs. The data volume of each business detailed list obtained before merging is 1.
将同一天同一用户进行的相同业务类型进行合并,合并后同一天同一用户进行的相同业务类型仅有一条,合并的业务详单的数量作为合并后的业务详单的数据量。统计数据表中包括业务详单及业务详单的数据量。在一种实施方式中,统计数据表中还包括业务详单的统计标识,用于表示该业务详单是否可以进行合并,第一统计标识表示可以进行合并,第二统计标识表示无法进行合并,即已经是合并后的业务详单。获取的每一个业务详单在合并前的统计标识均为第一统计标识。Merge the same type of business performed by the same user on the same day. After the merger, there is only one of the same type of business performed by the same user on the same day. The number of merged business detailed bills is used as the data volume of the merged business detailed bill. The statistical data table includes the business detailed list and the data volume of the business detailed list. In one embodiment, the statistical data table also includes a statistical identifier of the detailed business bill, which is used to indicate whether the detailed business bill can be merged. The first statistical identifier indicates that the merge is possible, and the second statistical identifier indicates that the merged bill cannot be performed. That is, it is already a consolidated business detail list. The statistical identifier of each obtained business detailed list before merging is the first statistical identifier.
步骤230:根据合并后的业务详单及合并后的业务详单统计量更新统计数据表。Step 230: Update the statistical data table according to the merged detailed business bill and the statistics of the merged business detailed bill.
在本步骤中,合并后的业务详单的统计量是合并的所有业务详单的总数量。将该数量作为合并后的业务详单的统计量。在一种实施方式中,将合并之前的业务详单及其在统计数据表中的相关字段删除,仅保留合并后的业务详单及相关字段,以便于后续获取查询数据的数据量。In this step, the statistic of the merged business detailed bills is the total quantity of all merged business detailed bills. Use this quantity as the statistical quantity of the consolidated business detailed list. In one embodiment, the business detailed list and its related fields in the statistical data table before merging are deleted, and only the combined business detailed list and related fields are retained, so as to facilitate subsequent acquisition of the data volume of query data.
在一些实施例中,对于统计数据表进行维护,删除统计数据表中的失效数据,以减少统计数据表的存储量。失效数据是统计数据表中的业务详单日期在预设日期之前的业务详单。考虑到用户端的查询时间一般在一年以内,因此,预设日期距离统计数据表的维护日期一般为1年。In some embodiments, the statistical data table is maintained, and invalid data in the statistical data table is deleted, so as to reduce the storage capacity of the statistical data table. Expiration data is the business detailed list whose date of business detailed list in the statistical data table is before the preset date. Considering that the query time of the client is generally within one year, the preset date is generally 1 year from the maintenance date of the statistical data table.
步骤240:获取用户端的查询请求。Step 240: Obtain a query request from the client.
步骤250:根据查询请求分别查询统计数据表和清单数据表,得到查询数据的数据量和查询数据清单。Step 250: Query the statistical data table and the list data table respectively according to the query request to obtain the data volume of the query data and the query data list.
在本步骤中,根据查询请求在统计数据表中匹配合并后的业务详单对应的统计量,并将该统计量作为查询数据的数据量。根据查询请求查询清单数据表,得到查询数据清单。In this step, match the statistics corresponding to the merged business details in the statistical data table according to the query request, and use the statistics as the data volume of the query data. The list data table is queried according to the query request to obtain the query data list.
步骤260:在查询数据的数据量大于预设阈值的情况下,根据预设过滤条件对查询数据清单进行过滤,得到目标查询数据。Step 260: When the amount of query data is greater than a preset threshold, filter the list of query data according to preset filtering conditions to obtain target query data.
步骤270:将查询数据清单存储至目标文件中。Step 270: Store the query data list into the target file.
步骤280:将目标查询数据以及目标文件的地址作为查询结果发送至用户端。Step 280: Send the target query data and the address of the target file to the client as a query result.
步骤260至步骤280的说明请参阅第一实施例中的步骤130至步骤150,在此不再赘述。For descriptions of
本发明实施例通过设置统计数据表用于统计业务详单的统计量,通过设置清单数据表用于确定业务详单的清单,便于根据统计数据表中的统计量确定查询数据的数据量是否大于预设阈值,以根据查询数据的数据量与预设阈值的对比结果确定查询结果。In the embodiment of the present invention, by setting the statistical data table for the statistics of the detailed business bill, and by setting the list data table for determining the list of the detailed business bill, it is convenient to determine whether the data volume of the query data is greater than Preset the threshold, so as to determine the query result according to the comparison result between the data volume of the query data and the preset threshold.
图3示出了本发明第三实施例的一种数据查询装置实施例的结构示意图。如图3所示,该装置包括:获取模块410、确定模块420、过滤模块430、存储模块440和发送模块450。Fig. 3 shows a schematic structural diagram of an embodiment of a data query device according to the third embodiment of the present invention. As shown in FIG. 3 , the device includes: an acquisition module 410 , a determination module 420 , a filter module 430 , a storage module 440 and a sending module 450 .
获取模块410,用于获取用户端的查询请求。确定模块420,用于根据所述查询请求在用户数据表中确定查询数据。过滤模块430,用于在所述查询数据的数据量大于预设阈值的情况下,根据预设过滤条件对所述查询数据进行过滤,得到目标查询数据。存储模块440,用于将所述查询数据存储至目标文件中。发送模块450,用于将所述目标查询数据以及所述目标文件的地址作为查询结果发送至所述用户端。The acquisition module 410 is configured to acquire the query request of the client. A determining module 420, configured to determine query data in the user data table according to the query request. The filtering module 430 is configured to filter the query data according to a preset filter condition to obtain target query data when the data amount of the query data is greater than a preset threshold. A storage module 440, configured to store the query data into a target file. A sending module 450, configured to send the target query data and the address of the target file to the client as a query result.
可选的,所述装置还包括第一发送模块460,用于在所述查询数据的数据量小于或等于预设阈值的情况下,将所述查询数据作为查询结果发送至用户端。Optionally, the device further includes a first sending module 460, configured to send the query data to the client as a query result when the amount of the query data is less than or equal to a preset threshold.
可选的,用户数据表包括统计数据表和清单数据表,确定模块420进一步用于:Optionally, the user data table includes a statistical data table and a list data table, and the determining module 420 is further used to:
根据所述查询请求查询所述统计数据表,得到查询数据的数据量;Querying the statistical data table according to the query request to obtain the data volume of the query data;
根据所述查询请求查询所述清单数据表,得到查询数据清单;过滤模块430进一步用于:在所述查询数据的数据量大于预设阈值的情况下,根据预设过滤条件对所述查询数据清单进行过滤,得到目标查询数据;存储模块440进一步用于:将所述查询数据清单存储至目标文件中。Query the list data table according to the query request to obtain a query data list; the filtering module 430 is further configured to: when the data volume of the query data is greater than a preset threshold, filter the query data according to a preset filter condition The list is filtered to obtain target query data; the storage module 440 is further configured to: store the list of query data into a target file.
可选的,该装置还包括:构建模块470、合并模块480及更新模块490。其中,构建模块470用于根据获取的用户端的业务详单构建清单数据表。合并模块480用于根据所述业务详单的用户标识、业务类型标识以及业务详单日期将统计数据表中的目标业务详单合并,得到合并后的业务详单。更新模块490用于根据所述合并后的业务详单及所述合并后的业务详单的统计量更新统计数据表。Optionally, the device further includes: a building module 470 , a merging module 480 and an updating module 490 . Wherein, the construction module 470 is used for constructing the list data table according to the obtained detailed service list of the client. The merging module 480 is configured to combine the target business bills in the statistical data table according to the user ID, business type ID, and business bill date of the business bills to obtain a merged business bill. The updating module 490 is configured to update the statistical data table according to the combined business detailed bill and the statistics of the combined business detailed bill.
可选的,更新模块490进一步用于删除所述统计数据表中失效数据,所述失效数据为所述统计数据表中业务详单日期在预设日期之前的业务详单。Optionally, the update module 490 is further configured to delete invalid data in the statistical data table, where the invalid data is the business detailed bills in the statistical data table whose date of business detailed bill is before a preset date.
本发明实施例通过查询请求确定查询数据的数据量,在查询数据的数据量大于预设阈值时,向用户端返回目标查询数据以及存储查询数据的目标文件地址,相较于向用户返回所有查询数据,本发明实施例可以在保证返回主要查询信息的基础上,实现对用户的查询请求进行快速响应;此外,在查询数据的数据量大于预设阈值时,通过将查询数据对应的业务详单存储在目标文件中,向用户返回该目标文件的地址,以使用户下载查看业务详单,相较于将业务详单返回至用户端,本发明实施例在实现用户查询请求的情况下降低了数据服务器的资源损耗。In the embodiment of the present invention, the data volume of the query data is determined through the query request. When the data volume of the query data is greater than the preset threshold, the target query data and the target file address for storing the query data are returned to the client. Compared with returning all query data to the user data, the embodiment of the present invention can realize a quick response to the user's query request on the basis of ensuring that the main query information is returned; in addition, when the data volume of the query data is greater than the preset threshold, the business details corresponding to the query data Stored in the target file, and return the address of the target file to the user, so that the user can download and view the service detailed list. Compared with returning the service detailed list to the client, the embodiment of the present invention reduces the Resource consumption of the data server.
本发明实施例提供了一种非易失性计算机存储介质,所述计算机存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的一种数据查询方法。An embodiment of the present invention provides a non-volatile computer storage medium, the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute a data query method in any of the above method embodiments.
图4示出了本发明第四实施例的一种计算设备的结构示意图,本发明具体实施例并不对计算设备的具体实现做限定。FIG. 4 shows a schematic structural diagram of a computing device according to a fourth embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the computing device.
如图4所示,该计算设备可以包括:处理器(processor)502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。As shown in FIG. 4 , the computing device may include: a processor (processor) 502, a communication interface (Communications Interface) 504, a memory (memory) 506, and a
其中:处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。通信接口504,用于与其它设备比如客户端或其它服务器等的网元通信。处理器502,用于执行程序510,具体可以执行上述用于数据查询方法实施例中的相关步骤。Wherein: the processor 502 , the
具体地,程序510可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the
处理器502可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 502 may be a central processing unit CPU, or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be of the same type, such as one or more CPUs, or may be different types of processors, such as one or more CPUs and one or more ASICs.
存储器506,用于存放程序510。存储器506可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 506 is used for storing the
程序510具体可以用于使得处理器502执行图1中的步骤110~步骤150,图2中的步骤210~步骤280以及实现图3中的模块410~模块490的功能。The
在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, embodiments of the present invention are not directed to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本发明并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline the present disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the embodiments of the invention are sometimes grouped together into a single implementation examples, figures, or descriptions thereof. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。Furthermore, those skilled in the art will understand that although some embodiments herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination. It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the execution order.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911053789.6A CN112749190B (en) | 2019-10-31 | 2019-10-31 | Data query method and device, computing equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911053789.6A CN112749190B (en) | 2019-10-31 | 2019-10-31 | Data query method and device, computing equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112749190A CN112749190A (en) | 2021-05-04 |
CN112749190B true CN112749190B (en) | 2023-04-11 |
Family
ID=75645597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911053789.6A Active CN112749190B (en) | 2019-10-31 | 2019-10-31 | Data query method and device, computing equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112749190B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113204589A (en) * | 2021-05-28 | 2021-08-03 | 平安科技(深圳)有限公司 | Storage object processing system, request processing method, gateway and storage medium |
CN114116835B (en) * | 2021-11-12 | 2025-01-14 | 中国银行股份有限公司 | A query timeout prediction method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102141990B (en) * | 2010-02-01 | 2014-02-26 | 阿里巴巴集团控股有限公司 | Searching method and device |
CN105589864A (en) * | 2014-10-22 | 2016-05-18 | 中兴通讯股份有限公司 | Data inquiry method and apparatus |
CN107766454A (en) * | 2017-09-26 | 2018-03-06 | 深圳市金立通信设备有限公司 | A kind of data processing method, server and computer-readable recording medium |
CN108491450A (en) * | 2018-02-26 | 2018-09-04 | 平安普惠企业管理有限公司 | Data cache method, device, server and storage medium |
CN108763469A (en) * | 2018-05-29 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of data base query method and device |
CN109299157A (en) * | 2018-08-27 | 2019-02-01 | 杭州安恒信息技术股份有限公司 | A data export method and device for distributed large single table |
CN109324960A (en) * | 2018-08-13 | 2019-02-12 | 中国平安人寿保险股份有限公司 | Automatic test method and terminal equipment based on big data analysis |
CN109359060A (en) * | 2018-10-24 | 2019-02-19 | 北京奇虎科技有限公司 | Data extraction method, device, computing device and computer storage medium |
CN110362590A (en) * | 2018-04-02 | 2019-10-22 | 腾讯科技(深圳)有限公司 | Data managing method, device, system, electronic equipment and computer-readable medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11436656B2 (en) * | 2016-03-18 | 2022-09-06 | Palo Alto Research Center Incorporated | System and method for a real-time egocentric collaborative filter on large datasets |
-
2019
- 2019-10-31 CN CN201911053789.6A patent/CN112749190B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102141990B (en) * | 2010-02-01 | 2014-02-26 | 阿里巴巴集团控股有限公司 | Searching method and device |
CN105589864A (en) * | 2014-10-22 | 2016-05-18 | 中兴通讯股份有限公司 | Data inquiry method and apparatus |
CN107766454A (en) * | 2017-09-26 | 2018-03-06 | 深圳市金立通信设备有限公司 | A kind of data processing method, server and computer-readable recording medium |
CN108491450A (en) * | 2018-02-26 | 2018-09-04 | 平安普惠企业管理有限公司 | Data cache method, device, server and storage medium |
CN110362590A (en) * | 2018-04-02 | 2019-10-22 | 腾讯科技(深圳)有限公司 | Data managing method, device, system, electronic equipment and computer-readable medium |
CN108763469A (en) * | 2018-05-29 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of data base query method and device |
CN109324960A (en) * | 2018-08-13 | 2019-02-12 | 中国平安人寿保险股份有限公司 | Automatic test method and terminal equipment based on big data analysis |
CN109299157A (en) * | 2018-08-27 | 2019-02-01 | 杭州安恒信息技术股份有限公司 | A data export method and device for distributed large single table |
CN109359060A (en) * | 2018-10-24 | 2019-02-19 | 北京奇虎科技有限公司 | Data extraction method, device, computing device and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112749190A (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11394805B1 (en) | Automatic discovery of API information | |
JP6306187B2 (en) | Dynamic telephone number assignment | |
CN109639636B (en) | Service data forwarding method, service data processing method, service data forwarding device, service data processing device and electronic equipment | |
CN100440202C (en) | Personalized Services for Mobile Users | |
CN110557284B (en) | Data aggregation method and device based on client gateway | |
CN112256772A (en) | Data service method, device and readable storage medium | |
CN101083633B (en) | Information search system and search method | |
CN107483521A (en) | An information display method, device and system | |
CN114785685B (en) | Software differential upgrading method and device, electronic equipment and readable storage medium | |
CN112073512B (en) | Data processing method and device | |
US10375149B2 (en) | Application registration and interaction | |
CN107370780A (en) | Media push methods, devices and systems based on internet | |
US20140086151A1 (en) | Quality of service level adaptation for visual services in mobile communication networks | |
CN112749190B (en) | Data query method and device, computing equipment and computer storage medium | |
WO2007133677A2 (en) | Messaging apparatus and method | |
CN108122124B (en) | Information push method, platform and system | |
CN111294288A (en) | Traffic identification method and device, application program interface gateway and storage medium | |
CN112241474B (en) | Information processing method, device and storage medium | |
US8510346B2 (en) | Efficiently handling information on changes to a UDDI registry including those resulting in virtual deletes | |
CN108377203A (en) | Differentiation flow service providing method based on order business and device | |
CN114520830A (en) | A message push method, device and system | |
US8788638B2 (en) | Method and arrangement for registering a user | |
CN107508705B (en) | Resource tree construction method of HTTP element and computing equipment | |
CN110443659A (en) | Method and system for generating an invoice | |
CN113434525B (en) | Method and device for updating cached data, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |