Service data sending task dynamic generation method and system based on context awareness

By dynamically generating data transmission tasks and using data channel cache tables and management pools to determine transmission paths, the problem of data transmission between non-hierarchical data centers is solved, enabling flexible and timely data transmission and meeting the real-time requirements of business scenarios.

CN120915844AActive Publication Date: 2025-11-07INSPUR GENERSOFT CO LTD +1
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202511403653.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2025-11-07
Estimated Expiration
2045-09-29

AI Technical Summary

Technical Problem

Existing technologies struggle to achieve efficient and flexible data transmission between data centers that are not hierarchical and cannot communicate directly. Furthermore, they lack support for diverse data transmission strategies, making it difficult to meet the real-time or near-real-time data requirements of business scenarios.

Method used

By listening to business events and obtaining business context, data sending tasks are dynamically generated. The data channel cache table and management pool are used to determine the transmission channel. The shortest path algorithm is used to construct the data transmission path. It supports a variety of scalable data sending strategies and sends data in multiple batches according to business type and time.

Benefits of technology

It enables flexible and timely data transmission between data centers without hierarchical structure, supports multiple transmission strategies, and meets the real-time requirements of business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120915844A_ABST
    Figure CN120915844A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of information and data exchange, and provides a service data sending task dynamic generation method and system based on context awareness, and the method comprises the steps: monitoring changed service data based on a service event, obtaining a service context of the service event, and sending the service context to a server; the service context comprises information of a service application, a service type and a source service organization which generate the changed service data; determining a deployed data center based on the business application and the source business organization; determining a data transmission channel for the source service organization to send the changed service data, and a target service organization and a target data center for receiving the changed service data; and packaging the changed service data in multiple batches according to the service type and the data generation time, dynamically generating a changed data packet, and further generating a corresponding data sending task. According to the invention, data submission between business organizations deployed on a data center which is not hierarchical and cannot directly communicate can be realized, the transmission strategy is flexible, and timely transmission processing is realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of information and data exchange, and particularly relates to a context-aware business data sending task dynamic generation method and system. BACKGROUND

[0002] The statements in this section merely provide background information related to the present application and do not necessarily constitute the prior art.

[0003] In some enterprises or units, due to the complex organizational structure and wide geographical distribution, multiple data centers deployed in different places are often constructed. However, the construction mode of these data centers usually breaks the traditional multi-level architecture mode, and instead forms a flat, non-hierarchical data center layout according to the principle of near deployment according to geographical location. The characteristics of this layout are: there is no direct business contact or administrative reporting relationship between the business units located in the same data center; on the contrary, business units with close business contact or clear administrative reporting relationship may be deployed in different data centers. At the same time, due to network security and compliance requirements, these distributed data centers are usually strategically isolated and prohibited from establishing direct network communication channels.

[0004] The above architectural characteristics result in significant difficulties in achieving efficient and reliable data transmission between different business organizations.

[0005] Currently, traditional cross-data center data sending schemes usually rely on preset hierarchical data center topology structures, and can only support vertical data reporting between organizations with direct superior-subordinate reporting relationships; or can only support pre-configured and fixed point-to-point data transmission paths. In addition, existing schemes generally lack support for diversified data sending strategies and rely mainly on timed batch processing mechanisms, making it difficult to meet the real-time or near-real-time data requirements of business scenarios. SUMMARY

[0006] To solve the above problems, the present application proposes a context-aware business data sending task dynamic generation method and system, which can realize data reporting between business organizations deployed in non-hierarchical and non-directly communicable data centers, and has flexible sending strategies and timely sending processing.

[0007] According to some embodiments, the present application adopts the following technical scheme: A context-aware business data sending task dynamic generation method, comprising the following steps: Based on the business event, the changed business data is obtained, the business context of the business event is obtained, and the business context includes the information of the business application, the business type and the source business organization of the changed business data; determine a data center to deploy the business application and the source business organization based on the business application and the source business organization; preferentially acquire information through a pre-constructed data channel cache table, and if the information is not acquired through the pre-constructed data channel cache table, acquire the information through a pre-constructed data center management pool, the information acquisition including determining a data transmission channel through which the source business organization sends the changed business data and a target business organization and a target data center that receive the changed business data; based on the business event, package the changed business data in batches according to business types and data generation times, and dynamically generate a changed data package; based on the source business organization, the changed data package, the target business organization, and the data transmission channel, dynamically generate a corresponding data sending task, and execute the data sending task in batches according to a preset task resource allocation strategy.

[0008] As an optional implementation, the process of determining a data center to deploy the business application and the source business organization based on the business application and the source business organization includes: pre-construct a data center management pool, the data center management pool being configured to manage each data center, and the management of each data center including management of a business application, a business type, a business organization, a business data reporting strategy, and a communication relationship between data centers.

[0009] As an optional implementation, the process of determining a data transmission channel through which the source business organization sends the changed business data and a target business organization and a target data center that receive the changed business data includes: pre-construct a data channel cache table, the data channel cache table storing a data transmission channel through which pre-simulation data sending is successful; acquire a corresponding data transmission channel and the target business organization and the target data center from the pre-constructed data channel cache table; if the data transmission channel, the target business organization, and the target data center are not acquired, determine the data transmission channel through which the source business organization sends the changed business data and the target business organization and the target data center that receive the changed business data through the pre-constructed data center management pool.

[0010] As a further implementation, the data channel cache table stores a business application, a business type, a source business organization, a target business organization, and a data transmission channel through which pre-simulation data sending is successful, and when information about a business application, a business type, a business organization, a business sending strategy, and a communication relationship between data centers of a data center is added, deleted, or changed, corresponding data in the data channel cache table is dynamically and synchronously updated.

[0011] As a further implementation, the process of obtaining the target data center, the target business organization and the data transmission channel through the pre-constructed data center management pool comprises: Based on the preset business type corresponding to the business data reporting strategy, the business type corresponding to the business data reporting strategy is obtained from the business system, and based on the business data reporting strategy, the target business organization that can receive the change data is determined; Based on the data center management pool, the target data center is obtained based on the target business organization and the target business application; Based on the data center management pool, the target data center is obtained based on the target business organization and the target business application; Based on the optimal data transmission channel, the data is simulated to be sent; The data transmission channel that successfully sends the simulation data is cached in the data channel cache table.

[0012] As a further implementation, the process of determining the target business organization that can receive the change data based on the business data reporting strategy comprises: The business data reporting strategy supports reporting according to administrative relationship, reporting according to business relationship and custom extended business data reporting strategy; If the business data reporting strategy is reporting according to administrative relationship, the reporting superior organization of the source business organization is obtained as the target business organization based on the preset administrative reporting relationship of the business system; If the business data reporting strategy is reporting according to business relationship, the target business organization is obtained based on the preset business relationship of the business system; If the business data reporting strategy is a custom extended business data reporting strategy, the target business organization is obtained based on the pre-constructed custom business logic.

[0013] As a further implementation, the process of determining the optimal data transmission channel through the shortest path algorithm comprises: When the source data center and the target data center directly communicate, the data transmission channel only contains two nodes of the source data center and the target data center, otherwise, the data transmission channel will contain three or more nodes, that is, there is at least one other data center as a transfer node between the source data center and the target data center.

[0014] As a further implementation, the process of simulating data sending based on the optimal data transmission channel comprises: Constructing a simulation data packet, sending based on the optimal data transmission channel, when passing through the relay node, sending a successful arrival notification to the source node by the relay node, and sending the simulation data packet to the next node, when the source node receives the successful arrival notification of all subsequent nodes on the data transmission channel, the data transmission channel is used as a simulation successful data transmission channel.

[0015] As an alternative embodiment, when dynamically generating a corresponding data sending task, if the data transmission channel contains three or more nodes, the data sending task will contain multiple sending activities, one corresponding to each adjacent node.

[0016] A context-aware business data sending task dynamic generation system, comprising: A business context acquisition module configured to acquire the business context of the business event based on the changed business data of the business event, the business context including the information of the business application that produces the changed business data, the business type and the source business organization; A sender data center determination module configured to determine the data center where the business application and the source business organization are deployed based on the business application and the source business organization; A data transmission channel determination module configured to preferentially acquire information through a pre-constructed data channel cache table, and if this approach fails to acquire information, to acquire information through a pre-constructed data center management pool, information acquisition including determining the data transmission channel of the source business organization for sending the changed business data, and the target business organization and the target data center for receiving the changed business data; A data packet packaging module configured to package the changed business data in batches according to the business type and the data generation time based on the business event, and dynamically generate a changed data packet; A task generation and execution module configured to dynamically generate a corresponding data sending task based on the source business organization, the changed data packet, the target business organization and the data transmission channel, and to execute the data sending task in batches according to a pre-set task resource allocation strategy.

[0017] Compared with the prior art, the present application has the following advantages: The application realizes data reporting between business organizations deployed on data centers which are not hierarchical and cannot directly communicate, supports multiple scalable data sending strategies, and can perform sending in real time.

[0018] In order to make the above objectives, characteristics and advantages of the present application more apparent, clear and easy to understand, a preferred embodiment is specifically described below with reference to the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS

[0019] The accompanying drawings, which form a part of the specification, are included to provide a further understanding of the application, and are incorporated herein by reference. The illustrations are shown for the purpose of enabling those skilled in the art to implement the application, and are not intended to limit the present application unduly.

[0020] Figure 1 A flowchart of a context-aware business data real-time sending task dynamic generation method provided for an embodiment. DETAILED DESCRIPTION

[0021] The present application will be further described below with reference to the accompanying drawings and embodiments.

[0022] It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the present application. Unless otherwise indicated, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application pertains.

[0023] It should be noted that the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit exemplary embodiments according to the present application. As used herein, the singular form is intended to include the plural form unless the context clearly indicates otherwise, and it should also be understood that when the terms "comprise" and / or "include" are used in the specification, there is a presence of a feature, step, operation, device, component and / or combinations thereof.

[0024] The embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0025] Embodiment One A context-aware business data real-time sending task dynamic generation method, as shown in Figure 1 includes: The business event in the business system is listened to change the business data, the business context of the business event is obtained, and the business context includes information such as business application, business type, source business organization, etc. that generates the change data; Based on the business application and the source business organization, the data center management pool is used to obtain the data center where the business application and the source business organization are deployed; Through the pre-constructed data channel cache table or the data center management pool, the data transmission channel of the source business organization sending the change data, and the target business organization and the target data center receiving the change data are determined; Based on the business event, the change data is packaged in batches according to the business type and the data generation time, and the change data package is dynamically generated; Based on the source business organization, the change data package, the target business organization, and the data transmission channel, the corresponding data sending task is dynamically generated and pushed to the pre-constructed task scheduling center for batch execution according to the preset task resource allocation strategy.

[0026] In this embodiment, the pre-constructed data center management pool further includes: The data center management pool provides management of the data center, and each data center at least contains management of information such as business application, business type, business organization, business data reporting strategy, and communication relationship between data centers.

[0027] In this embodiment, the data transmission channel of the source business organization sending the change data, and the target business organization and the target data center receiving the change data are determined, and the method further includes: The data transmission channel, the target business organization and the target data center are obtained from the pre-constructed data channel cache table; If not obtained, the target data center, the target business organization and the data transmission channel are obtained through the data center management pool.

[0028] In this embodiment, the target data center, the target business organization and the data transmission channel are obtained through the data center management pool, and the method further includes: Based on the preset business data reporting strategy corresponding to the business type, the business data reporting strategy corresponding to the business type is obtained from the business system, and based on the business data reporting strategy, the target business organization that can receive the change data is determined; Based on the business application and the target business organization, the target data center is obtained; Based on the communication relationship between data centers, the shortest path algorithm is used to determine the optimal data transmission channel; Based on the data transmission channel, the data transmission is simulated; The simulation successful data transmission channel is cached in the data channel cache table.

[0029] In the embodiment, the target business organization that can receive the change data is determined, and the method further comprises: The business data reporting strategy at least supports reporting according to an administrative relationship and reporting according to a business relationship, and the business data reporting strategy can be customized and extended; If the business data reporting strategy is reporting according to an administrative relationship, a superior organization of the source business organization is obtained as the target business organization based on a preset administrative reporting relationship of the business system; If the business data reporting strategy is reporting according to a business relationship, a counterpart organization of the source business organization is obtained as the target business organization based on a preset business relationship of the business system; If the business data reporting strategy is a customized business strategy, the target business organization is obtained based on a pre-constructed customized business logic.

[0030] In the embodiment, the optimal data transmission channel is determined by using a shortest path algorithm, and the method further comprises: When the source data center and the target data center can directly communicate, the data transmission channel only includes two nodes of the source data center and the target data center, otherwise, the data transmission channel will include three or more nodes, that is, there will be other data centers as transit nodes between the source data center and the target data center.

[0031] In the embodiment, the data is sent based on the data transmission channel, and the method further comprises: The simulation data packet is constructed and sent based on the data transmission channel, when passing through the transit node, the transit node sends a successful arrival notification to the source node, and the simulation data packet is sent to the next node, when the source node receives the successful arrival notification of all subsequent nodes on the data transmission channel, the data transmission channel is considered available.

[0032] In the embodiment, the simulation successful data transmission channel is cached in a pre-constructed data channel cache table, and the method further comprises: The data channel cache table stores a business application, a business type, a source business organization, a target business organization, and a data transmission channel; When a data center is added, deleted, or the business application, the business type, the business organization, the business sending strategy, the communication relationship between the data centers, or the like of the data center is changed, the corresponding cached data in the data channel cache table is dynamically synchronized.

[0033] Embodiment Two A business data sending task dynamic generation system based on context awareness, comprising: The business context acquisition module is configured to acquire a business context of the business event based on the changed business data of the business event, and the business context comprises information of a business application generating the changed business data, a business type, and a source business organization; The sender data center determination module is configured to determine a data center deploying the business application and the source business organization based on the business application and the source business organization. The data transmission channel determination module is configured to preferentially acquire information through a pre-constructed data channel cache table, and if the information is not acquired through the pre-constructed data channel cache table, information is acquired through a pre-constructed data center management pool, and the information acquisition comprises determining a data transmission channel of the source business organization sending the changed business data, and a target business organization and a target data center receiving the changed business data. The data packet packaging module is configured to package the changed business data in batches according to the business type and the data generation time based on the business event, and dynamically generate a changed data packet. The task generation and execution module is configured to dynamically generate a corresponding data sending task based on the source business organization, the changed data packet, the target business organization, and the data transmission channel, and execute the data sending task in batches according to a preset task resource allocation strategy.

[0034] Those skilled in the art should understand that embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program code. CD - ROM , optical storage, etc.) containing computer-usable program code.

[0035] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 The device that implements the functions specified in one flow or multiple flows and / or one block or multiple blocks. Figure 1

[0036] ​These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the flow Figure 1 The flow or flows and / or blocks Figure 1 The flow or flows and / or blocks

[0037] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the flow Figure 1 The flow or flows and / or blocks Figure 1 The flow or flows and / or blocks

[0038] The above description is only preferred embodiments of the present application and is not intended to limit the present application. The present application can be variously changed and modified by those skilled in the art without departing from the spirit and scope of the present application. Any modification, equivalent replacement, improvement, etc. made by those skilled in the art without departing from the spirit and scope of the present application should be included in the scope of the present application.

Claims

1. A method for dynamically generating a task of transmitting service data based on context awareness, characterized in that, The method comprises the following steps: Based on the business event, the changed business data is listened to, the business context of the business event is obtained, and the business context comprises information of a business application, a business type, and a source business organization that produces the changed business data; Based on the business application and the source business organization, a data center in which the business application and the source business organization are deployed is determined; Information is acquired through a pre-constructed data channel cache table in priority, and if the information is not acquired through the data channel cache table, information is acquired through a pre-constructed data center management pool, information acquisition comprises determining a data transmission channel through which the source business organization sends the changed business data, and a target business organization and a target data center that receive the changed business data; Based on the business event, the changed business data is packaged in batches according to the business type and the data generation time, and a changed data packet is dynamically generated; Based on the source business organization, the changed data packet, the target business organization, and the data transmission channel, a corresponding data sending task is dynamically generated, and the data sending task is executed in batches according to a preset task resource allocation strategy; The data transmission channel through which the source business organization sends the changed business data is determined through the pre-constructed data center management pool.

2. The method of claim 1, wherein the context-aware service data transmission task is dynamically generated by the following steps: 1) determining the context of the user; 2) determining the service data transmission task based on the context of the user; and 3) generating the service data transmission task. The process of determining the data center in which the business application and the source business organization are deployed based on the business application and the source business organization comprises: A data center management pool is pre-constructed, and the data center management pool is used to manage each data center, and the management of each data center comprises management of a business application, a business type, a business organization, a business data reporting strategy, and a communication relationship between data centers.

3. The method for dynamically generating business data transmission tasks based on context awareness as described in claim 1, characterized in that, The process of determining the data transmission channel through which the source business organization sends the changed business data, and the target business organization and the target data center that receive the changed business data comprises: A data channel cache table is pre-constructed, and the data channel cache table stores data transmission channels through which pre-simulation data sending is successful; The corresponding data transmission channel, the target business organization, and the target data center are acquired from the pre-constructed data channel cache table; If the corresponding data transmission channel, the target business organization, and the target data center are not acquired, the data transmission channel through which the source business organization sends the changed business data, and the target business organization and the target data center that receive the changed business data are determined through the pre-constructed data center management pool.

4. The method for dynamically generating context-aware business data transmission tasks as described in claim 3, characterized in that, The data channel cache table stores a business application, a business type, a source business organization, a target business organization, and a data transmission channel through which pre-simulation data sending is successful, and when a data center is added or deleted, or information of a business application, a business type, a business organization, a business sending strategy, and a communication relationship between data centers of the data center is changed, the corresponding data in the data channel cache table is dynamically and synchronously updated.

5. The method of claim 1, wherein the context-aware based service data transmission task dynamic generation method is characterized in that, The process of acquiring information through the pre-constructed data center management pool comprises: acquire, from a business system, a business data reporting strategy corresponding to a business type based on the preset business data reporting strategy corresponding to the business type, and determine a target business organization that can receive the changed data based on the business data reporting strategy; acquire the target data center based on a business application belonging to the target data center and the target business organization in a data center management pool; determine an optimal data transmission channel through a shortest path algorithm based on a communication relationship between the data centers in the data center management pool; simulate data sending based on the optimal data transmission channel; cache the data transmission channel on which the simulated data sending is successful to the data channel cache table.

6. The method for dynamically generating service data transmission tasks based on context awareness as described in claim 5, characterized in that, The process of determining the target business organization that can receive the changed data based on the business data reporting strategy includes: The business data reporting strategy supports reporting according to administrative relationship, reporting according to business relationship, and custom extended business data reporting strategy; if the business data reporting strategy is reporting according to administrative relationship, acquire the reporting superior organization of the source business organization as the target business organization based on the preset administrative reporting relationship of the business system; if the business data reporting strategy is reporting according to business relationship, acquire the business relationship of the source business organization as the target business organization based on the preset business relationship of the business system; if the business data reporting strategy is custom extended business data reporting strategy, acquire the target business organization based on the pre-constructed custom business logic.

7. The method for dynamically generating service data transmission tasks based on context awareness as described in claim 5, characterized in that, The process of determining the optimal data transmission channel through the shortest path algorithm includes: When the source data center and the target data center directly communicate, the data transmission channel only contains two nodes, the source data center and the target data center, otherwise, the data transmission channel will contain three or more nodes, that is, there is at least one other data center as a transfer node between the source data center and the target data center.

8. The method for dynamically generating service data transmission tasks based on context awareness as described in claim 5, characterized in that, The process of simulating data sending based on the optimal data transmission channel includes: construct a simulation data packet, send it based on the optimal data transmission channel, when passing through the transfer node, send a successful arrival notification to the source node by the transfer node, and send the simulation data packet to the next node, when the source node receives the successful arrival notification of all subsequent nodes on the data transmission channel, the data transmission channel is regarded as a simulation successful data transmission channel.

9. The method of claim 1, wherein the context-aware based service data transmission task dynamic generation method is characterized in that, When dynamically generating the corresponding data sending task, if the data transmission channel contains three or more nodes, the data sending task will contain multiple sending activities, and each two adjacent nodes correspond to a data sending activity.

10. A context-aware based service data transmission task dynamic generation system, characterized in that, It includes: a business context acquisition module configured to acquire a business context of the business event based on the changed business data of the business event, the business context including information of a business application generating the changed business data, a business type, and a source business organization; a sender data center determination module configured to determine a data center in which the business application and the source business organization are deployed based on the business application and the source business organization; The data transmission channel determination module is configured to preferentially acquire information through a pre-constructed data channel cache table, and if the information is not acquired through the pre-constructed data channel cache table, the information is acquired through a pre-constructed data center management pool, the information acquisition includes determining a data transmission channel through which the source business organization sends the changed business data, and a target business organization and a target data center that receive the changed business data; The data packet packaging module is configured to package the changed business data in batches according to business types and data generation times based on the business event, and dynamically generate a changed data packet; The task generation and execution module is configured to dynamically generate a corresponding data sending task based on the source business organization, the changed data packet, the target business organization and the data transmission channel, and batch execute the data sending task according to a preset task resource allocation strategy.

Citation Information

Patent Citations

  • System and method for realizing automatic deployment of data center software based on cloud environment

    CN114461233A

  • Real-time and reliable data synchronous transmission method, equipment and medium

    CN115455121A

  • Service deployment method and system of all-optical data center network, and optical channel

    CN115623365A

  • Data transmission method and device based on multi-data center architecture, storage medium, computer equipment and system

    CN116996566A

  • New energy big data collection and hierarchical organization method, medium and system

    CN117520433A