WO2021204041A1 - Data processing - Google Patents

Data processing Download PDF

Info

Publication number
WO2021204041A1
WO2021204041A1 PCT/CN2021/084306 CN2021084306W WO2021204041A1 WO 2021204041 A1 WO2021204041 A1 WO 2021204041A1 CN 2021084306 W CN2021084306 W CN 2021084306W WO 2021204041 A1 WO2021204041 A1 WO 2021204041A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
information
user
database
configuration information
Prior art date
Application number
PCT/CN2021/084306
Other languages
French (fr)
Chinese (zh)
Inventor
孙鹏
Original Assignee
支付宝(杭州)信息技术有限公司
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 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021204041A1 publication Critical patent/WO2021204041A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Definitions

  • One or more embodiments of this specification relate to the field of computer technology, and in particular to a data processing method, device, and equipment.
  • each user organization generates massive amounts of data every day, and people need to mine and use massive amounts of data.
  • each institution generates a large amount of transaction data every day.
  • each institution needs to obtain the required data through the data platform to achieve intelligent risk control, user profile, and intelligent marketing. And so on, so as to be able to accurately evaluate the transaction users, in order to better provide users with services.
  • a credit institution obtains user-corresponding data from the corresponding data provider through the data platform, thereby evaluating the user's business, and providing the user with the corresponding service based on the evaluation result.
  • the data platform is a platform that integrates application interfaces such as data access, data processing, data storage, query retrieval, analysis and mining. Each user can call the required data through the data platform according to their own needs.
  • one or more embodiments of this specification provide a data processing method, device, and equipment, which are used to implement unified configuration of data from multiple data sources while satisfying users' customized use of data.
  • the embodiment of this specification provides a data processing method, which is applied to a data platform, and includes: obtaining data configuration information of each data source provider; the data configuration information includes basic information and interface information; The configuration information configures the data information provided by each of the data sources, and saves the configured data information in the database of the data platform; obtains the call of the data provided by the data source provider by the user of the data platform Request; based on the user's customized configuration information and the configured data information, the data provided by the data source provider is provided to the user.
  • the embodiment of this specification provides a data processing device, which is applied to a data platform and includes: a configuration information acquisition module for acquiring data configuration information of each data source provider; the data configuration information includes basic information And interface information; a configuration module, used to configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform; the data call request acquisition module is used In order to obtain the call request of the user of the data platform for the data provided by the data source provider; the customized data providing module is used to convert all the data based on the customized configuration information of the user and the configured data information.
  • the data provided by the data source provider is provided to the user.
  • a data processing device includes: at least one processor; and a memory communicatively connected with the at least one processor.
  • the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: Configuration information; the configuration information of the data includes basic information and interface information; configures the data information provided by each data source according to the configuration information, and saves the configured data information in the database of the data platform; Obtain the call request of the user of the data platform for the data provided by the data source provider; based on the customized configuration information of the user and the configured data information, provide the data provided by the data source provider To the user.
  • An embodiment of this specification provides a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement a data processing method.
  • An embodiment of this specification can achieve the following beneficial effects: by acquiring the configuration information of the data of each data source provider, configuring the data information provided by each of the data sources according to the configuration information, and saving the configured data information to the data platform In order to realize the unified configuration of data information provided by multiple data sources on the data platform, thereby improving the efficiency of data source access and use; the user who obtains the data platform requests data from the data source provider based on The customized configuration information of the user provides the data provided by the data source provider to the user, and the data can be customized according to the needs of the user, so as to meet the personalized customization needs of the user using the data.
  • FIG. 1 is a schematic diagram of an overall scheme of a data processing method provided by an embodiment of this specification
  • FIG. 2 is a schematic flowchart of a data processing method provided by an embodiment of this specification
  • FIG. 3 is a schematic diagram of a configuration information configuration interface in a data processing method provided by an embodiment of this specification
  • FIG. 4 is a schematic diagram of a user-customized configuration information configuration interface in a data processing method provided by an embodiment of this specification
  • FIG. 5 is a schematic structural diagram of a data processing device corresponding to FIG. 2 provided by an embodiment of this specification;
  • FIG. 6 is a schematic structural diagram of a data processing device corresponding to FIG. 2 provided by an embodiment of the specification.
  • Fig. 1 is a schematic diagram of an overall scheme of a data processing method provided by an embodiment of this specification. As shown in FIG. 1, it includes a data source provider 101, a data platform 103, and a user 105. It should be noted that the user 105 here may refer to a device used by the user, such as a company device, a bank device, or a personal device, and so on.
  • the data source provider can provide data corresponding to multiple data sources. For example, Figure 1 includes n data sources, data source 1 provides data A, data source 2 provides data B, and data source 3 provides data C, ..., data Source n provides data m.
  • the data platform 103 does not store data, but only stores the data information corresponding to the data.
  • the data information corresponding to the data provided by these n data sources needs to be uniformly configured on the data platform 103, which can be understood as the data platform 103 needs
  • the data information corresponding to the data provided by the n data sources is configured and saved in the database of the data platform 103.
  • the data information corresponding to the data provided by a data source can be stored in a database.
  • the data information a of data A provided by the data source 1 can be stored in the database 1 of the data platform 103.
  • the device used by the user 105 can send a data call request to the data platform to make a customized call to the data provided by the data source provider.
  • the customized call of the user 105 is based on the configuration information and customized configuration information of the data platform 103.
  • the interface provided by the party performs data query to meet the individual needs of users using data.
  • Fig. 2 is a schematic flowchart of a data processing method provided by an embodiment of the specification. From a program perspective, the execution subject of a process can be a program or an application client loaded on an application server.
  • the process can include the following steps:
  • Step 202 Obtain data configuration information of each data source provider; the data configuration information may include basic information and interface information.
  • the data source provider can refer to the database or database server used by the database application.
  • data providers can provide data to the data platform through the database or database server used by their own open applications.
  • Configuration information can represent variables that can be edited by the user in the configuration table or configuration interface. After the data platform obtains the data provided by multiple data sources from the data source provider, it can match the data configuration information of each data source provider. The data is configured.
  • Step 204 Configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform.
  • the data information provided by the data source provider may include the data access mode, query mode, usage mode, and the identity of the data source, etc.
  • the data X provided by data source A is transaction data.
  • the transaction data may include the transaction scenario, access address information for obtaining the transaction data, query method information, usage format information, and the transaction corresponding to the transaction data X Type, transaction name, transaction time, specific transaction content, etc.
  • the data platform can be a platform that integrates application interfaces such as data access, data processing, data storage, query retrieval, analysis and mining.
  • the data platform can store data information provided by various data sources to realize data resource sharing for various institutions.
  • the data platform can provide various open data display and application functions. After applying for the use of data through the data platform, you can access the query data through its application development.
  • the data platform may include multiple databases for storing data information provided by various data source providers.
  • the data information can be classified and stored, and one type of data information can be stored in the same type of database; it can also be stored according to the data source, and the data information provided by a data source can be stored in the same type of database; Of course, in practical applications, you can also choose to store the data in one database or multiple databases according to the amount of data.
  • the specific storage can be set according to the actual application.
  • Step 206 Obtain a call request of the user of the data platform for the data provided by the data source provider.
  • the data platform can sign contracts with some institutions and cooperate with each other, and provide the contracted institutions with the required data according to the needs of the contracted institutions.
  • the data platform can also be open to all institutions, and each institution can retrieve and query data through the data platform, apply for the use of data, and so on.
  • users of the data platform need to use the data provided by the data source provider corresponding to the data information on the data platform, they can send a data call request to the data platform, requesting the data platform to call the data call interface of the corresponding data source provider Data, and provide the data obtained by the call.
  • Step 208 Based on the customized configuration information of the user and the configured data information, provide the data provided by the data source provider to the user.
  • the customized configuration information can indicate the user's demand for the use of data, and can also include the calling parameters of the designated part of the interface.
  • the method in Figure 2 obtains the configuration information of the data of each data source provider, configures the data information provided by each data source according to the configuration information, and saves the configured data information in the database of the data platform to Realize the unified configuration of data information provided by multiple data sources on the data platform, thereby improving the efficiency of data source access; the user who obtains the data platform requests the data of the data source provider based on the customized configuration of the user Information, the data provided by the data source provider is provided to the user, the data can be customized according to the needs of the user, and the personalized customization needs of the user's use of the data can be met.
  • the business operations involved may include data source configuration and online and data source access detection. After multiple data sources are configured, test verification is required, and the verification can be stored on the data platform for each user to use.
  • each data source provider may further include: obtaining configuration information for the data provided by the data source provider; for any piece of configuration information, testing the configuration information to obtain the test Result; when the test result indicates that the configuration information is configured correctly, the configuration information is saved on the data platform, and the configuration information is used online to perform the data information provided by the data source provider according to the configuration information Configuration.
  • the configuration information provided by the data source provider is tested, and only after the test is passed can it go online and provide the equipment to each user for use.
  • test In the specific test, you can test according to the set configuration information format, fill in the corresponding interface address and parameters in the configuration information in the test interface, click the test button to test, and view the returned test results. If the test fails, then Modify the configuration information and reset the test parameters. If the test is correct, you can request to go online.
  • the test can be performed according to the dynamic script. If the test fails, the parameters can be adjusted according to the test result, for example, the signature calculation logic of the query interface can be adjusted.
  • the configuration information before configuring the data information provided by the data source provider according to the configuration information, the configuration information can be tested first, and the configuration information that has passed the test is saved on the data platform.
  • the data provided by the data source provider is obtained After the data information, the data information can be configured directly according to the configuration information saved on the data platform, thereby improving the efficiency of the configuration.
  • the unified configuration of data provided by multiple data source providers mentioned in this manual is actually to save the data information provided by multiple data source providers in the database of the same data platform according to the corresponding configuration information.
  • the specific implementation method can be as follows:
  • the basic information includes at least the provider information of the data provided by the data source; the data information provided by each data source is configured according to the configuration information, and the configured data information is saved to the data platform
  • the database specifically includes: determining the provider information of the data information provided by the data source according to the configuration information; determining the database type corresponding to the provider information; storing the data information provided by the data source in the provider In the database corresponding to the party information.
  • the provider information can be used to determine which database the data information provided by the data source provider should be stored.
  • Data source provider A provides data X. At this time, it can be based on the name or identification of data source provider A, the classification, application scenarios, coverage of data X, and the open mode of the data provided by data source provider A. Wait for information to determine that the data information corresponding to the data X should be stored in the R-type database.
  • one database type can correspond to one database or multiple databases, and the number of databases corresponding to the database type can be set according to actual conditions.
  • the storage database type of the data information of each data source on the data platform is determined according to the provider information of the data provided by the data source, which can improve the configuration efficiency of the data information.
  • the data source provider actively sends the data information to the data platform for configuration storage, or the data platform sends a request for data information to each data source provider, requesting each data source provider to send the data
  • the information is placed on the data platform for configuration storage.
  • the user can send a data call request to the data platform.
  • the data platform provides the user with a call interface for data call.
  • the user calls the required data from the call interface.
  • the interface information in the configuration information can at least include the interface Address information and transmission protocol information; when specifically acquiring data, it may include: determining the interface address of the data source provider according to the interface address information; accessing the interface address according to the transmission protocol corresponding to the transmission protocol information to obtain the data Data provided by the source.
  • the configuration information can be filled in through the interface provided in Figure 3. Specifically, it can be described in detail with reference to FIG. 3.
  • the configuration information may include basic information and interface information.
  • Basic information can include data source provider information, such as: the name or logo of the data source provider, data classification, application scenarios, coverage (for example: national, international, etc.) and the open mode of the data provided by the data source provider (For example: dedicated to designated institutions or for use by all institutions) and other information.
  • the interface information may include interface address information, transmission protocol information, parameter information, and so on.
  • the interface address information can be filled in the interface address of the specified request data source
  • the transmission protocol information can be filled in the transmission protocol used when the data platform and the interface of the specified request data source perform data transmission, such as: Transmission Control Protocol Protocol, TCP for short), User Datagram Protocol (UDP for short), Internet Protocol (IP for short), etc.
  • the parameter information may include parameter type, parameter name, parameter description information, parameter setting mode, and so on. It should be noted that for some parameters, it is necessary to call other interfaces of the data provider to obtain the parameter value. At this time, it is necessary to configure the data source information of the interface for obtaining the parameter value, and then configure the data source information for obtaining the data.
  • the interface address provided by the data source provider can be determined from the interface address information, and the data provided by the data source provider can be obtained by accessing the interface address.
  • the corresponding transmission protocol is adopted. Therefore, the transmission protocol between the data source provider and the data platform can be obtained from the interface information, and the interface address of the data source provider can be accessed according to the transmission protocol. To obtain the data provided by the data source provider.
  • the data information provided by the data source provider When storing the data information provided by the data source provider in the database corresponding to the database type determined corresponding to the data source provider information, if the database does not have the required data format, the data information can be directly converted to its own data format Stored in the database, data format conversion is not required; however, if the database has data format requirements when storing, at this time, the data format of the data information provided by the data source provider needs to be converted into the data format required by the database. Before it can be stored. Specifically, the following methods can be used to achieve:
  • the method may further include: obtaining data format information of the database; according to the data format The information format converts the data information provided by the data source to obtain the data information after the format conversion.
  • the storing the data information provided by the data source in the database corresponding to the determined database type corresponding to the data source provider information specifically includes: storing the data information after the format conversion in the corresponding database type In the database.
  • the data format can be an arrangement format in which data is stored in a file or record.
  • the data format can include: lightweight text data exchange format (JavaScript Object Notation, JSON for short), eXtensible Markup Language (XML for short), and data serialization format (Yet Another Markup Language, YAML for short).
  • the data format of data information X provided by data source provider A is XML format
  • the data format of data information Y provided by data source provider B is YAML format
  • the data format of data information Z provided by data source provider C is JSON) format.
  • data information X needs to be stored in a type I database
  • data information Y needs to be stored in a type H database
  • data information Z needs to be stored in a type J database.
  • the stored data format corresponding to the H-type database is XML format
  • the stored data format corresponding to the J-type database is YAML format.
  • the data information X provided by the data source provider A can be directly stored in the I-type database;
  • the data format of data information Y provided by data source provider B is converted from YAML format to XML format, and the data information Y in XML format is stored in a type H database;
  • the data format of data information Z provided by data source provider C is changed by The JSON format is converted into YAML format, and then the Z data information in YAML format is stored in the J-type database.
  • the data platform can provide each user with a data query interface and provide the user with the required data, for example: Bank A is processing In a large-sum loan transaction, it is necessary to evaluate the creditworthiness of the borrower, the property condition of the borrower, and the repayment ability, etc. At this time, Bank A needs to conduct a user portrait based on the basic portrait data of the borrower provided by other institutions For example, it is necessary to use the borrower’s company registration data provided by the Industrial and Commercial Bureau, obtain the borrower’s real estate data from the real estate management office, and the borrower’s deposit data and loan data in other banks.
  • Bank A can obtain the data calling interface for calling the basic profile data of the borrower through the data platform, and customize the data obtained by calling it according to its own usage needs.
  • the providing the data in the database to the user based on the user's customized configuration information may specifically include: obtaining a user's request for data calling; and according to the user's customized configuration information, Determine the target database that stores the data information corresponding to the data called by the calling request; determine the calling interface corresponding to the data called by the calling request according to the data information in the target database; access the calling interface and call The data is provided to the user.
  • customized configuration information may refer to the customized use requirements of individual users for data.
  • the customized configuration information for the user can be filled in through the interface provided in FIG. 4. Specifically, it can be described in detail with reference to FIG. 4.
  • Fig. 4 is a schematic diagram of a user-customized configuration information configuration interface in a data processing method provided by an embodiment of the specification.
  • the user's customized configuration information can include the identification parameters of the calling interface and the signature method; it can also include the specified fields, the data format of the usage data, and the combination or routing of multiple data sources. For example, only a few fields in the data need to be obtained, or data in XML format needs to be used, or data needs to be obtained from a specified database.
  • the specified part of the interface here can represent the target database
  • the identification parameters of the calling interface can represent the identification information of the target database
  • the signature method can represent the signature method of data encryption in the target database.
  • the customized configuration information for the user to use data X can at least include the data format of data X, the use field of data X, and the designated invocation interface of data X.
  • the designated invocation interface can be determined according to the designated invocation interface.
  • the target database for storing data X After getting the data from the corresponding database according to the user's configuration information, the data is converted into data that the user can use to meet the user's personalized use needs.
  • the data platform can obtain the user's call request for data, for example: obtain the bank A's call request for the borrower 1's basic profile data.
  • the target database for storing the data that the user needs to call can be determined according to the user's customized information.
  • the user can specify the database to retrieve the data, or retrieve the data from all the databases that store the required data, which can be described according to the following two methods:
  • Method 1 Obtain the data information corresponding to the required data from the specified database.
  • the customized configuration information includes a database identifier, and the database identifier is used to specify a target database for obtaining data information corresponding to the data called by the user.
  • the determining the target database storing the data information corresponding to the data called by the calling request according to the customized configuration information of the user may specifically include:
  • the database corresponding to the database identifier is determined as the target database.
  • the customized configuration information can include the database identifier, for example: the configuration information of user A specifies database Q and database R. At this time, when the data platform obtains the call request of user A for data X, it directly from database Q and database R Take out the data X and send it to user A.
  • Method 2 Get data information from all databases containing data information corresponding to the required data.
  • the determining the target database storing the data information corresponding to the data called by the calling request according to the customized configuration information of the user may specifically include: determining the location of the calling request according to the customized configuration information of the user.
  • the data information type corresponding to the called data determining all databases storing the data information of the data information type; determining all databases storing the data information of the data information type as the target database.
  • the user's customized configuration information may include the data information type corresponding to the data that needs to be called. Therefore, after obtaining the user's data calling request, the data information type corresponding to the data that the user needs to call can be determined.
  • the data information type here can be classified according to the business scenario of the data, such as: asset data, identity data, credit data, and so on.
  • the steps in the second method above are mainly to meet business requirements.
  • users may need to combine data provided by multiple data sources to make better use of the data for subsequent business operations.
  • a banking institution needs to complete a user portrait of a registered user, and needs some online and offline data about the registered user. At this time, it needs to combine the data provided by the online data source and the offline data source , Comprehensively determine the user portrait of the registered user.
  • the data of each data source is correspondingly stored in the corresponding database. Therefore, the data required by the user can be obtained from multiple databases to meet the complex scenarios of the user using the data.
  • the data platform receives a call request from company S for employee A's identity data, and according to company S's configuration information for employee identity data, it can be determined that the data information type of employee A's identity data is basic profile data.
  • the data platform can obtain the corresponding data from each database according to the data information in database 1, database 2 and database 3.
  • the source provider calls the data and provides it to company S so that company S can conduct a comprehensive evaluation of employee A.
  • the user is provided with the required data as comprehensively as possible according to the user's customized configuration information, so as to better meet the user's demand for data use and improve the user's experience of using the data on the data platform.
  • the data platform may have contracted targeted cooperative users, and these targeted cooperative users can sign an agreement to order data sources with the data platform. After signing the agreement, the user can obtain key parameter values such as the identity of the corresponding data source. After signing the contract, targeted cooperative users can customize and use related data sources.
  • the query engine provided on the data platform will also perform data query operations according to the user's customized configuration information.
  • the data platform obtains the data information from the data source provider
  • the data information can be configured in advance according to the configuration information of the targeted cooperative user and stored on the data platform. Specifically, the following steps may be included:
  • the data platform Before the request of the user who obtains the data platform to call the data provided by the data source provider, it may further include: obtaining data information corresponding to the data provided by the data source provider; The data information is preprocessed; the preprocessed data information is stored in the database of the data platform.
  • the preprocessing here may mean that the data information provided by the data source provider is configured in advance according to the configuration information of the user.
  • the configured data information can be designated to be stored in the corresponding database of the data platform.
  • the stored database may not be specified, and the specific implementation method can be set according to actual needs.
  • the data provided by the corresponding data source provider can be periodically sent to the targeted cooperative user, or after receiving the data call request of the targeted cooperative user, the data call interface can be provided to the user. Directed cooperating users to make data calls.
  • the customized configuration information includes the fields specified by the user.
  • the providing the data provided by the data source provider to the user based on the customized configuration information of the user and the configured data information may specifically include: obtaining data provided by the data source provider; A field specified by the user is selected from the data; the content corresponding to the field is provided to the user.
  • users can also specify the data format information of the required data.
  • the customized configuration information also includes data format information of the data required by the user.
  • the providing the data provided by the data source provider to the user based on the customized configuration information of the user may specifically include: converting the data format of the data provided by the data source provider into the data The data format corresponding to the format information obtains the converted data; the converted data is provided to the user.
  • the data format of the data provided by the data source provider may be inconsistent with the data format of the data that the user needs to use.
  • the data format of the data provided by the data source provider needs to be converted, which will meet the needs of the user.
  • the data used in the data format is consistent with the data sent to the user.
  • the user needs to call data X and data Y, the data format of data X is XML format, and the data format of Y is JSON format; and the data format required by the user to use data is XML format, at this time, the format of data Y needs to be changed from Convert JSON format to XML format, and then provide Y data in XML format to users.
  • the data usage log can also be counted, and the data usage and data quality can be displayed on the device used by the user after analysis and processing.
  • the data platform can provide data information service application programming interface (Application Programming Interface, API for short) for users to use, and it can also provide an open portal for external users to consult data sources and contract to use data sources.
  • API Application Programming Interface
  • the data platform uniformly configures the data of each data source
  • the user when the user wants to call the required data from the data platform, it can provide the user with an interface for data call or query.
  • This interface can be called a data view.
  • the user's customized configuration information can be filled in the interface, for example, the user's identity, signature method, and usage format of the requested data can be filled in.
  • you can also fill in multiple data source information according to the application scenario to ensure that the user can call the data of multiple data sources for use at the same time.
  • the data processing method provided in the embodiment of this specification greatly improves the efficiency of data source access and use by uniformly configuring and controlling the data of multiple data sources, and providing users with customized usage data according to the individual needs of users. , It can also meet the needs of users.
  • the data platform uniformly configures the data, in order to ensure the quality of the configuration online, the configuration information has passed the process of test verification, process-based application online, and grayscale release, reducing the risk of production.
  • this solution also supports multiple data source combination queries, filtering and then displaying the data query results, which can solve the scenario of large-scale, multi-tenant space using open data from multiple data sources for big data calculations , The efficiency of large-scale data access, and how to ensure that it is customized and used according to business needs after access.
  • Configuration multi-version support, gray-scale release and online Test and verify the configuration information, which can meet the requirements for adjusting the configuration information after the test fails, and at the same time, the revised configuration information may be brought online by gradually increasing the grayscale. The impact and loss of the project are controlled to a minimum.
  • Multi-data source routing and combined use In order to meet business needs, multiple data sources can be combined for application scenarios, which can better meet users' data usage needs.
  • FIG. 5 is a schematic structural diagram of a data processing device corresponding to FIG. 2 provided by an embodiment of the specification. As shown in Figure 5, the device can be applied to a data platform and can include:
  • the configuration information obtaining module 502 is used to obtain the configuration information of the data of each data source provider; the configuration information of the data includes basic information and interface information;
  • the configuration module 504 is configured to configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform;
  • the data call request obtaining module 506 is configured to obtain a call request of a user of the data platform for the data provided by the data source provider;
  • the customized data providing module 508 is configured to provide the data provided by the data source provider to the user based on the customized configuration information of the user and the configured data information.
  • the basic information includes at least provider information of the data provided by the data source.
  • the configuration module 504 may specifically include: a data source provider information determining unit for determining the provider information of the data information provided by the data source according to the configuration information; a database type determining unit for determining the provider The type of database corresponding to the information; the data storage unit is used to store the data information provided by the data source in the database corresponding to the provider information.
  • the device may further include: a configuration information obtaining module, which is used to obtain configuration information for data provided by a data source provider; a configuration information test module, which is used to check the configuration information for any configuration information The test is performed to obtain the test result; the configuration information saving module is used to save the configuration information on the data platform when the test result indicates that the configuration information is correctly configured.
  • a configuration information obtaining module which is used to obtain configuration information for data provided by a data source provider
  • a configuration information test module which is used to check the configuration information for any configuration information The test is performed to obtain the test result
  • the configuration information saving module is used to save the configuration information on the data platform when the test result indicates that the configuration information is correctly configured.
  • the interface information includes at least interface address information and transmission protocol information.
  • the device may further include: an interface address acquisition module, configured to determine the interface address of the data source provider according to the interface address information; and a data acquisition module, configured to access the interface according to the transmission protocol corresponding to the transmission protocol information Address to obtain the data provided by the data source.
  • the customized data providing module 508 may specifically include: a data call request obtaining unit, configured to obtain a user's call request for data; and a target database obtaining unit, configured according to the customized configuration information of the user, Determining the target database storing the data information corresponding to the data called by the call request; a data calling interface determining unit, configured to determine the calling interface corresponding to the data called by the calling request according to the data information in the target database; The data providing unit is used to access the calling interface and provide the called data to the user.
  • a data call request obtaining unit configured to obtain a user's call request for data
  • a target database obtaining unit configured according to the customized configuration information of the user, Determining the target database storing the data information corresponding to the data called by the call request
  • a data calling interface determining unit configured to determine the calling interface corresponding to the data called by the calling request according to the data information in the target database
  • the data providing unit is used to access the calling interface and provide the called data to the user.
  • the customized configuration information includes a database identifier
  • the database identifier is used to specify a target database for obtaining data information corresponding to the data called by the user.
  • the target database acquiring unit may be specifically used to determine the database corresponding to the database identifier as the target database.
  • the target database obtaining unit may be specifically configured to: determine the type of data information corresponding to the data called by the call request according to the customized configuration information of the user; determine that the data of the type of data information is stored All databases of information; all databases storing data information of the data information type are determined as target databases.
  • the device may further include: a data acquisition module for acquiring data information corresponding to the data provided by the data source provider; a data preprocessing module for evaluating the data information according to the customized information of the user Perform preprocessing; a preprocessed data storage module is used to store the preprocessed data information in the database of the data platform.
  • a data acquisition module for acquiring data information corresponding to the data provided by the data source provider
  • a data preprocessing module for evaluating the data information according to the customized information of the user Perform preprocessing
  • a preprocessed data storage module is used to store the preprocessed data information in the database of the data platform.
  • the customized configuration information includes fields designated by the user.
  • the customized data providing module 508 may specifically include: a data obtaining unit for obtaining data provided by a data source provider; a designated field selecting unit for selecting a user-specified field from the data; a field providing unit , Used to provide the content corresponding to the field to the user.
  • the customized configuration information further includes data format information of the data required by the user.
  • the customized data providing module 508 may specifically include: a data format conversion unit for converting the data format of the data provided by the data source provider into the data format corresponding to the data format information to obtain the converted data ; A data providing unit for providing the converted data to the user.
  • FIG. 6 is a schematic structural diagram of a data processing device corresponding to FIG. 2 provided by an embodiment of the specification.
  • the device 600 may include: at least one processor 610; and a memory 630 communicatively connected with the at least one processor.
  • the memory 630 stores an instruction 620 that can be executed by the at least one processor 610, and the instruction is executed by the at least one processor 610.
  • the instructions may enable the at least one processor 610 to: obtain data configuration information of each data source provider; the data configuration information includes basic information and interface information; according to the configuration information, each data source Configure the provided data information, save the configured data information in the database of the data platform; obtain the call request of the user of the data platform for the data provided by the data source provider; based on the user’s customization
  • the data provided by the data source provider is provided to the user through the customized configuration information and the configured data information.
  • the embodiments of this specification also provide a computer-readable medium corresponding to the above method.
  • the computer-readable medium stores computer-readable instructions, and the computer-readable instructions can be executed by the processor to implement the following method: obtaining data configuration information of each data source provider; the data configuration information includes basic information and Interface information; configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform; obtain the data provided by the user of the data platform Request for data provided by the party; based on the customized configuration information of the user and the configured data information, the data provided by the data source provider is provided to the user.
  • a Programmable Logic Device (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device.
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner.
  • the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the memory control logic.
  • controllers in addition to implementing the controller in a purely computer-readable program code manner, it is completely possible to program the method steps to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded logic.
  • the same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, a device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
  • one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • One or more embodiments of this specification can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

Abstract

A data processing method, apparatus and device. The method comprises: obtaining configuration information of data of data source providers; configuring, according to the configuration information, data information provided by data sources, and storing the configured data information into a database of a data platform; obtaining a data invoking request of a user of the data platform; and according to the invoking request, providing data provided by the data source provider for the user on the basis of customized configuration information of the user and the configured data information in the data platform.

Description

数据处理data processing 技术领域Technical field
本说明书一个或多个实施例涉及计算机技术领域,尤其涉及一种数据处理方法、装置及设备。One or more embodiments of this specification relate to the field of computer technology, and in particular to a data processing method, device, and equipment.
背景技术Background technique
目前,随着互联网信息技术的发展,数据已经应用到每一个行业和业务智能领域中,各个用户机构每天都会产生海量的数据,人们需要对海量数据进行挖掘和运用。比如金融领域中,各个机构每天会产生大量的交易数据,一般来说,为了保证多个机构的正常运行,各个机构需要通过数据平台获取所需的数据来实现智能风控、用户画像、智能营销等,从而能够对交易用户进行准确的评估,以便更好地为用户提供服务。比如:信贷机构通过数据平台从相应的数据提供商获取用户对应的数据,从而对用户的业务进行评估,根据评估结果为用户提供相应的服务。At present, with the development of Internet information technology, data has been applied to every industry and business intelligence field. Each user organization generates massive amounts of data every day, and people need to mine and use massive amounts of data. For example, in the financial field, each institution generates a large amount of transaction data every day. Generally speaking, in order to ensure the normal operation of multiple institutions, each institution needs to obtain the required data through the data platform to achieve intelligent risk control, user profile, and intelligent marketing. And so on, so as to be able to accurately evaluate the transaction users, in order to better provide users with services. For example, a credit institution obtains user-corresponding data from the corresponding data provider through the data platform, thereby evaluating the user's business, and providing the user with the corresponding service based on the evaluation result.
数据平台是集数据接入、数据处理、数据存储、查询检索、分析挖掘等应用接口为一体的平台,各个用户可以根据自身的需求通过数据平台调用所需的数据。The data platform is a platform that integrates application interfaces such as data access, data processing, data storage, query retrieval, analysis and mining. Each user can call the required data through the data platform according to their own needs.
但是目前用户在通过数据平台调用数据时,为了满足用户的业务处理需求,往往需要从多个机构的数据源中获取数据。此时,根据用户的数据调用请求,需要分别通过每个机构的数据源对应的查询引擎来调用所需的数据,导致工作量较大,调用繁琐。此时,当在大规模、多租户空间需要使用多种数据源的开放数据,以进行大数据计算的场景下,对于多种数据源的开放数据,如何进行配置以及定制化使用,成为亟待解决的技术问题。However, when users currently call data through a data platform, in order to meet the user's business processing needs, they often need to obtain data from data sources of multiple institutions. At this time, according to the user's data call request, it is necessary to call the required data through the query engine corresponding to the data source of each organization, resulting in a large workload and cumbersome call. At this time, when large-scale, multi-tenant spaces need to use open data from multiple data sources for big data calculations, how to configure and customize the use of open data from multiple data sources becomes an urgent need to solve Technical issues.
发明内容Summary of the invention
有鉴于此,本说明书一个或多个实施例提供了一种数据处理方法、装置及设备,用于实现对多数据源的数据进行统一配置的同时满足用户对数据的定制化使用。In view of this, one or more embodiments of this specification provide a data processing method, device, and equipment, which are used to implement unified configuration of data from multiple data sources while satisfying users' customized use of data.
为解决上述技术问题,本说明书实施例是这样实现的:In order to solve the above technical problems, the embodiments of this specification are implemented as follows:
本说明书实施例提供的一种数据处理方法,所述方法应用于数据平台,包括:获取各个数据源提供方的数据的配置信息;所述数据的配置信息包括基本信息以及接口信息;根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保 存到所述数据平台的数据库中;获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求;基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。The embodiment of this specification provides a data processing method, which is applied to a data platform, and includes: obtaining data configuration information of each data source provider; the data configuration information includes basic information and interface information; The configuration information configures the data information provided by each of the data sources, and saves the configured data information in the database of the data platform; obtains the call of the data provided by the data source provider by the user of the data platform Request; based on the user's customized configuration information and the configured data information, the data provided by the data source provider is provided to the user.
本说明书实施例提供的一种数据处理装置,所述装置应用于数据平台,包括:配置信息获取模块,用于获取各个数据源提供方的数据的配置信息;所述数据的配置信息包括基本信息以及接口信息;配置模块,用于根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中;数据调用请求获取模块,用于获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求;定制化数据提供模块,用于基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。The embodiment of this specification provides a data processing device, which is applied to a data platform and includes: a configuration information acquisition module for acquiring data configuration information of each data source provider; the data configuration information includes basic information And interface information; a configuration module, used to configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform; the data call request acquisition module is used In order to obtain the call request of the user of the data platform for the data provided by the data source provider; the customized data providing module is used to convert all the data based on the customized configuration information of the user and the configured data information. The data provided by the data source provider is provided to the user.
本说明书实施例提供的一种数据处理设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器。其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取各个数据源提供方的数据的配置信息;所述数据的配置信息包括基本信息以及接口信息;根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中;获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求;基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。A data processing device provided by an embodiment of this specification includes: at least one processor; and a memory communicatively connected with the at least one processor. Wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: Configuration information; the configuration information of the data includes basic information and interface information; configures the data information provided by each data source according to the configuration information, and saves the configured data information in the database of the data platform; Obtain the call request of the user of the data platform for the data provided by the data source provider; based on the customized configuration information of the user and the configured data information, provide the data provided by the data source provider To the user.
本说明书实施例提供的一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现一种数据处理方法。An embodiment of this specification provides a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement a data processing method.
本说明书一个实施例能够达到以下有益效果:通过获取各个数据源提供方的数据的配置信息,根据配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到数据平台的数据库中,以实现对多个数据源提供的数据信息在数据平台上进行统一配置,进而提高数据源接入使用的效率;获取数据平台的用户对于数据源提供方的数据的调用请求,基于用户的定制化配置信息,将数据源提供方提供的数据提供给所述用户,能够按照用户的需求对数据进行定制化使用,满足用户使用数据的个性化定制需求。An embodiment of this specification can achieve the following beneficial effects: by acquiring the configuration information of the data of each data source provider, configuring the data information provided by each of the data sources according to the configuration information, and saving the configured data information to the data platform In order to realize the unified configuration of data information provided by multiple data sources on the data platform, thereby improving the efficiency of data source access and use; the user who obtains the data platform requests data from the data source provider based on The customized configuration information of the user provides the data provided by the data source provider to the user, and the data can be customized according to the needs of the user, so as to meet the personalized customization needs of the user using the data.
附图说明Description of the drawings
此处所说明的附图用来提供对本说明书一个或多个实施例的进一步理解,构成本说 明书一个或多个实施例的一部分,本说明书的示意性实施例及其说明用于解释本说明书一个或多个实施例,并不构成对本说明书一个或多个实施例的不当限定。在附图中:The drawings described here are used to provide a further understanding of one or more embodiments of this specification, and constitute a part of one or more embodiments of this specification. The exemplary embodiments of this specification and their descriptions are used to explain one or more embodiments of this specification. The multiple embodiments do not constitute an improper limitation of one or more embodiments in this specification. In the attached picture:
图1为本说明书实施例提供的一种数据处理方法的整体方案示意图;FIG. 1 is a schematic diagram of an overall scheme of a data processing method provided by an embodiment of this specification;
图2为本说明书实施例提供的一种数据处理方法的流程示意图;2 is a schematic flowchart of a data processing method provided by an embodiment of this specification;
图3为本说明书实施例提供的一种数据处理方法中配置信息配置界面示意图;3 is a schematic diagram of a configuration information configuration interface in a data processing method provided by an embodiment of this specification;
图4为本说明书实施例提供的一种数据处理方法中用户定制化配置信息配置界面示意图;4 is a schematic diagram of a user-customized configuration information configuration interface in a data processing method provided by an embodiment of this specification;
图5为本说明书实施例提供的对应于图2的一种数据处理装置的结构示意图;FIG. 5 is a schematic structural diagram of a data processing device corresponding to FIG. 2 provided by an embodiment of this specification;
图6为本说明书实施例提供的对应于图2的一种数据处理设备的结构示意图。FIG. 6 is a schematic structural diagram of a data processing device corresponding to FIG. 2 provided by an embodiment of the specification.
具体实施方式Detailed ways
为使本说明书一个或多个实施例的目的、技术方案和优点更加清楚,下面将结合本说明书具体实施例及相应的附图对本说明书一个或多个实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本说明书一个或多个实施例保护的范围。In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in conjunction with specific embodiments of this specification and the corresponding drawings. . Obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of one or more embodiments of this specification.
以下结合附图,详细说明本说明书各实施例提供的技术方案。The technical solutions provided by the embodiments of this specification will be described in detail below with reference to the accompanying drawings.
图1为本说明书实施例提供的一种数据处理方法的整体方案示意图。如图1所示,包括数据源提供方101、数据平台103以及用户105。需要说明的是,这里的用户105可以表示的是用户使用的设备,比如:公司设备、银行设备或者个人设备等等。数据源提供方能够提供多个数据源对应的数据,比如,图1中包括n个数据源,数据源1提供数据A,数据源2提供数据B,数据源3提供数据C,……,数据源n提供数据m,数据平台103不存储数据,只存储数据对应的数据信息,需要将这n个数据源提供的数据对应的数据信息统一配置到数据平台103上,可以理解为数据平台103需要将n个数据源提供的数据对应的数据信息进行配置,并保存到数据平台103的数据库中。在存储时,可以将一个数据源提供的数据对应的数据信息存储到一个数据库中,如图1所示,可以将数据源1提供的数据A的数据信息a存储到数据平台103的数据库1中,将数据源2提供的数据B的数据信息b存储到数据平台103的数据库2中,……,将数据源n提供的数据M的数据信息m存储到数据平台103的数据库n中。用户105使用的设备可以 向数据平台发送数据调用请求,对数据源提供方提供的数据进行定制化调用,用户105的定制化调用是依据数据平台103的配置信息和定制化配置信息,请求到提供方提供的接口进行数据查询,以满足用户使用数据的个性化需求。Fig. 1 is a schematic diagram of an overall scheme of a data processing method provided by an embodiment of this specification. As shown in FIG. 1, it includes a data source provider 101, a data platform 103, and a user 105. It should be noted that the user 105 here may refer to a device used by the user, such as a company device, a bank device, or a personal device, and so on. The data source provider can provide data corresponding to multiple data sources. For example, Figure 1 includes n data sources, data source 1 provides data A, data source 2 provides data B, and data source 3 provides data C, ..., data Source n provides data m. The data platform 103 does not store data, but only stores the data information corresponding to the data. The data information corresponding to the data provided by these n data sources needs to be uniformly configured on the data platform 103, which can be understood as the data platform 103 needs The data information corresponding to the data provided by the n data sources is configured and saved in the database of the data platform 103. When storing, the data information corresponding to the data provided by a data source can be stored in a database. As shown in Figure 1, the data information a of data A provided by the data source 1 can be stored in the database 1 of the data platform 103. , Store the data information b of the data B provided by the data source 2 in the database 2 of the data platform 103, ..., store the data information m of the data M provided by the data source n in the database n of the data platform 103. The device used by the user 105 can send a data call request to the data platform to make a customized call to the data provided by the data source provider. The customized call of the user 105 is based on the configuration information and customized configuration information of the data platform 103. The interface provided by the party performs data query to meet the individual needs of users using data.
接下来,将针对说明书实施例提供的一种数据处理方法结合附图进行具体说明:Next, a data processing method provided in the embodiment of the specification will be described in detail in conjunction with the accompanying drawings:
图2为本说明书实施例提供的一种数据处理方法的流程示意图。从程序角度而言,流程的执行主体可以为搭载于应用服务器的程序或应用客户端。Fig. 2 is a schematic flowchart of a data processing method provided by an embodiment of the specification. From a program perspective, the execution subject of a process can be a program or an application client loaded on an application server.
如图2所示,该流程可以包括以下步骤:As shown in Figure 2, the process can include the following steps:
步骤202:获取各个数据源提供方的数据的配置信息;所述数据的配置信息可以包括基本信息以及接口信息。Step 202: Obtain data configuration information of each data source provider; the data configuration information may include basic information and interface information.
数据源提供方可以指的是数据库应用程序所使用的数据库或者数据库服务器。比如:数据供应商可以通过自身的开放应用程序所使用的数据库或者数据库服务器向数据平台提供数据。The data source provider can refer to the database or database server used by the database application. For example, data providers can provide data to the data platform through the database or database server used by their own open applications.
配置信息可以表示的是能够让用户在配置表或者配置界面中编辑的变量,数据平台从数据源提供方获取多个数据源提供的数据之后,可以按照各个数据源提供方的数据的配置信息对数据进行配置。Configuration information can represent variables that can be edited by the user in the configuration table or configuration interface. After the data platform obtains the data provided by multiple data sources from the data source provider, it can match the data configuration information of each data source provider. The data is configured.
步骤204:根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中。Step 204: Configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform.
数据源提供方提供的数据信息可以包括数据的接入方式、查询方式、使用方式、数据源的身份标识等。比如:数据源A提供的数据X为交易数据,此时,该交易数据可以包括交易的发生场景、获取该交易数据的接入地址信息、查询方式信息、使用格式信息以及交易数据X对应的交易类型、交易名称、交易时间、具体交易内容等。The data information provided by the data source provider may include the data access mode, query mode, usage mode, and the identity of the data source, etc. For example, the data X provided by data source A is transaction data. At this time, the transaction data may include the transaction scenario, access address information for obtaining the transaction data, query method information, usage format information, and the transaction corresponding to the transaction data X Type, transaction name, transaction time, specific transaction content, etc.
数据平台可以是集数据接入、数据处理、数据存储、查询检索、分析挖掘等应用接口为一体的平台,数据平台上可以存储有各个数据源提供的数据信息,为各个机构实现数据资源共享。数据平台可以提供各类开放数据的展示和申请使用的功能,通过该数据平台申请使用数据后,可以通过其应用开发接入查询数据。数据平台上可以包括多个数据库,用于存储各个数据源提供方提供的数据信息。在具体存储时,可以将数据信息分类存储,一个类型的数据信息存储到同一个类型的数据库中;也可以按照数据源进行存储,一个数据源提供的数据信息存储到同一个类型的数据库中;当然,在实际应用中,也可以根据数据量的大小选择将数据存储到一个数据库中或者多个数据库中。具体的存 储可以根据实际应用进行设定。The data platform can be a platform that integrates application interfaces such as data access, data processing, data storage, query retrieval, analysis and mining. The data platform can store data information provided by various data sources to realize data resource sharing for various institutions. The data platform can provide various open data display and application functions. After applying for the use of data through the data platform, you can access the query data through its application development. The data platform may include multiple databases for storing data information provided by various data source providers. In the specific storage, the data information can be classified and stored, and one type of data information can be stored in the same type of database; it can also be stored according to the data source, and the data information provided by a data source can be stored in the same type of database; Of course, in practical applications, you can also choose to store the data in one database or multiple databases according to the amount of data. The specific storage can be set according to the actual application.
步骤206:获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求。Step 206: Obtain a call request of the user of the data platform for the data provided by the data source provider.
需要说明的是,本说明书中提到的“用户”可以指的是用户使用的具体设备。It should be noted that the “user” mentioned in this manual can refer to the specific device used by the user.
在实际应用中,数据平台可以与部分机构签约,定向合作,根据签约机构的需求为签约机构提供需要的数据。除此之外,数据平台上也可以面向所有机构,各个机构可以通过数据平台检索查询数据,申请使用数据等。In practical applications, the data platform can sign contracts with some institutions and cooperate with each other, and provide the contracted institutions with the required data according to the needs of the contracted institutions. In addition, the data platform can also be open to all institutions, and each institution can retrieve and query data through the data platform, apply for the use of data, and so on.
当数据平台的用户需要使用该数据平台上的数据信息对应的数据源提供方提供的数据时,可以向数据平台发送数据的调用请求,请求数据平台从相应的数据源提供方的数据调用接口调用数据,并提供调用得到的数据。When users of the data platform need to use the data provided by the data source provider corresponding to the data information on the data platform, they can send a data call request to the data platform, requesting the data platform to call the data call interface of the corresponding data source provider Data, and provide the data obtained by the call.
步骤208:基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。Step 208: Based on the customized configuration information of the user and the configured data information, provide the data provided by the data source provider to the user.
定制化配置信息可表示用户对数据的使用需求,还可包括指定部分接口的调用参数。The customized configuration information can indicate the user's demand for the use of data, and can also include the calling parameters of the designated part of the interface.
图2中的方法,通过获取各个数据源提供方的数据的配置信息,根据配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到数据平台的数据库中,以实现对多个数据源提供的数据信息在数据平台上进行统一配置,进而提高数据源接入使用的效率;获取数据平台的用户对于数据源提供方的数据的调用请求,基于用户的定制化配置信息,将数据源提供方提供的数据提供给所述用户,能够按照用户的需求对数据进行定制化使用,满足用户使用数据的个性化定制需求。The method in Figure 2 obtains the configuration information of the data of each data source provider, configures the data information provided by each data source according to the configuration information, and saves the configured data information in the database of the data platform to Realize the unified configuration of data information provided by multiple data sources on the data platform, thereby improving the efficiency of data source access; the user who obtains the data platform requests the data of the data source provider based on the customized configuration of the user Information, the data provided by the data source provider is provided to the user, the data can be customized according to the needs of the user, and the personalized customization needs of the user's use of the data can be met.
本说明书实施例还提供了该方法的一些具体实施方案,下面基于图2进行说明。The examples of this specification also provide some specific implementations of the method, which are described below based on FIG. 2.
在实际使用需求中,数据平台将多个数据源提供的数据信息统一接入数据平台时,涉及的业务操作可以包括数据源配置上线以及数据源访问检测。将多个数据源进行配置后,需要进行测试验证,验证通过后才能存储到数据平台上供各用户进行使用。In actual use requirements, when the data platform integrates data information provided by multiple data sources into the data platform, the business operations involved may include data source configuration and online and data source access detection. After multiple data sources are configured, test verification is required, and the verification can be stored on the data platform for each user to use.
具体地,所述获取各个数据源提供方的数据配置信息之前,还可以包括:获取针对数据源提供方提供的数据的配置信息;针对任意一个配置信息,对所述配置信息进行测试,得到测试结果;当所述测试结果表示所述配置信息配置正确时,将所述配置信息保存到数据平台上,将所述配置信息上线使用,以根据该配置信息对数据源提供方提供的数据信息进行配置。数据源提供方提供的配置信息经过测验,测验通过之后才能上线提供给各用户的设备进行使用。Specifically, before obtaining the data configuration information of each data source provider, it may further include: obtaining configuration information for the data provided by the data source provider; for any piece of configuration information, testing the configuration information to obtain the test Result; when the test result indicates that the configuration information is configured correctly, the configuration information is saved on the data platform, and the configuration information is used online to perform the data information provided by the data source provider according to the configuration information Configuration. The configuration information provided by the data source provider is tested, and only after the test is passed can it go online and provide the equipment to each user for use.
在具体测试时,可以根据设定的配置信息格式进行测试,将配置信息中对应的接口地址、参数等填写在测试界面中,点击测试按钮进行测试,查看返回的测试结果,若测试失败,则对配置信息进行修改,重置测试参数。若测试正确,则可以请求上线。In the specific test, you can test according to the set configuration information format, fill in the corresponding interface address and parameters in the configuration information in the test interface, click the test button to test, and view the returned test results. If the test fails, then Modify the configuration information and reset the test parameters. If the test is correct, you can request to go online.
在对配置信息进行测试、调整时,可以根据动态脚本进行测试。假设测试失败,可以针对测试结果对参数进行调整,比如:对查询接口的签名计算逻辑进行调整。When the configuration information is tested and adjusted, the test can be performed according to the dynamic script. If the test fails, the parameters can be adjusted according to the test result, for example, the signature calculation logic of the query interface can be adjusted.
通过上述方法,在根据配置信息对数据源提供方提供的数据信息进行配置之前,可以先对配置信息进行测试,将测试通过的配置信息保存到数据平台上,当获取到数据源提供方提供的数据信息之后,可以直接根据数据平台上保存的配置信息对数据信息进行配置,从而提高配置的效率。Through the above method, before configuring the data information provided by the data source provider according to the configuration information, the configuration information can be tested first, and the configuration information that has passed the test is saved on the data platform. When the data provided by the data source provider is obtained After the data information, the data information can be configured directly according to the configuration information saved on the data platform, thereby improving the efficiency of the configuration.
本说明书中提到的对多数据源提供方提供的数据进行统一配置,实际上就是将多个数据源提供方提供的数据信息按照对应的配置信息都保存在同一数据平台的数据库中。具体地,在将多个数据源提供方提供的数据信息保存到同一数据平台上时,需要明确应该将各个数据源的数据信息存储在哪些数据库中,具体实现方法可以如下:The unified configuration of data provided by multiple data source providers mentioned in this manual is actually to save the data information provided by multiple data source providers in the database of the same data platform according to the corresponding configuration information. Specifically, when storing data information provided by multiple data source providers on the same data platform, it is necessary to clarify in which databases the data information of each data source should be stored. The specific implementation method can be as follows:
所述基本信息至少包括所述数据源提供的数据的提供方信息;所述根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中,具体包括:根据配置信息,确定所述数据源提供的数据信息的提供方信息;确定所述提供方信息对应的数据库类型;将所述数据源提供的数据信息存储到所述提供方信息对应的数据库中。The basic information includes at least the provider information of the data provided by the data source; the data information provided by each data source is configured according to the configuration information, and the configured data information is saved to the data platform The database specifically includes: determining the provider information of the data information provided by the data source according to the configuration information; determining the database type corresponding to the provider information; storing the data information provided by the data source in the provider In the database corresponding to the party information.
需要说明的是,在将数据源提供方提供的数据信息存储到数据平台中时,可以根据提供方信息来确定应该将该数据源提供方提供的数据信息存储到哪个数据库中。比如:数据源提供方A提供了数据X,此时,可以根据数据源提供方A的名称或标识,数据X的分类、应用场景,覆盖范围以及该数据源提供方A提供的数据的开放模式等信息来判断应该将数据X对应的数据信息存储到R类数据库中。其中,一种数据库类型可以对应一个数据库,也可以对应多个数据库,数据库类型对应的数据库数量可以根据实际情况进行设置。It should be noted that when the data information provided by the data source provider is stored in the data platform, the provider information can be used to determine which database the data information provided by the data source provider should be stored. For example: Data source provider A provides data X. At this time, it can be based on the name or identification of data source provider A, the classification, application scenarios, coverage of data X, and the open mode of the data provided by data source provider A. Wait for information to determine that the data information corresponding to the data X should be stored in the R-type database. Among them, one database type can correspond to one database or multiple databases, and the number of databases corresponding to the database type can be set according to actual conditions.
通过上述方法,根据数据源提供的数据的提供方信息确定各个数据源的数据信息在数据平台上的存储数据库类型,可以提高数据信息的配置效率。Through the above method, the storage database type of the data information of each data source on the data platform is determined according to the provider information of the data provided by the data source, which can improve the configuration efficiency of the data information.
在实际应用中,可以是数据源提供方主动将数据信息发送到数据平台上进行配置保存,也可以是数据平台向各个数据源提供方发送获取数据信息的请求,请求各个数据源 提供方将数据信息放到数据平台上进行配置保存。用户需要通过数据平台调用数据时,用户可以向数据平台发送数据调用请求,数据平台为用户提供数据调用的调用接口,用户从该调用接口调用所需数据,配置信息中的接口信息至少可以包括接口地址信息、传输协议信息;具体获取数据时,可以包括:根据所述接口地址信息确定数据源提供方的接口地址;按照所述传输协议信息对应的传输协议访问所述接口地址,获取所述数据源提供的数据。In practical applications, it can be that the data source provider actively sends the data information to the data platform for configuration storage, or the data platform sends a request for data information to each data source provider, requesting each data source provider to send the data The information is placed on the data platform for configuration storage. When the user needs to call data through the data platform, the user can send a data call request to the data platform. The data platform provides the user with a call interface for data call. The user calls the required data from the call interface. The interface information in the configuration information can at least include the interface Address information and transmission protocol information; when specifically acquiring data, it may include: determining the interface address of the data source provider according to the interface address information; accessing the interface address according to the transmission protocol corresponding to the transmission protocol information to obtain the data Data provided by the source.
在实际应用中,配置信息可以通过附图3中提供的界面进行填写。具体地,可以结合附图3进行详细说明。如图3所示,配置信息可以包括基本信息以及接口信息。基本信息可以包括数据源提供方信息,比如:数据源提供方的名称或标识,数据的分类、应用场景,覆盖范围(比如:全国、国际等)以及该数据源提供方提供的数据的开放模式(例如:指定机构专用或者面向全部机构使用)等等信息。In practical applications, the configuration information can be filled in through the interface provided in Figure 3. Specifically, it can be described in detail with reference to FIG. 3. As shown in Figure 3, the configuration information may include basic information and interface information. Basic information can include data source provider information, such as: the name or logo of the data source provider, data classification, application scenarios, coverage (for example: national, international, etc.) and the open mode of the data provided by the data source provider (For example: dedicated to designated institutions or for use by all institutions) and other information.
接口信息可以包括接口地址信息、传输协议信息以及参数信息等等。其中,接口地址信息可以填入的是指定请求数据源的接口地址、传输协议信息可以填入数据平台与指定请求数据源的接口进行数据传输时使用的传输协议,比如:传输控制协议(Transmission Control Protocol,简称TCP)、用户数据报协议(User Datagram Protocol,简称UDP)、Internet协议(Internet Protocol,简称IP)等。The interface information may include interface address information, transmission protocol information, parameter information, and so on. Among them, the interface address information can be filled in the interface address of the specified request data source, and the transmission protocol information can be filled in the transmission protocol used when the data platform and the interface of the specified request data source perform data transmission, such as: Transmission Control Protocol Protocol, TCP for short), User Datagram Protocol (UDP for short), Internet Protocol (IP for short), etc.
参数信息可以包括参数类型、参数名称、参数描述信息以及参数的设置方式等等。需要说明的是,针对有些参数,需要先调用数据提供方的其他接口获取参数值,这时需要先配置好获取参数值的接口的数据源信息,再配置获取数据的数据源信息。The parameter information may include parameter type, parameter name, parameter description information, parameter setting mode, and so on. It should be noted that for some parameters, it is necessary to call other interfaces of the data provider to obtain the parameter value. At this time, it is necessary to configure the data source information of the interface for obtaining the parameter value, and then configure the data source information for obtaining the data.
上述方法中,从接口地址信息中可以确定数据源提供方提供数据的接口地址,访问该接口地址就可以获取到该数据源提供方提供的数据。不同的数据库之间传输数据时都会采用相应的传输协议,因此,可以先从接口信息中获取到该数据源提供方与数据平台的传输协议,根据该传输协议访问数据源提供方的接口地址,以获得数据源提供方提供的数据。In the above method, the interface address provided by the data source provider can be determined from the interface address information, and the data provided by the data source provider can be obtained by accessing the interface address. When transferring data between different databases, the corresponding transmission protocol is adopted. Therefore, the transmission protocol between the data source provider and the data platform can be obtained from the interface information, and the interface address of the data source provider can be accessed according to the transmission protocol. To obtain the data provided by the data source provider.
将所述数据源提供方提供的数据信息存储到所述数据源提供方信息对应确定出的数据库类型对应的数据库中时,如果数据库没有要求的数据格式,可以直接将数据信息按照自身的数据格式存储到数据库中,不需要进行数据格式转换;但是,如果数据库在存储时,有数据格式的要求,此时,需要将数据源提供方提供的数据信息的数据格式转换成数据库要求的数据格式,才能进行存储。具体可以采用以下方法进行实现:When storing the data information provided by the data source provider in the database corresponding to the database type determined corresponding to the data source provider information, if the database does not have the required data format, the data information can be directly converted to its own data format Stored in the database, data format conversion is not required; however, if the database has data format requirements when storing, at this time, the data format of the data information provided by the data source provider needs to be converted into the data format required by the database. Before it can be stored. Specifically, the following methods can be used to achieve:
所述将所述数据源提供的数据信息存储到所述数据源提供方信息对应确定出的数据库类型对应的数据库中之前,还可以包括:获取所述数据库的数据格式信息;按照所述数据格式信息将所述数据源提供的数据信息进行格式转换,得到格式转换后的数据信息。所述将所述数据源提供的数据信息存储到所述数据源提供方信息对应确定出的数据库类型对应的数据库中,具体包括:将所述格式转换后的数据信息存储到所述数据库类型对应的数据库中。Before storing the data information provided by the data source in the database corresponding to the determined database type corresponding to the data source provider information, the method may further include: obtaining data format information of the database; according to the data format The information format converts the data information provided by the data source to obtain the data information after the format conversion. The storing the data information provided by the data source in the database corresponding to the determined database type corresponding to the data source provider information specifically includes: storing the data information after the format conversion in the corresponding database type In the database.
需要说明的是,数据格式(data format)可以是数据保存在文件或记录中的编排格式,一般在使用接口传输数据时,数据格式可以包括:轻量级的文本数据交换格式(JavaScript Object Notation,简称JSON)、可扩展标记语言(eXtensible Markup Language,简称XML)、数据序列化格式(Yet Another Markup Language,简称YAML)。It should be noted that the data format can be an arrangement format in which data is stored in a file or record. Generally, when using an interface to transmit data, the data format can include: lightweight text data exchange format (JavaScript Object Notation, JSON for short), eXtensible Markup Language (XML for short), and data serialization format (Yet Another Markup Language, YAML for short).
比如:数据源提供方A提供的数据信息X的数据格式为XML格式,数据源提供方B提供的数据信息Y的数据格式为YAML格式,数据源提供方C提供的数据信息Z的数据格式为JSON)格式,通过分析,需要将数据信息X存储到I类数据库中,需要将数据信息Y存储到H类数据库中,需要将数据信息Z存储到J类数据库中,假设已知I类数据库、H类数据库对应的存储的数据格式均为XML格式、J类数据库对应的存储的数据格式为YAML格式,此时,数据源提供方A提供的数据信息X可以直接存储到I类数据库中;将数据源提供方B提供的数据信息Y的数据格式由YAML格式转换成XML格式,将XML格式的数据信息Y存储到H类数据库中;将数据源提供方C提供的数据信息Z的数据格式由JSON格式转换成YAML格式,然后将YAML格式的Z数据信息存储到J类数据库中。For example, the data format of data information X provided by data source provider A is XML format, the data format of data information Y provided by data source provider B is YAML format, and the data format of data information Z provided by data source provider C is JSON) format. Through analysis, data information X needs to be stored in a type I database, data information Y needs to be stored in a type H database, and data information Z needs to be stored in a type J database. Assuming that the type I database, The stored data format corresponding to the H-type database is XML format, and the stored data format corresponding to the J-type database is YAML format. At this time, the data information X provided by the data source provider A can be directly stored in the I-type database; The data format of data information Y provided by data source provider B is converted from YAML format to XML format, and the data information Y in XML format is stored in a type H database; the data format of data information Z provided by data source provider C is changed by The JSON format is converted into YAML format, and then the Z data information in YAML format is stored in the J-type database.
在实际应用场景中,将各个数据源提供方提供的数据信息均配置在同一数据平台上之后,数据平台可以为各个用户提供数据查询接口,为用户提供所需的数据,比如:银行A在处理某一笔大额借贷交易时,需要对借贷人的信誉、借贷人的财产情况、偿还能力等进行评估,此时,银行A需要根据其他机构提供的关于该借贷人的基本画像数据进行用户画像,比如:需要利用工商局提供的该借贷人的公司注册数据、从房产管理处获取该借贷人的房产数据以及该借贷人在其他银行的存款数据和借贷数据等。而这些数据的数据信息被数据平台统一配置之后,银行A可以通数据平台获取调用该借贷人的基本画像数据的数据调用接口,并将调用得到的这些数据按照自身的使用需求进行定制化使用,具体地,所述基于所述用户的定制化配置信息,将所述数据库中的数据提供给所述用户,具体可以包括:获取用户对于数据的调用请求;根据所述用户的定制化配置信息, 确定存储有所述调用请求所调用的数据对应的数据信息的目标数据库;根据所述目标数据库中的数据信息确定所述调用请求所调用的数据对应的调用接口;访问所述调用接口,将调用的数据提供给所述用户。In the actual application scenario, after the data information provided by each data source provider is configured on the same data platform, the data platform can provide each user with a data query interface and provide the user with the required data, for example: Bank A is processing In a large-sum loan transaction, it is necessary to evaluate the creditworthiness of the borrower, the property condition of the borrower, and the repayment ability, etc. At this time, Bank A needs to conduct a user portrait based on the basic portrait data of the borrower provided by other institutions For example, it is necessary to use the borrower’s company registration data provided by the Industrial and Commercial Bureau, obtain the borrower’s real estate data from the real estate management office, and the borrower’s deposit data and loan data in other banks. After the data information of these data is uniformly configured by the data platform, Bank A can obtain the data calling interface for calling the basic profile data of the borrower through the data platform, and customize the data obtained by calling it according to its own usage needs. Specifically, the providing the data in the database to the user based on the user's customized configuration information may specifically include: obtaining a user's request for data calling; and according to the user's customized configuration information, Determine the target database that stores the data information corresponding to the data called by the calling request; determine the calling interface corresponding to the data called by the calling request according to the data information in the target database; access the calling interface and call The data is provided to the user.
在实际应用中,定制化配置信息可以指的是各个用户对于数据的定制化使用需求。对于用户的定制化配置信息可以通过附图4中提供的界面进行填写。具体地,可以结合附图4进行详细说明。In practical applications, customized configuration information may refer to the customized use requirements of individual users for data. The customized configuration information for the user can be filled in through the interface provided in FIG. 4. Specifically, it can be described in detail with reference to FIG. 4.
图4为本说明书实施例提供的一种数据处理方法中用户定制化配置信息配置界面示意图。如图4所示,用户的定制化配置信息可以包括调用接口的身份识别参数、签名方式;还可以包括指定字段、使用数据的数据格式以及多数据源的组合或路由选择使用等等。比如:只需要获取数据中的某几个字段,或需要使用XML格式的数据、或需要从指定数据库中获取数据等。Fig. 4 is a schematic diagram of a user-customized configuration information configuration interface in a data processing method provided by an embodiment of the specification. As shown in Figure 4, the user's customized configuration information can include the identification parameters of the calling interface and the signature method; it can also include the specified fields, the data format of the usage data, and the combination or routing of multiple data sources. For example, only a few fields in the data need to be obtained, or data in XML format needs to be used, or data needs to be obtained from a specified database.
需要说明的是,这里的指定部分接口可以表示的是目标数据库,调用接口的身份识别参数可以表示的是目标数据库的标识信息;签名方式可以表示的是目标数据库中数据加密的签名方式。It should be noted that the specified part of the interface here can represent the target database, and the identification parameters of the calling interface can represent the identification information of the target database; the signature method can represent the signature method of data encryption in the target database.
例如:用户需要使用数据X,此时,用户使用数据X的定制化配置信息至少可以包括数据X的数据格式、数据X的使用字段以及数据X的指定调用接口,根据该指定调用接口可以确定指定的存储数据X的目标数据库。根据用户的配置信息从相应的数据库中拿到数据后,将数据转换为用户能够使用的数据,以满足用户的个性化使用需求。For example: the user needs to use data X. At this time, the customized configuration information for the user to use data X can at least include the data format of data X, the use field of data X, and the designated invocation interface of data X. The designated invocation interface can be determined according to the designated invocation interface. The target database for storing data X. After getting the data from the corresponding database according to the user's configuration information, the data is converted into data that the user can use to meet the user's personalized use needs.
数据平台可以获取用户对于数据的调用请求,比如:获取银行A对于借贷人1的基本画像数据的调用请求。The data platform can obtain the user's call request for data, for example: obtain the bank A's call request for the borrower 1's basic profile data.
在获取用户对于数据的调用请求之后,可以根据用户的定制化信息确定存储用户需要调用的数据的目标数据库。在应用场景中,用户可以指定拿取数据的数据库,也可以从存储所需数据的全部数据库中拿取数据,具体可以根据以下两种方法进行描述:After obtaining the user's data call request, the target database for storing the data that the user needs to call can be determined according to the user's customized information. In the application scenario, the user can specify the database to retrieve the data, or retrieve the data from all the databases that store the required data, which can be described according to the following two methods:
方法一、从指定数据库中获取所需数据对应的数据信息。Method 1: Obtain the data information corresponding to the required data from the specified database.
更为具体地,所述定制化配置信息中包括数据库标识,所述数据库标识用于指定获取所述用户调用的数据对应的数据信息的目标数据库。More specifically, the customized configuration information includes a database identifier, and the database identifier is used to specify a target database for obtaining data information corresponding to the data called by the user.
所述根据所述用户的定制化配置信息,确定存储有所述调用请求所调用的数据对应的数据信息的目标数据库,具体可以包括:The determining the target database storing the data information corresponding to the data called by the calling request according to the customized configuration information of the user may specifically include:
将数据库标识对应的数据库确定为目标数据库。The database corresponding to the database identifier is determined as the target database.
定制化配置信息中可以包括数据库标识,比如:用户A的配置信息指定了数据库Q、数据库R,此时,数据平台获取到用户A对于数据X的调用请求时,直接从数据库Q以及数据库R中取出数据X发送给用户A。The customized configuration information can include the database identifier, for example: the configuration information of user A specifies database Q and database R. At this time, when the data platform obtains the call request of user A for data X, it directly from database Q and database R Take out the data X and send it to user A.
通过上述方法,根据用户的定制化需求,可以保证为用户更有针对性地提供有效的数据,从而提高用户对数据平台上的数据的使用效率。Through the above method, according to the user's customized needs, it can be ensured that effective data is provided to the user in a more targeted manner, thereby improving the user's use efficiency of the data on the data platform.
方法二、从包含所需数据对应的数据信息的所有数据库中拿取数据信息。Method 2: Get data information from all databases containing data information corresponding to the required data.
所述根据所述用户的定制化配置信息,确定存储有所述调用请求所调用的数据对应的数据信息的目标数据库,具体可以包括:根据所述用户的定制化配置信息确定所述调用请求所调用的数据对应的数据信息类型;确定存储有所述数据信息类型的数据信息的全部数据库;将存储有所述数据信息类型的数据信息的全部数据库确定为目标数据库。The determining the target database storing the data information corresponding to the data called by the calling request according to the customized configuration information of the user may specifically include: determining the location of the calling request according to the customized configuration information of the user. The data information type corresponding to the called data; determining all databases storing the data information of the data information type; determining all databases storing the data information of the data information type as the target database.
需要说明的是,用户的定制化配置信息中可以包括需要调用的数据对应的数据信息类型,因此,在获取到用户对于数据的调用请求之后,可以确定用户需要调用的数据对应的数据信息类型。这里的数据信息类型可以是根据数据的业务场景进行的分类,比如:资产数据、身份数据、信用数据等等。It should be noted that the user's customized configuration information may include the data information type corresponding to the data that needs to be called. Therefore, after obtaining the user's data calling request, the data information type corresponding to the data that the user needs to call can be determined. The data information type here can be classified according to the business scenario of the data, such as: asset data, identity data, credit data, and so on.
上述方法二中的步骤,主要是为贴合业务需求,在实际应用中,用户可能需要组合使用多个数据源提供的数据,才能更好地利用数据进行后续的业务操作。比如:某银行机构需要完成对某一注册用户的用户画像,需要一些关于该注册用户的线上以及线下数据,此时,就需要结合线上的数据源以及线下的数据源提供的数据,综合确定该注册用户的用户画像。The steps in the second method above are mainly to meet business requirements. In actual applications, users may need to combine data provided by multiple data sources to make better use of the data for subsequent business operations. For example: a banking institution needs to complete a user portrait of a registered user, and needs some online and offline data about the registered user. At this time, it needs to combine the data provided by the online data source and the offline data source , Comprehensively determine the user portrait of the registered user.
而每个数据源的数据对应存储到相应的数据库中,因此,可以从多个数据库中获取用户所需的数据,以满足用户使用数据的复杂场景。The data of each data source is correspondingly stored in the corresponding database. Therefore, the data required by the user can be obtained from multiple databases to meet the complex scenarios of the user using the data.
根据数据类型可以确定存储该数据类型的数据的全部数据库。可以从这些数据库中将该类型的数据都提供给用户。比如:数据平台接收到公司S对于员工A的身份数据的调用请求,根据公司S对于员工身份数据的配置信息中可以确定员工A的身份数据的数据信息类型是基本画像数据。确定存储有用户A的基本画像数据类型的所有数据库,分别为数据库1、数据库2和数据库3,此时,数据平台可以根据数据库1、数据库2以及数据库3中的数据信息从各个数据库对应的数据源提供方调用数据,并提供给公司S,以便公司S对于员工A进行综合评估。According to the data type, all the databases storing the data of the data type can be determined. This type of data can be provided to users from these databases. For example, the data platform receives a call request from company S for employee A's identity data, and according to company S's configuration information for employee identity data, it can be determined that the data information type of employee A's identity data is basic profile data. Determine all the databases storing the basic profile data type of user A, namely database 1, database 2, and database 3. At this time, the data platform can obtain the corresponding data from each database according to the data information in database 1, database 2 and database 3. The source provider calls the data and provides it to company S so that company S can conduct a comprehensive evaluation of employee A.
通过上述方法,根据用户的定制化配置信息尽可能全面地为用户提供所需的数据,从而能够更好地满足用户对于数据的使用需求,提升用户对于数据平台上的数据的使用体验。Through the above method, the user is provided with the required data as comprehensively as possible according to the user's customized configuration information, so as to better meet the user's demand for data use and improve the user's experience of using the data on the data platform.
在实际应用中,数据平台可以存在签约的定向合作用户,这些定向合作用户与数据平台可以签订订购数据源的协议,签订协议之后,用户可以获取使用相应数据源的身份标识等关键参数值。签约后,定向合作用户可以针对相关数据源进行定制使用,在进行数据查询时,数据平台上提供的查询引擎也会按照用户的定制化配置信息来执行数据查询操作。In practical applications, the data platform may have contracted targeted cooperative users, and these targeted cooperative users can sign an agreement to order data sources with the data platform. After signing the agreement, the user can obtain key parameter values such as the identity of the corresponding data source. After signing the contract, targeted cooperative users can customize and use related data sources. When querying data, the query engine provided on the data platform will also perform data query operations according to the user's customized configuration information.
对于这些定向合作用户来说,可以在数据平台从数据源提供方获取到数据信息之后,就可以根据定向合作用户的配置信息对数据信息进行提前配置,存储在数据平台上。具体地,可以包括以下步骤:For these targeted cooperative users, after the data platform obtains the data information from the data source provider, the data information can be configured in advance according to the configuration information of the targeted cooperative user and stored on the data platform. Specifically, the following steps may be included:
所述获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求之前,还可以包括:获取数据源提供方提供的数据对应的数据信息;根据用户的定制化信息,对所述数据信息进行预处理;将预处理后的数据信息保存在所述数据平台的数据库中。Before the request of the user who obtains the data platform to call the data provided by the data source provider, it may further include: obtaining data information corresponding to the data provided by the data source provider; The data information is preprocessed; the preprocessed data information is stored in the database of the data platform.
需要说明的是,这里的预处理可以表示根据用户的配置化信息对数据源提供方提供的数据信息进行提前配置。配置完成的数据信息可以指定存储到数据平台的相应数据库中。当然,也可以不指定存储的数据库,具体实现方式可以根据实际需求进行设定。It should be noted that the preprocessing here may mean that the data information provided by the data source provider is configured in advance according to the configuration information of the user. The configured data information can be designated to be stored in the corresponding database of the data platform. Of course, the stored database may not be specified, and the specific implementation method can be set according to actual needs.
在实际应用过程中,根据签约协议,可以定时向定向合作用户发送对应数据源提供方提供的数据,也可以在接收到定向合作用户对于数据的调用请求之后,再为用户提供数据调用接口,供定向合作用户进行数据调用。In the actual application process, according to the contract agreement, the data provided by the corresponding data source provider can be periodically sent to the targeted cooperative user, or after receiving the data call request of the targeted cooperative user, the data call interface can be provided to the user. Directed cooperating users to make data calls.
所述定制化配置信息中包括所述用户指定的字段。所述基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户,具体可以包括:获取数据源提供方提供的数据;从所述数据中选取出用户指定的字段;将所述字段对应的内容提供给所述用户。The customized configuration information includes the fields specified by the user. The providing the data provided by the data source provider to the user based on the customized configuration information of the user and the configured data information may specifically include: obtaining data provided by the data source provider; A field specified by the user is selected from the data; the content corresponding to the field is provided to the user.
为了满足数据平台的用户对于数据的定制化需求,可以根据用户需求为用户提供准确的数据,具体地,假设用户A要求调用字段A1和字段A2,这两个字段属于数据X,此时,可以从数据X中找出字段A1和字段A2发送给用户A。In order to meet the data platform users’ data customization needs, accurate data can be provided to users according to user needs. Specifically, suppose that user A requires to call field A1 and field A2. These two fields belong to data X. At this time, you can Find the field A1 and the field A2 from the data X and send them to the user A.
用户的定制化需求除了可以指定字段之外,还可以指定所需数据的数据格式信息。所述定制化配置信息还包括所述用户所需数据的数据格式信息。所述基于所述用户的定 制化配置信息,将所述数据源提供方提供的数据提供给所述用户,具体可以包括:将所述数据源提供方提供的数据的数据格式转换为所述数据格式信息对应的数据格式,得到转换后的数据;将所述转换后的数据提供给所述用户。In addition to specifying fields, users can also specify the data format information of the required data. The customized configuration information also includes data format information of the data required by the user. The providing the data provided by the data source provider to the user based on the customized configuration information of the user may specifically include: converting the data format of the data provided by the data source provider into the data The data format corresponding to the format information obtains the converted data; the converted data is provided to the user.
在实际应用中,数据源提供方提供的数据的数据格式与用户需要使用的数据的数据格式可能会不一致,此时,需要对数据源提供方提供的数据的数据格式进行转换,将与用户需要使用的数据的数据格式一致的数据发送给用户。In practical applications, the data format of the data provided by the data source provider may be inconsistent with the data format of the data that the user needs to use. At this time, the data format of the data provided by the data source provider needs to be converted, which will meet the needs of the user. The data used in the data format is consistent with the data sent to the user.
比如:用户需要调用数据X和数据Y,数据X的数据格式为XML格式,Y的数据格式为JSON格式;而用户使用数据要求的数据格式为XML格式,此时,需要将数据Y的格式由JSON格式转换成XML格式,然后将XML格式的Y数据提供给用户。For example: the user needs to call data X and data Y, the data format of data X is XML format, and the data format of Y is JSON format; and the data format required by the user to use data is XML format, at this time, the format of data Y needs to be changed from Convert JSON format to XML format, and then provide Y data in XML format to users.
当然,在用户从数据平台上获取到相应的数据,并使用获取到的数据之后,还可以统计数据使用日志,经过分析加工之后在用户所使用的设备上展示数据使用情况以及数据质量等。Of course, after the user obtains the corresponding data from the data platform and uses the obtained data, the data usage log can also be counted, and the data usage and data quality can be displayed on the device used by the user after analysis and processing.
数据平台可以提供数据信息服务应用程序编程接口(Application Programming Interface,简称API)供用户使用,同时也可以提供开放门户供外部用户查阅数据源、签约使用数据源。The data platform can provide data information service application programming interface (Application Programming Interface, API for short) for users to use, and it can also provide an open portal for external users to consult data sources and contract to use data sources.
数据平台将各个数据源的数据进行统一配置之后,当用户想要从数据平台上调用所需的数据时,可以为用户提供一个进行数据调用或查询的界面,这个界面可以叫做数据视图,在这个界面中可以填入用户的定制化配置信息,比如:可以填入用户的身份标识、签名方式、请求调用的数据的使用格式等信息。除此之外,在这个界面中还可以根据应用场景填入多个数据源信息,以保证用户能够同时调用多个数据源的数据进行使用。After the data platform uniformly configures the data of each data source, when the user wants to call the required data from the data platform, it can provide the user with an interface for data call or query. This interface can be called a data view. The user's customized configuration information can be filled in the interface, for example, the user's identity, signature method, and usage format of the requested data can be filled in. In addition, in this interface, you can also fill in multiple data source information according to the application scenario to ensure that the user can call the data of multiple data sources for use at the same time.
本说明书实施例中提供的数据处理方法,通过对多个数据源的数据进行统一配置和管控,并且按照用户的个性化需求为用户提供定制化使用数据,大大提高了数据源接入使用的效率,也能够满足用户的使用需求。此外,数据平台在对数据进行统一配置时,为保证配置上线质量,配置信息通过测试验证、流程化申请上线以及灰度放量发布的过程,降低了投产风险。面对更复杂的业务场景,本方案还支持多数据源组合查询、筛选后再显示数据查询结果,能够解决在大规模、多租户空间使用多种数据源的开放数据进行大数据计算的场景下,数据的规模化接入的效率问题,以及如何保证接入后根据业务需要定制使用的问题。The data processing method provided in the embodiment of this specification greatly improves the efficiency of data source access and use by uniformly configuring and controlling the data of multiple data sources, and providing users with customized usage data according to the individual needs of users. , It can also meet the needs of users. In addition, when the data platform uniformly configures the data, in order to ensure the quality of the configuration online, the configuration information has passed the process of test verification, process-based application online, and grayscale release, reducing the risk of production. In the face of more complex business scenarios, this solution also supports multiple data source combination queries, filtering and then displaying the data query results, which can solve the scenario of large-scale, multi-tenant space using open data from multiple data sources for big data calculations , The efficiency of large-scale data access, and how to ensure that it is customized and used according to business needs after access.
更为具体地,本说明书实施例提供的方法具体可以实现以下技术效果:More specifically, the method provided in the embodiments of this specification can specifically achieve the following technical effects:
1)多数据源统一接入,使用时定制,在提高数据源接入效率的同时,也支持个性化的定制需求,同时符合数据的本地化、安全性使用的要求。1) Unified access of multiple data sources and customization during use. While improving the efficiency of data source access, it also supports personalized customization requirements and meets the requirements of data localization and safe use.
2)配置化、流程化管理:多数据源的数据统一接入数据平台进行配置→测试→审核→上线流程,用户定制化使用数据时,也需要进行测试验证等过程,在降低接入成本的同时,也能够保证数据使用的质量。2) Configuration and process management: data from multiple data sources is unified access to the data platform for configuration → testing → audit → online process. When users customize the data, they also need to carry out testing and verification processes, which reduces the cost of access At the same time, it can also guarantee the quality of data usage.
3)配置多版本支持、灰度发布上线:对配置信息进行测试验证,能够满足测试失败后对配置信息进行调整的要求,同时针对修改后的配置信息通过逐步灰度放量把发布上线可能带来的影响和损失控制到最低。3) Configuration multi-version support, gray-scale release and online: Test and verify the configuration information, which can meet the requirements for adjusting the configuration information after the test fails, and at the same time, the revised configuration information may be brought online by gradually increasing the grayscale. The impact and loss of the project are controlled to a minimum.
4)多数据源路由选择及组合使用:为了满足业务需求,能够针对应用场景进行多个数据源的组合使用,能够更好地满足用户对数据的使用需求。4) Multi-data source routing and combined use: In order to meet business needs, multiple data sources can be combined for application scenarios, which can better meet users' data usage needs.
基于同样的思路,本说明书实施例还提供了上述方法对应的装置。图5为本说明书实施例提供的对应于图2的一种数据处理装置的结构示意图。如图5所示,该装置可以应用于数据平台,可以包括:Based on the same idea, the embodiment of this specification also provides a device corresponding to the above method. FIG. 5 is a schematic structural diagram of a data processing device corresponding to FIG. 2 provided by an embodiment of the specification. As shown in Figure 5, the device can be applied to a data platform and can include:
配置信息获取模块502,用于获取各个数据源提供方的数据的配置信息;所述数据的配置信息包括基本信息以及接口信息;The configuration information obtaining module 502 is used to obtain the configuration information of the data of each data source provider; the configuration information of the data includes basic information and interface information;
配置模块504,用于根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中;The configuration module 504 is configured to configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform;
数据调用请求获取模块506,用于获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求;The data call request obtaining module 506 is configured to obtain a call request of a user of the data platform for the data provided by the data source provider;
定制化数据提供模块508,用于基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。The customized data providing module 508 is configured to provide the data provided by the data source provider to the user based on the customized configuration information of the user and the configured data information.
可选的,所述基本信息至少包括所述数据源提供的数据的提供方信息。所述配置模块504,具体可以包括:数据源提供方信息确定单元,用于根据配置信息,确定所述数据源提供的数据信息的提供方信息;数据库类型确定单元,用于确定所述提供方信息对应的数据库类型;数据存储单元,用于将所述数据源提供的数据信息存储到所述提供方信息对应的数据库中。Optionally, the basic information includes at least provider information of the data provided by the data source. The configuration module 504 may specifically include: a data source provider information determining unit for determining the provider information of the data information provided by the data source according to the configuration information; a database type determining unit for determining the provider The type of database corresponding to the information; the data storage unit is used to store the data information provided by the data source in the database corresponding to the provider information.
可选的,所述装置,还可以包括:配置信息获取模块,用于获取针对数据源提供方提供的数据的配置信息;配置信息测试模块,用于针对任意一个配置信息,对所述配置 信息进行测试,得到测试结果;配置信息保存模块,用于当所述测试结果表示所述配置信息配置正确时,将所述配置信息保存到数据平台上。Optionally, the device may further include: a configuration information obtaining module, which is used to obtain configuration information for data provided by a data source provider; a configuration information test module, which is used to check the configuration information for any configuration information The test is performed to obtain the test result; the configuration information saving module is used to save the configuration information on the data platform when the test result indicates that the configuration information is correctly configured.
可选的,所述接口信息至少包括接口地址信息、传输协议信息。所述装置,还可以包括:接口地址获取模块,用于根据所述接口地址信息确定数据源提供方的接口地址;数据获取模块,用于按照所述传输协议信息对应的传输协议访问所述接口地址,获取所述数据源提供的数据。Optionally, the interface information includes at least interface address information and transmission protocol information. The device may further include: an interface address acquisition module, configured to determine the interface address of the data source provider according to the interface address information; and a data acquisition module, configured to access the interface according to the transmission protocol corresponding to the transmission protocol information Address to obtain the data provided by the data source.
可选的,所述定制化数据提供模块508,具体可以包括:数据调用请求获取单元,用于获取用户对于数据的调用请求;目标数据库获取单元,用于根据所述用户的定制化配置信息,确定存储有所述调用请求所调用的数据对应的数据信息的目标数据库;数据调用接口确定单元,用于根据所述目标数据库中的数据信息确定所述调用请求所调用的数据对应的调用接口;数据提供单元,用于访问所述调用接口,将调用的数据提供给所述用户。Optionally, the customized data providing module 508 may specifically include: a data call request obtaining unit, configured to obtain a user's call request for data; and a target database obtaining unit, configured according to the customized configuration information of the user, Determining the target database storing the data information corresponding to the data called by the call request; a data calling interface determining unit, configured to determine the calling interface corresponding to the data called by the calling request according to the data information in the target database; The data providing unit is used to access the calling interface and provide the called data to the user.
可选的,所述定制化配置信息中包括数据库标识,所述数据库标识用于指定获取所述用户调用的数据对应的数据信息的目标数据库。所述目标数据库获取单元,具体可以用于:将数据库标识对应的数据库确定为目标数据库。Optionally, the customized configuration information includes a database identifier, and the database identifier is used to specify a target database for obtaining data information corresponding to the data called by the user. The target database acquiring unit may be specifically used to determine the database corresponding to the database identifier as the target database.
可选的,所述目标数据库获取单元,具体可以用于:根据所述用户的定制化配置信息确定所述调用请求所调用的数据对应的数据信息类型;确定存储有所述数据信息类型的数据信息的全部数据库;将存储有所述数据信息类型的数据信息的全部数据库确定为目标数据库。Optionally, the target database obtaining unit may be specifically configured to: determine the type of data information corresponding to the data called by the call request according to the customized configuration information of the user; determine that the data of the type of data information is stored All databases of information; all databases storing data information of the data information type are determined as target databases.
可选的,所述装置,还可以包括:数据获取模块,用于获取数据源提供方提供的数据对应的数据信息;数据预处理模块,用于根据用户的定制化信息,对所述数据信息进行预处理;预处理数据保存模块,用于将预处理后的数据信息保存在所述数据平台的数据库中。Optionally, the device may further include: a data acquisition module for acquiring data information corresponding to the data provided by the data source provider; a data preprocessing module for evaluating the data information according to the customized information of the user Perform preprocessing; a preprocessed data storage module is used to store the preprocessed data information in the database of the data platform.
可选的,所述定制化配置信息中包括所述用户指定的字段。所述定制化数据提供模块508,具体可以包括:数据获取单元,用于获取数据源提供方提供的数据;指定字段选取单元,用于从所述数据中选取出用户指定的字段;字段提供单元,用于将所述字段对应的内容提供给所述用户。Optionally, the customized configuration information includes fields designated by the user. The customized data providing module 508 may specifically include: a data obtaining unit for obtaining data provided by a data source provider; a designated field selecting unit for selecting a user-specified field from the data; a field providing unit , Used to provide the content corresponding to the field to the user.
可选的,所述定制化配置信息还包括所述用户所需数据的数据格式信息。所述定制化数据提供模块508,具体可以包括:数据格式转换单元,用于将所述数据源提供 方提供的数据的数据格式转换为所述数据格式信息对应的数据格式,得到转换后的数据;数据提供单元,用于将所述转换后的数据提供给所述用户。Optionally, the customized configuration information further includes data format information of the data required by the user. The customized data providing module 508 may specifically include: a data format conversion unit for converting the data format of the data provided by the data source provider into the data format corresponding to the data format information to obtain the converted data ; A data providing unit for providing the converted data to the user.
基于同样的思路,本说明书实施例还提供了上述方法对应的设备。图6为本说明书实施例提供的对应于图2的一种数据处理设备的结构示意图。如图6所示,设备600可以包括:至少一个处理器610;以及,与所述至少一个处理器通信连接的存储器630。其中,所述存储器630存储有可被所述至少一个处理器610执行的指令620,所述指令被所述至少一个处理器610执行。Based on the same idea, the embodiment of this specification also provides a device corresponding to the above method. FIG. 6 is a schematic structural diagram of a data processing device corresponding to FIG. 2 provided by an embodiment of the specification. As shown in FIG. 6, the device 600 may include: at least one processor 610; and a memory 630 communicatively connected with the at least one processor. The memory 630 stores an instruction 620 that can be executed by the at least one processor 610, and the instruction is executed by the at least one processor 610.
所述指令可以使所述至少一个处理器610能够:获取各个数据源提供方的数据的配置信息;所述数据的配置信息包括基本信息以及接口信息;根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中;获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求;基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。The instructions may enable the at least one processor 610 to: obtain data configuration information of each data source provider; the data configuration information includes basic information and interface information; according to the configuration information, each data source Configure the provided data information, save the configured data information in the database of the data platform; obtain the call request of the user of the data platform for the data provided by the data source provider; based on the user’s customization The data provided by the data source provider is provided to the user through the customized configuration information and the configured data information.
基于同样的思路,本说明书实施例还提供了上述方法对应的计算机可读介质。计算机可读介质上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现以下方法:获取各个数据源提供方的数据的配置信息;所述数据的配置信息包括基本信息以及接口信息;根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中;获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求;基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。Based on the same idea, the embodiments of this specification also provide a computer-readable medium corresponding to the above method. The computer-readable medium stores computer-readable instructions, and the computer-readable instructions can be executed by the processor to implement the following method: obtaining data configuration information of each data source provider; the data configuration information includes basic information and Interface information; configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform; obtain the data provided by the user of the data platform Request for data provided by the party; based on the customized configuration information of the user and the configured data information, the data provided by the data source provider is provided to the user.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如, 可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements in method flow). However, with the development of technology, the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device. It is programmed by the designer to "integrate" a digital system on a piece of PLD, without requiring chip manufacturers to design and manufacture dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly realized with "logic compiler" software, which is similar to the software compiler used in program development and writing, but before compilation The original code must also be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one type of HDL, but many types, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description), etc., currently most commonly used It is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that only a little bit of logic programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit, the hardware circuit that implements the logic method flow can be easily obtained.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可将用于实现各种功能的装置视为既可是实现方法的软件模块又可是硬件部件内的结构。The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the memory control logic. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, it is completely possible to program the method steps to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded logic. The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, a device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units illustrated in the above embodiments may be specifically implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书一个或多个实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing one or more embodiments of this specification, the functions of each unit may be implemented in the same one or more software and/or hardware.
本领域内的技术人员应明白,本说明书一个或多个实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
本说明书一个或多个实施例是参照根据本说明书一个或多个实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。One or more embodiments of this specification are described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to one or more embodiments of this specification. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方 法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the difference from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本说明书的实施例而已,并不用于限制本说明书一个或多个实施例。对于本领域技术人员来说,本说明书一个或多个实施例可以有各种更改和变化。凡在本说明书一个或多个实施例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书一个或多个实施例的权利要求范围之内。The above descriptions are only the embodiments of this specification, and are not used to limit one or more embodiments of this specification. For those skilled in the art, one or more embodiments of this specification may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification should be included in the scope of the claims of one or more embodiments of this specification.

Claims (21)

  1. 一种数据处理方法,所述方法应用于数据平台,包括:A data processing method, which is applied to a data platform, includes:
    获取各个数据源提供方的数据的配置信息;所述数据的配置信息包括基本信息以及接口信息;Acquiring data configuration information of each data source provider; the data configuration information includes basic information and interface information;
    根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中;Configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform;
    获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求;Obtaining a call request of the user of the data platform for the data provided by the data source provider;
    基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。Based on the customized configuration information of the user and the configured data information, the data provided by the data source provider is provided to the user.
  2. 如权利要求1所述的方法,所述获取各个数据源提供方的数据配置信息之前,还包括:The method according to claim 1, before said obtaining the data configuration information of each data source provider, the method further comprises:
    获取针对数据源提供方提供的数据的配置信息;Obtain the configuration information for the data provided by the data source provider;
    针对任意一个配置信息,对所述配置信息进行测试,得到测试结果;For any piece of configuration information, test the configuration information to obtain a test result;
    当所述测试结果表示所述配置信息配置正确时,将所述配置信息保存到数据平台上。When the test result indicates that the configuration information is configured correctly, the configuration information is saved on the data platform.
  3. 如权利要求1所述的方法,所述基本信息至少包括所述数据源提供的数据的提供方信息;The method according to claim 1, wherein the basic information includes at least provider information of the data provided by the data source;
    所述根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中,具体包括:The configuring the data information provided by each of the data sources according to the configuration information, and saving the configured data information in the database of the data platform, specifically includes:
    根据配置信息,确定所述数据源提供的数据信息的提供方信息;According to the configuration information, determine the provider information of the data information provided by the data source;
    确定所述提供方信息对应的数据库类型;Determine the database type corresponding to the provider information;
    将所述数据源提供的数据信息存储到所述提供方信息对应的数据库中。The data information provided by the data source is stored in a database corresponding to the provider information.
  4. 如权利要求1所述的方法,所述接口信息至少包括接口地址信息、传输协议信息;The method according to claim 1, wherein the interface information includes at least interface address information and transmission protocol information;
    所述方法,还包括:The method further includes:
    根据所述接口地址信息确定数据源提供方的接口地址;Determining the interface address of the data source provider according to the interface address information;
    按照所述传输协议信息对应的传输协议访问所述接口地址,获取所述数据源提供的数据。Access the interface address according to the transmission protocol corresponding to the transmission protocol information to obtain the data provided by the data source.
  5. 如权利要求3所述的方法,所述将所述数据源提供的数据信息存储到所述数据源提供方信息对应确定出的数据库类型对应的数据库中之前,还包括:The method according to claim 3, before storing the data information provided by the data source in the database corresponding to the database type determined corresponding to the data source provider information, the method further comprises:
    获取所述数据库的数据格式信息;Acquiring data format information of the database;
    按照所述数据格式信息将所述数据源提供的数据信息进行格式转换,得到格式转换 后的数据信息;Format conversion of the data information provided by the data source according to the data format information to obtain data information after the format conversion;
    所述将所述数据源提供的数据信息存储到所述数据源提供方信息对应确定出的数据库类型对应的数据库中,具体包括:The storing the data information provided by the data source in the database corresponding to the determined database type corresponding to the data source provider information specifically includes:
    将所述格式转换后的数据信息存储到所述数据库类型对应的数据库中。The data information after the format conversion is stored in a database corresponding to the database type.
  6. 如权利要求1所述的方法,所述基于所述用户的定制化配置信息,将所述数据库中的数据提供给所述用户,具体包括:The method according to claim 1, wherein the providing the data in the database to the user based on the customized configuration information of the user specifically includes:
    获取用户对于数据的调用请求;Get the user's call request for data;
    根据所述用户的定制化配置信息,确定存储有所述调用请求所调用的数据对应的数据信息的目标数据库;According to the customized configuration information of the user, determine the target database storing the data information corresponding to the data called by the calling request;
    根据所述目标数据库中的数据信息确定所述调用请求所调用的数据对应的调用接口;Determining the calling interface corresponding to the data called by the calling request according to the data information in the target database;
    访问所述调用接口,将调用的数据提供给所述用户。Access the calling interface and provide the called data to the user.
  7. 如权利要求6所述的方法,所述定制化配置信息中包括数据库标识,所述数据库标识用于指定获取所述用户调用的数据对应的数据信息的目标数据库;7. The method of claim 6, wherein the customized configuration information includes a database identifier, and the database identifier is used to specify a target database for obtaining data information corresponding to the data called by the user;
    所述根据所述用户的定制化配置信息,确定存储有所述调用请求所调用的数据对应的数据信息的目标数据库,具体包括:The determining the target database storing the data information corresponding to the data called by the calling request according to the customized configuration information of the user specifically includes:
    将数据库标识对应的数据库确定为目标数据库。The database corresponding to the database identifier is determined as the target database.
  8. 如权利要求6所述的方法,所述根据所述用户的定制化配置信息,确定存储有所述调用请求所调用的数据对应的数据信息的目标数据库,具体包括:7. The method according to claim 6, wherein the determining a target database storing data information corresponding to the data called by the calling request according to the customized configuration information of the user specifically includes:
    根据所述用户的定制化配置信息确定所述调用请求所调用的数据对应的数据信息类型;Determining the type of data information corresponding to the data called by the calling request according to the customized configuration information of the user;
    确定存储有所述数据信息类型的数据信息的全部数据库;Determine all databases storing data information of the data information type;
    将存储有所述数据信息类型的数据信息的全部数据库确定为目标数据库。All the databases storing the data information of the data information type are determined as the target database.
  9. 如权利要求1所述的方法,所述获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求之前,还包括:8. The method according to claim 1, before said obtaining a call request of a user of the data platform for the data provided by the data source provider, the method further comprises:
    获取数据源提供方提供的数据对应的数据信息;Obtain data information corresponding to the data provided by the data source provider;
    根据用户的定制化信息,对所述数据信息进行预处理;Preprocessing the data information according to the customized information of the user;
    将预处理后的数据信息保存在所述数据平台的数据库中。The preprocessed data information is stored in the database of the data platform.
  10. 如权利要求1所述的方法,所述定制化配置信息中包括所述用户指定的字段;5. The method of claim 1, wherein the customized configuration information includes a field specified by the user;
    所述基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户,具体包括:The providing the data provided by the data source provider to the user based on the customized configuration information of the user and the configured data information specifically includes:
    获取数据源提供方提供的数据;Obtain the data provided by the data source provider;
    从所述数据中选取出用户指定的字段;Select fields specified by the user from the data;
    将所述字段对应的内容提供给所述用户。The content corresponding to the field is provided to the user.
  11. 如权利要求1所述的方法,所述定制化配置信息还包括所述用户所需数据的数据格式信息;The method of claim 1, wherein the customized configuration information further includes data format information of the data required by the user;
    所述基于所述用户的定制化配置信息,将所述数据源提供方提供的数据提供给所述用户,具体包括:The providing the data provided by the data source provider to the user based on the customized configuration information of the user specifically includes:
    将所述数据源提供方提供的数据的数据格式转换为所述数据格式信息对应的数据格式,得到转换后的数据;Converting the data format of the data provided by the data source provider into the data format corresponding to the data format information to obtain the converted data;
    将所述转换后的数据提供给所述用户。Provide the converted data to the user.
  12. 一种数据处理装置,所述装置应用于数据平台,包括:A data processing device, which is applied to a data platform, includes:
    配置信息获取模块,用于获取各个数据源提供方的数据的配置信息;所述数据的配置信息包括基本信息以及接口信息;The configuration information obtaining module is used to obtain the configuration information of the data of each data source provider; the configuration information of the data includes basic information and interface information;
    配置模块,用于根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中;The configuration module is configured to configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform;
    数据调用请求获取模块,用于获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求;A data call request obtaining module, which is used to obtain a call request of a user of the data platform for the data provided by the data source provider;
    定制化数据提供模块,用于基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。The customized data providing module is configured to provide the data provided by the data source provider to the user based on the customized configuration information of the user and the configured data information.
  13. 如权利要求12所述的装置,所述基本信息至少包括所述数据源提供的数据的提供方信息;11. The device of claim 12, wherein the basic information includes at least provider information of the data provided by the data source;
    所述配置模块,具体包括:The configuration module specifically includes:
    数据源提供方信息确定单元,用于根据配置信息,确定所述数据源提供的数据信息的提供方信息;A data source provider information determining unit, configured to determine the provider information of the data information provided by the data source according to the configuration information;
    数据库类型确定单元,用于确定所述提供方信息对应的数据库类型;The database type determining unit is used to determine the database type corresponding to the provider information;
    数据存储单元,用于将所述数据源提供的数据信息存储到所述提供方信息对应的数据库中。The data storage unit is configured to store the data information provided by the data source in the database corresponding to the provider information.
  14. 如权利要求12所述的装置,所述接口信息至少包括接口地址信息、传输协议信息;The device according to claim 12, wherein the interface information includes at least interface address information and transmission protocol information;
    所述装置,还包括:The device further includes:
    接口地址获取模块,用于根据所述接口地址信息确定数据源提供方的接口地址;The interface address obtaining module is configured to determine the interface address of the data source provider according to the interface address information;
    数据获取模块,用于按照所述传输协议信息对应的传输协议访问所述接口地址,获取所述数据源提供的数据。The data acquisition module is configured to access the interface address according to the transmission protocol corresponding to the transmission protocol information to obtain the data provided by the data source.
  15. 如权利要求12所述的装置,所述定制化数据提供模块,具体包括:The device according to claim 12, the customized data providing module specifically includes:
    数据调用请求获取单元,用于获取用户对于数据的调用请求;The data call request obtaining unit is used to obtain the user's call request for data;
    目标数据库获取单元,用于根据所述用户的定制化配置信息,确定存储有所述调用请求所调用的数据对应的数据信息的目标数据库;The target database acquiring unit is configured to determine the target database storing the data information corresponding to the data called by the calling request according to the customized configuration information of the user;
    数据调用接口确定单元,用于根据所述目标数据库中的数据信息确定所述调用请求所调用的数据对应的调用接口;The data calling interface determining unit is configured to determine the calling interface corresponding to the data called by the calling request according to the data information in the target database;
    数据提供单元,用于访问所述调用接口,将调用的数据提供给所述用户。The data providing unit is used to access the calling interface and provide the called data to the user.
  16. 如权利要求15所述的装置,所述定制化配置信息中包括数据库标识,所述数据库标识用于指定获取所述用户调用的数据对应的数据信息的目标数据库;15. The device according to claim 15, wherein the customized configuration information includes a database identifier, and the database identifier is used to specify a target database for obtaining data information corresponding to the data called by the user;
    所述目标数据库获取单元,具体用于:The target database obtaining unit is specifically used for:
    将数据库标识对应的数据库确定为目标数据库。The database corresponding to the database identifier is determined as the target database.
  17. 如权利要求15所述的装置,所述目标数据库获取单元,具体用于:The device according to claim 15, wherein the target database obtaining unit is specifically configured to:
    根据所述用户的定制化配置信息确定所述调用请求所调用的数据对应的数据信息类型;Determining the type of data information corresponding to the data called by the calling request according to the customized configuration information of the user;
    确定存储有所述数据信息类型的数据信息的全部数据库;Determine all databases storing data information of the data information type;
    将存储有所述数据信息类型的数据信息的全部数据库确定为目标数据库。All the databases storing the data information of the data information type are determined as the target database.
  18. 如权利要求12所述的装置,所述装置,还包括:The device according to claim 12, further comprising:
    数据获取模块,用于获取数据源提供方提供的数据对应的数据信息;The data acquisition module is used to acquire data information corresponding to the data provided by the data source provider;
    数据预处理模块,用于根据用户的定制化信息,对所述数据信息进行预处理;The data preprocessing module is used to preprocess the data information according to the customized information of the user;
    预处理数据保存模块,用于将预处理后的数据信息保存在所述数据平台的数据库中。The preprocessed data saving module is used to save the preprocessed data information in the database of the data platform.
  19. 如权利要求12所述的装置,所述定制化配置信息中包括所述用户指定的字段;11. The device of claim 12, wherein the customized configuration information includes a field specified by the user;
    所述定制化数据提供模块,具体包括:The customized data providing module specifically includes:
    数据获取单元,用于获取数据源提供方提供的数据;The data acquisition unit is used to acquire the data provided by the data source provider;
    指定字段选取单元,用于从所述数据中选取出用户指定的字段;A designated field selection unit for selecting a field designated by the user from the data;
    字段提供单元,用于将所述字段对应的内容提供给所述用户。The field providing unit is used to provide the content corresponding to the field to the user.
  20. 一种数据处理设备,包括:A data processing device, including:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个 处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can:
    获取各个数据源提供方的数据的配置信息;所述数据的配置信息包括基本信息以及接口信息;Acquiring data configuration information of each data source provider; the data configuration information includes basic information and interface information;
    根据所述配置信息将各个所述数据源提供的数据信息进行配置,将配置后的数据信息保存到所述数据平台的数据库中;Configure the data information provided by each of the data sources according to the configuration information, and save the configured data information in the database of the data platform;
    获取所述数据平台的用户对于所述数据源提供方提供的数据的调用请求;Obtaining a call request of the user of the data platform for the data provided by the data source provider;
    基于所述用户的定制化配置信息以及所述配置后的数据信息,将所述数据源提供方提供的数据提供给所述用户。Based on the customized configuration information of the user and the configured data information, the data provided by the data source provider is provided to the user.
  21. 一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现权利要求1至11中任一项所述的数据处理方法。A computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the data processing method according to any one of claims 1 to 11.
PCT/CN2021/084306 2020-04-08 2021-03-31 Data processing WO2021204041A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010277643.6 2020-04-08
CN202010277643.6A CN111414369B (en) 2020-04-08 2020-04-08 Data processing method, device and equipment

Publications (1)

Publication Number Publication Date
WO2021204041A1 true WO2021204041A1 (en) 2021-10-14

Family

ID=71491790

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/084306 WO2021204041A1 (en) 2020-04-08 2021-03-31 Data processing

Country Status (2)

Country Link
CN (2) CN117951139A (en)
WO (1) WO2021204041A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117951139A (en) * 2020-04-08 2024-04-30 支付宝(杭州)信息技术有限公司 Data processing method, device and equipment
CN112000694B (en) * 2020-09-11 2024-04-26 支付宝(杭州)信息技术有限公司 Data acquisition method, device, equipment and medium
CN113271307B (en) * 2021-05-18 2023-05-16 中国工商银行股份有限公司 Data assembling method, device, computer system and storage medium
CN113656095B (en) * 2021-08-06 2023-08-04 北京数码大方科技股份有限公司 Processing method and device for configuration data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452450A (en) * 2007-11-30 2009-06-10 上海市电力公司 Multiple source data conversion service method and apparatus thereof
CN107423334A (en) * 2017-04-24 2017-12-01 云宏信息科技股份有限公司 A kind of automatic data migration method and device for supporting multi-data source
CN109739914A (en) * 2018-12-25 2019-05-10 斑马网络技术有限公司 Processing method, device, equipment and the computer readable storage medium of multi-data source
CN109947789A (en) * 2019-01-28 2019-06-28 平安科技(深圳)有限公司 A kind of method, apparatus, computer equipment and the storage medium of the data processing of multiple database
CN110716990A (en) * 2019-09-04 2020-01-21 华东江苏大数据交易中心股份有限公司 Multi-data-source management system applied to data transaction
CN111414369A (en) * 2020-04-08 2020-07-14 支付宝(杭州)信息技术有限公司 Data processing method, device and equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368503B (en) * 2016-05-13 2021-04-30 北京京东尚科信息技术有限公司 Data synchronization method and system based on button
CN106021528A (en) * 2016-05-25 2016-10-12 北京京东尚科信息技术有限公司 Data processing method and device
CN108241540A (en) * 2018-01-09 2018-07-03 福建星瑞格软件有限公司 A kind of method for scheduling task and device across data source query

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452450A (en) * 2007-11-30 2009-06-10 上海市电力公司 Multiple source data conversion service method and apparatus thereof
CN107423334A (en) * 2017-04-24 2017-12-01 云宏信息科技股份有限公司 A kind of automatic data migration method and device for supporting multi-data source
CN109739914A (en) * 2018-12-25 2019-05-10 斑马网络技术有限公司 Processing method, device, equipment and the computer readable storage medium of multi-data source
CN109947789A (en) * 2019-01-28 2019-06-28 平安科技(深圳)有限公司 A kind of method, apparatus, computer equipment and the storage medium of the data processing of multiple database
CN110716990A (en) * 2019-09-04 2020-01-21 华东江苏大数据交易中心股份有限公司 Multi-data-source management system applied to data transaction
CN111414369A (en) * 2020-04-08 2020-07-14 支付宝(杭州)信息技术有限公司 Data processing method, device and equipment

Also Published As

Publication number Publication date
CN111414369B (en) 2024-03-01
CN111414369A (en) 2020-07-14
CN117951139A (en) 2024-04-30

Similar Documents

Publication Publication Date Title
WO2021204041A1 (en) Data processing
TWI748175B (en) Data processing method, device and equipment
US8401993B2 (en) Analytics integration server within a comprehensive framework for composing and executing analytics applications in business level languages
US10242406B2 (en) Analytics integration workbench within a comprehensive framework for composing and executing analytics applications in business level languages
CN106874174B (en) Method and device for realizing interface test and function test
US10127299B2 (en) Analytics information directories within a comprehensive framework for composing and executing analytics applications in business level languages
US10599985B2 (en) Systems and methods for expediting rule-based data processing
US8825713B2 (en) BPM system portable across databases
US20100100802A1 (en) Contextual report element mapping to web service input parameter
US10725799B2 (en) Big data pipeline management within spreadsheet applications
US11847642B2 (en) Secure communication of data during transactions across multiple transaction entities in database systems
WO2021213154A1 (en) Blockchain data processing method, system, terminal, and computer-readable storage medium
US11379191B2 (en) Presentation oriented rules-based technical architecture display framework
CN109582476B (en) Data processing method, device and system
US20220398656A1 (en) Voice Enabled Flash Briefing of Banking Information
CN115857929A (en) Resource data processing method and device, computer equipment and storage medium
CN113515271B (en) Service code generation method and device, electronic equipment and readable storage medium
US20210042319A1 (en) Data processing method, apparatus, and device
CN106656940B (en) Method and apparatus for processing service access requests
US20210142407A1 (en) Distributed Markets
US9342541B1 (en) Presentation oriented rules-based technical architecture display framework (PORTRAY)
US20210232991A1 (en) Business flow conversion mechanism
US11061906B2 (en) Join operations for hierarchical dimensions
CN112231377A (en) Data mapping method, system, device, server and storage medium
CN111949259A (en) Risk decision configuration method, system, electronic equipment and storage medium

Legal Events

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

Ref document number: 21785236

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21785236

Country of ref document: EP

Kind code of ref document: A1