Data processing method, device, equipment and storage medium based on multiple systems

By acquiring and processing system information of multiple business systems, and utilizing isomorphic conversion processing, real-time collection and aggregation of data from multiple business systems is realized, which solves the problem of low efficiency in the existing technology and improves the intelligence and intelligence of data processing. efficiency.

CN113641740BActive Publication Date: 2024-09-10CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110874925.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-30
Publication Date
2024-09-10
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

Existing technology cannot realize real-time collection and summary of business data from multiple business systems, and is inefficient and lacks intelligence.

Method used

By obtaining the system information of all associated systems corresponding to the target business, the data is isomorphically converted based on the system docking method, and the data conversion layer is used to realize real-time collection and summary of business data.

Benefits of technology

It achieves rapid real-time collection and summary of business data from multiple business systems, reduces processing costs, and improves data processing efficiency and intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113641740B
    Figure CN113641740B
Patent Text Reader

Abstract

The present application relates to the field of data processing, and provides a multi-system-based data processing method, device, equipment and storage medium, the method comprising: obtaining system information of all associated systems corresponding to the target business; based on all system information, obtaining the system docking mode of each associated system; judging whether the current time is within a preset idle time period; if so, for each associated system, based on the data processing rules corresponding to the system docking mode of the associated system, writing the business data corresponding to the target business in the associated system into a preset data conversion layer; performing isomorphic conversion processing on all business data contained in the data conversion layer to obtain processed business data; extracting the processed business data from the data conversion layer and storing it. The present application can realize real-time collection and aggregation of business data for the target business. The present application can also be applied to the field of blockchain, and the above-mentioned processed business data can be stored on the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data technology, and in particular to a multi-system based data processing method, device, equipment and storage medium. Background Art

[0002] Currently, the same business usually includes multiple different business channels, so that the same business will be connected to multiple business systems corresponding to the business channels, and the data formats of the business data collected by each business system may also be different. The existing method of statistical aggregation of business data of related businesses is usually to directly collect and count the business data separately in each business system corresponding to the related business, and then report the business data separately according to the needs after each system completes the collection and statistics of the business data in order to summarize all business data. This data processing method is time-consuming and labor-intensive, and cannot achieve real-time collection and aggregation of all business data related to the business. It is inefficient and lacks intelligence. Summary of the invention

[0003] The main purpose of this application is to provide a data processing method, device, computer equipment and storage medium based on multiple systems, aiming to solve the technical problems that the existing statistical aggregation method of business data of related businesses is time-consuming and labor-intensive, cannot realize real-time collection and aggregation of all business data of related businesses, is inefficient and lacks intelligence.

[0004] The present application proposes a data processing method based on multiple systems, the method comprising the steps of:

[0005] Obtain system information of all associated systems corresponding to the target business;

[0006] Based on all the system information, obtaining the system docking mode corresponding to each of the associated systems;

[0007] Obtaining the current time, and determining whether the current time is within a preset idle time period;

[0008] If yes, for each of the associated systems, based on a data processing rule corresponding to a system docking mode of each of the associated systems, write the business data corresponding to the target business in each of the associated systems into a preset data conversion layer;

[0009] Based on the preset data conversion thread and data conversion rules, all business data contained in the data conversion layer are subjected to isomorphic conversion processing to obtain processed business data;

[0010] The processed business data is extracted from the data conversion layer and stored.

[0011] Optionally, the step of writing the business data corresponding to the target business in each of the associated systems to a preset data conversion layer based on a data processing rule corresponding to a system docking mode of each of the associated systems for each of the associated systems includes:

[0012] Obtaining a system connection method of a designated associated system; wherein the designated associated system is any one of all the associated systems, and marking the system connection method of the designated associated system as the designated associated system connection method;

[0013] If the designated associated system docking mode is the KAFKA docking mode, the business data corresponding to the target business in the designated associated system is pulled to the data conversion layer according to the first preset rule;

[0014] If the designated associated system docking mode is the Goldengate docking mode, calling a preset Goldengate tool to synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer;

[0015] If the designated associated system docking mode is the ActiveMQ docking mode, pulling the business data corresponding to the target business in the designated associated system to the data conversion layer according to the second preset rule;

[0016] If the designated associated system docking mode is the preset first interface docking mode, calling the preset Http interface to write the business data corresponding to the target business in the designated associated system into the data conversion layer;

[0017] If the designated associated system docking mode is the preset second interface docking mode, the designated associated system is connected via JDBC, and the business data corresponding to the target business in the designated associated system is synchronized to the data conversion layer.

[0018] Optionally, the step of pulling the business data corresponding to the target business in the designated association system to the data conversion layer according to the first preset rule includes:

[0019] Determine whether the specified associated system has used KAFKA as the message middleware;

[0020] If KAFKA is used as the message middleware, a first request for applying for consumption rights of a first TOPIC corresponding to the target business is sent to the designated association system;

[0021] Determining whether the designated associated system successfully processes the first request;

[0022] If the first request has been successfully processed, the business data corresponding to the target business contained in the first TOPIC is pulled to the data conversion layer based on the consumption authority.

[0023] Optionally, the step of pulling the business data corresponding to the target business in the designated association system to the data conversion layer according to the second preset rule includes:

[0024] Sending a second request to the designated association system for applying for subscription rights for a second TOPIC corresponding to the target business;

[0025] Determining whether the designated associated system successfully processes the second request;

[0026] If so, after the designated associated system transfers the broadcast message containing the business data corresponding to the target business into the MQ message queue corresponding to the second TOPIC, a connection relationship is established with the MQ message queue in the designated associated system;

[0027] After the connection relationship is successfully established, subscribing to the broadcast information in the MQ message queue based on the subscription authority;

[0028] The business data corresponding to the target business in the designated associated system contained in the broadcast information is pulled to the data conversion layer.

[0029] Optionally, the step of performing isomorphic conversion processing on all business data contained in the data conversion layer based on preset data conversion threads and data conversion rules to obtain processed business data includes:

[0030] Obtaining pre-stored configuration information, and obtaining a first number of central processing units from the configuration information;

[0031] Calculating the product of the first quantity and a preset ratio to obtain a second quantity;

[0032] Creating a plurality of data conversion threads equal to the second number in a preset thread pool;

[0033] Allocate all the business data to the data conversion threads according to the preset allocation rules;

[0034] Sending the data conversion rules to each of the data conversion threads respectively;

[0035] Through each of the data conversion threads, isomorphic conversion processing is performed on the business data contained in each of the data conversion threads based on the data conversion rules to obtain the processed business data.

[0036] Optionally, before the step of determining whether the current time is within a preset idle time period, the following steps are performed:

[0037] Divide the value according to the preset length to divide the time of a day into multiple time periods;

[0038] Filtering all the time periods based on a preset busy time list, and filtering out a first time period from all the time periods; wherein the number of the first time periods is multiple;

[0039] Based on the pre-stored historical data processing records, counting the total amount of data processed in each of the first time periods within a preset time period;

[0040] Filter out a first data processing total amount that is greater than a preset data processing quantity threshold from all the data processing total amounts;

[0041] Subtracting the first data processing total amount from all the data processing total amounts to obtain a processed second data processing total amount;

[0042] Filter out a second time period corresponding to the second data processing amount from all the first time periods;

[0043] The second time period is used as the idle time period.

[0044] Optionally, after completing the step of storing the processed business data, generating data collection completion information corresponding to the target business;

[0045] Obtaining the default email login information; and,

[0046] Get the target email address of the target user;

[0047] Logging in to the corresponding mail server based on the mail login information;

[0048] The data collection completion information is sent to the target email address through the email server.

[0049] The present application also provides a multi-system based data processing device, comprising:

[0050] A first acquisition module is used to acquire system information of all associated systems corresponding to the target business;

[0051] A second acquisition module is used to acquire the system connection mode corresponding to each of the associated systems based on all the system information;

[0052] A determination module, used to obtain the current time and determine whether the current time is within a preset idle time period;

[0053] A first processing module is used for, for each of the associated systems, writing the business data corresponding to the target business in each of the associated systems into a preset data conversion layer based on a data processing rule corresponding to a system docking mode of each of the associated systems;

[0054] A second processing module is used to perform isomorphic conversion processing on all business data contained in the data conversion layer based on preset data conversion threads and data conversion rules to obtain processed business data;

[0055] The third processing module is used to extract the processed business data from the data conversion layer and store the processed business data.

[0056] The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0057] The present application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0058] The multi-system-based data processing method, device, computer equipment, and storage medium provided in this application have the following beneficial effects:

[0059] The multi-system-based data processing method, device, computer equipment and storage medium provided in the present application obtain the system information of all associated systems corresponding to the target business, and obtain the system docking mode corresponding to each of the associated systems based on all the system information. When it is determined that the current time is in the idle time period, for each of the associated systems, based on the data processing rules corresponding to the system docking mode of each of the associated systems, the business data corresponding to the target business in each of the associated systems is written to the preset data conversion layer, and then based on the preset data conversion thread, all the business data contained in the data conversion layer are subjected to isomorphic conversion processing to obtain the processed business data, and finally the processed business data is extracted from the data conversion layer and stored. Through the present application, the docking with each of the related systems can be completed based on the system docking methods corresponding to each of the related systems, and then the business data contained in each of the related systems can be written into the data conversion layer based on the data processing rules corresponding to the system docking methods, so as to perform business data isomorphism conversion processing to obtain business data with the same format, thereby effectively and quickly realizing the real-time collection and aggregation of business data corresponding to the target business contained in all related systems, reducing the processing cost of business data, and improving the processing efficiency and processing intelligence of business data. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 It is a flowchart of a multi-system-based data processing method according to an embodiment of the present application;

[0061] Figure 2 is a structural diagram of a multi-system-based data processing device according to an embodiment of the present application;

[0062] Figure 3 It is a schematic diagram of the structure of a computer device according to an embodiment of the present application.

[0063] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0064] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0065] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.

[0066] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0067] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0068] Reference Figure 1 , a multi-system data processing method according to an embodiment of the present application includes:

[0069] S1: Obtain system information of all associated systems corresponding to the target business;

[0070] S2: Based on all the system information, obtaining system docking modes corresponding to each of the associated systems;

[0071] S3: Obtaining the current time, and determining whether the current time is within a preset idle time period;

[0072] S4: If yes, for each of the associated systems, based on a data processing rule corresponding to a system docking mode of each of the associated systems, write the business data corresponding to the target business in each of the associated systems into a preset data conversion layer;

[0073] S5: Based on the preset data conversion thread and data conversion rules, all business data contained in the data conversion layer are subjected to isomorphic conversion processing to obtain processed business data;

[0074] S6: Extracting the processed business data from the data conversion layer and storing the processed business data.

[0075] As described in the above steps S1 to S6, the execution subject of the embodiment of the method is a data processing device based on multiple systems. In practical applications, the above-mentioned data processing device based on multiple systems can be implemented by a virtual device, such as software code, or by a physical device with relevant execution code written or integrated, and can interact with the user through a keyboard, mouse, remote control, touchpad or voice control device, etc., and can be specifically a system with data collection and aggregation functions. The data processing device based on multiple systems in this embodiment can effectively and quickly realize the real-time collection and aggregation of business data corresponding to the target business contained in all associated systems, thereby improving the processing efficiency and processing intelligence of business data. Specifically, the system information of all associated systems corresponding to the target business is first obtained. Among them, the target business can be a premium trading business. The system information may include system name information or system id information. Based on the system information, the system docking method related to the associated system can be queried. For example, when the target business is a premium transaction business, since the premium transaction data of the premium transaction business can be derived from multiple premium transaction channels, such as offline agent sales channels, bank sales channels, Internet sales, telephone sales channels, etc., multiple associated systems corresponding to each premium transaction channel will be created for the premium transaction business. Then, based on all the system information, the system docking methods corresponding to each of the associated systems are obtained. Among them, the system docking method refers to the docking method supported by the associated system with other external systems, and the system docking method may specifically include KAFKA docking method, Goldengate docking method, ActiveMQ docking method, first interface docking method and second interface docking method. In addition, the system information and the system docking method have a mapping relationship, and a mapping data table for storing system information and the system docking method corresponding to the system information can be pre-created based on the mapping relationship, so that the system docking methods of all associated systems corresponding to the target business can be quickly and conveniently queried from the mapping data table later.

[0076] Then, the current time is obtained, and it is determined whether the current time is within the preset idle time period. Among them, the time of a day can be divided into multiple time periods first, and the first time period can be screened out from all the time periods based on the preset busy time list, and then the total amount of data processing of each first time period within the preset time period is analyzed and processed, and then the idle time period of the device is intelligently determined based on the analysis result. If the current time is within the idle time period, for each of the associated systems, based on the data processing rules corresponding to the system docking mode of each of the associated systems, the business data corresponding to the target business in each of the associated systems is written to the preset data conversion layer. Among them, for different system docking modes, different data processing rules will be set accordingly. For any associated system, the data processing rules corresponding to the associated system will be called accordingly to smoothly write the business data corresponding to the target business in the associated system to the preset data conversion layer. In addition, the data conversion layer can be an area in the device for data isomorphism processing of business data.

[0077] Subsequently, based on the preset data conversion thread and data conversion rule, all the business data contained in the data conversion layer are subjected to isomorphic conversion processing to obtain the processed business data. Among them, the second number can be determined based on the first number of the central processors of the device and the preset ratio, and multiple data conversion threads based on the first number of the central processors of the device and the preset ratio can be created in advance in the device, and then all the business data are distributed to each of the data conversion threads, and the data conversion rules are sent to each of the data conversion threads respectively, and then through each of the data conversion threads, the business data contained in the internal are simultaneously subjected to isomorphic conversion processing based on the data conversion rules to obtain the processed business data. In addition, there is no limitation on the specific value of the preset ratio, which can be set according to actual needs. Finally, the processed business data is extracted from the data conversion layer and stored. Among them, after the processed business data is extracted, the processed business data can be synchronized or stored in Elasticsearch, so that subsequent relevant users can search for the relevant business data required to be queried in real time and quickly from Elasticsearch. Elasticsearch is a search server based on Lucene. It provides a distributed multi-user full-text search engine based on a RESTful web interface. Elasticsearch is developed in Java and released as open source under the Apache license. It is a popular enterprise search engine. For example, if the business data is premium transaction data, you can query the sales of products in various premium transaction channels or levels from Elasticsearch, so that you can view the sales dynamics of products and the market response of products in real time.

[0078] This embodiment obtains the system information of all associated systems corresponding to the target business, and obtains the system docking mode corresponding to each of the associated systems based on all the system information. When it is determined that the current time is in the idle time period, for each of the associated systems, based on the data processing rules corresponding to the system docking mode of each of the associated systems, the business data corresponding to the target business in each of the associated systems is written into the preset data conversion layer, and then based on the preset data conversion thread, all the business data contained in the data conversion layer are subjected to isomorphic conversion processing to obtain the processed business data, and finally the processed business data is extracted from the data conversion layer and stored. Through this embodiment, the docking with each of the associated systems can be completed based on the system docking mode corresponding to each of the associated systems, and then the business data contained in each of the associated systems is respectively written into the data conversion layer based on the data processing rules corresponding to the system docking mode, and the business data isomorphic conversion processing is performed to obtain business data with the same format, so that the real-time collection and aggregation of the business data corresponding to the target business contained in all associated systems can be effectively and quickly realized, reducing the processing cost of business data, and improving the processing efficiency and processing intelligence of business data.

[0079] Furthermore, in one embodiment of the present application, the above step S4 includes:

[0080] S400: Acquire a system connection mode of a designated associated system; wherein the designated associated system is any one of all the associated systems, and mark the system connection mode of the designated associated system as the designated associated system connection mode;

[0081] S401: If the designated associated system docking mode is the KAFKA docking mode, the business data corresponding to the target business in the designated associated system is pulled to the data conversion layer according to a first preset rule;

[0082] S402: If the designated associated system docking mode is the Goldengate docking mode, calling a preset Goldengate tool to synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer;

[0083] S403: If the designated associated system docking mode is the ActiveMQ docking mode, the business data corresponding to the target business in the designated associated system is pulled to the data conversion layer according to a second preset rule;

[0084] S404: If the designated associated system docking mode is the preset first interface docking mode, calling a preset Http interface to write the business data corresponding to the target business in the designated associated system into the data conversion layer;

[0085] S405: If the designated associated system docking mode is the preset second interface docking mode, the designated associated system is connected via JDBC, and the business data corresponding to the target business in the designated associated system is synchronized to the data conversion layer.

[0086] As described in the above steps S400 to S405, for each of the associated systems, based on the data processing rules corresponding to the system docking mode of each of the associated systems, the step of writing the business data corresponding to the target business in each of the associated systems to the preset data conversion layer may specifically include: first obtaining the system docking mode of the designated associated system. Wherein, the designated associated system is any one of all the associated systems, and the system docking mode of the designated associated system is marked as the designated associated system docking mode. In addition, the system docking mode may specifically include KAFKA docking mode, Goldengate docking mode, ActiveMQ docking mode, first interface docking mode, and second interface docking mode. If the designated associated system docking mode is the KAFKA docking mode, the business data corresponding to the target business in the designated associated system is pulled to the data conversion layer according to the first preset rule. Wherein, if the system docking mode of the designated associated system is the KAFKA docking mode, it indicates that the designated associated system can support the device to use the message content acquisition mode corresponding to KAFKA to synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer. Specifically, the first preset rule may include: first determining whether the designated associated system has used KAFKA as the message middleware, and if so, sending a first request to the designated associated system to apply for the consumption authority of the first TOPIC corresponding to the target business, and after the designated associated system successfully processes the first request, based on the consumption authority, pulling the business data corresponding to the target business contained in the first TOPIC to the data conversion layer. If the docking mode of the designated associated system is the Goldengate docking mode, calling the preset Goldengate tool to synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer. Among them, if the system docking mode of the designated associated system is the Goldengate docking mode, it indicates that the designated associated system can support the device to use the corresponding Goldengate tool to synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer. In addition, the Goldengate tool is a tool for real-time synchronization between databases, supporting synchronization and replication of data between databases of the same type and different types. If the docking mode of the designated associated system is the ActiveMQ docking mode, the business data corresponding to the target business in the designated associated system is pulled to the data conversion layer according to the second preset rule. Among them, if the system docking mode of the designated associated system is the ActiveMQ docking mode, it indicates that the designated associated system can support the device to use the message content acquisition method corresponding to ActiveMQ to synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer.Specifically, the second preset rule may include: first sending a second request to the designated association system to apply for the subscription authority of the second TOPIC corresponding to the target business, after the designated association system successfully processes the second request and transmits the broadcast message containing the business data corresponding to the target business to the MQ message queue corresponding to the second TOPIC, establishing a connection relationship with the MQ message queue in the designated association system, and then subscribing to the broadcast information in the MQ message queue based on the subscription authority, and pulling the business data corresponding to the target business in the designated association system contained in the broadcast information to the data conversion layer. If the docking mode of the designated association system is the preset first interface docking mode, calling the preset Http interface to write the business data corresponding to the target business in the designated association system to the data conversion layer. Among them, the first interface docking mode is the docking mode corresponding to the Http interface. If the system docking mode of the designated association system is the first interface docking mode, it indicates that the designated association system can support the device to call the Http interface to synchronize the business data corresponding to the target business in the designated association system to the data conversion layer. Specifically, the Http interface is an Http interface in the designated association system, and can be connected to the Http interface of the designated association system first. After the connection is successful, the business data corresponding to the target business in the designated association system is obtained through the Http interface, and then the obtained business data is written to the data conversion layer. If the docking mode of the designated association system is the preset second interface docking mode, the designated association system is connected through JDBC, and the business data corresponding to the target business in the designated association system is synchronized to the data conversion layer. Among them, the second interface docking mode is a docking mode corresponding to the JDBC interface. If the system docking mode of the designated association system is the second interface docking mode, it means that the designated association system can support the device to connect to the designated association system through JDBC to synchronize the business data corresponding to the target business in the designated association system to the data conversion layer. In addition, JDBC (Java Database Connectivity) is an application program interface used in the Java language to standardize how client programs access databases, and provides methods such as querying and updating data in databases. Specifically, you can first obtain authorization for the source table of the business data corresponding to the target business contained in the associated system, and then use JDBC to connect to the database of the associated system based on the obtained authorization, and synchronize data according to the data contained in each page, so as to synchronize the business data corresponding to the target business in the specified associated system to the data conversion layer.For each of the associated systems, this embodiment will intelligently implement the data processing rules corresponding to the system docking mode of the associated system to quickly and conveniently write the business data corresponding to the target business in the associated system to the preset data conversion layer, which is conducive to the subsequent rapid and convenient isomorphic conversion processing of all business data contained in the data conversion layer, and then obtain the processed business data, so as to complete the real-time collection and statistics of all business data of the target business.

[0087] Furthermore, in an embodiment of the present application, the above step S401 includes:

[0088] S4010: Determine whether the designated associated system has used KAFKA as the message middleware;

[0089] S4011: If KAFKA is used as the message middleware, a first request for applying for consumption authority of a first TOPIC corresponding to the target business is sent to the designated association system;

[0090] S4012: Determine whether the designated associated system successfully processes the first request;

[0091] S4013: If the first request has been successfully processed, the business data corresponding to the target business contained in the first TOPIC is pulled to the data conversion layer based on the consumption authority.

[0092] As described in the above steps S4010 to S4013, the step of pulling the business data corresponding to the target business in the designated associated system to the data conversion layer according to the first preset rule may specifically include: first determining whether the designated associated system has used KAFKA as the message middleware. Among them, the message middleware is responsible for the storage of messages, that is, when the consumer does not have time to process all the messages, the message content can be buffered in the message middleware. In addition, if the designated associated system has used KAFKA as the message middleware, the messages in KAFKA, such as the business data of the designated associated system, will be stored in the TOPIC of KAFKA. TOPIC is a message classification in KAFKA, and KAFKA can contain multiple TOPICs, and different TOPICs are isolated from each other. Different TOPICs will be used to store different business data according to actual business needs. If KAFKA has been used as the message middleware, a first request for the consumption authority of the first TOPIC corresponding to the target business is issued to the designated associated system. Among them, the messages in TOPIC can only be consumed by consumers with consumption rights. Therefore, if the device needs to obtain the messages in TOPIC, it needs to successfully apply for the consumption rights of the topic first, and then consume the messages contained in TOPIC according to the consumption rights. Specifically, if the device needs to obtain the business data corresponding to the target business in the designated association system, it is necessary to apply for the consumption rights of the first TOPIC corresponding to the target business in the designated association system in advance. Then it is determined whether the designated association system successfully processes the first request. Among them, the designated association system successfully processes the first request means that the designated association system allows the device to apply for the consumption rights of the first TOPIC corresponding to the target business, so that the device can have the consumption rights for the first TOPIC. In addition, after the designated association system successfully processes the first request, it will also return the corresponding successful processing information, so as to indicate that the designated association system has passed the application for the consumption rights of the first TOPIC by the device through the successful processing information. If the first request has been successfully processed, the business data corresponding to the target business contained in the first TOPIC is pulled to the data conversion layer based on the consumption rights. Among them, when the device has the consumption authority for the first TOPIC, it can extract the business data corresponding to the target business in the specified associated system from the first TOPIC according to the consumption authority. Furthermore, if the specified associated system has not used KAFKA as the message middleware, a unified write API and TOPIC will be provided for the associated system that is willing to write business data to KAFKA, and then the business data in the TOPIC will be pulled to the data conversion layer.In this embodiment, after determining that the designated system docking mode is the KAFKA docking mode and the designated associated system has used KAFKA as the message middleware, it will intelligently send a first request to the designated associated system to apply for consumption rights of the first TOPIC corresponding to the target business in accordance with the corresponding data processing rules, and after obtaining the consumption rights, the business data corresponding to the target business in the designated associated system contained in the first TOPIC will be quickly and conveniently pulled to the data conversion layer based on the consumption rights, which is conducive to the subsequent quick and convenient isomorphic conversion processing of all business data contained in the data conversion layer, and then the processed business data is obtained, so as to complete the real-time collection and statistics of all business data of the target business.

[0093] Furthermore, in an embodiment of the present application, the above step S405 includes:

[0094] S4050: Sending a second request to the designated associated system to apply for subscription rights for a second TOPIC corresponding to the target business;

[0095] S4051: Determine whether the designated associated system successfully processes the second request;

[0096] S4052: If yes, after the designated associated system transfers the broadcast message containing the business data corresponding to the target business into the MQ message queue corresponding to the second TOPIC, a connection relationship is established with the MQ message queue in the designated associated system;

[0097] S4053: After the connection relationship is successfully established, subscribing to the broadcast information in the MQ message queue based on the subscription authority;

[0098] S4054: Pull the business data corresponding to the target business in the designated associated system contained in the broadcast information to the data conversion layer.

[0099] As described in the above steps S4050 to S4054, the step of pulling the business data corresponding to the target business in the designated association system to the data conversion layer according to the second preset rule may specifically include: first, sending a second request to the designated association system to apply for the subscription right of the second TOPIC corresponding to the target business. Among them, ActiveMQ is a message service component. The second TOPIC corresponding to the target business is a message classification in ActiveMQ, which can also be called a topic or a topic mode. The topic mode has the following characteristics: the client includes a publisher and a subscriber; the message in the topic is consumed by all subscribers; the consumer cannot consume the message sent to the topic before the subscription. The publisher here is the designated association system. Since the message in the topic can only be consumed by the subscriber, if the device needs to obtain the message in the topic, it needs to successfully apply for the subscription right of the topic first, and then consume the message contained in the topic according to the subscription right. Specifically, if the device needs to obtain the business data corresponding to the target business in the designated association system, it needs to apply for the subscription right of the second TOPIC corresponding to the target business in the designated association system in advance. Then it is determined whether the designated association system successfully processes the second request. Wherein, the designated association system successfully processes the second request means that the designated association system allows the device to apply for the subscription authority of the second TOPIC corresponding to the target business, so that the device can have the subscription authority for the second TOPIC. In addition, after the designated association system successfully processes the second request, it will also return the corresponding successful processing information, so as to indicate that the designated association system has passed the device's application for the subscription authority for the second TOPIC through the successful processing information. If the second request has been successfully processed, after the designated association system passes the broadcast message containing the business data corresponding to the target business into the MQ message queue corresponding to the second TOPIC, a connection relationship is established with the MQ message queue in the designated association system. Wherein, after the designated association system determines that the device has the need to obtain the business data corresponding to the target business, and passes the device's application for the subscription authority for the second TOPIC, the broadcast message containing the business data corresponding to the target business will be passed into the MQ message queue corresponding to the second TOPIC. After that, after the connection relationship is successfully established, the broadcast information in the MQ message queue is subscribed based on the subscription authority. Wherein, after the device has the subscription authority for the second TOPIC, the subscription of the broadcast information in the MQ message queue can be effectively realized according to the subscription authority. Finally, the business data corresponding to the target business in the designated associated system contained in the broadcast information is pulled to the data conversion layer. By subscribing to the broadcast information in the MQ message queue, the business data corresponding to the target business in the designated associated system can be extracted from the broadcast information.After determining that the designated system docking mode is the ActiveMQ docking mode, this embodiment will intelligently follow the data processing rules corresponding to the ActiveMQ docking mode, establish a connection relationship with the MQ message queue corresponding to the second TOPIC in the designated associated system, and subscribe to the broadcast information in the MQ message queue, so as to synchronize the business data corresponding to the target business in the designated associated system contained in the broadcast information to the data conversion layer, which is conducive to the subsequent quick and convenient isomorphic conversion processing of all business data contained in the data conversion layer, and then obtain the processed business data, so as to complete the real-time collection and statistics of all business data of the target business.

[0100] Furthermore, in an embodiment of the present application, the above step S5 includes:

[0101] S500: Obtain pre-stored configuration information, and obtain a first number of central processing units from the configuration information;

[0102] S501: Calculate the product of the first quantity and a preset ratio to obtain a second quantity;

[0103] S502: creating a plurality of data conversion threads equal to the second number in a preset thread pool;

[0104] S503: Allocate all the business data to the data conversion threads according to a preset allocation rule;

[0105] S504: Sending the data conversion rules to each of the data conversion threads respectively;

[0106] S505: Through each of the data conversion threads, based on the data conversion rule, the business data contained in each of the data conversion threads is simultaneously subjected to isomorphic conversion processing to obtain the processed business data.

[0107] As described in the above steps S500 to S505, the step of performing isomorphic conversion processing on all business data contained in the data conversion layer based on the preset data conversion thread and data conversion rules to obtain the processed business data may specifically include: first obtaining pre-stored configuration information, and obtaining the first number of central processing units from the configuration information. Among them, the configuration information of the device can be obtained in advance and stored, and the configuration information may include memory information, kernel information, etc. inside the device, and the kernel information includes the number of central processing units. The number of central processing units may also be called the number of CPU cores, which refers to the number of cores of the CPU (Central Processing Unit, central processing unit), and the number of central processing units may also be obtained through the CPU get operation instruction. Then the product between the first number and the preset ratio is calculated to obtain the second number. Among them, the above preset ratio can be a value determined by a preset parameter range, and the parameter range can be, for example, 1.5-3.5. Preferably, when the preset ratio is twice the number of central processing units, that is, when the above preset ratio is 2, the cost of thread switching in the CPU of the device is less, which is conducive to reducing the device loss in the subsequent data processing process. Afterwards, multiple data conversion threads equal to the second number are created in a preset thread pool. Wherein, after completing the data conversion process, the data conversion thread will immediately enter a dormant state when not working, so as to reduce the CPU occupancy and help reduce device loss. After obtaining the data conversion thread, all the business data are allocated to each of the data conversion threads according to the preset allocation rules. Wherein, there is no specific limitation on the above allocation rules, it is only necessary to ensure that a certain portion of business data is allocated to each data conversion thread, and the sum of a certain portion of business data allocated to all data conversion threads is all business data contained in the data conversion layer. Preferably, according to the number of data conversion threads, all business data contained in the data conversion layer can be evenly divided into multiple designated business data equal to the number, and then a designated business data is randomly allocated to each data conversion thread. Subsequently, the data conversion rules are sent to each of the data conversion threads respectively. Wherein, the above data conversion rules can be rules written and generated by developers according to actual data conversion requirements. The data conversion rules may include data validity verification and data format conversion steps. The validity check is used to check whether there are abnormal data in the business data, such as SQL injection characters, illegal characters, etc., and to remove the abnormal data. The data format conversion step is used to convert the specific XML, JSON and other rule strings in the business data into the required rule data objects. Finally, through each of the data conversion threads, based on the data conversion rules, the business data contained in each of the data conversion threads is simultaneously subjected to isomorphic conversion processing to obtain the processed business data.Among them, each data conversion thread uses the same data conversion rules to simultaneously perform isomorphic conversion processing on the business data contained therein, which can ensure that all processed business data are isomorphic data with the same format, thereby achieving isomorphism for all business data. After determining the second number based on the first number of central processors of the device and the preset ratio, this embodiment will pre-create a thread pool in the device that includes multiple data conversion threads that are the same as the second number, so that the data conversion threads can be used to perform multiple isomorphic conversion processing processes in parallel. Since the number of data conversion threads in the thread pool matches the second number, the processing efficiency of the data conversion processing can be maximized, avoiding the waste of device resources, and avoiding the excessive number of processing threads that will affect the processing efficiency of other tasks other than data processing, effectively improving the processing intelligence of business data.

[0108] Furthermore, in an embodiment of the present application, before the above step S3, the following steps are included:

[0109] S300: dividing a day into multiple time periods according to a preset length division value;

[0110] S301: Filter all the time periods based on a preset busy time list, and filter out a first time period from all the time periods; wherein the number of the first time periods is multiple;

[0111] S302: Based on the pre-stored historical data processing records, counting the total amount of data processing in each of the first time periods within a preset time period;

[0112] S303: Filtering out a first data processing total amount that is greater than a preset data processing quantity threshold from all the data processing total amounts;

[0113] S304: Subtract the first data processing total amount from all the data processing total amounts to obtain a processed second data processing total amount;

[0114] S305: Filtering out a second time period corresponding to the second data processing amount from all the first time periods;

[0115] S306: Use the second time period as the idle time period.

[0116] As described in the above steps S300 to S306, before executing the step of determining whether the current time is within the preset idle time period, a process of generating an idle time period may also be included. Specifically, first, a day is divided into multiple time periods according to a preset length division value. There is no specific limitation on the division method of the above time periods, and the length of time contained in each time period obtained by division can also be set according to actual needs. For example, 4 hours can be used as the above length division value, that is, the length of time contained in a time period. Then, starting from 0 o'clock, a day (24 hours) can be divided into 6 time periods, that is, 0:00-4:00, 4:00-8:00, 8:00-12:00, 12:00-16:00, 16:00-20:00, and 20:00-24:00. Then, all the time periods are screened based on the preset busy time list, and the first time period is screened out from all the time periods. There are multiple first time periods. In addition, the above-mentioned busy time list can be a pre-generated table containing busy time periods, and the busy time periods can be removed from all the obtained time periods to obtain the corresponding first time period. For example, if the busy time list contains two time periods of 12:00-16:00 and 16:00-20:00, the first time periods can be screened out as 0:00-4:00, 4:00-8:00, 8:00-12:00, and 20:00-24:00. By using the busy time list to preliminarily screen all time periods, it is only necessary to count the total amount of data processing in each of the first time periods within the preset time period, instead of counting the total amount of data processing in all time periods, which effectively reduces the amount of data statistics, reduces the statistical loss of the device, and improves the processing intelligence of the device. Afterwards, based on the pre-stored historical data processing records, the total amount of data processing in each of the first time periods within the preset time period is counted. Among them, the above-mentioned preset time period is not specifically limited and can be set according to actual needs. For example, the above-mentioned preset time period can be the previous month adjacent to the current time. For example, if a first processing time period is 8:00-12:00, then the total amount of data processed in the first time period 8:00-12:00 within a month is the sum of all the data processing amounts contained in the first time period 8:00-12:00 within the month. After obtaining the total amount of data processing, the first total amount of data processing that is greater than a preset data processing amount threshold is screened out from all the data processing total amounts. Among them, the above-mentioned data processing amount threshold is not specifically limited and can be set according to actual needs. Subsequently, the first total amount of data processing is eliminated from all the data processing total amounts to obtain the processed second total amount of data processing. Finally, a second time period corresponding to the second total amount of data processing is screened out from all the first time periods, and the second time period is used as the idle time period.After dividing a day into multiple time periods, this embodiment will first filter out a first time period from all the time periods based on a preset busy time list, then analyze and process the total amount of data processing in each first time period within the preset time period, and intelligently determine the idle time period of the device based on the analysis result, effectively improving the accuracy of the generated idle time period. In addition, the data processing flow of writing the business data corresponding to the target business to the preset data conversion layer will be carried out in the idle time period, and data writing processing will not be carried out during the business peak period of the device, so as not to affect the normal use of users and the normal operation of data writing processing, thereby ensuring the rational use of system resources and effectively improving the processing speed and efficiency of data writing processing.

[0117] Furthermore, in an embodiment of the present application, after the above step S6, the following steps are included:

[0118] S600: after completing the step of storing the processed business data, generating data collection completion information corresponding to the target business;

[0119] S601: Obtaining preset email login information; and,

[0120] S602: Obtain the target email address of the target user;

[0121] S603: Log in to the corresponding mail server based on the mail login information;

[0122] S604: Sending the data collection completion information to the target email address via the email server.

[0123] As described in the above steps S600 to S604, after performing the steps of extracting the processed business data from the data conversion layer and storing the processed business data, a process of generating data collection completion information and sending it to the relevant target user may also be included. Specifically, after completing the step of storing the processed business data, data collection completion information corresponding to the target business is generated, and firstly, data collection completion information corresponding to the target business is generated. Wherein, the above data collection completion information at least includes the business information of the target business, such as the business name or business code of the target business. In addition, the business information of the target business can be filled into the corresponding position in the pre-created information template to obtain the data collection completion information, and the information template is pre-created according to the actual use requirements, and the information template at least includes the business information field. Then obtain the preset email login information. And obtain the target email address of the target user. Wherein, the target user is the relevant system administrator. Subsequently, log in to the corresponding mail server based on the email login information. Finally, send the data collection completion information to the target email address through the mail server. After generating processed business data corresponding to the target business, this embodiment will also intelligently generate data collection completion information corresponding to the target business, and send the data collection completion information to the target email address corresponding to the target user, so that the target user can timely and conveniently understand that the target business has completed the collection and aggregation of all business data based on the data collection completion information, and thus make corresponding follow-up processing in time according to the data collection completion information, effectively improving the user experience of the target user.

[0124] The multi-system-based data processing method in the embodiment of the present application can also be applied to the blockchain field, such as storing the processed business data and other data on the blockchain. By using the blockchain to store and manage the processed business data, the security and non-tamperability of the processed business data can be effectively guaranteed.

[0125] The above-mentioned blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0126] The underlying blockchain platform can include processing modules such as user management, basic services, smart contracts, and operation monitoring. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintaining public and private key generation (account management), key management, and the maintenance of the correspondence between the user's real identity and the blockchain address (authority management), etc., and, under authorization, supervises and audits the transactions of certain real identities and provides risk control rule configuration (risk control audit); the basic service module is deployed on all blockchain node devices to verify the validity of business requests, and records valid requests to storage after consensus is reached. For a new business request, the basic service first adapts the interface for parsing and authentication (interface adaptation), and then encrypts the business information through the consensus algorithm (consensus management). The smart contract module is responsible for the registration and issuance of contracts, as well as contract triggering and contract execution. Developers can define the contract logic in a programming language and publish it to the blockchain (contract registration). According to the logic of the contract terms, the key or other events are called to trigger the execution and complete the contract logic. It also provides the function of contract upgrade and cancellation. The operation monitoring module is mainly responsible for the deployment, configuration modification, contract setting, cloud adaptation and real-time status visualization output of the product during the product release process, such as alarm, network monitoring, node equipment health monitoring, etc.

[0127] Reference Figure 2 In one embodiment of the present application, a multi-system based data processing device is also provided, including:

[0128] The first acquisition module 1 is used to acquire system information of all associated systems corresponding to the target business;

[0129] A second acquisition module 2 is used to acquire the system connection mode corresponding to each of the associated systems based on all the system information;

[0130] The judging module 3 is used to obtain the current time and judge whether the current time is within the preset idle time period;

[0131] A first processing module 4 is used for, for each of the associated systems, writing the business data corresponding to the target business in each of the associated systems into a preset data conversion layer based on a data processing rule corresponding to a system docking mode of each of the associated systems;

[0132] The second processing module 5 is used to perform isomorphic conversion processing on all business data contained in the data conversion layer based on preset data conversion threads and data conversion rules to obtain processed business data;

[0133] The third processing module 6 is used to extract the processed business data from the data conversion layer and store the processed business data.

[0134] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the multi-system-based data processing method in the aforementioned implementation mode, and are not described in detail here.

[0135] Furthermore, in one embodiment of the present application, the first processing module 4 includes:

[0136] A first acquisition unit is used to acquire a system docking mode of a designated associated system; wherein the designated associated system is any one of all the associated systems, and the system docking mode of the designated associated system is marked as the designated associated system docking mode;

[0137] A first pulling unit is used to pull the business data corresponding to the target business in the designated associated system to the data conversion layer according to a first preset rule if the designated associated system docking mode is the KAFKA docking mode;

[0138] A first synchronization unit, configured to, if the designated associated system docking mode is the Goldengate docking mode, call a preset Goldengate tool to synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer;

[0139] A second pulling unit is used to pull the business data corresponding to the target business in the designated associated system to the data conversion layer according to a second preset rule if the designated associated system docking mode is the ActiveMQ docking mode;

[0140] A writing unit, configured to, if the designated associated system docking mode is the preset first interface docking mode, call a preset Http interface to write the business data corresponding to the target business in the designated associated system into the data conversion layer;

[0141] The second synchronization unit is used to connect the designated associated system through JDBC if the designated associated system docking mode is a preset second interface docking mode, and synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer.

[0142] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the multi-system-based data processing method in the aforementioned implementation mode, and are not described in detail here.

[0143] Furthermore, in one embodiment of the present application, the first pulling unit includes:

[0144] A first judgment subunit is used to judge whether the designated associated system has used KAFKA as the message middleware;

[0145] A first sending subunit is used to send a first request for applying for consumption rights of a first TOPIC corresponding to the target business to the designated association system if KAFKA is used as the message middleware;

[0146] A second judgment subunit is used to judge whether the designated associated system successfully processes the first request;

[0147] The second processing subunit is configured to, if the first request has been successfully processed, pull the business data corresponding to the target business contained in the first TOPIC to the data conversion layer based on the consumption authority.

[0148] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the multi-system-based data processing method in the aforementioned implementation mode, and are not described in detail here.

[0149] Furthermore, in one embodiment of the present application, the second pulling unit includes:

[0150] A second sending subunit, configured to send a second request to the designated associated system for applying for a subscription right for a second TOPIC corresponding to the target service;

[0151] A third judgment subunit is used to judge whether the designated association system successfully processes the second request;

[0152] A connection subunit is used to establish a connection relationship with the MQ message queue in the designated association system after the designated association system transmits the broadcast message containing the business data corresponding to the target business into the MQ message queue corresponding to the second TOPIC;

[0153] A subscription subunit, configured to subscribe to the broadcast information in the MQ message queue based on the subscription authority after the connection relationship is successfully established;

[0154] The second sending subunit is used to pull the business data corresponding to the target business in the designated associated system contained in the broadcast information to the data conversion layer.

[0155] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the multi-system-based data processing method in the aforementioned implementation mode, and are not described in detail here.

[0156] Furthermore, in one embodiment of the present application, the second processing module 5 includes:

[0157] A second acquisition unit, configured to acquire pre-stored configuration information, and acquire a first number of central processing units from the configuration information;

[0158] a calculation unit, configured to calculate the product of the first quantity and a preset ratio to obtain a second quantity;

[0159] A creating unit, used to create a plurality of data conversion threads equal to the second number in a preset thread pool;

[0160] An allocating unit, used for allocating all the business data to each of the data conversion threads according to a preset allocation rule;

[0161] A sending unit, used for sending the data conversion rules to each of the data conversion threads respectively;

[0162] The processing unit is used to perform isomorphic conversion processing on the business data contained therein based on the data conversion rules through each of the data conversion threads to obtain the processed business data.

[0163] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the multi-system-based data processing method in the aforementioned implementation mode, and are not described in detail here.

[0164] Furthermore, in one embodiment of the present application, the multi-system-based data processing device includes:

[0165] A division module is used to divide the value according to the preset length and divide a day into multiple time periods;

[0166] A first screening module is used to screen all the time periods based on a preset busy time list, and screen out a first time period from all the time periods; wherein the number of the first time periods is multiple;

[0167] A statistics module, used for counting the total amount of data processed in each of the first time periods within a preset time period based on pre-stored historical data processing records;

[0168] A second screening module, used to screen out a first data processing total amount that is greater than a preset data processing amount threshold from all the data processing total amounts;

[0169] A fourth processing module, used for removing the first data processing total amount from all the data processing total amounts to obtain a processed second data processing total amount;

[0170] A third screening module, configured to screen out a second time period corresponding to the second data processing amount from all the first time periods;

[0171] A determination module is used to use the second time period as the idle time period.

[0172] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the multi-system-based data processing method in the aforementioned implementation mode, and are not described in detail here.

[0173] Furthermore, in one embodiment of the present application, the multi-system-based data processing device includes:

[0174] A generating module, configured to generate data collection completion information corresponding to the target business after completing the step of storing the processed business data;

[0175] A third acquisition module is used to acquire preset email login information; and

[0176] A fourth acquisition module is used to acquire a target email address of a target user;

[0177] A login module, used to log in to the corresponding mail server based on the mail login information;

[0178] The sending module is used to send the data collection completion information to the target email address through the email server.

[0179] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the multi-system-based data processing method in the aforementioned implementation mode, and are not described in detail here.

[0180] Reference Figure 3 In the embodiment of the present application, a computer device is also provided. The computer device may be a server, and its internal structure may be as follows: Figure 3As shown. The computer device includes a processor, a memory, a network interface, a display screen, an input device and a database connected through a system bus. Among them, the processor designed for the computer device is used to provide computing and control capabilities. The memory of the computer device includes a storage medium and an internal memory. The storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the storage medium. The database of the computer device is used to store target business information, system information, system docking mode, idle time period, data processing rules, data conversion rules and processed business data. The network interface of the computer device is used to communicate with an external terminal through a network connection. The display screen of the computer device is an indispensable graphic output device in the computer, which is used to convert digital signals into optical signals so that text and graphics are displayed on the screen of the display screen. The input device of the computer device is the main device for information exchange between the computer and the user or other devices, and is used to transmit data, instructions and certain sign information to the computer. When the computer program is executed by the processor, a data processing method based on multiple systems is implemented.

[0181] The processor executes the steps of the multi-system-based data processing method:

[0182] Obtain system information of all associated systems corresponding to the target business;

[0183] Based on all the system information, obtaining the system docking mode corresponding to each of the associated systems;

[0184] Obtaining the current time, and determining whether the current time is within a preset idle time period;

[0185] If yes, for each of the associated systems, based on a data processing rule corresponding to a system docking mode of each of the associated systems, write the business data corresponding to the target business in each of the associated systems into a preset data conversion layer;

[0186] Based on the preset data conversion thread and data conversion rules, all business data contained in the data conversion layer are subjected to isomorphic conversion processing to obtain processed business data;

[0187] The processed business data is extracted from the data conversion layer and stored.

[0188] Those skilled in the art will understand that Figure 3 The structure shown in is merely a block diagram of a portion of the structure related to the present application scheme, and does not constitute a limitation on the devices and computer equipment to which the present application scheme is applied.

[0189] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, a multi-system-based data processing method is implemented, specifically:

[0190] Obtain system information of all associated systems corresponding to the target business;

[0191] Based on all the system information, obtaining system docking modes corresponding to each of the associated systems;

[0192] Obtaining the current time, and determining whether the current time is within a preset idle time period;

[0193] If yes, for each of the associated systems, based on a data processing rule corresponding to a system docking mode of each of the associated systems, write the business data corresponding to the target business in each of the associated systems into a preset data conversion layer;

[0194] Based on the preset data conversion thread and data conversion rules, all business data contained in the data conversion layer are subjected to isomorphic conversion processing to obtain processed business data;

[0195] The processed business data is extracted from the data conversion layer and stored.

[0196] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in the present application and used in the embodiments can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0197] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0198] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A data processing method based on multiple systems, characterized in that: include: Obtain system information of all associated systems corresponding to the target business; Based on all the system information, obtaining system docking modes corresponding to each of the associated systems; Obtaining the current time, and determining whether the current time is within a preset idle time period; If yes, for each of the associated systems, based on a data processing rule corresponding to a system docking mode of each of the associated systems, write the business data corresponding to the target business in each of the associated systems into a preset data conversion layer; Based on the preset data conversion thread and data conversion rules, all business data contained in the data conversion layer are subjected to isomorphic conversion processing to obtain processed business data; Extracting the processed business data from the data conversion layer and storing the processed business data; The step of writing the business data corresponding to the target business in each of the associated systems into a preset data conversion layer based on a data processing rule corresponding to the system docking mode of each of the associated systems for each of the associated systems comprises: Obtaining a system connection method of a designated associated system; wherein the designated associated system is any one of all the associated systems, and marking the system connection method of the designated associated system as the designated associated system connection method; If the designated associated system docking mode is the KAFKA docking mode, the business data corresponding to the target business in the designated associated system is pulled to the data conversion layer according to the first preset rule; If the designated associated system docking mode is the Goldengate docking mode, calling a preset Goldengate tool to synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer; If the designated associated system docking mode is the ActiveMQ docking mode, the business data corresponding to the target business in the designated associated system is pulled to the data conversion layer according to a second preset rule; If the designated associated system docking mode is the preset first interface docking mode, calling the preset Http interface to write the business data corresponding to the target business in the designated associated system into the data conversion layer; If the designated associated system docking mode is the preset second interface docking mode, the designated associated system is connected via JDBC, and the business data corresponding to the target business in the designated associated system is synchronized to the data conversion layer; The step of performing isomorphic conversion processing on all business data contained in the data conversion layer based on the preset data conversion thread and data conversion rules to obtain processed business data includes: Obtaining pre-stored configuration information, and obtaining a first number of central processing units from the configuration information; Calculating the product of the first quantity and a preset ratio to obtain a second quantity; Creating a plurality of data conversion threads equal to the second number in a preset thread pool; Allocate all the business data to the data conversion threads according to the preset allocation rules; Sending the data conversion rules to each of the data conversion threads respectively; Through each of the data conversion threads, isomorphic conversion processing is performed on the business data contained in each of the data conversion threads based on the data conversion rules to obtain the processed business data.

2. The multi-system based data processing method according to claim 1, characterized in that: The step of pulling the business data corresponding to the target business in the designated association system to the data conversion layer according to the first preset rule includes: Determine whether the specified associated system has used KAFKA as the message middleware; If KAFKA is used as the message middleware, a first request for applying for consumption rights of a first TOPIC corresponding to the target business is sent to the designated association system; Determining whether the designated associated system successfully processes the first request; If the first request has been successfully processed, the business data corresponding to the target business contained in the first TOPIC is pulled to the data conversion layer based on the consumption authority.

3. The multi-system based data processing method according to claim 1, characterized in that: The step of pulling the business data corresponding to the target business in the designated association system to the data conversion layer according to the second preset rule includes: Sending a second request to the designated association system for applying for subscription rights for a second TOPIC corresponding to the target business; Determining whether the designated associated system successfully processes the second request; If so, after the designated associated system transfers the broadcast information of the business data corresponding to the target business into the MQ message queue corresponding to the second TOPIC, a connection relationship is established with the MQ message queue in the designated associated system; After the connection relationship is successfully established, subscribing to the broadcast information in the MQ message queue based on the subscription authority; The business data corresponding to the target business in the designated associated system contained in the broadcast information is pulled to the data conversion layer.

4. The multi-system based data processing method according to claim 1, characterized in that: Before the step of determining whether the current time is within the preset idle time period, the method includes: Divide the value according to the preset length to divide the time of a day into multiple time periods; Filtering all the time periods based on a preset busy time list, and filtering out a first time period from all the time periods; wherein the number of the first time periods is multiple; Based on the pre-stored historical data processing records, counting the total amount of data processed in each of the first time periods within a preset time period; Filter out a first data processing total amount that is greater than a preset data processing quantity threshold from all the data processing total amounts; Subtracting the first data processing total amount from all the data processing total amounts to obtain a processed second data processing total amount; Filter out a second time period corresponding to the second data processing amount from all the first time periods; The second time period is used as the idle time period.

5. The multi-system based data processing method according to claim 1, characterized in that: After the step of extracting the processed business data from the data conversion layer and storing the processed business data, the method further comprises: After completing the step of storing the processed business data, generating data collection completion information corresponding to the target business; Obtaining the default email login information; and, Get the target email address of the target user; Logging in to the corresponding mail server based on the mail login information; The data collection completion information is sent to the target email address through the email server.

6. A multi-system based data processing device, used to implement the multi-system based data processing method according to any one of claims 1 to 5, characterized in that: include: A first acquisition module is used to acquire system information of all associated systems corresponding to the target business; A second acquisition module is used to acquire the system connection mode corresponding to each of the associated systems based on all the system information; A determination module, used to obtain the current time and determine whether the current time is within a preset idle time period; A first processing module is used for, for each of the associated systems, writing the business data corresponding to the target business in each of the associated systems into a preset data conversion layer based on a data processing rule corresponding to a system docking mode of each of the associated systems; A second processing module is used to perform isomorphic conversion processing on all business data contained in the data conversion layer based on preset data conversion threads and data conversion rules to obtain processed business data; A third processing module, used to extract the processed business data from the data conversion layer and store the processed business data; The step of writing the business data corresponding to the target business in each of the associated systems into a preset data conversion layer based on a data processing rule corresponding to the system docking mode of each of the associated systems for each of the associated systems comprises: Obtaining a system connection method of a designated associated system; wherein the designated associated system is any one of all the associated systems, and marking the system connection method of the designated associated system as the designated associated system connection method; If the designated associated system docking mode is the KAFKA docking mode, the business data corresponding to the target business in the designated associated system is pulled to the data conversion layer according to the first preset rule; If the designated associated system docking mode is the Goldengate docking mode, calling a preset Goldengate tool to synchronize the business data corresponding to the target business in the designated associated system to the data conversion layer; If the designated associated system docking mode is the ActiveMQ docking mode, the business data corresponding to the target business in the designated associated system is pulled to the data conversion layer according to a second preset rule; If the designated associated system docking mode is the preset first interface docking mode, calling the preset Http interface to write the business data corresponding to the target business in the designated associated system into the data conversion layer; If the designated associated system docking mode is the preset second interface docking mode, the designated associated system is connected via JDBC, and the business data corresponding to the target business in the designated associated system is synchronized to the data conversion layer; The step of performing isomorphic conversion processing on all business data contained in the data conversion layer based on the preset data conversion thread and data conversion rules to obtain processed business data includes: Obtaining pre-stored configuration information, and obtaining a first number of central processing units from the configuration information; Calculating the product of the first quantity and a preset ratio to obtain a second quantity; Creating a plurality of data conversion threads equal to the second number in a preset thread pool; Allocate all the business data to the data conversion threads according to the preset allocation rules; Sending the data conversion rules to each of the data conversion threads respectively; Through each of the data conversion threads, isomorphic conversion processing is performed on the business data contained in each of the data conversion threads based on the data conversion rules to obtain the processed business data.

7. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.