Data distribution method, device and equipment and storage medium thereof
By using configuration windows and incremental synchronization mechanisms in the data distribution method, the management and feedback problems of traditional tools in big data scenarios are solved, and efficient task management and operation and maintenance optimization are achieved.
Patent Information
- Application Number
- CN202510828790.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-10-28
AI Technical Summary
Traditional data distribution tools lack a unified management interface in financial or medical business scenarios with large task volumes or business data volumes, resulting in high operation and maintenance costs, obvious performance bottlenecks, and inconvenience in the maintenance and management of data distribution tasks and efficient feedback.
Provides a data distribution method that receives requests, starts the configuration window, obtains configuration parameters, uses an incremental synchronization mechanism to execute tasks and synchronizes the results to the task record log, and combines interface management and backtracking operations to achieve efficient feedback and maintenance management.
It achieves efficient data distribution feedback and task management in large data volume scenarios, avoids the accumulation of failed tasks, provides timely remediation, and reduces operation and maintenance costs.
Smart Images

Figure CN120856593A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of research and development design technology, and is applied to the distribution and execution scenarios of financial or medical business with large task volume or business data volume. It relates to a data distribution method, device, equipment and its storage medium. Background Technology
[0002] In modern enterprise applications, accurate and real-time data distribution is a crucial requirement for collaborative work between business systems. While traditional data distribution tools can achieve data synchronization, they suffer from serious shortcomings in real-time performance, performance, and subsequent maintenance.
[0003] Especially in financial or medical business distribution and execution scenarios with large task volumes or business data volumes, traditional data distribution tools usually require manual configuration and maintenance, lack a unified management interface, increase operation and maintenance costs, and often embed data distribution processing code into application service code as a plugin, which leads to performance bottlenecks in application services when processing large amounts of data, hinders efficient feedback of distribution execution results, and makes it inconvenient for operation and maintenance personnel to maintain and manage data distribution tasks. Summary of the Invention
[0004] The purpose of this application is to propose a data distribution method, apparatus, device and its storage medium to solve the problem that existing data distribution tools are not conducive to efficient feedback of distribution execution results and are not convenient for operation and maintenance personnel to maintain and manage data distribution tasks.
[0005] In a first aspect, embodiments of this application provide a data distribution method, which employs the following technical solution:
[0006] A data distribution method includes the following steps:
[0007] Receive data distribution requests;
[0008] Triggers the startup of the preset distribution configuration window;
[0009] Obtain the distribution configuration parameters entered from the distribution configuration window;
[0010] Based on the distribution configuration parameters and the preset incremental synchronization mechanism, the data distribution task is executed and the execution result of the data distribution task is synchronized to the preset task log.
[0011] Secondly, embodiments of this application also provide a data distribution device, which adopts the following technical solution:
[0012] A data distribution device, comprising:
[0013] The request receiving module is used to receive data distribution requests;
[0014] The configuration window startup module is used to trigger the startup of the preset distribution configuration window;
[0015] The configuration parameter acquisition module is used to acquire the distribution configuration parameters entered from the distribution configuration window;
[0016] The task execution and result synchronization module is used to execute data distribution tasks and synchronize the execution results of the data distribution tasks to a preset task log according to the distribution configuration parameters and the preset incremental synchronization mechanism.
[0017] Thirdly, embodiments of this application also provide a computer device that adopts the technical solution described below:
[0018] A computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the data distribution method described above.
[0019] Fourthly, embodiments of this application also provide a computer-readable storage medium, which adopts the technical solutions described below:
[0020] A computer-readable storage medium storing computer-readable instructions, which, when executed by a processor, implement the steps of the data distribution method described above.
[0021] Compared with the prior art, the embodiments of this application have the following main advantages:
[0022] The data distribution method described in this application involves receiving a data distribution request; triggering the launch of a preset distribution configuration window; obtaining distribution configuration parameters entered from the distribution configuration window; executing a data distribution task according to the distribution configuration parameters and a preset incremental synchronization mechanism; and synchronizing the execution result of the data distribution task to a preset task log. By using an interface management method for data distribution task execution and backtracking, the execution results can be efficiently fed back, facilitating the maintenance and management of data distribution tasks. When applied to distribution scenarios in financial or medical businesses with large task volumes or business data volumes, it can provide timely feedback on business distribution results, avoiding the accumulation of numerous failed tasks when task distribution fails. Furthermore, the backtracking operation allows for timely remediation of task distribution. Attached Figure Description
[0023] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;
[0025] Figure 2 This is a flowchart of an embodiment of a data distribution method according to this application;
[0026] Figure 3 This is a flowchart of a specific embodiment of the decoupling and stripping step before request reception in the data distribution method described in this application;
[0027] Figure 4 yes Figure 3 A flowchart of a specific embodiment of step 303 shown;
[0028] Figure 5 This is a schematic diagram of one embodiment of a data distribution device according to this application;
[0029] Figure 6 This is a schematic diagram of the structure of one embodiment of the computer device according to this application. Detailed Implementation
[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.
[0031] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0032] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0033] like Figure 1 As shown, system architecture 100 may include terminal device 101, network 102, and server 103. Terminal device 101 may be a laptop 1011, tablet 1012, or mobile phone 1013. Network 102 is used as a medium to provide a communication link between terminal device 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables.
[0034] Users can use terminal device 101 to interact with server 103 via network 102 to receive or send messages, etc. Various communication client applications can be installed on terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social media platform software, etc.
[0035] Terminal device 101 can be various electronic devices with a display screen and support web browsing. In addition to laptop computer 1011, tablet computer 1012 or mobile phone 1013, terminal device 101 can also be e-book reader, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer and desktop computer, etc.
[0036] Server 103 can be a server that provides various services, such as a backend server that provides support for the pages displayed on terminal device 101.
[0037] It should be noted that the data distribution method provided in this application embodiment is generally executed by a server, and correspondingly, a data distribution device is generally set in the server.
[0038] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0039] Continue to refer to Figure 2 The diagram illustrates a flowchart of an embodiment of a data distribution method according to this application. The data distribution method includes the following steps:
[0040] Step 201: Receive data distribution request.
[0041] In this embodiment, the data distribution request is, for example, a task distribution request sent by the task distribution end to the task provider in a financial business scenario. More specifically, when a batch of users make relevant financial business inquiries, the customer service task allocation end sends a customer service response allocation task to the consultation business processing end; or, in a medical service scenario, when a batch of patients register and have follow-up visits, the triage service end allocates queuing patients to each attending physician.
[0042] Step 202 triggers the startup of the preset distribution configuration window.
[0043] Specifically, when a data distribution request is received, a trigger can be used to activate a preset distribution configuration window, providing the task assigner with the corresponding distribution configuration window for selective configuration.
[0044] Of course, the preset distribution configuration window can also be set with a default configuration method and a free configuration method. For example, when assigning customer service response tasks, the default configuration method includes assigning a similar number of tasks to each agent, or intelligently assigning tasks based on the agent's busy or idle status; while the free configuration method includes assigning consultation tasks to the target customer service representative freely selected by the customer based on their preferences.
[0045] Step 203: Obtain the distribution configuration parameters entered from the distribution configuration window.
[0046] In this embodiment, obtaining the distribution configuration parameters entered from the distribution configuration window specifically means obtaining the configuration parameter fields corresponding to each configuration item in the distribution configuration window.
[0047] In this embodiment, the distribution configuration window provides a one-click operation mode. For example, different configuration parameter combination modes are generated in advance according to different configuration item combinations, and different configuration parameter combination modes are named and provided with a one-click generation button. When the configuration personnel click one click, they can select the corresponding configuration parameter combination mode.
[0048] Step 204: According to the distribution configuration parameters and the preset incremental synchronization mechanism, execute the data distribution task and synchronize the execution result of the data distribution task to the preset task record log.
[0049] Specifically, according to the distribution configuration parameters, the data distribution task is executed, which can control the distribution direction of the task to be distributed; and according to the preset incremental synchronization mechanism, the execution result of the data distribution task can be synchronized to the preset task record log, so as to facilitate timely backtracking and viewing of the distribution result.
[0050] In this embodiment, a data distribution request is received; a preset distribution configuration window is triggered; distribution configuration parameters entered from the distribution configuration window are obtained; and a data distribution task is executed according to the distribution configuration parameters and a preset incremental synchronization mechanism, and the execution result of the data distribution task is synchronized to a preset task log. Data distribution task execution and backtracking are performed through an interface management method, enabling efficient feedback of execution results and facilitating the maintenance and management of data distribution tasks. When applied to financial or medical business distribution scenarios with large task volumes or business data volumes, timely business distribution feedback results can be obtained, avoiding the accumulation of numerous failed tasks when task distribution fails. Furthermore, combined with backtracking operations, timely task distribution remediation can also be performed.
[0051] Continue to refer to Figure 3 Prior to step 201, the method further includes a decoupling and stripping step before request reception. Figure 3 This is a flowchart of a specific embodiment of the decoupling and stripping step before requesting reception in the data distribution method described in this application, including the following steps:
[0052] Step 301: Using code decoupling, the data distribution processing code is decoupled and separated from the target application service code to obtain data distribution processing code that is separated from the target application service code;
[0053] Step 302: Perform a wrapper operation on the data distribution processing code to obtain an independent data distribution component;
[0054] Step 303: Construct the distribution configuration window corresponding to the independent data distribution component.
[0055] By employing code decoupling, the data distribution processing code is separated from the target application service code. This data distribution processing code is then encapsulated to obtain an independent data distribution component, and a corresponding distribution configuration window is constructed. This allows for the direct reuse of this independent data distribution component and distribution configuration window when performing the same or similar task distributions. Separating the data distribution processing code from the specific application service code also avoids the confusion between business data and distribution execution data, which would hinder the backtracking of task distribution results.
[0056] Continue to refer to Figure 4 , Figure 4 yes Figure 3 A flowchart of a specific embodiment of step 303 shown includes the following steps:
[0057] Step 401: Parse the data distribution requirements document to identify the required functionalities of the independent data distribution component;
[0058] Step 402: Based on the required functions of the independent data distribution component, select the corresponding distribution configuration window to form a sub-component;
[0059] Specifically, the distribution configuration window constitutes a sub-component, which refers to an additional function template during data distribution, such as a distribution progress bar display function, and its corresponding sub-component is a progress bar rendering component that can be dynamically displayed.
[0060] Step 403: Integrate all the distribution configuration windows to form a sub-component, and set the operable parameters for data distribution control to generate the distribution configuration window.
[0061] Specifically, the operable parameters for data distribution control include distribution start parameters, distribution pause parameters, and distribution restart parameters.
[0062] In this embodiment, the required functions include a data distribution backtracking function. The step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component includes: selecting a backtracking function template to form the distribution configuration window from a preset window generation template based on the data distribution backtracking function of the independent data distribution component.
[0063] In this embodiment, after executing the step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component, the method further includes: setting the distinguishing backtracking parameters of the backtracking function template according to preset backtracking conditions, wherein the backtracking conditions include trigger-type backtracking and periodic backtracking. Specifically, for trigger-type backtracking, the distinguishing backtracking parameters of the backtracking function template are set to trigger data distribution result backtracking after each data distribution task is completed. For periodic backtracking, the distinguishing backtracking parameters of the backtracking function template are set to perform data distribution result backtracking according to a preset backtracking time period / backtracking time interval.
[0064] By providing a data distribution backtracking function, when business problems occur, the execution results of the data distribution task can be used to backtrack in a timely manner, identify the corresponding business processing end, and handle the problem efficiently.
[0065] In this embodiment, the required functions include a data distribution alarm function. The step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component includes: selecting an alarm function template to form the distribution configuration window from a preset window generation template based on the data distribution alarm function of the independent data distribution component.
[0066] In this embodiment, after executing the step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component, the method further includes: setting the distinguishing alarm parameters of the alarm function template according to preset alarm conditions and alarm methods, wherein the alarm conditions include distribution failure alarm, backtracking failure alarm and encryption failure alarm, and the alarm methods include email alarm, SMS alarm, pop-up alarm and telephone alarm.
[0067] By providing a data distribution alarm function, timely alarms can be issued when task distribution fails or when subsequent backtracking of distribution results fails, facilitating timely handling and maintenance by relevant maintenance personnel.
[0068] In this embodiment, the required functions include data distribution encryption function. The step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component includes: selecting the encryption function template to form the distribution configuration window from the preset window generation template based on the data distribution encryption function of the independent data distribution component.
[0069] In this embodiment, after executing the step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component, the method further includes: setting the encryption execution parameters of the encryption function template according to a preset encryption method, wherein the encryption execution parameters include selectable encryption fields or selectable encryption logic algorithm names.
[0070] By providing data distribution encryption functionality, the task distribution process can be encrypted using appropriate encryption features, thus ensuring the confidentiality of task processing at different task receiving ends.
[0071] In this embodiment, the step of obtaining the distribution configuration parameters entered from the distribution configuration window specifically includes: obtaining the data extraction address, maximum data transmission volume, and data input address selected or written from the distribution configuration window in a human-computer interaction manner through page information extraction; and obtaining the distinguishing backtracking parameters, distinguishing alarm parameters, and encryption execution parameters selected or written from all constituent sub-components of the distribution configuration window in a human-computer interaction manner through page information extraction.
[0072] In this embodiment, the preset incremental synchronization mechanism includes a timestamp-based incremental synchronization mechanism and a sequence value-based incremental synchronization mechanism. Specifically, the timestamp-based incremental synchronization mechanism includes generating a corresponding incremental timestamp based on the execution result of the data distribution task and the current system time after each distribution, so as to facilitate subsequent backtracking. Similarly, the sequence value-based incremental synchronization mechanism includes generating a corresponding incremental distribution sequence value based on the execution result of the data distribution task and the prior sequence value after each distribution, so as to facilitate subsequent backtracking.
[0073] Accordingly, the start timestamp, time increment value, and timestamp format of the timestamp-based incremental synchronization mechanism can be freely set according to actual business needs; the start sequence value, sequence value format, and sequence increment value of the sequence value-based incremental synchronization mechanism can also be freely set according to actual business needs.
[0074] In this embodiment, the steps of executing a data distribution task and synchronizing the execution result of the data distribution task to a preset task log based on the distribution configuration parameters and a preset incremental synchronization mechanism specifically include: determining the data transmission direction corresponding to the data distribution task based on the data extraction address, the maximum data transmission volume, and the data input address; transmitting the target data to be transmitted to the target receiving end using an MQ message queue according to the data transmission direction; and synchronously recording the execution result to the preset task log using a timestamp-based incremental synchronization mechanism and / or a sequence value-based incremental synchronization mechanism.
[0075] The execution results are synchronously recorded in the preset task log to facilitate subsequent backtracking operations.
[0076] In this embodiment, the number of retry attempts for backtracking failures can also be set to backtrack and retry the execution results of the corresponding data distribution tasks, thereby improving the system's fault tolerance.
[0077] In this embodiment, the steps of executing a data distribution task and synchronizing the execution result of the data distribution task to a preset task log based on the distribution configuration parameters and a preset incremental synchronization mechanism further include: determining a backtracking method for the execution result based on the distinguishing backtracking parameters; determining the encryption method for the data transmitted during the execution of the data distribution task based on the encryption execution parameters; determining the alarm methods for when the data distribution task fails to execute and when the execution result backtracking fails based on the distinguishing alarm parameters; and recording the backtracking method, the encryption method, and the encryption method together in the preset task log.
[0078] Specifically, when the distinguishing backtracking parameter corresponds to a trigger-type backtracking, the corresponding backtracking method is to trigger the data distribution result backtracking after each data distribution task is completed; when the distinguishing backtracking parameter corresponds to a periodic backtracking, the corresponding backtracking method is to perform data distribution result backtracking according to a preset backtracking time period / backtracking time interval. Similarly, different encryption execution parameters correspond to different encryption processing methods, and different distinguishing alarm parameters correspond to different alarm processing methods.
[0079] In this embodiment, a data distribution request is received; a preset distribution configuration window is triggered; distribution configuration parameters entered from the distribution configuration window are obtained; and a data distribution task is executed according to the distribution configuration parameters and a preset incremental synchronization mechanism, and the execution result of the data distribution task is synchronized to a preset task log. Data distribution task execution and backtracking are performed through an interface management method, enabling efficient feedback of execution results and facilitating the maintenance and management of data distribution tasks. When applied to financial or medical business distribution scenarios with large task volumes or business data volumes, timely business distribution feedback results can be obtained, avoiding the accumulation of numerous failed tasks when task distribution fails. Furthermore, combined with backtracking operations, timely task distribution remediation can also be performed.
[0080] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. 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 that knowledge to obtain optimal results.
[0081] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.
[0082] In this embodiment, a data distribution request is received; a preset distribution configuration window is triggered; distribution configuration parameters entered from the distribution configuration window are obtained; and a data distribution task is executed according to the distribution configuration parameters and a preset incremental synchronization mechanism, and the execution result of the data distribution task is synchronized to a preset task log. Data distribution task execution and backtracking are performed through an interface management method, enabling efficient feedback of execution results and facilitating the maintenance and management of data distribution tasks. When applied to financial or medical business distribution scenarios with large task volumes or business data volumes, timely business distribution feedback results can be obtained, avoiding the accumulation of numerous failed tasks when task distribution fails. Furthermore, combined with backtracking operations, timely task distribution remediation can also be performed.
[0083] Further reference Figure 5 As a response to the above Figure 2 To implement the method shown, this application provides an embodiment of a data distribution device, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.
[0084] like Figure 5 As shown, the data distribution device 500 described in this embodiment includes: a request receiving module 501, a configuration window startup module 502, a configuration parameter acquisition module 503, and a task execution and result synchronization module 504. Wherein:
[0085] Request receiving module 501 is used to receive data distribution requests;
[0086] The configuration window startup module 502 is used to trigger the startup of a preset distribution configuration window;
[0087] The configuration parameter acquisition module 503 is used to acquire the distribution configuration parameters entered from the distribution configuration window;
[0088] The task execution and result synchronization module 504 is used to execute data distribution tasks and synchronize the execution results of the data distribution tasks to a preset task log according to the distribution configuration parameters and the preset incremental synchronization mechanism.
[0089] This application receives a data distribution request; triggers the startup of a preset distribution configuration window; obtains the distribution configuration parameters entered from the distribution configuration window; and executes a data distribution task according to the distribution configuration parameters and a preset incremental synchronization mechanism, synchronizing the execution result of the data distribution task to a preset task log. By using an interface management method for data distribution task execution and backtracking, the execution results can be efficiently fed back, facilitating the maintenance and management of data distribution tasks. When applied to distribution scenarios in financial or medical businesses with large task volumes or business data volumes, it can provide timely business distribution feedback results, avoiding the accumulation of numerous failed tasks when task distribution fails. Furthermore, combined with backtracking operations, it can also promptly remedy task distribution issues.
[0090] In this embodiment, the data distribution device 500 further includes a code decoupling processing module, an independent component encapsulation module, and a distribution configuration window construction module. Wherein:
[0091] The code decoupling processing module is used to decouple and separate the data distribution processing code from the target application service code using a code decoupling method, thereby obtaining data distribution processing code that is separate from the target application service code;
[0092] An independent component encapsulation module is used to perform encapsulation operations on the data distribution processing code to obtain an independent data distribution component.
[0093] The distribution configuration window building module is used to build the distribution configuration window corresponding to the independent data distribution component.
[0094] In this embodiment, the distribution configuration window construction module includes a component function identification unit, a sub-component filtering unit, and a distribution configuration window integration unit. Wherein:
[0095] The component function identification unit is used to parse the data distribution requirement document to identify the required functions of the independent data distribution component.
[0096] The sub-component filtering unit is used to filter the corresponding distribution configuration windows to form sub-components based on the required functions of the data distribution independent components.
[0097] The distribution configuration window integration unit is used to integrate all distribution configuration windows into sub-components, set operable parameters for data distribution control, and generate the distribution configuration window.
[0098] In this embodiment, the constituent sub-component filtering unit includes a backtracking function template filtering sub-unit, an alarm function template filtering sub-unit, and an encryption function template filtering sub-unit. Wherein:
[0099] The backtracking function template filtering subunit is used to select the backtracking function template constituting the distribution configuration window from the preset window generation templates based on the data distribution backtracking function of the independent data distribution component.
[0100] The alarm function template filtering subunit is used to select the alarm function template that constitutes the distribution configuration window from the preset window generation template based on the data distribution alarm function of the independent data distribution component.
[0101] The encryption function template filtering subunit is used to select the encryption function template that constitutes the distribution configuration window from the preset window generation templates based on the data distribution encryption function possessed by the independent data distribution component.
[0102] In this embodiment, the data distribution device 500 further includes a differential backtracking parameter setting unit, a differential alarm parameter setting unit, and an encryption execution parameter setting unit. Wherein:
[0103] The differential backtracking parameter setting unit is used to set differential backtracking parameters of the backtracking function template according to preset backtracking conditions. The backtracking conditions include trigger-type backtracking and periodic backtracking. Specifically, for trigger-type backtracking, the differential backtracking parameter of the backtracking function template is set to trigger data distribution result backtracking after each data distribution task is completed. For periodic backtracking, the differential backtracking parameter of the backtracking function template is set to perform data distribution result backtracking according to a preset backtracking time period / backtracking time interval.
[0104] The alarm parameter setting unit is used to set the alarm parameters of the alarm function template according to the preset alarm conditions and alarm methods. The alarm conditions include distribution failure alarms, backtracking failure alarms and encryption failure alarms. The alarm methods include email alarms, SMS alarms, pop-up alarms and telephone alarms.
[0105] The encryption execution parameter setting unit is used to set the encryption execution parameters of the encryption function template according to the preset encryption method, wherein the encryption execution parameters include selectable encryption fields or selectable encryption logic algorithm names.
[0106] In this embodiment, the configuration parameter acquisition module 503 includes a transmission parameter acquisition unit and a functional component parameter acquisition unit. Wherein:
[0107] The transmission parameter acquisition unit is used to acquire the data extraction address, maximum transmission data volume, and data input address selected or written from the distribution configuration window in a human-computer interaction manner through page information extraction.
[0108] The functional component parameter acquisition unit is used to acquire, through page information extraction, the distinguishing backtracking parameters, distinguishing alarm parameters, and encrypted execution parameters selected or written by all constituent sub-components of the distribution configuration window in a human-computer interaction manner.
[0109] In this embodiment, the task execution and result synchronization module 504 includes a data transmission direction determination unit and an execution result synchronization recording unit. Wherein:
[0110] The data transmission direction determination unit is used to determine the data transmission direction corresponding to the data distribution task based on the data extraction address, the maximum amount of data to be transmitted, and the data input address.
[0111] The execution result synchronization recording unit is used to transmit the target data to the target receiving end in accordance with the data transmission direction using an MQ message queue, and to record the execution result synchronously in the preset task log using a timestamp-based incremental synchronization mechanism and / or a sequence value-based incremental synchronization mechanism.
[0112] In this embodiment, the task execution and result synchronization module 504 further includes a backtracking method determination unit, an encryption method determination unit, an alarm method determination unit, and an additional record unit. Wherein:
[0113] The backtracking method determination unit is used to determine the backtracking method for the execution result based on the distinguishing backtracking parameters;
[0114] An encryption method determination unit is used to determine the encryption method of the data transmitted during the execution of the data distribution task based on the encryption execution parameters.
[0115] The alarm mode determination unit is used to determine the alarm mode when the data distribution task fails to execute and when the execution result backtracking fails, based on the distinguishing alarm parameters.
[0116] An additional recording unit is used to record the backtracking method, the encryption method, and the encryption method together into the preset task log.
[0117] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware through computer-readable instructions. These computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the methods described above. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, optical disk, or read-only memory (ROM), or random access memory (RAM).
[0118] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0119] To address the aforementioned technical problems, embodiments of this application also provide a computer device. Please refer to [link / reference needed]. Figure 6 , Figure 6 This is a basic structural block diagram of the computer device in this embodiment.
[0120] The computer device 6 includes a memory 6a, a processor 6b, and a network interface 6c, which are interconnected via a system bus. It should be noted that... Figure 6 Only a computer device 6 with component memory 6a, processor 6b, and network interface 6c is shown in the illustration. However, it should be understood that it is not required to implement all of the shown components, and more or fewer components may be implemented instead. Those skilled in the art will understand that the computer device described herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0121] The computer device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The computer device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.
[0122] The memory 6a includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 6a may be an internal storage unit of the computer device 6, such as the hard disk or memory of the computer device 6. In other embodiments, the memory 6a may also be an external storage device of the computer device 6, such as a plug-in hard disk, smart memory card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 6. Of course, the memory 6a may also include both the internal storage unit and its external storage device of the computer device 6. In this embodiment, the memory 6a is typically used to store the operating system and various application software installed on the computer device 6, such as computer-readable instructions for a data distribution method. In addition, the memory 6a can also be used to temporarily store various types of data that have been output or will be output.
[0123] In some embodiments, the processor 6b may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 6b is typically used to control the overall operation of the computer device 6. In this embodiment, the processor 6b is used to execute computer-readable instructions stored in the memory 6a or to process data, for example, to execute computer-readable instructions of the data distribution method described above.
[0124] The network interface 6c may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 6 and other electronic devices.
[0125] The computer device proposed in this embodiment belongs to the field of research and development design technology and is applied to the distribution and execution scenarios of financial or medical business with large task volumes or business data volumes. This application receives data distribution requests; triggers the launch of a preset distribution configuration window; obtains distribution configuration parameters entered from the distribution configuration window; and executes data distribution tasks according to the distribution configuration parameters and a preset incremental synchronization mechanism, synchronizing the execution results of the data distribution tasks to a preset task log. Data distribution task execution and backtracking operations are performed through an interface management method, enabling efficient feedback of execution results and facilitating the maintenance and management of data distribution tasks. When applied to financial or medical business distribution scenarios with large task volumes or business data volumes, it can obtain timely business distribution feedback results, avoiding the accumulation of a large number of failed tasks when task distribution fails; moreover, combined with backtracking operations, it can also promptly remedy task distribution.
[0126] This application also provides another embodiment, namely, providing a computer-readable storage medium storing computer-readable instructions that can be executed by a processor to cause the processor to perform the steps of a data distribution method as described above.
[0127] The computer-readable storage medium proposed in this embodiment belongs to the field of research and development design technology and is applied to the distribution and execution scenarios of financial or medical business with large task volumes or business data volumes. This application receives a data distribution request; triggers the startup of a preset distribution configuration window; obtains the distribution configuration parameters entered from the distribution configuration window; and executes a data distribution task according to the distribution configuration parameters and a preset incremental synchronization mechanism, synchronizing the execution results of the data distribution task to a preset task log. Data distribution task execution and backtracking operations are performed through an interface management method, enabling efficient feedback of execution results and facilitating the maintenance and management of data distribution tasks. When applied to financial or medical business distribution scenarios with large task volumes or business data volumes, it allows for timely business distribution feedback results, avoiding the accumulation of numerous failed tasks when task distribution fails; moreover, combined with backtracking operations, it also enables timely task distribution remediation.
[0128] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0129] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to make the disclosure of this application more thorough and comprehensive. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application. Software tools or components not belonging to this company that appear in the embodiments of this application are merely illustrative examples and do not represent actual use.
Claims
1. A data distribution method, characterized in that, Includes the following steps: Receive data distribution requests; Triggers the startup of the preset distribution configuration window; Obtain the distribution configuration parameters entered from the distribution configuration window; Based on the distribution configuration parameters and the preset incremental synchronization mechanism, the data distribution task is executed and the execution result of the data distribution task is synchronized to the preset task log.
2. The data distribution method according to claim 1, characterized in that, Before performing the step of receiving the data distribution request, the method further includes: By using code decoupling, the data distribution processing code is decoupled and separated from the target application service code, resulting in data distribution processing code that is separate from the target application service code; The data distribution processing code is encapsulated to obtain an independent data distribution component; Construct the distribution configuration window corresponding to the independent data distribution component.
3. The data distribution method according to claim 2, characterized in that, The step of constructing the distribution configuration window corresponding to the independent data distribution component specifically includes: Parse the data distribution requirements document to identify the required functionalities of the data distribution independent component; Based on the required functions of the independent data distribution component, select the corresponding distribution configuration windows to form sub-components; All distribution configuration windows are integrated into a sub-component, and operable parameters for data distribution control are set to generate the distribution configuration window.
4. The data distribution method according to claim 3, characterized in that, The required functions include data distribution backtracking functionality. The step of selecting corresponding distribution configuration windows to form sub-components based on the required functions of the independent data distribution component includes: Based on the data distribution backtracking function of the independent data distribution component, select the backtracking function template that constitutes the distribution configuration window from the preset window generation template; After executing the step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component, the method further includes: Based on preset backtracking conditions, distinguishing backtracking parameters are set for the backtracking function template. The backtracking conditions include trigger-based backtracking and periodic backtracking. Specifically, for trigger-based backtracking, the distinguishing backtracking parameters of the backtracking function template are set to trigger data distribution result backtracking after each data distribution task is completed. For periodic backtracking, the distinguishing backtracking parameters of the backtracking function template are set to perform data distribution result backtracking according to a preset backtracking time period / backtracking time interval.
5. The data distribution method according to claim 3, characterized in that, The required functions include a data distribution alarm function. The step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component includes: Based on the data distribution alarm function of the independent data distribution component, select the alarm function template that constitutes the distribution configuration window from the preset window generation template; After executing the step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component, the method further includes: Based on preset alarm conditions and alarm methods, set the distinguishing alarm parameters of the alarm function template. The alarm conditions include distribution failure alarms, backtracking failure alarms, and encryption failure alarms. The alarm methods include email alarms, SMS alarms, pop-up alarms, and telephone alarms.
6. The data distribution method according to claim 3, characterized in that, The required functions include data distribution encryption. The step of selecting the corresponding distribution configuration windows to form sub-components based on the required functions of the independent data distribution component includes: Based on the data distribution encryption function of the independent data distribution component, select the encryption function template that constitutes the distribution configuration window from the preset window generation template; After executing the step of selecting the corresponding distribution configuration window to form a sub-component based on the required functions of the independent data distribution component, the method further includes: According to the preset encryption method, the encryption execution parameters of the encryption function template are set, wherein the encryption execution parameters include selectable encryption fields or selectable encryption logic algorithm names.
7. The data distribution method according to claim 1, characterized in that, The step of obtaining the distribution configuration parameters entered from the distribution configuration window specifically includes: By extracting page information, the data extraction address, maximum data transmission volume, and data input address selected or written from the distribution configuration window in a human-computer interaction manner are obtained; By extracting page information, obtain the distinguishing backtracking parameters, distinguishing alarm parameters, and encrypted execution parameters selected or written by all constituent sub-components of the distribution configuration window in a human-computer interaction manner; The preset incremental synchronization mechanism includes a timestamp-based incremental synchronization mechanism and a sequence value-based incremental synchronization mechanism. The steps of executing a data distribution task and synchronizing the execution result of the data distribution task to a preset task log based on the distribution configuration parameters and the preset incremental synchronization mechanism specifically include: The data transmission direction corresponding to the data distribution task is determined based on the data extraction address, the maximum data transmission volume, and the data input address. According to the data transmission direction, the target data to be transmitted is transmitted to the target receiving end using the MQ message queue method, and the execution result is synchronously recorded in the preset task log using a timestamp-based incremental synchronization mechanism and / or a sequence value-based incremental synchronization mechanism. The steps of executing a data distribution task and synchronizing the execution result of the data distribution task to a preset task log based on the distribution configuration parameters and a preset incremental synchronization mechanism further include: Based on the distinguishing backtracking parameters, determine the backtracking method for the execution result; Based on the encryption execution parameters, the encryption method of the data transmitted during the execution of the data distribution task is determined; Based on the distinguishing alarm parameters, determine the alarm methods when the data distribution task fails to execute and when the execution result backtracking fails; The backtracking method, the encryption method, and the encryption method are all recorded in the preset task log.
8. A data distribution device, characterized in that, The data distribution device is used to implement the steps of the data distribution method as described in any one of claims 1 to 7, and the data distribution device includes: The request receiving module is used to receive data distribution requests; The configuration window startup module is used to trigger the startup of the preset distribution configuration window; The configuration parameter acquisition module is used to acquire the distribution configuration parameters entered from the distribution configuration window; The task execution and result synchronization module is used to execute data distribution tasks and synchronize the execution results of the data distribution tasks to a preset task log according to the distribution configuration parameters and the preset incremental synchronization mechanism.
9. A computer device, characterized in that, The system includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the data distribution method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the data distribution method as described in any one of claims 1 to 7.