Business integration method, device, platform and storage medium

By presetting multiple connection flow components on the business integration platform and synchronizing business scenario data between different sales systems, the management problems caused by inconsistent data in multi-channel operations are solved, and unified management and efficient delivery of multiple systems are achieved.

CN119415184BActive Publication Date: 2025-05-13HANGZHOU YOUZAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510000952.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-05-13
Estimated Expiration
2045-01-02

AI Technical Summary

Technical Problem

When merchants operate online and offline through multiple channels, it is difficult to manage multiple different sales systems due to inconsistent data between different sales systems.

Method used

Provide business integration methods, devices, platforms and storage media, and preset multiple connection flow components through the business integration platform to synchronize business scenario data in the target system and third-party systems. The method includes receiving connection flow configuration instructions, determining the target connection flow component, acquiring merchant historical business data, and performing data initialization processing through distributed batch processing components to realize initialization and synchronization of data.

Benefits of technology

It realizes unified management of multiple systems by merchants, improves the delivery efficiency of merchant integration cabins, and facilitates merchants to manage multiple systems by unifying business data between different systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119415184B_ABST
    Figure CN119415184B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a business integration method, device, platform and storage medium. The method is applied to a business integration platform, in which a plurality of connection flow components are preset, and different connection flow components are used to synchronize different business scenario data in a target system and a third-party system, and the method includes: receiving a connection flow configuration instruction triggered by a user based on a connection flow visualization interface, and determining a plurality of target connection flow components from a plurality of connection flow components according to the connection flow configuration instruction; obtaining rule configuration parameters corresponding to each target connection flow component; instantiating each target connection flow component respectively, and obtaining the execution flow corresponding to each target connection flow component; obtaining merchant historical business data; performing merchant data initialization processing on merchant historical business data according to a preset distributed batch processing component and a plurality of execution flows, and completing the initialization synchronization of the target merchant's business scenario data between the target system and the third-party system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a business integration method, device, platform and storage medium. Background Art

[0002] In the context of merchants' multi-channel operations online and offline, merchants use multiple different sales systems online and offline to carry out operational activities such as online marketing, offline fulfillment, membership operations, order management, etc. However, due to the inconsistency of data between different sales systems, it is difficult for merchants to manage multiple different sales systems. Summary of the invention

[0003] The embodiments of the present application provide a business integration method, device, platform and storage medium, which can unify business data between different systems and facilitate merchants to manage multiple systems.

[0004] In a first aspect, an embodiment of the present application provides a business integration method, which is applied to a business integration platform, wherein a plurality of connection flow components are preset in the business integration platform, and different connection flow components are used to synchronize different business scenario data between a target system and a third-party system, and the method includes:

[0005] When it is necessary to configure a connection flow for a target fusion cabin of a target merchant, a connection flow configuration instruction triggered by a user based on a connection flow visualization interface is received, and a plurality of target connection flow components are determined from a plurality of the connection flow components according to the connection flow configuration instruction;

[0006] Display the business rule configuration interface corresponding to each of the target connection flow components;

[0007] Based on each of the business rule configuration interfaces, respectively obtain the rule configuration parameters corresponding to each of the target connection flow components;

[0008] When receiving the activation instruction of the target fusion cabin, each of the target connection flow components is instantiated according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components;

[0009] Acquire historical business data of the target merchant in the target system and the third-party system;

[0010] The merchant data is initialized according to the preset distributed batch processing component and the plurality of execution flows, and the initialization synchronization of the target merchant's business scenario data between the target system and the third-party system is completed.

[0011] In a second aspect, an embodiment of the present application further provides a business integration device, which is deployed in a business integration platform. The business integration platform is preset with multiple connection flow components, and different connection flow components are used to synchronize different business scenario data between the target system and the third-party system. The business integration device includes:

[0012] A transceiver unit, used for receiving a connection flow configuration instruction triggered by a user based on a connection flow visualization interface when a connection flow configuration is required for a target fusion cabin of a target merchant;

[0013] A processing unit, configured to determine a plurality of target connection flow components from the plurality of connection flow components according to the connection flow configuration instruction; display a business rule configuration interface corresponding to each of the target connection flow components; obtain a rule configuration parameter corresponding to each of the target connection flow components based on each of the business rule configuration interfaces; and when receiving an activation instruction for the target fusion cabin, instantiate each of the target connection flow components according to the corresponding rule configuration parameters to obtain an execution flow corresponding to each of the target connection flow components;

[0014] The transceiver unit is further used to obtain the merchant historical business data of the target merchant in the target system and the third-party system;

[0015] The processing unit is also used to perform merchant data initialization processing on the merchant's historical business data according to a preset distributed batch processing component and a plurality of the execution flows, and complete the initialization synchronization of the target merchant's business scenario data between the target system and the third-party system.

[0016] In a third aspect, an embodiment of the present application further provides a business integration platform, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.

[0017] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and wherein the program instructions can implement the above method when executed by a processor.

[0018] The embodiment of the present application provides a business integration method, device, platform and storage medium. The method is applied to a business integration platform, wherein a plurality of connection flow components are preset in the business integration platform, and different connection flow components are used to synchronize different business scenario data in the target system and the third-party system. The method includes: when it is necessary to configure the connection flow for the target fusion cabin of the target merchant, receiving the connection flow configuration instruction triggered by the user based on the connection flow visualization interface, and determining a plurality of target connection flow components from the plurality of connection flow components according to the connection flow configuration instruction; displaying the business rule configuration interface corresponding to each of the target connection flow components; obtaining the rule configuration parameters corresponding to each of the target connection flow components based on each of the business rule configuration interfaces; when receiving the activation instruction of the target fusion cabin, instantiating each of the target connection flow components according to the corresponding rule configuration parameters, and obtaining the execution flow corresponding to each of the target connection flow components; obtaining the merchant historical business data of the target merchant in the target system and the third-party system; performing merchant data initialization processing on the merchant historical business data according to the preset distributed batch processing component and the plurality of execution flows, and completing the initialization synchronization of the business scenario data of the target merchant between the target system and the third-party system. On the one hand, the business integration platform provided by this embodiment has multiple connection flow components preset, and the merchant fusion cabin is configured through different connection flow components, thereby improving the delivery efficiency of the merchant fusion cabin; on the other hand, the merchant can unify the business data between different systems through the fusion cabin provided by this embodiment, which is convenient for the merchant to manage multiple systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 A flowchart of a business integration method provided in an embodiment of the present application;

[0021] Figure 2 A schematic diagram of a business rule configuration interface in a business integration platform provided in an embodiment of the present application;

[0022] Figure 3 A schematic diagram of a sub-process of the business integration method provided in an embodiment of the present application;

[0023] Figure 4 Another sub-process diagram of the business integration method provided in an embodiment of the present application;

[0024] Figure 5 A schematic block diagram of a business integration device provided in an embodiment of the present application;

[0025] Figure 6 A schematic block diagram of a business integration platform provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0028] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0029] It should be further understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0030] Embodiments of the present application provide a service integration method, device, platform, and storage medium.

[0031] The execution subject of the business integration method can be the business integration device provided in the embodiment of the present application, or a business integration platform integrating the business integration device. Specifically, the business integration platform is a development and operation (DevOps) platform, wherein the business integration device can be implemented in hardware or software, and the business integration platform can specifically be a terminal or a server.

[0032] Among them, the business integration platform provided in this embodiment is preset with multiple connection flow components, and different connection flow components are used to synchronize different business scenario data in the target system and the third-party system. Specifically, the multiple connection flow components include multiple connection flow components under the connected subdomains, each connected subdomain includes multiple connection flow components, and the multiple connected subdomains include member pass, integral pass, commodity pass, shopping guide pass, inventory pass, order pass, coupon pass, and stored value pass. The multiple connection flow components preset in the business integration platform include multiple said connection flow components including multiple member pass connection components, multiple integral pass connection components, multiple commodity pass connection components, multiple shopping guide pass connection components, multiple inventory pass connection components, multiple order pass connection components, multiple coupon pass connection components, and multiple stored value pass connection components.

[0033] Figure 1 Schematic diagram of the process flow of the business integration method provided in the embodiment of the present application. Figure 1 As shown, the method includes the following steps S110-S160.

[0034] S110. When it is necessary to configure a connection flow for a target fusion cabin of a target merchant, a connection flow configuration instruction triggered by a user based on a connection flow visualization interface is received, and a plurality of target connection flow components are determined from a plurality of the connection flow components according to the connection flow configuration instruction.

[0035] In this embodiment, the target merchant is a merchant that currently needs to build a fusion cabin. The business integration platform provided by this embodiment supports the visual configuration of the business integration connection flow.

[0036] Specifically, first, a connection flow component entrance including multiple connected subdomains is displayed, and then the corresponding connected subdomain is selected. At this time, a selection control of multiple connection flow components under the connected subdomain is displayed, and the corresponding connection flow component is selected for the target fusion capsule through the corresponding selection control, wherein different connection flow description information is displayed for different selection controls in the display interface; for example, the user opens the member's connected subdomain entrance, at this time, multiple member connection components are displayed in the display interface, and different member connection components are used to synchronize different member data with the third-party system, for example, member connection component 1 is used to update the members of the target system to the third-party system; member connection component 2 is used to enable the target system to obtain the members of the third-party system; member connection component 3 is used to synchronize the increase of member points of the target system to the third-party system; member connection component 4 is used to synchronize the reduction of member points of the target system to the third-party system, and so on.

[0037] Among them, the third-party system is an external sales system of the target system, including multiple different third-party systems, that is, this embodiment can synchronously process the business scenario data of multiple different third-party systems and the business scenario data of the target system.

[0038] S120. Display the business rule configuration interface corresponding to each of the target connection flow components.

[0039] In this embodiment, after selecting the target connection flow component for the target fusion cabin, it is also necessary to perform personalized configuration for the target merchant according to the needs of the target merchant. Specifically, the business rule configuration interface corresponding to each target connection flow component is displayed respectively, and then each target connection flow component is personalized configured based on each business rule configuration interface, wherein the business rule configuration interface includes a configuration parameter input box or a configuration parameter selection button for multiple rule configuration parameters.

[0040] For example, for the member connection component 1, the business rule configuration interface is as follows Figure 2 As shown, the rule configuration parameters that need to be configured in the business rule configuration interface include the maximum number of exception retries, calibration rules for member conflicts, whether to connect member store information (store information includes: member card opening store and member affiliated store), store unconnected member processing (store mapping data does not exist, whether the member creates a synchronization strategy), whether to connect member card opening guide, and the default level name for new members.

[0041] S130. Obtain rule configuration parameters corresponding to each of the target connection flow components based on each of the business rule configuration interfaces.

[0042] In this embodiment, the business integration platform obtains the rule configuration parameters configured by the user for each target connection flow component through each business rule configuration interface, thereby meeting the personalized integration needs of the merchant.

[0043] S140. When an activation instruction of the target fusion cabin is received, each of the target connection flow components is instantiated according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components.

[0044] In order to reduce the risks brought by manual delivery, and at the same time respond more quickly to changes and needs of merchant business, improve the reliability and maintainability of the system after merchant delivery, and enhance merchant satisfaction, the business integration platform provided in this embodiment also supports the online activation of the fusion cabin.

[0045] Furthermore, in order to ensure the online quality of the fusion cabin, the business integration platform provided in this embodiment also supports debugging of the business integration connection flow. At this time, before each target connection flow component is instantiated before the formal online launch, the method further includes:

[0046] Receive a debugging instruction of the target fusion cabin; in response to the debugging instruction, generate a connection flow debugging request according to the plurality of target connection flow components and the rule configuration parameters respectively corresponding to each of the target connection flow components; send the connection flow debugging request to a local application service instance or a cloud application service instance; receive a debugging result returned by the local application service instance or the cloud application service instance;

[0047] Specifically, the business integration platform provides business description documents and basic data for each business created during debugging, accelerating users' (developers') business learning of the business integration platform; it provides online debugging and local debugging functions, which can easily and quickly complete the testing of connection flow functions, quickly locate problems, improve problem-solving efficiency, accelerate development and deployment processes, and thus improve delivery efficiency and quality.

[0048] Specifically, the user enters the connection flow debugging page provided by the business integration platform, and the integration platform constructs a connection flow debugging request. The user can choose to send the debugging request to the cloud application service instance deployed in the cloud, or to the local application service instance deployed locally. After the service instance processes the debugging request, it returns the result. The user can view the detailed execution process log and results on the test result viewing page provided by the business integration platform, which is convenient for locating problems and making further adjustments when problems are found.

[0049] When the debugging result is that the debugging is passed, each of the target connection flow components is instantiated according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components, thereby ensuring the online quality of the target fusion cabin.

[0050] It should be noted that each of the target connection flow components is instantiated according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components. After the target fusion cabin is opened to the target merchant, it is also necessary to obtain authorization from the merchant store using the third-party system in order to perform subsequent multi-system business scenario data synchronization work.

[0051] Furthermore, the business integration platform provided in this embodiment also supports hot loading of business integration connection flows opened in the fusion cabin to realize a smooth business switching operation solution.

[0052] At this time, see Figure 3 , step S140 includes:

[0053] S1401. For each of the target connection flow components, query a virtual routing mapping table according to a target hash value corresponding to the target connection flow component;

[0054] The target hash value is obtained by hashing the corresponding target connection flow and the corresponding rule configuration parameters;

[0055] S1402: when the virtual route identifier corresponding to the target hash value does not exist in the virtual route mapping table, instantiate the target connection flow component in the memory according to the corresponding rule configuration parameter to obtain the corresponding execution flow;

[0056] S1403. Add a mapping relationship between the target hash value and the target virtual routing identifier in the virtual routing mapping table, where the target virtual routing identifier is used to direct the traffic of the business scenario data corresponding to the target merchant and the target connection flow component to the corresponding execution flow.

[0057] Specifically, the business integration connection flow runtime framework implements the characteristics of virtual routing. At runtime, different business flows of different merchants will be mapped to the real instantiated business flow objects through the virtual routing mapping table. Before the newly loaded scene connection flow configuration is instantiated, the virtual routing mapping table will be queried based on the unique Hash value calculated by the connection flow configuration. When it is found that there is no virtual routing identifier that can be mapped, it is necessary to load and instantiate the execution flow of the currently loaded connection flow in the memory. After the new execution flow is loaded into the memory, the virtual routing mapping table will be modified to point the business flow of the corresponding merchant to the newly loaded execution flow, so that smooth loading and switching of the execution flow can be achieved during runtime.

[0058] S150: Acquire historical business data of the target merchant in the target system and the third-party system.

[0059] In this embodiment, after connecting multiple systems through the target fusion cabin created in the business integration platform, it is necessary to call the interfaces of the business scenario data that need to be synchronized in the target system and the third-party system based on each execution flow to obtain the business scenario data that needs to be synchronized, thereby realizing the synchronization of business scenario data of multiple systems.

[0060] S160: Perform merchant data initialization processing on the merchant's historical business data according to a preset distributed batch processing component and a plurality of the execution flows, and complete initialization synchronization of the target merchant's business scenario data between the target system and the third-party system.

[0061] Among them, after completing the merchant data initialization processing, the business scenario data specified in each system of the subsequent target merchant can complete the real-time synchronization of the business scenario data through the corresponding execution flow.

[0062] During data initialization, a lot of merchant historical business data needs to be synchronized. Generally, there will be transactions such as page turning and parsing that require a long time to execute. With the large amount of data, it is easy to encounter problems such as insufficient performance of a single instance and uneven task splitting.

[0063] In order to solve the above problems, the business integration platform provided in this embodiment provides a design of distributed batch processing components when facing data initialization, such as Figure 4 As shown, step S160 includes:

[0064] S1601, determining the task splitting strategies corresponding to each of the historical business scenario data;

[0065] S1602, splitting each of the historical business scenario data into multiple synchronization tasks according to the corresponding task splitting strategy;

[0066] S1603: For each of the historical business scenario data, perform distributed synchronization processing on the corresponding multiple synchronization tasks based on the corresponding execution flow.

[0067] Further, step S1603 includes: obtaining the task priorities corresponding to each of the historical business scenario data; allocating multiple synchronization tasks to multiple idle container computing nodes according to the task priorities; and completing the corresponding synchronization tasks based on the corresponding execution flows through multiple idle container computing nodes.

[0068] The step of completing the corresponding synchronization task based on the corresponding execution flow by using the plurality of idle container computing nodes includes:

[0069] The query per second (Qps) rate of the third-party system is obtained; and the corresponding synchronization task is completed based on the corresponding execution flow and the current limiting Qps by using a plurality of the idle container computing nodes.

[0070] Specifically, the process corresponding to the distributed batch processing component is mainly divided into three parts: task registration, task scheduling, and task completion.

[0071] Task registration: used for task initialization and distributing tasks into different batches.

[0072] Specifically, in this embodiment, different types of historical business scenario data correspond to different task queues and different synchronization tasks. The task splitting strategies corresponding to each of the historical business scenario data mentioned in step S1601 are set when the task queue is registered. For example, a fixed-length task queue can be split according to a specified batch size until the split is completed; and for some dynamically growing task queues, a timed splitting strategy can also be used to split the tasks at a fixed frequency every minute and continue to split them.

[0073] Task scheduling: Compete for batches based on priority, the business system processes tasks, and executes single batch tasks at a limited speed:

[0074] Specifically, considering that the delay of different types of tasks has different impacts on customer experience, for example, for the synchronization task of batch coupon issuance, consumers hope to see the coupons they receive as soon as possible, while for the synchronization task of completed orders, some delays are acceptable. Therefore, under the premise of limited computing resources, different scheduling priorities need to be specified for different types of batch synchronization tasks. Each idle container computing node will obtain tasks from the current batch task pool that has been split according to the priority order to its internal execution queue. In addition, considering that some offline privately deployed third-party systems have low configurations and are difficult to process a large number of task requests concurrently, the request speed can be controlled according to the interface Qps that the third-party system can actually bear.

[0075] Task completion: The synchronization task is updated to completed and the business completion interface is called back.

[0076] The following is an example of the product initialization batch processing task. The user registers the product initialization task to the main task table and specifies the developer-defined splitting strategy implementation. If necessary, the current limit Qps can also be specified. The main task periodically calls the task splitter to split the product initialization task. The task splitter sequentially queries the location information of the completed split, calls the developer-defined task splitting strategy to obtain the current split task list, and puts the split tasks into the batch task table, and finally updates the location information. The Traveling Salesman Problem (TSP) task is applied to call each idle container computing node to obtain the product initialization batch task to be executed according to the priority competition. The distributed lock is used to ensure that a split batch task can only be assigned to one container computing node. The container computing node adds the obtained batch task to the task queue in the memory. Finally, each container computing node sequentially traverses the synchronization tasks in the internal queue, performs flow control according to the current limit value set by the user, and finally calls the corresponding product synchronization execution flow to complete the synchronization of the product.

[0077] In summary, the business integration method provided in this embodiment is applied to a business integration platform, in which a plurality of connection flow components are preset, and different connection flow components are used to synchronize different business scenario data in a target system and a third-party system. The method includes: when it is necessary to configure a connection flow for a target fusion cabin of a target merchant, receiving a connection flow configuration instruction triggered by a user based on a connection flow visualization interface, and determining a plurality of target connection flow components from a plurality of the connection flow components according to the connection flow configuration instruction; displaying a business rule configuration interface corresponding to each of the target connection flow components; obtaining a rule configuration parameter corresponding to each of the target connection flow components based on each of the business rule configuration interfaces; when receiving an activation instruction for the target fusion cabin, instantiating each of the target connection flow components according to the corresponding rule configuration parameters to obtain an execution flow corresponding to each of the target connection flow components; obtaining the merchant historical business data of the target merchant in the target system and the third-party system; performing merchant data initialization processing on the merchant historical business data according to a preset distributed batch processing component and the plurality of execution flows, and completing the initialization synchronization of the business scenario data of the target merchant between the target system and the third-party system. On the one hand, the business integration platform provided by this embodiment has multiple connection flow components preset, and the merchant fusion cabin is configured through different connection flow components, thereby improving the delivery efficiency of the merchant fusion cabin; on the other hand, the merchant can unify the business data between different systems through the fusion cabin provided by this embodiment, which is convenient for the merchant to manage multiple systems.

[0078] Figure 5 is a schematic block diagram of a service integration device 500 provided in an embodiment of the present application. Figure 5 As shown, corresponding to the above business integration method, the present application also provides a business integration device 500. The business integration device 500 is deployed in a business integration platform, and the business integration platform is preset with multiple connection flow components. Different connection flow components are used to synchronize different business scenario data between the target system and the third-party system. For details, please refer to Figure 5 , the business integration device 500 includes a transceiver unit 501 and a processing unit 502:

[0079] The transceiver unit 501 is used to receive a connection flow configuration instruction triggered by a user based on a connection flow visualization interface when a connection flow configuration needs to be performed for a target fusion cabin of a target merchant;

[0080] The processing unit 502 is used to determine multiple target connection flow components from the multiple connection flow components according to the connection flow configuration instruction; display the business rule configuration interface corresponding to each of the target connection flow components; obtain the rule configuration parameters corresponding to each of the target connection flow components based on each of the business rule configuration interfaces; when receiving the activation instruction of the target fusion cabin, instantiate each of the target connection flow components according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components;

[0081] The transceiver unit 501 is further used to obtain the merchant historical business data of the target merchant in the target system and the third-party system;

[0082] The processing unit 502 is further used to perform merchant data initialization processing on the merchant's historical business data according to a preset distributed batch processing component and a plurality of the execution flows, and complete the initialization synchronization of the target merchant's business scenario data between the target system and the third-party system.

[0083] In some embodiments, before executing the step of instantiating each of the target connection flow components according to the corresponding rule configuration parameters to obtain the execution flows corresponding to each of the target connection flow components, the processing unit 502 is further used to:

[0084] Receiving a debugging instruction of the target fusion cabin through the transceiver unit 501; generating a connection flow debugging request according to the plurality of target connection flow components and the rule configuration parameters respectively corresponding to each of the target connection flow components in response to the debugging instruction;

[0085] Sending the connection flow debugging request to the local application service instance or the cloud application service instance through the transceiver unit 501; and receiving the debugging result returned by the local application service instance or the cloud application service instance;

[0086] At this time, when the debugging result is that the debugging is passed, the processing unit 502 instantiates each of the target connection flow components according to the corresponding rule configuration parameters to obtain the execution flows corresponding to each of the target connection flow components.

[0087] In some embodiments, when the processing unit 502 executes the step of instantiating each of the target connection flow components according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components, it is specifically used to:

[0088] For each target connection flow component, the virtual routing mapping table is queried according to the target hash value corresponding to the target connection flow component; when the virtual routing identifier corresponding to the target hash value does not exist in the virtual routing mapping table, the target connection flow component is instantiated in the memory according to the corresponding rule configuration parameters to obtain the corresponding execution flow; the mapping relationship between the target hash value and the target virtual routing identifier is added to the virtual routing mapping table, and the target virtual routing identifier is used to direct the traffic of the business scenario data corresponding to the target merchant and the target connection flow component to the corresponding execution flow.

[0089] In some embodiments, the merchant historical business data includes historical business scenario data corresponding to each of the execution flows; when the processing unit 502 performs the step of initializing the merchant data on the merchant historical business data according to the preset distributed batch processing component and the plurality of the execution flows, it is specifically used to:

[0090] Determine the task splitting strategies corresponding to each of the historical business scenario data; split each of the historical business scenario data into multiple synchronization tasks according to the corresponding task splitting strategies; for each of the historical business scenario data, perform distributed synchronization processing on the corresponding multiple synchronization tasks based on the corresponding execution flow.

[0091] In some embodiments, when executing the step of performing distributed synchronization processing on the corresponding plurality of synchronization tasks based on the corresponding execution flow for each of the historical business scenario data, the processing unit 502 is specifically configured to:

[0092] Obtain the task priorities corresponding to each of the historical business scenario data; assign multiple synchronization tasks to multiple idle container computing nodes according to the task priorities; and complete the corresponding synchronization tasks based on the corresponding execution flows through the multiple idle container computing nodes.

[0093] In some embodiments, when executing the step of completing the corresponding synchronization task based on the corresponding execution flow by using the plurality of idle container computing nodes, the processing unit 502 is specifically configured to:

[0094] Obtain the current limiting Qps of the third-party system; and complete the corresponding synchronization task based on the corresponding execution flow and the current limiting Qps through multiple idle container computing nodes.

[0095] In some embodiments, the multiple connection flow components include multiple membership connection components, multiple points connection components, multiple product connection components, multiple shopping guide connection components, multiple inventory connection components, multiple order connection components, multiple coupon connection components and multiple stored value connection components.

[0096] To sum up, on the one hand, through the business integration device 500 provided in this embodiment, the merchant fusion cabin can be configured through different connection flow components in the business integration platform, thereby improving the delivery efficiency of the merchant fusion cabin; on the other hand, the merchant can unify the business data between different systems through the fusion cabin provided by this embodiment, which is convenient for the merchant to manage multiple systems.

[0097] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned business integration device and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.

[0098] The above-mentioned service integration device can be implemented in the form of a computer program. The computer program can be Figure 6 Runs on the business integration platform shown.

[0099] See also Figure 6 , Figure 6 It is a schematic block diagram of a business integration platform provided in an embodiment of the present application. The business integration platform is preset with multiple connection flow components, and different connection flow components are used to synchronize different business scenario data in the target system and the third-party system. The business integration platform 600 can be a terminal or a server.

[0100] See also Figure 6 The business integration platform 600 includes a processor 602 , a memory and a network interface 605 connected via a system bus 601 , wherein the memory may include a non-volatile storage medium 603 and an internal memory 604 .

[0101] The non-volatile storage medium 603 may store an operating system 6031 and a computer program 6032. The computer program 6032 includes program instructions, and when the program instructions are executed, the processor 602 may execute a business integration method.

[0102] The processor 602 is used to provide computing and control capabilities to support the operation of the entire business integration platform 600 .

[0103] The internal memory 604 provides an environment for the operation of the computer program 6032 in the non-volatile storage medium 603. When the computer program 6032 is executed by the processor 602, the processor 602 can execute a business integration method.

[0104] The network interface 605 is used to communicate with other devices over the network. Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the business integration platform 600 to which the solution of the present application is applied. The specific business integration platform 600 may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.

[0105] The processor 602 is used to run a computer program 6032 stored in the memory to implement the following steps:

[0106] When it is necessary to configure a connection flow for a target fusion cabin of a target merchant, a connection flow configuration instruction triggered by a user based on a connection flow visualization interface is received, and a plurality of target connection flow components are determined from a plurality of the connection flow components according to the connection flow configuration instruction;

[0107] Display the business rule configuration interface corresponding to each of the target connection flow components;

[0108] Based on each of the business rule configuration interfaces, respectively obtain the rule configuration parameters corresponding to each of the target connection flow components;

[0109] When receiving the activation instruction of the target fusion cabin, each of the target connection flow components is instantiated according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components;

[0110] Acquire historical business data of the target merchant in the target system and the third-party system;

[0111] The merchant data is initialized according to the preset distributed batch processing component and the plurality of execution flows, and the initialization synchronization of the target merchant's business scenario data between the target system and the third-party system is completed.

[0112] It should be understood that in the embodiment of the present application, the processor 602 may be a central processing unit (CPU), and the processor 602 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0113] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0114] Therefore, the present application also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the following steps:

[0115] When it is necessary to configure a connection flow for a target fusion cabin of a target merchant, a connection flow configuration instruction triggered by a user based on a connection flow visualization interface is received, and a plurality of target connection flow components are determined from a plurality of the connection flow components according to the connection flow configuration instruction;

[0116] Display the business rule configuration interface corresponding to each of the target connection flow components;

[0117] Based on each of the business rule configuration interfaces, respectively obtain the rule configuration parameters corresponding to each of the target connection flow components;

[0118] When receiving the activation instruction of the target fusion cabin, each of the target connection flow components is instantiated according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components;

[0119] Acquire historical business data of the target merchant in the target system and the third-party system;

[0120] The merchant data is initialized according to the preset distributed batch processing component and the plurality of execution flows, and the initialization synchronization of the target merchant's business scenario data between the target system and the third-party system is completed.

[0121] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0122] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0123] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0124] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present application can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0125] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a business integration platform (which can be a personal computer, terminal, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application.

[0126] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A business integration method, characterized in that: The method is applied to a business integration platform, wherein a plurality of connection flow components are preset in the business integration platform, and different connection flow components are used to synchronize different business scenario data between the target system and the third-party system. The method includes: When it is necessary to configure a connection flow for a target fusion cabin of a target merchant, a connection flow configuration instruction triggered by a user based on a connection flow visualization interface is received, and a plurality of target connection flow components are determined from a plurality of the connection flow components according to the connection flow configuration instruction; Display the business rule configuration interface corresponding to each of the target connection flow components; Based on each of the business rule configuration interfaces, respectively obtain the rule configuration parameters corresponding to each of the target connection flow components; When receiving the activation instruction of the target fusion cabin, each of the target connection flow components is instantiated according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components; Acquire historical business data of the target merchant in the target system and the third-party system; Performing merchant data initialization processing on the merchant's historical business data according to a preset distributed batch processing component and a plurality of the execution flows, and completing initialization synchronization of the target merchant's business scenario data between the target system and the third-party system; The instantiation of each target connection flow component according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each target connection flow component includes: For each of the target connection flow components, query the virtual routing mapping table according to the target hash value corresponding to the target connection flow component, the target hash value is obtained by performing hash processing according to the target connection flow component and the corresponding rule configuration parameters; When the virtual route identifier corresponding to the target hash value does not exist in the virtual route mapping table, instantiating the target connection flow component in the memory according to the corresponding rule configuration parameters to obtain the corresponding execution flow; Adding a mapping relationship between the target hash value and the target virtual routing identifier in the virtual routing mapping table, wherein the target virtual routing identifier is used to direct the traffic of the business scenario data corresponding to the target merchant and the target connection flow component to the corresponding execution flow; The multiple connection flow components include multiple member-pass connection components, multiple points-pass connection components, multiple product-pass connection components, multiple shopping-guide-pass connection components, multiple inventory-pass connection components, multiple order-pass connection components, multiple coupon-pass connection components, and multiple stored-value-pass connection components.

2. The method according to claim 1, characterized in that Before instantiating each of the target connection flow components according to the corresponding rule configuration parameters to obtain the execution flows corresponding to each of the target connection flow components, the method further includes: receiving a debugging instruction of the target fusion capsule; In response to the debugging instruction, generating a connection flow debugging request according to the plurality of target connection flow components and rule configuration parameters respectively corresponding to each of the target connection flow components; Sending the connection flow debugging request to a local application service instance or a cloud application service instance; Receiving a debugging result returned by the local application service instance or the cloud application service instance; The instantiating each of the target connection flow components according to the corresponding rule configuration parameters to obtain the execution flows corresponding to each of the target connection flow components respectively includes: When the debugging result is that the debugging is passed, each of the target connection flow components is instantiated according to the corresponding rule configuration parameters to obtain the execution flows corresponding to each of the target connection flow components.

3. The method according to claim 1, characterized in that: The merchant historical business data includes historical business scenario data corresponding to each of the execution flows; the merchant data initialization processing is performed on the merchant historical business data according to the preset distributed batch processing component and the plurality of the execution flows, including: Determine the task splitting strategies corresponding to each of the historical business scenario data; Splitting each of the historical business scenario data into multiple synchronization tasks according to the corresponding task splitting strategy; For each of the historical business scenario data, distributed synchronization processing is performed on the corresponding multiple synchronization tasks based on the corresponding execution flow.

4. The method according to claim 3, characterized in that: The distributed synchronization processing of the corresponding plurality of synchronization tasks based on the corresponding execution flow for each of the historical business scenario data includes: Obtaining the task priorities corresponding to each of the historical business scenario data; Allocating the plurality of synchronization tasks to a plurality of idle container computing nodes according to the task priorities; The corresponding synchronization tasks are completed based on the corresponding execution flows by using the plurality of idle container computing nodes.

5. The method according to claim 4, characterized in that The completing the corresponding synchronization task based on the corresponding execution flow by using the plurality of idle container computing nodes includes: Obtain the current limiting Qps of the third-party system; The corresponding synchronization task is completed by using a plurality of the idle container computing nodes based on the corresponding execution flow and the current limiting Qps.

6. A business integration device, characterized in that: The business integration device is deployed in a business integration platform. The business integration platform is preset with multiple connection flow components. Different connection flow components are used to synchronize different business scenario data between the target system and the third-party system. The business integration device includes: A transceiver unit, used for receiving a connection flow configuration instruction triggered by a user based on a connection flow visualization interface when a connection flow configuration is required for a target fusion cabin of a target merchant; A processing unit, configured to determine a plurality of target connection flow components from the plurality of connection flow components according to the connection flow configuration instruction; display a business rule configuration interface corresponding to each of the target connection flow components; obtain a rule configuration parameter corresponding to each of the target connection flow components based on each of the business rule configuration interfaces; and when receiving an activation instruction for the target fusion cabin, instantiate each of the target connection flow components according to the corresponding rule configuration parameters to obtain an execution flow corresponding to each of the target connection flow components; The transceiver unit is further used to obtain the merchant historical business data of the target merchant in the target system and the third-party system; The processing unit is further used to perform merchant data initialization processing on the merchant historical business data according to the preset distributed batch processing component and the plurality of execution flows, and complete the initialization synchronization of the target merchant's business scenario data between the target system and the third-party system; Wherein, when the processing unit executes the step of instantiating each of the target connection flow components according to the corresponding rule configuration parameters to obtain the execution flow corresponding to each of the target connection flow components, it is specifically used to: For each of the target connection flow components, query the virtual routing mapping table according to the target hash value corresponding to the target connection flow component, the target hash value is obtained by performing hash processing according to the target connection flow component and the corresponding rule configuration parameters; When the virtual route identifier corresponding to the target hash value does not exist in the virtual route mapping table, instantiating the target connection flow component in the memory according to the corresponding rule configuration parameters to obtain the corresponding execution flow; Adding a mapping relationship between the target hash value and the target virtual routing identifier in the virtual routing mapping table, wherein the target virtual routing identifier is used to direct the traffic of the business scenario data corresponding to the target merchant and the target connection flow component to the corresponding execution flow; The multiple connection flow components include multiple member-pass connection components, multiple points-pass connection components, multiple product-pass connection components, multiple shopping-guide-pass connection components, multiple inventory-pass connection components, multiple order-pass connection components, multiple coupon-pass connection components, and multiple stored-value-pass connection components.

7. A business integration platform, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The business integration platform is preset with multiple connection flow components, and different connection flow components are used to synchronize different business scenario data between the target system and the third-party system. When the processor executes the computer program, it implements the business integration method as described in any one of claims 1-5.

8. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the business integration method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Third-party logistics parameter configuration method and device, equipment and medium

    CN117608678A

  • Data synchronization method based on distributed scheduling, electronic equipment and storage medium

    CN119046376A