Data processing method and device based on data medium table
By realizing the linkage of multiple data platforms in the smart grid, the business data required by users is obtained, which solves the problem of incomplete data acquisition by a single data platform and improves the comprehensiveness of business data acquisition and user experience.
Patent Information
- Application Number
- CN202410803815.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-20
AI Technical Summary
In the existing technology, when data acquisition is only based on a separate data center, the feedback business data is incomplete, and users need to log in to multiple platforms. The operation is complex and inefficient, resulting in poor user experience.
Through business requests based on the target account, the access location is determined, the first data center requested by the target account is determined from multiple data centers, and whether the target business data exists, and if it does not exist, it is obtained from other data centers and sent to The user terminal realizes the linkage of multiple data platforms and provides more comprehensive business data.
It improves the comprehensiveness and efficiency of business data acquisition, improves user experience, and solves the problem of incomplete data acquisition in a separate data center.
Smart Images

Figure CN118673075A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart grids, and in particular to a data processing method and device based on a data middle station. Background Art
[0002] In the related technology, data acquisition is only based on a single data platform, and there is a lack of interaction between multiple data platforms. When a user wants to request a variety of different business data, the business data obtained based on a single data platform is not comprehensive, and it is necessary to log in to multiple data platforms to obtain business data. The operation process is complicated and the efficiency of business data acquisition is low, resulting in a poor user experience.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a data processing method and device based on a data middle station, so as to at least solve the technical problem in the related art that data acquisition is performed only based on a single data middle station, resulting in incomplete business data fed back to the user.
[0005] According to one aspect of an embodiment of the present invention, a data processing method based on a data middle station is provided, including: based on a business request of a target account, determining an access location of the target account and target business data requested by the target account; based on the access location, determining a first data middle station requested to be accessed by the target account from multiple data middle stations, wherein the multiple data middle stations include a master data middle station and multiple slave data middle stations; detecting whether the target business data exists in the first data middle station; if the target business data does not exist in the first data middle station, determining a second data middle station storing the target business data from the multiple data middle stations; sending the target business data from the second data middle station to the first data middle station, and sending the target business data to a terminal corresponding to the target account via the first data middle station.
[0006] According to another aspect of an embodiment of the present invention, a data processing device based on a data middle station is also provided, including: a first determination module, used to determine the access location of the target account and the target business data requested by the target account based on the business request of the target account; a second determination module, used to determine the first data middle station requested to be accessed by the target account from multiple data middle stations based on the access location, wherein the multiple data middle stations include a master data middle station and multiple slave data middle stations; a detection module, used to detect whether the target business data exists in the first data middle station; a third determination module, used to determine a second data middle station storing the target business data from the multiple data middle stations when the target business data does not exist in the first data middle station; a sending module, used to send the target business data from the second data middle station to the first data middle station, and send the target business data to the terminal corresponding to the target account via the first data middle station.
[0007] In an embodiment of the present invention, an access location of a target account and target business data requested by the target account are determined based on a business request of the target account; a first data middle station requested to be accessed by the target account is determined from multiple data middle stations based on the access location, wherein the multiple data middle stations include a master data middle station and multiple slave data middle stations; it is detected whether the target business data exists in the first data middle station; when the target business data does not exist in the first data middle station, a second data middle station storing the target business data is determined from multiple data middle stations; the target business data is sent from the second data middle station to the first data middle station, and the target business data is sent to the terminal corresponding to the target account via the first data middle station, so that when the target business data does not exist in the data middle station requested to be accessed by the user, data is obtained from other data middle stations, that is, the purpose of more comprehensively feeding back the business data required by the user is achieved by linkage of multiple data middle stations, thereby achieving the technical effect of improving the comprehensiveness of business data acquisition, and then improving business processing efficiency and user experience, thereby solving the technical problem in the related technology that data acquisition is based only on a single data middle station, resulting in incomplete business data fed back to the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0009] Figure 1 is a flow chart of a data processing method based on a data middle station according to an embodiment of the present invention;
[0010] Figure 2is an optional data access flow chart according to an embodiment of the present invention;
[0011] Figure 3 is another optional data access flow chart according to an embodiment of the present invention;
[0012] Figure 4 is another optional data access flow chart according to an embodiment of the present invention;
[0013] Figure 5 is an optional demand acceptance flow chart according to an embodiment of the present invention;
[0014] Figure 6 is another optional data access flow chart according to an embodiment of the present invention;
[0015] Figure 7 is an optional data uploading flow chart according to an embodiment of the present invention;
[0016] Figure 8 is an optional data sending flow chart according to an embodiment of the present invention;
[0017] Fig. 9 is an optional data monitoring link construction flow chart according to an embodiment of the present invention;
[0018] Fig.10 is an optional data sharing flow chart according to an embodiment of the present invention;
[0019] Fig.11 is an optional data service construction flow chart according to an embodiment of the present invention;
[0020] Fig.12 is an optional data quality problem handling flow chart according to an embodiment of the present invention;
[0021] Fig.13 is an optional data resource inventory flow chart according to an embodiment of the present invention;
[0022] Fig.14 is an optional link monitoring alarm handling flow chart according to an embodiment of the present invention;
[0023] Fig.15 It is a schematic diagram of a data processing device based on a data middle station according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] First, to facilitate understanding of the embodiments of the present invention, some terms or nouns involved in the present invention are explained below:
[0027] Data middle platform is an architectural concept for enterprise data management and application, which aims to realize the centralized management, sharing and application of data to support enterprise data-driven decision-making and business development. Data middle platform usually includes three layers: source layer, sharing layer and application layer.
[0028] The source layer of the data platform is the basic layer of the data platform, which is mainly responsible for data collection, cleaning, integration and storage. At the source layer, enterprises aggregate, clean and integrate data from various data sources such as various business systems, data warehouses, sensors, and equipment to ensure the accuracy, completeness and consistency of the data. The work of the source layer is to integrate data from various data sources into one, providing a data foundation for subsequent data sharing and application.
[0029] The shared layer of the data center is a layer above the source layer, which is mainly responsible for data storage, management and sharing. In the shared layer, enterprise data is stored in a unified data warehouse or data lake, and can be accessed through a unified data access and query interface. The data in the shared layer is usually high-quality data that has been cleaned and integrated, which can provide reliable data support for various departments and business lines of the enterprise, and promote data sharing and collaborative application.
[0030] The application layer of the data platform is the top layer of the data platform, which is mainly responsible for the application and value realization of data. At the application layer, enterprises can make full use of the data resources of the sharing layer by building various application systems such as data analysis, data mining, machine learning, and artificial intelligence to achieve data-driven business decisions and innovative development. The job of the application layer is to transform data into real business value and promote enterprise data-driven transformation and upgrading.
[0031] Common Information Model (CIM), a standard data model widely used in the field of power system and enterprise management. It defines the shared data structure of equipment, processes and information of the power system to facilitate interoperability and data exchange between different systems and components.
[0032] Filebeat, an open source log collector, is used to monitor and collect log files on the server. Its main function is to read data from the specified log file and then send the data to the specified destination.
[0033] Logstash Logstash, an open source server-side data processing pipeline, can ingest data from multiple sources simultaneously, transform the data, and then send the data to the destination you specify.
[0034] According to an embodiment of the present invention, a method embodiment of data processing based on a data middle station is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0035] Figure 1 is a flow chart of a data processing method based on a data middle station according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0036] Step S102, based on the service request of the target account, determining the access location of the target account and the target service data requested by the target account;
[0037] Optionally, the service request carries the access location of the target account and the target service data required for the target account to execute the corresponding service. The access location can be any one of the multiple data centers.
[0038] Step S104, based on the access location, determining a first data middle station that the target account requests to access from a plurality of data middle stations, wherein the plurality of data middle stations include a master data middle station and a plurality of slave data middle stations;
[0039] Optionally, the access location is used to indicate the first data middle station that the target account wants to access, and based on the access location, the access request can be linked to the first data middle station. The first data middle station is any one of a plurality of data middle stations, wherein the plurality of data middle stations include a master data middle station and a plurality of slave data middle stations. Data can be interacted between the plurality of data middle stations. For example, a plurality of slave data middle stations can upload their own business data to the master business middle station, and the master business middle station can send its own business data to each slave data middle station. Among them, the business data interaction between the plurality of data middle stations can be completed periodically based on a preset timed task, or it can be triggered based on the business needs of the business demand side (such as the target account side).
[0040] Optionally, data interaction between multiple data middle stations may include data uploading, data sending, etc. Data uploading means uploading business data from the slave data middle station to the master data middle station, and data sending means sending business data from the master data middle station to the slave data middle station.
[0041] Specifically, data upload is transmitted from the exchange area of the data center to the exchange area of the master data center via an error-free transmission (Unequal Error Protection, UEP) link. The exchange area of the master data center stores the uploaded model table and standard table data. After the exchange area data is verified, it is synchronized to the shared area through a script to provide data services to the upper layer. Before uploading data, it is strictly converted according to the Computer Integrated Manufacturing Model (CIM) model or standard table, and it is guaranteed that the content of important fields is not empty, such as operation identification, update time, network and provincial identification and other information.
[0042] For data delivery, the master data center sends the data exchange area table with the area code as the first partition and the date as the second partition; the exchange area data table of the slave data center should be built in the same way as the master data center, with the date as the partition. Data delivery includes stock data delivery and incremental data delivery. For stock data delivery, the master data center will send the full amount of data received to the data exchange area table of the slave data center at one time within the partition of the day; for incremental data delivery, different strategies are adopted according to the amount of data sent: when the full amount of data in the table is small (within 50M), the full amount of data is sent every day; when the full amount of data in the table is large, only incremental data is sent every day. The data sent on the day is stored in the data exchange area table of the slave data center. For tables that use incremental data delivery, the incremental and full data need to be merged every day through scripts.
[0043] Step S106, detecting whether the target business data exists in the first data;
[0044] After the business request of the target account is sent to the first data center, it will be determined whether the target business data required by the target account exists in the first data center. Based on the detection result, the subsequent business data acquisition logic can be determined.
[0045] Step S108, when the target service data does not exist in the first data center, determining a second data center storing the target service data from the plurality of data centers;
[0046] It can be understood that if the detection result indicates that the target business data required by the target account does not exist in the first data center, it is necessary to query from other data centers among the multiple data centers to determine the second data center that stores the target business data and obtain the target business data. The above method can ensure that when the target business data does not exist in the data center that the user requests to access, the business data can be obtained by linking multiple data centers to better meet the user's business needs and improve business processing efficiency and user experience.
[0047] Step S110, sending the target business data from the second data center to the first data center, and sending the target business data to the terminal corresponding to the target account via the first data center.
[0048] Optionally, the first data center can be a master data center or a slave data center. When the first data center is the master data center and the second data center is the slave data center, the second data center uploads the target business data to the first data center; when the first data center is the slave data center and the second data center is the master data center, the second data center sends the target business data to the first data center.
[0049] Optionally, there may be one or more first data centers. For example, when the business data required by the target account is distributed in two or more first data centers, a request needs to be sent to each of the two or more first data centers.
[0050] In an optional embodiment, the target business data is sent from the second data center to the first data center, and the target business data is sent to the terminal corresponding to the target account via the first data center, including: when the first data center is the master data center and the second data center is the slave data center, determining whether the storage format of the target business data in the second data center is the target format, wherein the target format is the data format required by the first data center; when the storage format of the target business data in the second data center is not the target format, sending a standard table matching the target format to the second data center through the first data center, so that the second data center converts the target business data into the target format based on the standard table; uploading the target business data in the target format to the first data center through the second data center.
[0051] It should be noted that, since the formats of the business data stored in each slave data station may be different, the first data station is the master data station and the second data station is the slave data station. That is, when the target business data of the slave data station needs to be uploaded to the master data station, the data format stored in the slave data station needs to be converted into the data format supported by the master data station to facilitate the business data management of the master data station. Specifically, it is necessary to detect the target data format before uploading the target business data from the second data station to the first data station. If the format of the target business data stored in the second data station is not the target format, that is, it is not a format supported by the master data station, the target business data needs to be converted into the target format before being uploaded to the first data station. The format conversion of the target business data is completed based on the standard table issued by the master data station (i.e., the first data station). The format of the target business data is unified based on the standard table issued by the master data station.
[0052] Optionally, when it is necessary to upload the target business data from the data center to the master data center, the target business data is uploaded from the exchange area of the data center to the exchange area of the master data center via a Unequal Error Protection (UEP) link. The exchange area of the master data center stores the uploaded model table and standard table data. After the exchange area data has been verified, it can also be synchronized to the shared area through a script to provide data services to the upper layer. Before uploading, the target business data is strictly converted according to the Common Information Model (CIM) or standard table, and it is ensured that the content of important fields is not empty, such as operation identification, update time, network and province identification and other information.
[0053] In an optional embodiment, the method also includes: when there is no second data middle station storing the target business data among multiple data middle stations, sending the target business data to the first data middle station through the source business system, and sending the target business data to the terminal via the first data middle station.
[0054] Optionally, when the target business data does not exist in all data centers, it is necessary to access the target business data with the help of an external source-end business system, which is a system responsible for generating, collecting, processing and storing data. After obtaining the target business data, the source-end business system will send the target business data to the first data center, and the target business data will be sent to the terminal through the first data center requested by the target account. The above method can be used to obtain data through multiple channels when the target account accesses a data center, thereby simplifying the data acquisition process and improving data acquisition efficiency.
[0055] In an optional embodiment, when there is no second data middle station storing the target business data among multiple data middle stations, the target business data is sent to the first data middle station through the source business system, and the target business data is sent to the terminal via the first data middle station, including: when there is no second data middle station storing the target business data among multiple data middle stations, detecting whether the first data middle station has the authority to directly obtain data from the source business system; when the first data middle station has the authority to directly obtain data from the source business system, sending the target business data to the first data middle station through the source business system, and sending the target business data to the terminal via the first data middle station.
[0056] Optionally, different data middle stations have different access permissions for different business data. Therefore, when acquiring target business data based on the source business system, it is necessary to confirm whether the first data middle station has the permission to directly acquire the target business data from the source business system. If it does, the source business system can send the target business data to the first data middle station, which will send the target business data to the terminal corresponding to the target account. The above method can improve the access security of data.
[0057] In an optional embodiment, the method also includes: when the first data middle station does not have the authority to directly obtain data from the source business system, determining a third data middle station from multiple data middle stations that has the authority to directly obtain data from the source business system; sending the target business data to the third data middle station through the source business system, sending the target business data from the third data middle station to the first data middle station, and sending the target business data to the terminal corresponding to the target account via the first data middle station.
[0058] Optionally, when the first data middle station does not have the authority to obtain the target business data from the source business system, a data middle station with the authority to obtain the target business data from the source business system is obtained from multiple data middle stations, that is, a third data middle station, and the target business data is obtained from the source business system through the third data middle station. The above method can not only improve the security of data access, but also ensure that the target business data required by the target account can be obtained normally from the source business system.
[0059] In an optional embodiment, the method further includes: according to a preset first scheduled task, sending corresponding business data to multiple data middle stations respectively through the source-end business system.
[0060] Optionally, when the source business system is accessing data (accessing to the master data middle station or the slave data middle station), in addition to accessing data according to business needs, it can also set corresponding scheduled tasks, that is, preset a first scheduled task to periodically upload business data to multiple data middle stations. The data access here refers to accessing the source business system data to the source layer of the data middle station (master data middle station or slave data middle station), and forming a model table or a standard table in the shared layer of the data middle station after data integration and transformation. The data access can be, but is not limited to, implemented through the components in Table 1 below.
[0061] Table 1
[0062]
[0063] Optional. Depending on the data type and data volume, the corresponding data access method is different. For transaction / analytical data + small data volume, Figure 2 is an optional data access flow chart according to an embodiment of the present invention, such as Figure 2 As shown, for small data volumes, full data extraction has little impact on the source business system. Use DataWorksDI to perform full data extraction regularly. The full data is saved in a new partition every day, and data updates are performed on demand. For transactional data + large data volumes, if the data volume is large and the source business system has data additions, deletions, and modifications, Figure 3 is an optional data access flow chart according to an embodiment of the present invention, such as Figure 3As shown in the figure, for the case where the data volume is large and there are data additions, deletions and modifications in the source business system, in data access, the existing data is fully extracted from the corresponding database table of the source business system through DataworksDI at one time, and the data is written to the full table of the operational data storage layer (ODS) in the data warehouse. The full data retains the full slice data by day partition, and only retains the partition data for two days to save space. For incremental data, real-time data access is achieved based on DataHub, and the data is synchronized to the incremental table of the ODS layer. The incremental table is divided into three levels: day, hour, and minute. The life cycle is not set, and the incremental data is deleted manually on a regular basis (by default, half a year). Every day, the incremental table data of the day and the partition data of the full table of the previous day are merged through a script to generate the partition data of the full table of the day. For analytical data + offline, for analytical data, it means that there is no update and deletion operation on the data, such as log and access traffic information. The existing data is fully extracted from the source database table through DataworksDI at one time, and the data is written (insertoverwrite) to the full table of the ODS layer. The full table is partitioned by day, and no life cycle is set. Incremental data is synchronized daily using DataworksDI based on the incremental identifier, and the data is directly stored in the corresponding partition of the full table. Incremental data implements real-time data access based on DataHub, and synchronizes data to the incremental table of the day in the ODS layer. The incremental table is partitioned by day, hour, and minute, and no life cycle is set; if the predetermined conditions are not met and the source table has an incremental identifier, scheduled data integration (DI) is used to extract incremental data. For analytical data, the data of the incremental table partition of the day is copied to the partition of the full table of the day through a script on a scheduled basis every day, without the need for additional processing.
[0064] In an optional embodiment, the target business data is sent to the terminal corresponding to the target account via the first data middle station, including: determining the processing type of the target account for the target business data; when the processing type is data download or internal use, the target business data is sent to the terminal via the first data middle station, wherein the internal use is used to indicate the use of the target business data in any one of the multiple data middle stations; or when the processing type is an external call, the access right to the target business data is authorized to the external system, and when the access right authorization is successful, the target business data is sent to the terminal via the first data middle station, wherein the external call is used to indicate the use of an external system to call the target business data, and the external system is a system other than the multiple data middle stations.
[0065] Optionally, due to restrictions on processing permissions, for the target business data obtained from the data center, under normal circumstances, only data downloading and internal use in multiple data centers are supported. For some special cases, such as external system calls, the target account does not have the permission to directly make external system calls to the target business data. In this case, it is necessary to authorize the external system to access the target business data. Only after authorization can the external system be called. The above method can not only improve the flexibility of data calls, but also improve the security of data calls through permission restrictions.
[0066] Optionally, you can determine whether the external system has the authority to directly call the target business data by setting the negative list data. Negative list data desensitization is based on usage requirements and data security principles to carry out data desensitization. Taking the target business data as the electricity customer table C_CONS as an example, in the data middle platform, based on the principle of minimum usage permissions, the table is split and filtered according to the application unit (such as the power supply unit), and data isolation is performed between units to ensure that each unit can only see the data of the unit and its jurisdiction, thereby ensuring data security.
[0067] Optionally, for the setting of access rights, the desensitizing methods provided may include but are not limited to: one is to provide the data externally after replacing it with "****"; the other is to encrypt the data based on the AES128 algorithm of the Advanced Encryption Standard (AES), a symmetric encryption algorithm. For example, the original phone number is displayed as "6YzClfYGJ1XQaCysoBAwUA==" after encryption, and then decrypted when used to ensure data availability and security.
[0068] In an optional embodiment, when the processing type is an external call, before sending the target business data to the terminal corresponding to the target account via the first data middle station, the method also includes: establishing an application program interface between the first data middle station and the external system.
[0069] Optionally, if you decide to authorize the external system to have access to the target business data, you need to establish an application programming interface (API) between the first data center and the external system to implement the construction of data services between the first data center and the external system. It can be based on, but not limited to, the data service construction capability of DataWorks, providing the ability to quickly generate data APIs from data tables, while supporting the rapid registration of existing APIs to the data service platform for unified management and publishing. At the same time, the data service has been connected with the API Gateway, supporting one-click publishing of API services to the API Gateway. The data service and API Gateway provide secure, stable, low-cost, and easy-to-use data open sharing services. The data service adopts a serverless architecture. You only need to focus on the query logic of the API itself, without having to worry about infrastructure such as the operating environment. The data service will prepare computing resources for you and support elastic expansion.
[0070] In an optional embodiment, the method further includes: based on a preset second scheduled task, taking inventory of the business data respectively included in the multiple data middle stations, and generating data resource directories respectively corresponding to the multiple data middle stations.
[0071] Optionally, the process of taking inventory of business data is the process of data monitoring and sorting. Through the inventory of business data, a data resource directory is formed to facilitate data management and call. When taking inventory of business data, the application information that needs to be created includes but is not limited to: the name of the source business system, the major to which it belongs, whether it involves a negative list, the level of the inventory data, whether the source business system has made a judgment, etc. Based on the daily monitoring of the data resource directory, a resource inventory work order is automatically generated after the data access and upload processes are completed. If it is determined that the inventory has not been taken, the resource directory will conduct a data resource inventory and complete the inventory approval, and the inventory results will be updated and published in the data resource directory.
[0072] Optionally, in the process of data interaction between the master data middle station and each slave data middle station, the headquarters deploys system data at the source layer to access the master data middle station, integrates and converts the data into a standard table through the preset splitting rules corresponding to each slave data middle station, and uses the coverage area corresponding to each slave data middle station as a partition for data isolation storage. A data transmission link is established with each slave data middle station through UEP, and the data of the coverage area corresponding to each slave data middle station is sent down separately, and the updated data is sent down regularly.
[0073] The master data center sends the model / standard table structure to the slave data center; the slave data center must strictly follow the standards to complete data traceability, access and model / standard table conversion in the corresponding data center; in addition to the model / standard table structure meeting the standards, the data records in the table must also meet the requirements, and the required fields required for data upload cannot be empty, such as update time, incremental identifier, valid identifier and primary key, etc.; data upload is carried out through the exchange area between the provincial side and the master data center, and both the slave data center and the master data center must create tables in the exchange area and keep the table structure consistent; UEP uses the exchange area of the master data center and the exchange area table of the slave data center for link configuration.
[0074] The secondary system data corresponding to the data center is accessed from the source layer of the data center, and after data integration and transformation, a model table or a standard table is formed. A data link is established with the main data center through UEP, and the data from the data center is uploaded to the main data center, and the updated data is uploaded regularly. Data upload is based on the shared layer of the data center, including the following processing methods and precautions.
[0075] The data table in the exchange area of the slave data center is partitioned by date; the exchange area table of the master data center uses the slave data center as the first partition and the date as the second partition, and stores the uploaded data of each slave data center in its own partition, so as to isolate the corresponding uploaded data of each slave data center; for uploading existing data, the slave data center stores the full data of the model / standard table in the current day partition of the corresponding data exchange area table, and uploads the full data to the current day partition of the headquarters province through UEP; for uploading incremental data, the slave data center stores the current day incremental data of the model / standard table in the current day partition of the data exchange area data table. The increment should include all data changes within the cycle, including data deletion and update operation records; the master data center performs quality verification on the uploaded data. If there is a problem with the data quality, it is necessary to notify the slave data center to re-upload the data; the master data center synchronizes the exchange area data to the shared layer of the center through scripts, merges the incremental data and the full data, and provides data services for upper-level applications.
[0076] Figure 4 is a schematic diagram of an optional interaction between a master data middle station and a slave data middle station according to an embodiment of the present invention, such as Figure 4As shown, after each slave data center prepares the data table, two types of log files are generated: one is the single-table log file, one log file for each data table, and the other is the indicator statistics log file, which is divided by topic (such as financial multi-dimensional weather vane indicators); the file pulse Filebeat detects the update of the single-table log and indicator statistics log, and synchronizes the updated content to the elastic search engine (ElasticSearch, ES) on the headquarters side through Logstash; detects the single-table log status field of the data table, adds the data table to the scheduling task list, and completes the data transmission through UEP at the right time; after the UEP / DI transmission is completed, the consistency monitoring and processing are completed in the master data center and the transmission log is written to ES.
[0077] Optionally, the data interaction process between the master data middle station and the slave data middle station also involves the detection and handling of data quality issues. The data quality issue process needs to provide basic information of the requirements: reporting unit, brief description of the problem, detailed description of the problem. Based on the user's reporting information, the system automatically completes the information: work order number, work order creation time, work order creator, creator ID, creator's department, processing group, and processor information. The following processes can be but are not limited to: 1) Problem acceptance: The system automatically records information such as the problem acceptance time based on user operations; 2) Problem splitting: including but not limited to problem classification, related attachments and other information; 3) Problem handling: including but not limited to the problem handling completion time, processing logs, related attachments and other information; 4) Problem review: The problem review interface includes but is not limited to the problem review completion time, review status, reviewer, related attachments and other information; 5) User review: including but not limited to the user review completion time, review results and other information.
[0078] Optionally, in order to improve the security of data interaction between the master data middle station and the slave data middle station, the data interaction process between the master data middle station and the slave data middle station also involves the link monitoring alarm handling operation process, which mainly includes the following contents: automatic synchronization of basic information of alarms: mainly including abnormal alarm time, alarm detail list, abnormal type, and abnormal level. Based on the information submitted by the user, the system automatically completes the information: mainly including the work order number, work order creation time, work order creator, creator identification ID, creator's department, processing group, and processor information. Alarm problem analysis includes but is not limited to: mainly including the application involved in the alarm, the unit involved, and the time when the analysis is completed. Based on the abnormality type, involving the abnormality of the upload link accessed from the data middle station, the system automatically calls the interface to synchronize the alarm information from the data middle station side.
[0079] Through the above steps S102 to S108, when the target business data does not exist in the data center that the user requests to access, data can be obtained from other data centers. That is, through the linkage of multiple data centers, the purpose of more comprehensively feeding back the business data required by the user can be achieved, thereby achieving the technical effect of improving the comprehensiveness of business data acquisition and further improving business processing efficiency and user experience, thereby solving the technical problem in related technologies that only acquires data based on a single data center, resulting in incomplete business data fed back to the user.
[0080] Based on the above embodiments and optional embodiments, the present invention proposes an optional data processing method implementation method based on a data middle station, the method comprising:
[0081] Step S1: Demand acceptance. Figure 5 is an optional demand acceptance flow chart according to an embodiment of the present invention, such as Figure 5 As shown, by accepting user needs and following up the entire process of demand processing, we deliver results to users. First, standardization service differentiation, analyze user needs, and determine whether standardized services meet user needs. Standardized services include data sharing, data uploading, data distribution, data quality problem handling, data service construction, resource application, technical support, and middle-office consulting services; second, formulate non-standardized service plans. If standardized services cannot meet user needs, the job executor will further communicate with the user about the needs and formulate non-standardized service plans; third, task splitting and assignment, according to the data middle-office operation process, user needs are split into subtasks and assigned to the job leaders corresponding to the job items; fourth, task tracking and acceptance, the job leader follows up on the progress of each job, accepts the job results, and delivers the results to the demander.
[0082] Step S2: Data access. Figure 6 is an optional data access flow chart according to an embodiment of the present invention, such as Figure 6As shown, by connecting the source business system data to the data middle platform source layer, the data is integrated and transformed to form a model table or a standard table in the data middle platform shared layer. The first is resource inventory, judging whether there is data that has not been inventoried at the source end in the list of data tables to be connected according to the data resource directory (if there is no data table information at the source directory level, the data table has not been inventoried); the second is task splitting and assignment, according to the data access table list, contact the data demander (such as the target account) to carry out data tracing work, apply to the implementation unit for access account and authorization, network activation and resource allocation, etc., notify the source business system R&D unit to provide splitting rules, and notify the source business system operation and maintenance unit to prepare data; the third is model design, in which the first-level deployment system data is connected to the master data middle platform, and the master data middle platform corresponds to the job execution People design model tables / standard tables based on the traceability results; data access to the secondary deployment system starts from the data middle platform, and the corresponding job executors from the data middle platform should strictly follow the Smart Grid-Common Information (SG-CIM) model table or the uniformly issued standard table structure. Customization or expansion of the table structure is allowed, but the fields covered by the model / standard table are not allowed to be missing or changed; Fourth, data link implementation: data is connected from the source business system to the source layer of the data middle platform, and the data table of the source layer is then cleaned and transformed, business integrated, and split, and stored in the middle platform shared layer as a standard table or SG-CIM model table.
[0083] Step S3: Data upload. Figure 7 is an optional data upload flow chart according to an embodiment of the present invention, such as Figure 7 As shown, based on the data that has been connected from the data center, the data of the secondary deployment system connected to the shared layer of the data center is uploaded to the shared layer of the master data center. The first is task assignment. The corresponding job leader of the master data center initiates the data upload task to the job leader of the slave data center. After receiving the task, the job leader of the slave data center organizes the job executor to carry out data traceability; the second is data traceability. The job executor of the slave data center performs the traceability work and blood relationship sorting of the upload table according to the data upload requirement table list, and determines whether the data is connected. If the data is not connected, apply to the job leader of the master data center to issue the model table / standard table structure, and use the data requirement table list and the model table / standard table structure as the job input for data access; the third is the implementation of the two-level through data link. The job executor of the slave data center carries out the data upload link configuration and uploads the data to the exchange area of the master data center. The job executor of the master data center synchronizes the exchange area data to the shared layer of the center through the script, and merges the incremental data and the full data.
[0084] Step S4: Send data. Figure 8 is an optional data delivery flow chart according to an embodiment of the present invention, such as Figure 8As shown, through the task application of the data middle station or the task issuance of the headquarters, the data of the first-level deployment system is issued to the shared layer of the slave data middle station. First, check whether the negative list is involved. The person in charge of the operation of the master data middle station verifies whether the negative list data is involved based on the data issuance list. If the negative list data is involved, submit a data use application to the business department, and the business department conducts a negative list review; second, check whether the authority is available. The person in charge of the operation of the master data middle station checks whether the master data middle station has authorized the data table authority in the self-service issuance tool. If not, submit a data issuance application to the master data middle station; third, submit an issuance application. The person in charge of the operation of the master data middle station submits a data issuance application; fourth, check whether the data middle station is connected. The person in charge of the operation of the master data middle station determines whether the master data middle station is connected based on the data issuance list. , if the master data middle station is not connected, data access is performed; fifth, data preparation of the master data middle station. The job leader of the master data middle station determines whether there are splitting rules. If there are no splitting rules, notify the source business system R&D unit to provide splitting rules, and split the data table according to the splitting rules. Complete data preparation in the exchange area of the master data middle station and notify the job leader; sixth, the job executor pre-builds a table in the exchange area of the master data middle station according to the table structure issued by the master data middle station, completes the subscription of the data table according to the table list, and realizes the data issuance to the exchange area of the slave data middle station. The job executor merges it into the shared layer of the slave data middle station; seventh, data business verification, the job executor performs data consistency confirmation work.
[0085] Step S5: Establishing a data monitoring link. Fig. 9 is an optional data monitoring link construction flow chart according to an embodiment of the present invention, such as Fig. 9As shown, the construction of the data middle platform monitoring link is completed based on the two-level connection of the data middle platform. The first is task analysis and split assignment. The data monitoring construction is divided into two-level monitoring link construction and local personalized monitoring link construction. The job manager splits and assigns tasks according to the job classification. If it is a two-level monitoring link construction, it is initiated by the job manager of the master data middle platform, and the master data middle platform and the job manager are notified to carry out the two-level monitoring link construction; if it is a local monitoring link construction, the corresponding job manager will split and assign tasks, contact the data application party and the source business system R&D unit to deploy the monitoring script, and contact the implementation unit to apply for monitoring accounts, authorization and network activation, etc.; the second is the two-level baseline table configuration. The master data middle platform and the job executor configure the master data middle platform and local baseline table information on the operation platform according to the table list; the third is the two-level monitoring joint debugging. The master data middle platform and the job executor are based on According to the comparison results displayed on the front-end page, joint debugging work is carried out until all comparison results are completely consistent; fourth, apply for original warehouse data. The job executor applies to the master data center for the distribution of original warehouse data according to the business requirements list and saves it to the local data center; fifth, develop and deploy monitoring rules. The job executor contacts the source end and the data application party to deploy monitoring scripts respectively, collects the source end and the data application party's indicator comparison rules, and deploys the comparison rules to the data center after processing; sixth, display the monitoring results. The job executor synchronizes the comparison information result table of the data center to the data link monitoring tool display to complete the construction of the monitoring link.
[0086] Step S6: Data sharing. Fig.10 is an optional data sharing flow chart according to an embodiment of the present invention, such as Fig.10 As shown, through the data table that has been connected to the shared layer of the data center (that is, the shared layer of any data center), the data table permissions are authorized to the analysis layer user project space. First, determine whether the negative list data is included. The system automatically determines whether the application data contains negative list data. If it contains negative list data, the applied data table must first be reviewed by the data-related business department to see if the data can be shared, and then the Internet Department conducts a data sharing security review; second, determine whether it is connected. The system automatically determines whether the applied data is connected to the data center. If it is not connected to the data center, it automatically initiates a data access job; third, data service authorization, the job executor authorizes the user-applied data center shared layer data table permissions to the analysis layer user space, allowing access to the applied data table.
[0087] Step S7: Data service construction: Build a data service API based on the data middle platform. Fig.11 is an optional data service construction flow chart according to an embodiment of the present invention, such as Fig.11As shown, the first is data demand sorting. The job leader conducts demand sorting according to the user's business needs, confirms whether the business demand description is complete, and clarifies the system, source table and data processing logic to which the demand data belongs; the second is analysis model construction. After the data use application is approved, the job executor carries out analysis model design and construction work according to business needs and the processing logic of the shared layer standard public model; the third is data service generation. The job executor completes the data service construction based on the analysis model of the analysis layer that has been implemented and assembled; the fourth is to approve and publish data services. The job executor reviews whether the data service parameter configuration is correct and completes the release.
[0088] Step S8: Data quality problem processing. Fig.12 is an optional data quality problem handling flow chart according to an embodiment of the present invention, such as Fig.12 As shown, based on user data application problems, data quality issues are analyzed and handled. The first is problem collection. The person in charge of the operation collects problems from user reports, special inspections, etc.; the second is problem analysis and classification. The person in charge of the operation verifies the problem list, classifies quality problems as technical problems or business problems, and enters the next problem handling process according to the problem type; the third is to determine whether coordination by the implementation unit is required. The person in charge of the operation needs to preliminarily determine whether the technical problem belongs to a platform failure problem or a data middle platform link problem. For platform failure problems, the implementation unit fault handling process needs to be entered; the fourth is technical problem handling. For data link-related technical problems, the person in charge of the operation distributes quality problems to relevant operation executors through the project management system to rectify the problems; the fifth is data quality rule configuration and verification. The operation executor completes the data quality rule configuration and verification based on the data middle platform to generate a data problem list, and feeds back to the data-related business department;
[0089] Step S9: Data resource inventory. Fig.13 is an optional data resource inventory flow chart according to an embodiment of the present invention, such as Fig.13 As shown, a data resource directory is formed based on the source layer and shared layer data of the data middle platform. First, determine the level of the inventory data. The data middle platform operator determines the level of the inventory data based on the name of the inventory task list table and the naming specification of the data middle platform; second, formulate an inventory plan. The data middle platform operation executor needs to formulate an inventory plan, determine the scope of the data resource inventory, the start time, the end time and the inventory-related responsible departments, and report the data resource inventory plan to the management department; third, the shared layer data is counted. The operation executor completes the data inventory work according to the inventory rules; fourth, the inventory results are released. The operation executor updates and publishes the middle platform data resource directory according to the inventory results.
[0090] Step S10: Link monitoring alarm processing. Fig.14is an optional link monitoring alarm handling flow chart according to an embodiment of the present invention, such as Fig.14 As shown in the figure, through data link monitoring, the abnormal two-level through links are handled to ensure the quality and efficiency of link transmission. First, analyze the impact range of the alarm and notify the application. After the link abnormality is detected, an alarm work order is automatically generated and distributed to the job executor. The job executor checks the link alarm information regularly or after receiving the alarm notification, and notifies the application that is or will be affected by the abnormality according to the abnormal impact range analysis. After the abnormality is handled, the corresponding application problem handling situation is simultaneously informed; second, alarm problem analysis, according to the location of the abnormality, the job executor independently or collaboratively conducts abnormal root cause analysis to locate the cause of the abnormality; third, problem handling, the job executor separately or collaboratively handles the problem according to the located problem, and when necessary, re-uploads or sends the repaired data through UEP and DI; fourth, abnormality verification, for the abnormalities that have been handled, the job executor confirms that the relevant alarm is in a verified and recovered state, and the relevant alarm work order will be automatically closed.
[0091] In this embodiment, based on the online chemical order operation of the data middle platform operation process, the data middle platform operation operation online service is constructed through the data middle platform operation platform. According to the operation operation process standards and personalized needs, the operation operation process is standardized and online, and the data middle platform operation full process evaluation capability is created to provide guidance and suggestions for improving the operation effectiveness of the data middle platform. Through the online circulation of operation activities, violations, inefficiencies, and blockages of the data middle platform resources, services, and operation processes are discovered in a timely manner. Combined with telephone communication, email communication and other methods, the relevant operators and users are reminded to rectify the tasks. Based on the construction of the "one-stop" full-process operation service of the middle platform, the data middle platform operation service system is improved, the data middle platform operation management workflow is optimized, and the data middle platform operation management level is strengthened.
[0092] In this embodiment, a data processing device based on a data middle station is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated here. As used below, the terms "module" and "device" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0093] According to an embodiment of the present invention, there is also provided an apparatus embodiment for implementing the above-mentioned data processing method based on the data middle station. Fig.15 is a structural diagram of a data processing device based on a data middle station according to an embodiment of the present invention. Fig.15As shown, the data processing device based on the data middle station includes: a first determination module 200, a second determination module 202, a detection module 204, a third determination module 206, and a sending module 208, wherein:
[0094] A first determination module 200 is used to determine the access location of the target account and the target business data requested by the target account based on the business request of the target account;
[0095] A second determination module 202, connected to the first determination module 200, is used to determine, based on the access location, a first data middle station that the target account requests to access from a plurality of data middle stations, wherein the plurality of data middle stations include a master data middle station and a plurality of slave data middle stations;
[0096] The detection module 204 is connected to the second determination module 202 and is used to detect whether the target business data exists in the first data;
[0097] The third determination module 206 is connected to the detection module 204 and is used to determine a second data middle station storing the target business data from the plurality of data middle stations when the target business data does not exist in the first data middle station;
[0098] The sending module 208 is connected to the third determining module 206, and is used to send the target business data from the second data center to the first data center, and send the target business data to the terminal corresponding to the target account via the first data center.
[0099] In an embodiment of the present invention, a first determination module 200 is provided to determine the access location of the target account and the target business data requested by the target account based on the business request of the target account; a second determination module 202 is connected to the first determination module 200 and is used to determine the first data middle station requested to be accessed by the target account from multiple data middle stations based on the access location, wherein the multiple data middle stations include a master data middle station and multiple slave data middle stations; a detection module 204 is connected to the second determination module 202 and is used to detect whether the target business data exists in the first data middle station; a third determination module 206 is connected to the detection module 204 and is used to determine the target business data stored in the first data middle station from multiple data middle stations when the target business data does not exist in the first data middle station. The second data middle station for target business data; a sending module 208, connected to the third determining module 206, is used to send the target business data from the second data middle station to the first data middle station, and send the target business data to the terminal corresponding to the target account via the first data middle station, so as to achieve the purpose of obtaining data from other data middle stations when the target business data does not exist in the data middle station requested by the user to access, that is, through the linkage of multiple data middle stations, more comprehensive feedback of the business data required by the user is achieved, thereby achieving the technical effect of improving the comprehensiveness of business data acquisition, and then improving business processing efficiency and user experience, and then solving the technical problem in the related technology that only data acquisition is based on a single data middle station, resulting in incomplete business data fed back to the user.
[0100] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0101] It should be noted that the first determination module 200, the second determination module 202, the detection module 204, the third determination module 206, and the sending module 208 correspond to steps S102 to S110 in the embodiment, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the modules as part of the device can be run in a computer terminal.
[0102] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.
[0103] The above-mentioned data processing device based on the data middle station may also include a processor and a memory. The above-mentioned first determination module 200, the second determination module 202, the detection module 204, the third determination module 206, the sending module 208, etc. are all stored in the memory as program modules, and the processor executes the above-mentioned program modules stored in the memory to realize the corresponding functions.
[0104] The processor includes a kernel, which retrieves the corresponding program module from the memory. The kernel may be one or more. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory includes at least one memory chip.
[0105] According to an embodiment of the present application, an embodiment of a non-volatile storage medium is also provided. Optionally, in this embodiment, the non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any of the data processing methods based on the data middle station.
[0106] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group, and the non-volatile storage medium includes a stored program.
[0107] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: based on the business request of the target account, determine the access location of the target account and the target business data requested by the target account; based on the access location, determine the first data station requested to be accessed by the target account from multiple data stations, wherein the multiple data stations include a master data station and multiple slave data stations; detect whether the target business data exists in the first data station; if the target business data does not exist in the first data station, determine the second data station storing the target business data from the multiple data stations; send the target business data from the second data station to the first data station, and send the target business data to the terminal corresponding to the target account via the first data station.
[0108] According to an embodiment of the present application, an embodiment of a processor is also provided. Optionally, in this embodiment, the processor is used to run a program, wherein the program executes any of the above data processing methods based on the data middle station when running.
[0109] According to an embodiment of the present application, an embodiment of a computer program product is also provided. Optionally, in this embodiment, the computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements any of the steps of the data processing method based on the data middle station.
[0110] Optionally, the above-mentioned computer program product, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: based on the business request of the target account, determining the access location of the target account and the target business data requested by the target account; based on the access location, determining the first data station requested to be accessed by the target account from multiple data stations, wherein the multiple data stations include a master data station and multiple slave data stations; detecting whether the target business data exists in the first data station; if the target business data does not exist in the first data station, determining the second data station storing the target business data from the multiple data stations; sending the target business data from the second data station to the first data station, and sending the target business data to the terminal corresponding to the target account via the first data station.
[0111] An embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: based on the business request of the target account, determining the access location of the target account and the target business data requested by the target account; based on the access location, determining a first data middle station requested to be accessed by the target account from multiple data middle stations, wherein the multiple data middle stations include a master data middle station and multiple slave data middle stations; detecting whether the target business data exists in the first data middle station; if the target business data does not exist in the first data middle station, determining a second data middle station storing the target business data from the multiple data middle stations; sending the target business data from the second data middle station to the first data middle station, and sending the target business data to the terminal corresponding to the target account via the first data middle station.
[0112] The above sequence of the embodiments of the present invention is for description only and does not represent the superiority or inferiority of the embodiments.
[0113] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0114] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above modules can be a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, modules or indirect coupling or communication connection of modules, which can be electrical or other forms.
[0115] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional modules in the various embodiments of the present invention may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0116] If the above-mentioned integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable non-volatile storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a non-volatile storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention. The aforementioned non-volatile storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0117] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data processing method based on a data middle station, characterized in that: include: Based on the service request of the target account, determining the access location of the target account and the target service data requested by the target account; Based on the access location, determine a first data middle station that the target account requests to access from a plurality of data middle stations, wherein the plurality of data middle stations include a master data middle station and a plurality of slave data middle stations; Detecting whether the target service data exists in the first data center; In the case that the target service data does not exist in the first data middle station, determining a second data middle station storing the target service data from the multiple data middle stations; The target business data is sent from the second data center to the first data center, and the target business data is sent to the terminal corresponding to the target account via the first data center.
2. The method according to claim 1, characterized in that: The sending of the target business data from the second data center to the first data center, and sending the target business data to the terminal corresponding to the target account via the first data center, includes: In the case where the first data center is a master data center and the second data center is a slave data center, determining whether the storage format of the target business data in the second data center is a target format, wherein the target format is a data format required by the first data center; In the case where the storage format of the target business data in the second data center is not the target format, a standard table matching the target format is sent to the second data center through the first data center, so that the second data center converts the target business data into the target format based on the standard table; The target business data in the target format is uploaded to the first data center through the second data center.
3. The method according to claim 1, characterized in that The method further comprises: When the second data middle station storing the target business data does not exist among the multiple data middle stations, the target business data is sent to the first data middle station through the source business system, and the target business data is sent to the terminal via the first data middle station.
4. The method according to claim 3, characterized in that In a case where the second data middle station storing the target business data does not exist in the multiple data middle stations, sending the target business data to the first data middle station through the source end business system, and sending the target business data to the terminal through the first data middle station, including: If the second data middle station storing the target business data does not exist in the multiple data middle stations, detecting whether the first data middle station has the authority to directly obtain data from the source end business system; When the first data middle station has the authority to directly obtain data from the source business system, the target business data is sent to the first data middle station through the source business system, and the target business data is sent to the terminal via the first data middle station.
5. The method according to claim 4, characterized in that The method further comprises: In the case where the first data middle station does not have the authority to directly obtain data from the source end business system, determining a third data middle station from the multiple data middle stations that has the authority to directly obtain data from the source end business system; The target business data is sent to the third data middle station through the source business system, the target business data is sent from the third data middle station to the first data middle station, and the target business data is sent to the terminal corresponding to the target account via the first data middle station.
6. The method according to claim 3, characterized in that: The method further comprises: According to the preset first scheduled task, the corresponding business data is sent to the multiple data middle stations respectively through the source business system.
7. The method according to claim 1, characterized in that The sending the target business data to the terminal corresponding to the target account via the first data middle platform includes: Determine a processing type of the target account for the target business data; In the case where the processing type is data download or internal use, the target service data is sent to the terminal via the first data middle station, wherein the internal use is used to indicate that any one of the multiple data middle stations uses the target service data; or When the processing type is an external call, the access rights to the target business data are authorized to the external system, and when the access rights are successfully authorized, the target business data is sent to the terminal via the first data middle station. The external call is used to indicate that the target business data is called by the external system, and the external system is a system other than the multiple data middle stations.
8. The method according to claim 7, characterized in that In the case where the processing type is an external call, before sending the target business data to the terminal corresponding to the target account via the first data middle platform, the method further includes: Establish an application program interface between the first data center and the external system.
9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: Based on the preset second scheduled task, the business data respectively included in the multiple data middle stations are counted, and the data resource directories respectively corresponding to the multiple data middle stations are generated.
10. A data processing device based on a data middle station, characterized in that: include: A first determination module, configured to determine an access location of a target account and target business data requested by the target account based on a business request of the target account; A second determination module is used to determine, based on the access location, a first data middle station that the target account requests to access from a plurality of data middle stations, wherein the plurality of data middle stations include a master data middle station and a plurality of slave data middle stations; A detection module, used to detect whether the target service data exists in the first data center; A third determination module is used to determine a second data middle station storing the target business data from the multiple data middle stations when the target business data does not exist in the first data middle station; A sending module is used to send the target business data from the second data center to the first data center, and send the target business data to the terminal corresponding to the target account via the first data center.
Citation Information
Patent Citations
Data middle platform system and data processing method and device
CN113935602A
Method, device and system for processing line-by-line service and sub-line service
CN114707863A
Data sharing method
CN115982115A
Data sharing method and system in digital power grid
CN117914553A
