A data processing method and device based on intelligent application support platform
Through the data processing method of the intelligent application support platform, the business system is split and the business twin model is written for the sub-business and the data type is managed, which solves the problems of business system development difficulty and data traceability, and improves the security and controllability of the system.
Patent Information
- Application Number
- CN202410693663.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The development of existing business systems is difficult, the data traceability, security and controllability are poor, and the system function adjustment or change is expensive, which is similar to redevelopment.
Using data processing methods based on intelligent application support platform, split the service system to sub-services and subordinate sub-services, write a business twin model, and use interface data to carry link identifiers and preamble identifiers for data traceability, combining message queues and control Central services perform load balancing and manage the mapping relationship between data types and services.
It significantly reduces the difficulty of developing business systems, improves data traceability, security and controllability, and achieves reliable processing results.
Smart Images

Figure CN118656057B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method and device based on an intelligent application support platform. Background Art
[0002] At present, the development method of business systems is usually for developers to write codes according to the needs of the business systems. This method is not only difficult to develop and requires professional programmers, but also the traceability, security and controllability of business data when the business system developed by this method processes business data are poor. After the development is completed, the cost of adjusting or changing the system functions is very high, which is equivalent to redevelopment in most cases. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a data processing method and device based on an intelligent application support platform, which significantly reduces the difficulty of business system development and helps to improve data traceability, security and controllability.
[0004] In the first aspect, an embodiment of the present invention provides a data processing method based on an intelligent application support platform, the method is applied to a target business system, the target business system is split into multiple sub-businesses, the sub-businesses continue to be split into multiple subordinate sub-businesses until a leaf sub-business is obtained by satisfying the splitting stop condition, at least one business twin model corresponding to the leaf sub-business is written, and the interface data type subscribed by the leaf sub-business is determined. Starting with the leaf sub-business, the business twin model is orchestrated upward layer by layer according to the logic and process during business splitting to form a business twin model orchestration of each layer of sub-businesses, and finally a business twin model orchestration of the business system is formed. The method includes:
[0005] Receive interface data; wherein the interface data carries a link identifier, a preamble identifier and a data identifier, the link identifier is used to trace the entire business process through which the interface data passes, and the preamble identifier is used to trace the business flow relationship of the interface data;
[0006] Based on the data type of the interface data and the mapping relationship between the data type and the service, determining a leaf sub-service list subscribing to the interface data from the service;
[0007] Load the business twin model corresponding to each sub-business in the leaf sub-business list, initialize the business twin model using the interface data, and execute the initialized business twin model until each business twin model corresponding to the sub-business is executed, and obtain the processing result of the sub-business output for the interface data.
[0008] In one implementation, a data receiver is deployed in the operating environment of the target business system;
[0009] The step of receiving interface data comprises: receiving interface data via the data receiver;
[0010] After the step of receiving the interface data, the method further includes: if the interface data does not carry one or more of the link identifier, the preamble identifier or the data identifier, completing the missing identifier of the interface data by the data receiver.
[0011] In one embodiment, a message queue and at least one control center service are also deployed in the operating environment of the target business system;
[0012] The step of loading the business twin model corresponding to the sub-business and initializing the business twin model using the interface data includes:
[0013] Generate a message based on the sub-service and the interface data, and send the message to the message queue, so as to allocate the sub-service corresponding to each control center service based on the message through the message queue, thereby realizing load balancing of the control center service;
[0014] The message is processed by the control center service to load the business twin model according to the sub-business contained in the message, and the business twin model is initialized using the interface data contained in the message.
[0015] In one embodiment, the method further comprises:
[0016] During the execution of the business twin model, new interface data of different or same types is generated;
[0017] The new interface data is sent to the data receiver to continue to determine a new sub-service and a new processing result output by the sub-service for the new interface data.
[0018] In one implementation, the link identifier carried by the new interface data is consistent with the link identifier carried by the interface data that triggers the current process;
[0019] The preamble identifier carried by the new interface data is consistent with the data identifier carried by the interface data that triggers the current process.
[0020] In one implementation, a business management subsystem is also deployed in the operating environment of the target business system; the method further includes:
[0021] By means of the business management subsystem, a binding relationship between the business and the business twin model is established according to the model execution order, wherein the business is bound to at least one of the business twin models;
[0022] The business twin model calls a reusable component, the reusable component calls a reusable software service or algorithm model component, and the reusable software service or algorithm model component accesses a reusable data component.
[0023] In one implementation, a business management subsystem and an interface data type management subsystem are also deployed in the operating environment of the target business system; the method further includes:
[0024] Managing the data type of the service subscription through the service management subsystem;
[0025] and / or, managing the service to which the data type is subscribed through the interface data type management subsystem;
[0026] The mapping relationship between the data type and the service is a many-to-many relationship.
[0027] In a second aspect, an embodiment of the present invention further provides a data processing device based on an intelligent application support platform, the device is applied to a target business system, the target business system is split into multiple sub-businesses, and the sub-business continues to be split into multiple subordinate sub-businesses until a leaf sub-business is obtained by satisfying the splitting stop condition, and at least one business twin model corresponding to the leaf sub-business is written, and the interface data type subscribed by the leaf sub-business is determined. Starting with the leaf sub-business, the business twin model is orchestrated upward layer by layer according to the logic and process during business splitting to form a business twin model orchestration of each layer of sub-businesses, and finally a business twin model orchestration of the business system is formed. The device includes:
[0028] A data receiving module, used to receive interface data; wherein the interface data carries a link identifier, a preamble identifier and a data identifier, the link identifier is used to trace the entire business process through which the interface data passes, and the preamble identifier is used to trace the business flow relationship of the interface data;
[0029] A service determination module, configured to determine a list of leaf sub-services subscribing to the interface data from the service based on the data type of the interface data and the mapping relationship between the data type and the service;
[0030] Load the business twin model corresponding to each sub-business in the leaf sub-business list, initialize the business twin model using the interface data, and execute the initialized business twin model until each business twin model corresponding to the sub-business is executed, and obtain the processing result of the sub-business output for the interface data.
[0031] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement any one of the methods provided in the first aspect.
[0032] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect.
[0033] A data processing method and device based on an intelligent application support platform provided by an embodiment of the present invention are applied to a target business system. First, interface data is received. The interface data carries a link identifier, a preamble identifier and a data identifier. The link identifier is used to trace the execution process of the interface data, and the preamble identifier is used to trace the transmission relationship of the interface data; then, based on the data type of the interface data and the mapping relationship between the data type and the business, the sub-business that subscribes to the interface data is determined from the business; finally, the business twin model corresponding to the sub-business is loaded, the business twin model is initialized using the interface data, and the initialized business twin model is executed until each business twin model corresponding to the sub-business is executed, and the processing result output by the sub-business for the interface data is obtained. The target business system provided by the above method is split into multiple sub-businesses, and the sub-businesses continue to be split into multiple lower-level sub-businesses until the splitting stop condition is met to obtain a leaf sub-business, write at least one business twin model corresponding to the leaf sub-business, and determine the interface data type subscribed by the leaf sub-business, starting with the leaf sub-business, and orchestrate the business twin model layer by layer according to the logic and process during business splitting to form a business twin model orchestration for each layer of sub-businesses, and finally form a business twin model orchestration for the business system. Compared with the prior art, the embodiment of the present invention can realize the development of the target business system by building a business twin model, which significantly reduces the difficulty of developing the target business system; in addition, in the process of using the target business system for data processing, by making the interface data carry link identifiers and preamble identifiers, it can help trace the entire business process and business flow relationship of the interface data; furthermore, the embodiment of the present invention helps to improve the security and controllability of data by managing the mapping relationship between data types and businesses; finally, when each business twin model is executed, a reliable processing result can be obtained.
[0034] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0035] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A flowchart of a data processing method based on an intelligent application support platform provided by an embodiment of the present invention;
[0038] Figure 2 A schematic diagram of the overall concept of a data processing method based on an intelligent application support platform provided by an embodiment of the present invention;
[0039] Figure 3 A schematic diagram of a business modeling process provided by an embodiment of the present invention;
[0040] Figure 4 An overall flow chart of a data processing method based on an intelligent application support platform provided by an embodiment of the present invention;
[0041] Figure 5 A schematic diagram of the structure of a data processing device based on an intelligent application support platform provided by an embodiment of the present invention;
[0042] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] At present, the development of business systems is difficult, and there are problems such as poor traceability, security and controllability in the process of processing business data. Based on this, the implementation of the present invention provides a data processing method and device based on an intelligent application support platform, which significantly reduces the difficulty of business system development and helps to improve data traceability, security and controllability.
[0045] To facilitate understanding of this embodiment, we first introduce in detail a data processing method based on an intelligent application support platform disclosed in an embodiment of the present invention. The method is applied to a target business system, and the target business system is split into multiple sub-businesses. The sub-businesses continue to be split into multiple subordinate sub-businesses until a leaf sub-business is obtained by satisfying the splitting stop condition. At least one business twin model corresponding to the leaf sub-business is written, and the interface data type subscribed by the leaf sub-business is determined. Starting with the leaf sub-business, the business twin model is orchestrated upward layer by layer according to the logic and process during the business splitting to form a business twin model orchestration of each layer of sub-businesses, and finally a business twin model orchestration of the business system is formed. See Figure 1 The flowchart of a data processing method based on an intelligent application support platform is shown, and the method mainly includes the following steps S102 to S106:
[0046] Step S102, receiving interface data.
[0047] Among them, the interface data carries a link identifier (ID), a prefix identifier (ID) and a data identifier (ID). The link identifier is used to trace the entire business process through which the interface data has passed. The prefix identifier is used to trace the business flow relationship of the interface data. The data identifier is also the unique identifier of the interface data, which is used to distinguish it from other interface data.
[0048] In one example, the interface data may be received by a data receiver (also referred to as an interface data submission interface).
[0049] In one example, it is possible to verify whether the identifier carried by the received interface data is complete, and if it is incomplete, the missing identifier can be supplemented.
[0050] Step S104: Based on the data type of the interface data and the mapping relationship between the data type and the service, a leaf sub-service list subscribing to the interface data is determined from the service.
[0051] Each type of interface data has a clear data type, which is registered and globally unique. For example: (1) Test, this is a type of interface data, its type is TEST; (2) Intelligence, this is a type of interface data, its type is INFORMATION; (3) Core elements, this is a type of interface data, its type is CORE_ELEMENT. The data carried by each type of interface data has a fixed predefined format.
[0052] In one example, each type of data may be subscribed to by N (N≥0) services. By pre-maintaining the mapping relationship between data types and services, the sub-services interested in the interface data can be found based on the mapping relationship, that is, the sub-services subscribe to the interface data.
[0053] Step S106, load the business twin model corresponding to each sub-business in the leaf sub-business list, initialize the business twin model using the interface data, and execute the initialized business twin model until each business twin model corresponding to the sub-business is executed, and obtain the processing result of the sub-business output for the interface data.
[0054] In one example, the sub-businesses found can be looped and messages can be sent to the message queue. The control center service loads the corresponding business twin model according to the sub-business contained in the message, and initializes the business twin model according to the interface data contained in the message. After initialization, an execution task is created to execute the business twin model. If there are multiple business twin models corresponding to the sub-business, and some of the remaining business twin models are not executed, the subsequent business twin model is loaded, and the subsequent business twin model is initialized with the execution result of the previous business twin model, and the subsequent business twin model is executed. Repeat this operation until all business twin models corresponding to the sub-business are executed.
[0055] In one example, during the execution of the business model, new interface data of different or same types will be generated and submitted to the data receiver.
[0056] Compared with the prior art, the embodiments of the present invention can realize the development of the target business system by building a business twin model, which significantly reduces the difficulty of developing the target business system; in addition, in the process of using the target business system for data processing, by making the interface data carry link identifiers and prefix identifiers, it can help trace the entire business process and business flow relationship of the interface data; furthermore, the embodiments of the present invention help to improve the security and controllability of data by managing the mapping relationship between data types and businesses; finally, when each business twin model is executed, a reliable processing result can be obtained.
[0057] For ease of understanding, the present invention first explains the idea of a data processing method based on an intelligent application support platform. Figure 2 The diagram shows the overall concept of a data processing method based on an intelligent application support platform. The target business system can be built in a specified operating environment, which can be called the organizational brain or the intelligent application support platform.
[0058] In the specific implementation, the business system can be split into multiple smaller sub-businesses, and the sub-businesses can be further split into multiple smaller subordinate sub-businesses until the sub-businesses are small enough, the logic is clear, easy to communicate, easy to express and implement, and these final sub-businesses are called leaf sub-businesses. Write business twin models for these leaf sub-businesses (there may be more than one), and determine the interface data type subscribed by the leaf sub-business. Then, starting from the leaf sub-business, the business twin model is arranged according to the logic and process when the business is split, layer by layer, to form the business twin model arrangement of each layer of sub-business, and finally form the business twin model arrangement of the business system, that is, to complete the development of the entire business system. In one example, the business twin model can be encapsulated to form a component, and the component can be reused in the model. In the specific implementation, the developer analyzes the services provided by the target business system to obtain multiple businesses, and arranges the business layer by layer to build the required target business system. Compared with the prior art in which the developer writes code to realize the construction of the system, the embodiment of the present invention reduces the professional requirements for the developer, and does not require professional programmers to write code, and only requires the developer to understand the business. In addition, a business can be composed of other businesses, and the model of the orchestrated business is composed of the models of the businesses used in the orchestration. In this way, building a business does not always need to start from scratch.
[0059] On this basis, the operation of the business system is data-driven. When the business system receives interface data, it will obtain a list of leaf sub-businesses that subscribe to this type of interface data according to the corresponding interface data type, load the business twin models corresponding to these sub-businesses respectively, initialize the business twin model using the interface data, and execute the initialized business twin model until each business twin model corresponding to the business is executed and the processing result is obtained.
[0060] In one example, the business twin model can also create new interface data, the data type of the new interface data can be the same as or different from the data type of the interface data that triggers the current process, and submit the new interface data to the data receiver again.
[0061] In one example, when the business twin model is executed, interactive display can be performed. The interaction includes operations such as confirmation and input, such as process approval in OA; the displayed / pushed information includes business reports, data reports, map presentation, opening web pages, etc.
[0062] In one example, the business base class becomes knowledge, which can be reused in the business. Knowledge includes standard business, domain problems, etc. Domain problems can be divided into knowledge (basic knowledge), understanding (judgment and evaluation), and wisdom (extension and application).
[0063] Furthermore, the embodiment of the present invention also provides Figure 3 The figure shows a process diagram of business modeling, in which the business is expressed by a business twin model. Business orchestration uses standard activities, which is actually the business twin model using reusable components. Standard activities call software services in the same way that reusable components call reusable software services or algorithm model components. Software services access data resources in the same way that reusable software services or algorithm model components access reusable data components. The twin of the business twin model represents the essence of the business. When there is a business, there is a business twin model. In one example, the above modeling process uses the OPM modeling capability.
[0064] Based on the foregoing embodiments, an embodiment of the present invention provides a specific implementation of a data processing method based on an intelligent application support platform.
[0065] In a specific implementation, a data receiver and a control center (cc) service are deployed in the operating environment of the target business system. On this basis, when executing the aforementioned step S102, the interface data can be received through the data receiver. The control center (cc) service has an interface (data receiver, interface data submission interface), which accepts interface data and is public. The control center service registers with the service registration center, so that this interface can be called to submit interface data, whether from outside the control center service (other services or applications) or from inside the control center service.
[0066] Furthermore, each interface data carries a single identifier of a link ID, a preamble ID and a data ID.
[0067] Further, after receiving the interface data, if the interface data does not carry one or more of the link identifier, the preamble identifier or the data identifier, the missing identifier of the interface data is completed by the data receiver. In actual applications, when the interface data is submitted, if the three IDs it carries are incomplete or not available at all, the data receiver will complete the three IDs (generate uniquely).
[0068] In addition, the above interface data can be generated and submitted by users asking questions or initiating business, or generated and submitted by related programs based on information drive, event incentive, etc., or triggered and submitted according to preset rules or preset time.
[0069] For the aforementioned step S104, the data receiver may search for a service that subscribes to the interface data of the data type according to the data type of the interface data, and the service will be included as a sub-service in the leaf sub-service list.
[0070] Each type of interface data may be subscribed by N (N ≥ 0) services.
[0071] The embodiment of the present invention can effectively decouple the data flow through the mechanism of business subscription to a certain type of interface data, so that the design of the process is flexible enough and powerful. The business subscribing to a certain type of interface data can be changed (increased or reduced) at any time. When adding a new processing mode to the interface data, it is sufficient to add a new business and subscribe to the interface data of this type, and there is no need to modify the existing business. This is very important for the stability of the existing business.
[0072] In a specific implementation, a message queue is also deployed in the operating environment of the target business system, and the number of control center services is at least one. On this basis, when executing the aforementioned step S106, see (a) to (c) below:
[0073] (a) Generate messages based on sub-services and interface data, and send the messages to message queues, so as to allocate sub-services corresponding to each control center service based on the messages through the message queues, thereby achieving load balancing of the control center services.
[0074] In actual applications, the services found in a loop are sent to the message queue with a message MSG, which contains information such as services and interface data.
[0075] This operation can ensure the load balancing of the subsequent processing flow. When there are more than one control center (cc) service, load balancing is very important. Moreover, this operation can make the processing capacity grow linearly when the deployment of the control center (cc) service grows linearly, greatly reducing the maintenance cost. The maintenance cost is very low.
[0076] (b) Process the message through the control center service to load the business twin model according to the sub-business contained in the message, and initialize the business twin model using the interface data contained in the message.
[0077] In actual applications, the control center (cc) service accepts the message (MSG) in the processing message queue, loads the business twin model of the sub-business according to the sub-business contained in the message, and uses the interface data contained in the message to initialize the business twin model. After initialization, it calls the execution service to create an execution task and execute the business twin model.
[0078] Furthermore, during the execution of the business twin model, if necessary, new interface data of different or same type will be generated; the new interface data will be sent to the data receiver to continue to determine the new sub-business and the processing results of the new sub-business output for the new interface data. That is, new interface data can be created in the business twin model (the type can be the same or different from the type of the interface data that triggers the current process), and the new interface data will be submitted to the data receiver of the control center (cc) service again.
[0079] Furthermore, the link identifier (ID) carried by the new interface data is consistent with the link identifier (ID) carried by the interface data that triggers the current process; in addition, the prefix identifier carried by the new interface data is consistent with the data identifier carried by the interface data that triggers the current process, that is, the prefix ID of the new interface data is the data ID of the interface data that triggers the current process.
[0080] The embodiment of the present invention can obtain the entire processing flow of an initial interface data (i.e., the aforementioned full business flow) through the link ID, what new interface data will be generated in the process, the subsequent processing flow of the newly generated interface data, etc. The business flow relationship of the interface data can be obtained through the preceding ID. In summary, the full process result that may be complex enough can be obtained through simple process control.
[0081] (c) After the business twin model is initialized, each business twin model corresponding to the sub-business is executed to completion, and the processing result of the sub-business output for the interface data is obtained.
[0082] In actual applications, check whether there are any remaining business twin models of the corresponding sub-business that have not been executed based on the execution results. If there are, load the subsequent business twin model and initialize the subsequent business twin model with the received execution results. After initialization, call the execution service to create a new execution task and execute the subsequent business twin model; if not, record the execution result.
[0083] From the actual execution results, (c) will be executed repeatedly until the business has no subsequent business twin model.
[0084] In a specific implementation, a business management subsystem is also deployed in the operating environment of the target business system. Through the business management subsystem, a binding relationship between the business and the business twin model is established according to the model execution order. The business is bound to at least one business twin model. The business twin model calls reusable components, the reusable components call reusable software services or algorithm model components, and the reusable software services or algorithm model components access reusable data components.
[0085] In actual applications, the business twin model is established using the modeling subsystem, and the established business twin model is bound to the business through the business management subsystem. A business can bind multiple business twin models in sequence. During execution, these business twin models will be loaded in sequence by the control center (cc) service and create execution tasks.
[0086] In a specific implementation, an interface data type management subsystem is also deployed in the operating environment of the target business system, and the data types subscribed by the business can be managed through the business management subsystem; and / or, the business subscribed to the data type can be managed through the interface data type management subsystem; the mapping relationship between the data type and the business is a many-to-many relationship. That is, one business can subscribe to the interface data of multiple data types, and the interface data of one data type can be subscribed by multiple businesses.
[0087] In summary, the embodiments of the present invention provide Figure 4 The overall flow chart of a data processing method based on an intelligent application support platform is shown, the control center (cc) service is registered through the service registration center; the interface data is submitted to the data receiver; the business that subscribes to this type of data is found; each business found in a loop sends a message to the message queue, and the message includes business and interface data; the message in the message queue is processed; the business model is loaded, and the execution task is created; the execution is executed to obtain the execution result; the execution result is processed. The data processing method based on the intelligent application support platform provided by the embodiment of the present invention significantly reduces the difficulty of business system development, and helps to improve data traceability, security and controllability.
[0088] On the basis of the foregoing embodiments, an embodiment of the present invention provides a data processing device based on an intelligent application support platform, which is applied to a target business system, wherein the target business system is split into multiple sub-businesses, and the sub-businesses continue to be split into multiple subordinate sub-businesses until a leaf sub-business is obtained by satisfying the splitting stop condition, and at least one business twin model corresponding to the leaf sub-business is written, and the interface data type subscribed by the leaf sub-business is determined. Starting with the leaf sub-business, the business twin model is orchestrated upward layer by layer according to the logic and process during the business splitting, forming a business twin model orchestration of each layer of sub-businesses, and finally forming a business twin model orchestration of the business system, see Figure 5 The structure diagram of a data processing device based on an intelligent application support platform is shown in FIG. 1 , and the device mainly includes the following parts:
[0089] The data receiving module 502 is used to receive interface data; wherein the interface data carries a link identifier, a preamble identifier and a data identifier, the link identifier is used to trace the entire business process through which the interface data passes, and the preamble identifier is used to trace the business flow relationship of the interface data;
[0090] A service determination module 504, configured to determine a leaf sub-service list subscribing to the interface data from the service based on the data type of the interface data and the mapping relationship between the data type and the service;
[0091] The model deduction module 506 is used to load the business twin model corresponding to each sub-business in the leaf sub-business list, initialize the business twin model using the interface data, and execute the initialized business twin model until each business twin model corresponding to the sub-business is executed, and obtain the processing result of the sub-business output for the interface data.
[0092] Compared with the prior art, the embodiments of the present invention can realize the development of the target business system by building a business twin model, which significantly reduces the difficulty of developing the target business system; in addition, in the process of using the target business system for data processing, by making the interface data carry link identifiers and prefix identifiers, it can help trace the entire business process and business flow relationship of the interface data; furthermore, the embodiments of the present invention help to improve the security and controllability of data by managing the mapping relationship between data types and businesses; finally, when each business twin model is executed, a reliable processing result can be obtained.
[0093] In one implementation, a data receiver is deployed in the operating environment of the target business system;
[0094] The data receiving module 502 is further used to: receive interface data via a data receiver;
[0095] The data receiving module 502 is further configured to: if the interface data does not carry one or more of the link identifier, the preamble identifier or the data identifier, complete the missing identifier of the interface data through the data receiver.
[0096] In one embodiment, a message queue and at least one control center service are also deployed in the operating environment of the target business system; the model deduction module 506 is also used to:
[0097] Generate messages based on sub-services and interface data, and send the messages to the message queue, so as to allocate the sub-services corresponding to each control center service based on the messages through the message queue, thereby realizing load balancing of the control center service;
[0098] The message is processed through the control center service to load the business twin model according to the sub-business contained in the message, and the business twin model is initialized using the interface data contained in the message.
[0099] In one embodiment, the device further includes a data sending module, which is used to:
[0100] During the execution of the business twin model, new interface data of different or same types is generated;
[0101] The new interface data is sent to the data receiver to continue to determine a new sub-service and a processing result output by the new sub-service for the new interface data.
[0102] In one implementation, the link identifier carried by the new interface data is consistent with the link identifier carried by the interface data that triggers the current process;
[0103] The prefix identifier carried by the new interface data is consistent with the data identifier carried by the interface data that triggers the current process.
[0104] In one implementation, a business management subsystem is also deployed in the operating environment of the target business system; and a binding module is also included for:
[0105] Through the business management subsystem, a binding relationship between the business and the business twin model is established according to the model execution order. The business is bound to at least one business twin model.
[0106] The business twin model calls reusable components, the reusable components call reusable software services or algorithm model components, and the reusable software services or algorithm model components access reusable data components.
[0107] In one embodiment, a business management subsystem and an interface data type management subsystem are further deployed in the operating environment of the target business system; and a mapping module is also included for:
[0108] Manage the data types of business subscriptions through the business management subsystem;
[0109] and / or, managing the services to which the data types are subscribed through the interface data type management subsystem;
[0110] The mapping relationship between data types and services is a many-to-many relationship.
[0111] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0112] An embodiment of the present invention provides an electronic device. Specifically, the electronic device includes a processor and a storage device. The storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above-mentioned implementation methods.
[0113] Figure 6 A structural diagram of an electronic device provided in an embodiment of the present invention, the electronic device 100 includes: a processor 60, a memory 61, a bus 62 and a communication interface 63, wherein the processor 60, the communication interface 63 and the memory 61 are connected via the bus 62; the processor 60 is used to execute an executable module stored in the memory 61, such as a computer program.
[0114] The memory 61 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0115] The bus 62 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0116] Among them, the memory 61 is used to store programs, and the processor 60 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 60 or implemented by the processor 60.
[0117] The processor 60 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 60. The above processor 60 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 61, and the processor 60 reads the information in the memory 61 and completes the steps of the above method in combination with its hardware.
[0118] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be referred to the previous method embodiment, which will not be repeated here.
[0119] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0120] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A data processing method based on an intelligent application support platform, characterized in that: The method is applied to a target business system, wherein a data receiver is deployed in the operating environment of the target business system, the target business system is split into multiple sub-businesses, and the sub-businesses continue to be split into multiple subordinate sub-businesses until a leaf sub-business is obtained by satisfying the splitting stop condition, at least one business twin model corresponding to the leaf sub-business is written, and the interface data type subscribed by the leaf sub-business is determined. Starting with the leaf sub-business, the business twin model is orchestrated upward layer by layer according to the logic and process during business splitting to form a business twin model orchestration of each layer of sub-businesses, and finally a business twin model orchestration of the business system is formed. The method includes: Receive interface data; wherein the interface data carries a link identifier, a preamble identifier and a data identifier, the link identifier is used to trace the entire business process through which the interface data passes, the preamble identifier is used to trace the business flow relationship of the interface data, and the data identifier is a unique identifier of the interface data, which is used to distinguish it from other interface data; Based on the data type of the interface data and the mapping relationship between the data type and the service, determining a leaf sub-service list subscribing to the interface data from the service; Load the business twin model corresponding to each sub-business in the leaf sub-business list, initialize the business twin model using the interface data, and execute the initialized business twin model until each of the business twin models corresponding to the sub-business is executed, and obtain the processing result of the sub-business output for the interface data; The step of receiving interface data comprises: receiving interface data via the data receiver; A message queue and at least one control center service are also deployed in the operating environment of the target business system; the steps of loading the business twin model corresponding to the sub-business and initializing the business twin model using the interface data include: generating a message based on the sub-business and the interface data, sending the message to the message queue, so as to allocate the sub-business corresponding to each control center service based on the message through the message queue to achieve load balancing of the control center service; processing the message through the control center service to load the business twin model according to the sub-business contained in the message, and initializing the business twin model using the interface data contained in the message; The method further includes: generating new interface data of different or same type during the execution of the business twin model; sending the new interface data to the data receiver to continue to determine a new sub-business and a new processing result output by the sub-business for the new interface data; A business management subsystem is also deployed in the operating environment of the target business system; the method also includes: through the business management subsystem, a binding relationship between the business and the business twin model is established according to the model execution order, and the business is bound to at least one of the business twin models; the business twin model calls a reusable component, the reusable component calls a reusable software service or algorithm model component, and the reusable software service or algorithm model component accesses a reusable data component.
2. The data processing method based on the intelligent application support platform according to claim 1 is characterized in that: After the step of receiving the interface data, the method further includes: if the interface data does not carry one or more of the link identifier, the preamble identifier or the data identifier, completing the missing identifier of the interface data by the data receiver.
3. The data processing method based on the intelligent application support platform according to claim 1 is characterized in that: The link identifier carried by the new interface data is consistent with the link identifier carried by the interface data that triggers the current process; The preamble identifier carried by the new interface data is consistent with the data identifier carried by the interface data that triggers the current process.
4. The data processing method based on the intelligent application support platform according to claim 1 is characterized in that: The target business system is located in an operating environment in which a business management subsystem and an interface data type management subsystem are also deployed; the method further includes: Managing the data type of the service subscription through the service management subsystem; and / or, managing the service to which the data type is subscribed through the interface data type management subsystem; The mapping relationship between the data type and the service is a many-to-many relationship.
5. A data processing device based on an intelligent application support platform, characterized in that: The device is applied to a target business system, a data receiver is deployed in the operating environment of the target business system, the target business system is split into multiple sub-businesses, and the sub-businesses continue to be split into multiple subordinate sub-businesses until a leaf sub-business is obtained by satisfying the splitting stop condition, at least one business twin model corresponding to the leaf sub-business is written, and the interface data type subscribed by the leaf sub-business is determined. Starting with the leaf sub-business, the business twin model is orchestrated upward layer by layer according to the logic and process during business splitting to form a business twin model orchestration of each layer of sub-businesses, and finally a business twin model orchestration of the business system is formed. The device includes: A data receiving module, used for receiving interface data; wherein the interface data carries a link identifier, a preamble identifier and a data identifier, wherein the link identifier is used to trace the entire business process through which the interface data passes, the preamble identifier is used to trace the business flow relationship of the interface data, and the data identifier is a unique identifier of the interface data, used to distinguish it from other interface data; A service determination module, configured to determine a list of leaf sub-services subscribing to the interface data from the service based on the data type of the interface data and the mapping relationship between the data type and the service; A model deduction module, used to load the business twin model corresponding to each sub-business in the leaf sub-business list, initialize the business twin model using the interface data, and execute the initialized business twin model until each of the business twin models corresponding to the sub-business is executed to completion, thereby obtaining the processing result of the sub-business output for the interface data; The data receiving module is specifically used to: receive interface data through the data receiver; A message queue and at least one control center service are also deployed in the operating environment of the target business system; the model deduction module is specifically used to: generate a message based on the sub-business and the interface data, and send the message to the message queue, so as to allocate the sub-business corresponding to each control center service based on the message through the message queue to achieve load balancing of the control center service; process the message through the control center service to load the business twin model according to the sub-business contained in the message, and initialize the business twin model using the interface data contained in the message; It also includes a data sending module, which is used to: generate new interface data of different or same types during the execution of the business twin model; send the new interface data to the data receiver to continue to determine the new sub-business and the new processing results output by the sub-business for the new interface data; A business management subsystem is also deployed in the operating environment of the target business system; it also includes a binding module, which is used to: establish a binding relationship between the business and the business twin model according to the model execution order through the business management subsystem, and the business is bound to at least one of the business twin models; the business twin model calls a reusable component, the reusable component calls a reusable software service or algorithm model component, and the reusable software service or algorithm model component accesses a reusable data component.
6. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Cross-domain business process arrangement method and device, electronic equipment and storage medium
CN114706887A
Visual business logic code-free development method, equipment and medium
CN116069310A
