CN113609283A - Data acquisition method and system - Google Patents

Data acquisition method and system Download PDF

Info

Publication number
CN113609283A
CN113609283A CN202110855924.XA CN202110855924A CN113609283A CN 113609283 A CN113609283 A CN 113609283A CN 202110855924 A CN202110855924 A CN 202110855924A CN 113609283 A CN113609283 A CN 113609283A
Authority
CN
China
Prior art keywords
index
type
function
service
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110855924.XA
Other languages
Chinese (zh)
Inventor
周波
周琦
林敏�
张建业
杨张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Huifu Network Technology Co ltd
Original Assignee
Zhejiang Huifu Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Huifu Network Technology Co ltd filed Critical Zhejiang Huifu Network Technology Co ltd
Priority to CN202110855924.XA priority Critical patent/CN113609283A/en
Publication of CN113609283A publication Critical patent/CN113609283A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Technology Law (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data acquisition method and a system, which configure a processing rule of a derived index by combining a service index and a function, wherein the data acquisition method comprises the following steps: receiving a data request of a service index; analyzing the index code in the data request; finding out an index data source interface and an algorithm rule corresponding to the index code according to the index code; requesting data participating in operation in an algorithm rule corresponding to the index code from an index data source interface corresponding to the index code; and processing the data participating in operation in the algorithm rule by adopting the algorithm rule corresponding to the index code. The invention can realize the quick online and data acquisition of the new service index without developing new codes.

Description

Data acquisition method and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data acquisition method and system.
Background
With the rapid development of the modern society, the daily business activities of enterprises are no longer information isolated islands, and in order to meet business needs and business decisions, the enterprises need to acquire various data from other external or internal departments to meet the development of daily businesses.
Taking a traditional financial institution as an example, in the daily credit business, in order to identify the fraud risk and the user risk of each borrowed user, a bank can assist decision making by means of a large amount of external data (such as the operator status of the user's mobile phone) and internal data (central bank credit, etc.) on the basis of obtaining user authorization.
One of the main ways to obtain data, whether internal or external, is through an API interface (application programming interface). Due to the expansion of data volume in the information age, dozens or even hundreds of fields of an API interface often exist, particularly, the data are collected at the center row and the second generation, and the capacity of interface data such as personal basic information (identity information, marital information, residence information, occupational information and the like), loan records (various loan account information and repayment conditions), public information (tax owed records, civil decisions, administrative penalties and the like) and the like is up to several hundred KB. The bank selects the information needed by the bank from the large number of interface fields for business auditing and wind control decision, such as the field of user marital status, and the information can be directly read for use in a business system. However, in the risk decision, more calculation and statistics are needed for these interface fields, for example, "average credit card usage amount of users in the last six months" a needs to obtain a credit card usage record (one record in a month) from a repayment record block of the credit card interface, and then obtain the last six months of amounts a1, a2, A3, a4, a5, A6, and take an average value of the six months, that is, a is (a1+ a2+ A3+ a4+ a5+ A6)/6. There are two technical solutions to achieve this requirement: firstly, after data of a central row interface is called in a programming mode, the acquired data is processed by data fetching. Secondly, credit investigation data is stored in a database, and then the index value is obtained from the database in an SQL (structured query language) text query mode.
The inventor finds that the two technical schemes are developed by the technology and need to process the whole online iteration process of the product in the process of realizing the invention. If the bank needs a 'credit card average use amount of users in the last 12 months', repeated development work is needed. Moreover, different banks, different business types, different risk management and control forces and different index requirements are different, the adoption of the two technical schemes to realize different business requirements can result in more manpower and time investment, the work is complicated, and the efficiency is lower.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention aims to provide a data acquisition method and a data acquisition system, which can realize the quick online and data acquisition of new service indexes without developing new codes.
In order to achieve the above object, the present invention provides a data acquisition method, which includes: receiving a data request of a service index; analyzing the index code in the data request; finding out an index data source interface and an algorithm rule corresponding to the index code according to the index code; requesting index data participating in operation in the algorithm rule corresponding to the index code from an index data source interface corresponding to the index code; and processing the index data participating in operation in the algorithm rule by adopting the algorithm rule corresponding to the index code.
In an embodiment of the present invention, before receiving a data request of a service indicator, the data obtaining method further includes: and constructing an algorithm rule of the service index, wherein the algorithm rule for constructing the service index comprises the following steps: after receiving an algorithm rule establishing request of the service index, outputting and displaying a function in a prestored function library in a page, wherein the page comprises a service index name list area and a formula editing area; after the function is selected, displaying the selected function in the formula editing area; after the data input box of the selected function obtains a focus and the name of one or some service indexes is selected, displaying the selected name of one or some service indexes in the data input box; and after the selected function is edited, verifying the edited function, and storing the edited function after the verification is passed, wherein the edited function is the algorithm rule of the service index.
In an embodiment of the present invention, the outputting and displaying the functions in the pre-stored function library in the page includes: after receiving the algorithm rule creating request of the service index, analyzing an index code in the algorithm rule creating request information of the service index, and searching the index type of the service index from a pre-stored service index attribute library according to the index code; if the index type of the service index is an array type, outputting and displaying a function in a pre-stored statistical operation function library in a page; and if the index type of the service index is a non-array type, outputting and displaying a function in a pre-stored non-statistical operation function library in a page.
In an embodiment of the present invention, the outputting and displaying the functions in the pre-stored function library in the page includes: after receiving the algorithm rule creating request of the service index, analyzing an index code in the algorithm rule creating request information of the service index, and searching the index type of the service index from a pre-stored service index attribute library according to the index code; if the index type of the service index is an array type and a text type, outputting and displaying a text type function in a pre-stored statistical operation type function library in a page; if the index type of the service index is an array type and a digital type, outputting and displaying a digital function in a pre-stored statistical operation function library in a page; if the index type of the service index is an array type and a time type, outputting and displaying a time type function in a pre-stored statistical operation type function library in a page; if the index type of the service index is a non-array type and a text type, outputting and displaying a text type function in a pre-stored non-operation type function library in a page; if the index type of the service index is a non-array type and a digital type, outputting and displaying a digital function in a pre-stored non-statistical operation function library in a page; and if the index type of the service index is a non-array type and a time type, outputting and displaying a time type function in a prestored non-statistical operation type function library in a page.
Based on the same inventive concept, the invention also provides a data acquisition system, wherein the first receiving module is used for receiving a data request of the service index, and the index code analyzing module is coupled with the first receiving module and used for analyzing the index code in the data request; the searching module is coupled with the index code analyzing module and used for searching an index data source interface and an algorithm rule corresponding to the index code according to the index code; the interface calling module is coupled with the searching module and used for requesting the index data participating in operation in the algorithm rule corresponding to the index code from the index data source interface corresponding to the index code; and the operation module is coupled with the interface calling module and the searching module and is used for processing the index data participating in operation in the algorithm rule by adopting the algorithm rule corresponding to the index code.
In an embodiment of the present invention, the data acquisition system further includes: an algorithm rule construction module, wherein the algorithm rule construction module comprises: the second receiving module is used for receiving the algorithm rule creation request of the service index; the function output module is used for outputting and displaying a function in a pre-stored function library in a page after the second receiving module receives the rule calculation rule creating request of the service index, wherein the page comprises a service index name list area and a formula editing area; the editing module is coupled with the second receiving module and used for displaying the selected function in the formula editing area after the function is selected; the system is further used for displaying the name of the selected certain service index or certain service indexes in the data input box after the data input box of the selected function obtains the focus and the name of the certain service index or certain service indexes is selected; and the generating module is coupled with the editing module and used for verifying the edited function after the selected function is edited and storing the edited function after the verification is passed, wherein the edited function is an algorithm rule of the service index.
In an embodiment of the present invention, the function output module is configured to receive an algorithm rule creation request of the service indicator; analyzing an algorithm rule of the service index to create an index code in the request information, and searching the index type of the service index from a pre-stored service index attribute library according to the index code; if the index type of the service index is an array type, outputting and displaying a function in a pre-stored statistical operation function library in a page; and if the index type of the service index is a non-array type, outputting and displaying a function in a pre-stored non-statistical operation function library in a page.
In an embodiment of the present invention, the function output module is configured to, after receiving a calculation rule creation request of the service indicator, parse an indicator code in the algorithm rule creation request information of the service indicator, and search for an indicator type of the service indicator from a pre-stored service indicator attribute library according to the indicator code; if the index type of the service index is an array type and a text type, outputting and displaying a text type function in a pre-stored statistical operation type function library in a page; if the index type of the service index is an array type and a digital type, outputting and displaying a digital function in a pre-stored statistical operation function library in a page; if the index type of the service index is an array type and a time type, outputting and displaying a time type function in a pre-stored statistical operation type function library in a page; if the index type of the service index is a non-array type and a text type, outputting and displaying a text type function in a pre-stored non-operation type function library in a page; if the index type of the service index is a non-array type and a digital type, outputting and displaying a digital function in a pre-stored non-statistical operation function library in a page; and if the index type of the service index is a non-array type and a time type, outputting and displaying a pre-stored time type function in a non-statistical operation type function library in a page.
Based on the same inventive concept, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the data acquisition method according to any one of the above embodiments.
Based on the same inventive concept, the present invention also provides an electronic device, comprising: at least one processor and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the data acquisition method of any one of the above embodiments.
Compared with the prior art, according to the data acquisition method and the data acquisition system, after the data request is received, the corresponding index data source interface and the algorithm rule are found out according to the index code, the data are acquired from the index data source interface, the data are calculated in real time according to the algorithm rule, the derived index required by the service is obtained, the complex process of technical development is avoided, the production and development cost is reduced, and the online efficiency of the new service index is improved. In addition, the invention can combine the required indexes and functions in a visual mode according to the business requirements and configure the processing rules of all the derived indexes.
Drawings
FIG. 1 is a block diagram of the steps of a data acquisition method according to an embodiment of the present invention;
FIG. 2 is a block diagram of the steps of a data acquisition method according to an embodiment of the present invention;
FIG. 3 is a block diagram of a data acquisition system according to an embodiment of the present invention;
FIG. 4 is a block diagram of a data acquisition system according to an embodiment of the present invention.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
In order to quickly implement online of a new service index, an embodiment provides a data acquisition method, which can implement quick online of a new service index and data acquisition without developing a new code. As shown in fig. 1, the data acquisition method includes: step S11 to step S15.
A data request for a service indicator is received in step S11.
The index code in the data request is parsed in step S12.
In step S13, the index data source interface and the algorithm rule corresponding to the index code are found according to the index code. The index data source interface may be any API interface on the market, such as an HTTP interface, an RPC interface, a Web Service interface, and the like. Optionally, in this embodiment, an attribute library and an algorithm rule library of each service index are stored in a pre-stored file in advance. The attribute information of each service index is recorded in the attribute library, wherein the attribute information of the service index comprises a data source interface of the service index and coding information of the service index. The algorithm rule base records the algorithm rule and the coding information of each service index.
In step S14, the index data participating in the operation in the algorithm rule corresponding to the index code is requested from the index data source interface corresponding to the index code.
In step S15, the index data participating in the operation in the algorithm rule is processed by using the algorithm rule corresponding to the index code.
Therefore, in the embodiment, after the data request is received, the corresponding index data source interface and the corresponding algorithm rule are found out according to the index code, the data are obtained from the index data source interface, the data are calculated in real time according to the algorithm rule, the derived index required by the service is obtained, the complex process of technical development is omitted, the production and development cost is reduced, and the online efficiency of the new service index is improved.
In order to implement the customized establishment of the algorithm rule of the service index, in a preferred embodiment, the data acquisition method further includes establishing the algorithm rule of the service index. As shown in fig. 2, the algorithm rule for constructing the service indicator includes: step S21 to step S25.
An algorithm rule creation request for the service index is received in step S21.
In step S22, the functions in the pre-stored function library are output and displayed in a page, wherein the page includes a service index name list area and a formula editing area. Preferably, whether the service index belongs to a node, an index code corresponding to a parent node thereof, and the like may be recorded in the attribute library of the service index. And displaying the business index names in the business index name list area in a menu bar mode, wherein the parent-child relationship or the hierarchical relationship of the business indexes is displayed in the menu bar.
The function library of the present embodiment includes more than 30 kinds of functions, as shown in table 1.
TABLE 1
Figure BDA0003183914930000071
Figure BDA0003183914930000081
Figure BDA0003183914930000091
Figure BDA0003183914930000101
The selected function is displayed in the formula edit area in step S23.
After the focus is obtained in the data input box of the selected function and the name of a certain service index or certain service indexes is selected in step S24, the name of the selected certain service index or certain service indexes is displayed in the data input box.
In step S25, the edited function is saved as the algorithm rule of the service index. Preferably, a verification link may be added, that is, the edited function is verified, for example, whether the data type of each parameter of the function is correct or not is verified, and the edited function is stored after the verification is passed, so that the accuracy of algorithm rule editing is improved.
Therefore, the embodiment can combine the required indexes and functions in a visual mode according to business requirements, and configure the processing rules of all the derived indexes.
Preferably, in an embodiment, the outputting and displaying the functions in the pre-stored function library in the page specifically includes: after receiving the algorithm rule creating request of the service index, analyzing an index code in the algorithm rule creating request information of the service index, and searching the index type of the service index from a pre-stored service index attribute library according to the index code; if the index type of the service index is an array type, outputting and displaying a function in a pre-stored statistical operation function library in a page; and if the index type of the service index is a non-array type, outputting and displaying the function in the pre-stored non-statistical operation function library in a page. Therefore, in the embodiment, the function library is divided into the statistical operation function library and the non-statistical operation function, when the type of the service index is an array type, the statistical operation function library is returned, and when the type of the service index is a non-array type, the non-statistical operation function is returned, so that the user can be helped to quickly and accurately select a proper function as far as possible, and the algorithm rule construction efficiency is improved.
Further, in a preferred embodiment, the outputting and displaying the functions in the pre-stored function library in the page specifically includes: after receiving the algorithm rule creating request of the service index, analyzing an index code in the algorithm rule creating request information of the service index, and searching the index type of the service index from a pre-stored service index attribute library according to the index code; if the index type of the service index is an array type and a text type, outputting and displaying a text type function in a pre-stored statistical operation type function library in a page; if the index type of the service index is an array type and a digital type, outputting and displaying a digital function in a pre-stored statistical operation function library in a page; if the index type of the service index is an array type and a time type, outputting and displaying a time type function in a pre-stored statistical operation type function library in a page; if the index type of the service index is a non-array type and a text type, outputting and displaying a text type function in a prestored non-operation type function library in a page; if the index type of the service index is a non-array type and a digital type, outputting and displaying a digital function in a pre-stored non-statistical operation function library in a page; and if the index type of the service index is a non-array type and a time type, outputting and displaying a pre-stored time type function in a non-statistical operation type function library in a page. The implementation mode divides the non-statistical operation function and the statistical operation function into a character function, a digital function and a time function on the basis of the previous implementation mode, divides the service index type into a character index, a digital index and a time index, and returns the functions in a targeted manner according to the service index type for quick selection of a user, so that the algorithm rule construction efficiency is further improved.
Based on the same inventive concept, an embodiment further provides a data acquisition system, as shown in fig. 3, including: the device comprises a first receiving module 10, an index code analyzing module 11, a searching module 12, an interface calling module 13 and an operation module 14.
The first receiving module 10 is configured to receive a data request of a service indicator.
The index code parsing module 11 is coupled to the first receiving module 10, and configured to parse the index code in the data request.
The searching module 12 is coupled to the index code analyzing module 11, and configured to search and find an index data source interface and an algorithm rule corresponding to the index code according to the index code.
The interface calling module 13 is coupled to the searching module 12, and configured to request, from an index data source interface corresponding to the index code, data involved in operation in an algorithm rule corresponding to the index code.
The operation module 14 is coupled to the interface calling module 13 and the search module 12, and is configured to process data participating in operation in the algorithm rule by using the algorithm rule corresponding to the index code.
Therefore, in the data acquisition system of the embodiment, after a data request is received, the corresponding index data source interface and the corresponding algorithm rule are found out according to the index code, the data are acquired from the index data source interface, the data are calculated in real time according to the algorithm rule, and the derived index required by the service is obtained, so that the complex process of technical development is avoided, the production and development cost is reduced, and the online efficiency of new service indexes is improved.
In order to implement the algorithm rule for custom-establishing the service index, in a preferred embodiment, as shown in fig. 4, the data acquiring system further includes: an algorithm rule building module 15 coupled to the lookup module 12, wherein the algorithm rule building module 15 comprises: a second receiving module 15a, a function output module 15b, an editing module 15c, and a generating module 15 d.
The second receiving module 15a is configured to receive an algorithm rule creating request of the service indicator.
The function output module 15b is coupled to the second receiving module 15a, and configured to output and display a function in a pre-stored function library in a page after the second receiving module receives the algorithm rule creating request of the service index, where the page includes a service index name list area and a formula editing area.
The editing module 15c is coupled to the function output module 15b, and is configured to display the selected function in the formula editing area after the function is selected; and the data input box is also used for displaying the name of the selected certain service index or certain service indexes in the data input box after the data input box of the selected function obtains the focus and the name of the certain service index or certain service indexes is selected.
The generating module 15d is coupled to the editing module 15c, and is configured to verify the edited function, and store the edited function after the verification is passed, where the edited function is an algorithm rule of the service indicator.
Therefore, the embodiment can combine the required indexes and functions in a visual mode according to business requirements, and configure the processing rules of all the derived indexes.
Preferably, in order to improve the efficiency of constructing the algorithm rule, in an embodiment, the function output module 15b is configured to parse an index code in the algorithm rule creation request information of the service index, and search for an index type of the service index from a pre-stored service index attribute library according to the index code; if the index type of the service index is an array type, outputting and displaying a function in a pre-stored statistical operation function library in a page; and if the index type of the service index is a non-array type, outputting and displaying a function in a pre-stored non-statistical operation function library in a page. Therefore, in the embodiment, the function library is divided into the statistical operation function library and the non-statistical operation function, when the type of the service index is the array type, the statistical operation function library is returned, and when the type of the service index is the non-array type, the non-statistical operation function is returned, so that the user can be helped to quickly and accurately select a proper function as much as possible, and the algorithm rule construction efficiency is improved.
Further, in a preferred embodiment, the function output module 15b is configured to parse an index code in the algorithm rule creation request information of the service index, and search for an index type of the service index from a pre-stored service index attribute library according to the index code; if the index type of the service index is an array type and a text type, outputting and displaying a text type function in a pre-stored statistical operation type function library in a page; if the index type of the service index is an array type and a digital type, outputting and displaying a digital function in a pre-stored statistical operation function library in a page; if the index type of the service index is an array type and a time type, outputting and displaying a time type function in a pre-stored statistical operation type function library in a page; if the index type of the service index is a non-array type and a text type, outputting and displaying a text type function in a prestored non-operation type function library in a page; if the index type of the service index is a non-array type and a digital type, outputting and displaying a digital function in a pre-stored non-statistical operation function library in a page; and if the index type of the service index is a non-array type and a time type, outputting and displaying a pre-stored time type function in a non-statistical operation type function library in a page. The implementation mode divides the non-statistical operation function and the statistical operation function into a character function, a digital function and a time function on the basis of the previous implementation mode, divides the service index type into a character index, a digital index and a time index, and returns the functions in a targeted manner according to the service index type for quick selection of a user, so that the algorithm rule construction efficiency is further improved.
Based on the same inventive concept, an embodiment also provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the data acquisition method according to any one of the above embodiments.
Based on the same inventive concept, an embodiment further provides an electronic device, which includes: at least one processor and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the data acquisition method of any one of the above embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.

Claims (10)

1. A data acquisition method configures a processing rule of a derived index by combining a service index and a function, and is characterized by comprising the following steps:
receiving a data request of a service index, and analyzing an index code from the data request;
finding out an index data source interface and an algorithm rule corresponding to the index code according to the index code;
requesting index data participating in operation in an algorithm rule corresponding to the index code from an index data source interface corresponding to the index code;
and processing the index data participating in operation in the algorithm rule based on the algorithm rule corresponding to the index code.
2. The data acquisition method as claimed in claim 1, wherein prior to receiving a data request for a service indicator, the data acquisition method further comprises: an algorithm rule for constructing the service index is constructed,
wherein the algorithm rule for constructing the service index comprises:
receiving an algorithm rule creating request of the service index;
outputting and displaying functions in a pre-stored function library in a page, wherein the page comprises a service index name list area and a formula editing area;
displaying the selected function in the formula editing area;
after the data input box of the selected function obtains a focus and the name of one or some service indexes is selected, displaying the selected name of the one or some service indexes in the data input box;
and checking the edited function, and if the function passes the checking, saving the edited function as the algorithm rule of the service index.
3. The data acquisition method according to claim 2, wherein the outputting and displaying the functions in the pre-stored function library in a page comprises:
after receiving the algorithm rule creating request of the service index, analyzing an index code in the algorithm rule creating request information of the service index, and searching the index type of the service index from a pre-stored service index attribute library according to the index code;
if the index type of the service index is an array type, outputting and displaying a function in a pre-stored statistical operation function library in a page;
and if the index type of the service index is a non-array type, outputting and displaying a function in a pre-stored non-statistical operation function library in a page.
4. The data acquisition method according to claim 2, wherein the step of outputting and displaying the functions in the pre-stored function library on a page after receiving the algorithm rule creation request of the service index comprises:
after receiving the algorithm rule creating request of the service index, analyzing an index code in the algorithm rule creating request information of the service index, and searching the index type of the service index from a pre-stored service index attribute library according to the index code;
if the index type of the service index is an array type and a text type, outputting and displaying a text type function in a pre-stored statistical operation type function library in a page;
if the index type of the service index is an array type and a digital type, outputting and displaying a digital function in a pre-stored statistical operation function library in a page;
if the index type of the service index is an array type and a time type, outputting and displaying a time type function in a pre-stored statistical operation type function library in a page;
if the index type of the service index is a non-array type and a text type, outputting and displaying a text type function in a pre-stored non-operation type function library in a page;
if the index type of the service index is a non-array type and a digital type, outputting and displaying a digital function in a pre-stored non-statistical operation function library in a page;
and if the index type of the service index is a non-array type and a time type, outputting and displaying a pre-stored time type function in a non-statistical operation type function library in a page.
5. A data acquisition system that configures a processing rule of a derived index by combining a service index and a function, the data acquisition system comprising:
the first receiving module is used for receiving a data request of the service index;
the index code analysis module is coupled with the first receiving module and used for analyzing the index codes in the data request;
the searching module is coupled with the index code analyzing module and used for searching an index data source interface and an algorithm rule corresponding to the index code according to the index code;
the interface calling module is coupled with the searching module and used for requesting the index data participating in operation in the algorithm rule corresponding to the index code from the index data source interface corresponding to the index code;
and the operation module is coupled with the interface calling module and the searching module and is used for processing the index data participating in operation in the algorithm rule by adopting the algorithm rule corresponding to the index code.
6. The data acquisition system as set forth in claim 5, wherein the data acquisition system further comprises: an algorithm rule construction module, coupled to the search module, for constructing an algorithm rule, wherein the algorithm rule construction module includes:
the second receiving module is used for receiving the algorithm rule creating request of the service index;
the function output module is used for outputting and displaying a function in a prestored function library in a page after the second receiving module receives the algorithm rule establishing request of the service index, and the page comprises a service index name list area and a formula editing area;
the editing module is coupled with the function output module and used for displaying the selected function in the formula editing area after the function is selected; the system is further used for displaying the name of the selected certain service index or certain service indexes in the data input box after the data input box of the selected function obtains the focus and the name of the certain service index or certain service indexes is selected;
and the generating module is coupled with the editing module and used for verifying the edited function and storing the edited function after the verification is passed, wherein the edited function is an algorithm rule of the service index.
7. The data acquisition system of claim 6,
the function output module is used for analyzing an index code in the algorithm rule creating request information of the service index after receiving the algorithm rule creating request of the service index, and searching the index type of the service index from a pre-stored service index attribute library according to the index code;
if the index type of the service index is an array type, outputting and displaying a function in a pre-stored statistical operation function library in a page;
and if the index type of the service index is a non-array type, outputting and displaying a function in a pre-stored non-statistical operation function library in a page.
8. The data acquisition system of claim 6,
the function output module is used for analyzing an index code in the algorithm rule creating request information of the service index after receiving the algorithm rule creating request of the service index, and searching the index type of the service index from a pre-stored service index attribute library according to the index code;
if the index type of the service index is an array type and a text type, outputting and displaying a text type function in a pre-stored statistical operation type function library in a page;
if the index type of the service index is an array type and a digital type, outputting and displaying a digital function in a pre-stored statistical operation function library in a page;
if the index type of the service index is an array type and a time type, outputting and displaying a time type function in a pre-stored statistical operation type function library in a page;
if the index type of the service index is a non-array type and a text type, outputting and displaying a text type function in a pre-stored non-operation type function library in a page;
if the index type of the service index is a non-array type and a digital type, outputting and displaying a digital function in a pre-stored non-statistical operation function library in a page;
and if the index type of the service index is a non-array type and a time type, outputting and displaying a pre-stored time type function in a non-statistical operation type function library in a page.
9. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the data acquisition method according to any one of claims 1 to 4.
10. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the data acquisition method of any one of claims 1-4.
CN202110855924.XA 2021-07-28 2021-07-28 Data acquisition method and system Pending CN113609283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110855924.XA CN113609283A (en) 2021-07-28 2021-07-28 Data acquisition method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110855924.XA CN113609283A (en) 2021-07-28 2021-07-28 Data acquisition method and system

Publications (1)

Publication Number Publication Date
CN113609283A true CN113609283A (en) 2021-11-05

Family

ID=78305782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110855924.XA Pending CN113609283A (en) 2021-07-28 2021-07-28 Data acquisition method and system

Country Status (1)

Country Link
CN (1) CN113609283A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109685375A (en) * 2018-12-26 2019-04-26 重庆誉存大数据科技有限公司 A kind of business risk regulation engine operation method based on semi-structured text data
CN109710413A (en) * 2018-12-29 2019-05-03 重庆誉存大数据科技有限公司 A kind of integral Calculation Method of the rule engine system of semi-structured text data
CN109815013A (en) * 2019-01-02 2019-05-28 深圳壹账通智能科技有限公司 Business data processing method, device, computer equipment and storage medium
CN110045953A (en) * 2019-04-22 2019-07-23 第四范式(北京)技术有限公司 Generate the method and computing device of business rule expression formula
CN110309125A (en) * 2019-06-24 2019-10-08 招商局金融科技有限公司 Data verification method, electronic device and storage medium
CN111125092A (en) * 2019-11-18 2020-05-08 贝壳技术有限公司 Service index query method and device
CN111610964A (en) * 2020-05-20 2020-09-01 浩云科技股份有限公司 Encoding rule generation method and device
CN112837140A (en) * 2021-02-02 2021-05-25 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN112907347A (en) * 2020-12-02 2021-06-04 浙江惠瀜网络科技有限公司 Data management system for client portrait of automobile installments and data processing method based on system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109685375A (en) * 2018-12-26 2019-04-26 重庆誉存大数据科技有限公司 A kind of business risk regulation engine operation method based on semi-structured text data
CN109710413A (en) * 2018-12-29 2019-05-03 重庆誉存大数据科技有限公司 A kind of integral Calculation Method of the rule engine system of semi-structured text data
CN109815013A (en) * 2019-01-02 2019-05-28 深圳壹账通智能科技有限公司 Business data processing method, device, computer equipment and storage medium
CN110045953A (en) * 2019-04-22 2019-07-23 第四范式(北京)技术有限公司 Generate the method and computing device of business rule expression formula
CN110309125A (en) * 2019-06-24 2019-10-08 招商局金融科技有限公司 Data verification method, electronic device and storage medium
CN111125092A (en) * 2019-11-18 2020-05-08 贝壳技术有限公司 Service index query method and device
CN111610964A (en) * 2020-05-20 2020-09-01 浩云科技股份有限公司 Encoding rule generation method and device
CN112907347A (en) * 2020-12-02 2021-06-04 浙江惠瀜网络科技有限公司 Data management system for client portrait of automobile installments and data processing method based on system
CN112837140A (en) * 2021-02-02 2021-05-25 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
He et al. A database linking Chinese patents to China’s census firms
Dener Financial management information systems and open budget data: do governments report on where the money goes?
CN109558440A (en) Batch data processing method, device, computer equipment and storage medium
CN110162516B (en) Data management method and system based on mass data processing
CN110795524B (en) Main data mapping processing method and device, computer equipment and storage medium
CN108268525A (en) A kind of report implementation method and device based on Excel template
WO2003069523A2 (en) Method, software application and system for incorporating benchmarks into a business software application
CN111522817A (en) Table content mapping system, method and non-transitory storage medium
CN111061733A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN113535817B (en) Feature broad table generation and service processing model training method and device
CN109344173B (en) Data management method and device and data structure
US20130124484A1 (en) Persistent flow apparatus to transform metrics packages received from wireless devices into a data store suitable for mobile communication network analysis by visualization
CN117036062A (en) Accounting resource calculation method and device
CN113609283A (en) Data acquisition method and system
CN112101950B (en) Suspicious transaction monitoring model feature extraction method and suspicious transaction monitoring model feature extraction device
CN117043743A (en) Dynamic application builder for a multidimensional database environment
CN114255123A (en) Risk checking method, risk checking device, computer equipment, storage medium and product
US20210295261A1 (en) Generating actionable information from documents
CN113436023A (en) Financial product recommendation method and device based on block chain
CN112667859A (en) Data processing method and device based on memory
US11775490B2 (en) Enterprise data flow lineage from enterprise data testing metadata
CN114416805B (en) Data checking method and device, computer equipment and storage medium
CN111353288B (en) Report processing method, system, device and computer readable storage medium
CN111967237B (en) Remittance form filling method and device
CN117829121A (en) Data processing method, device, electronic equipment and medium

Legal Events

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