Business service-based target system docking method and device
By analyzing the configuration management information of the docking system in the business processing system, using page configuration and data pre-embedding methods, data docking with the target system and business request flow are achieved, and the solution is to frequently customize the docking of the business system and the three-party system in the existing technology. Development issues reduce costs and improve efficiency.
Patent Information
- Application Number
- CN202411491824.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, data interaction and operation flow push between the business processing system and the tripartite system or other business systems require frequent customized development, resulting in high cost of repeated development and maintenance, high developer capability requirements, and low business processing efficiency.
By analyzing the docking system configuration management information in the business processing system, using page configuration and data embedding, data docking with the target system and the flow and execution of business requests is achieved without the need to develop the call interface of the target system multiple times.
It saves development and maintenance costs, reduces the ability requirements for developers, and improves business processing efficiency.
Smart Images

Figure CN119398922A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology and can be used in the field of financial technology, and in particular to a target system docking method and device based on business services. Background Art
[0002] At present, business processing systems generally need to connect to third-party systems or other local business systems for data interaction and operation flow push. This type of demand generally requires both parties to provide interface standards and connect according to the requirements of the interface provider. In related technologies, customized development is mainly carried out multiple times based on the data requirements of third-party systems. Because the requirements for data formats, naming specifications, data timeliness, etc. of self-built third-party systems in different regions are different, repeated development costs and maintenance costs are high, and the ability requirements for developers are high, resulting in low business processing efficiency.
[0003] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No description herein is admitted to be prior art by inclusion in this section. Summary of the invention
[0004] The embodiment of the present invention provides a target system docking method based on business services, which realizes data docking with the target system and flow execution of target business requests by analyzing docking system configuration management information in a business processing system and adopting page configuration and data pre-embedding. It is unnecessary to develop the calling interface of the target system multiple times, thus saving development costs and maintenance costs, reducing the ability requirements for developers, and further improving business processing efficiency. The method includes:
[0005] Obtain current transaction services and historical connection data in the business processing system. Transaction services include transaction service information.
[0006] Conditionally associate the current transaction service with the historical docking data to generate docking system configuration management information, which includes the mutually associated target docking system trigger conditions, the current transaction service, and the docking system configuration information;
[0007] Perform service scans on pending businesses in the business processing system and determine whether the pending businesses trigger system docking based on current transaction services;
[0008] If the system connection is triggered, the business request to be executed is assembled according to the trigger conditions of the target connection system and the connection system configuration information to generate the target business request;
[0009] The target service request is sent to the target docking system so that the target docking system executes the target service request.
[0010] Preferably, obtaining current transaction services and historical connection data in the business processing system includes:
[0011] Scan the transaction service registration table in the business processing system to obtain the current registered transaction services;
[0012] Get historical transaction data from database logs;
[0013] Extract historical docking data from historical transaction data.
[0014] Preferably, conditionally associating the current transaction service with the historical docking data to generate docking system configuration management information includes:
[0015] According to the preset docking fields, extract information from historical docking data and generate docking system configuration information;
[0016] According to the transaction service information, configure the trigger conditions for the current transaction service and generate the trigger conditions for the target docking system;
[0017] The target docking system trigger conditions, current transaction services and docking system configuration information are associated to generate docking system configuration management information.
[0018] Preferably, according to the transaction service information, the trigger condition configuration is performed on the current transaction service to generate the target docking system trigger condition, including:
[0019] According to the transaction service information, current transaction services are clustered to obtain multiple categories of current transaction services;
[0020] According to the preset category aspect mapping relationship, the preset conditional dynamic aspects are woven into different categories of current transaction services to generate target system docking trigger conditions corresponding to different current transaction services.
[0021] Preferably, the docking field includes a docking system field and a docking service field;
[0022] According to the preset docking fields, extract information from historical docking data and generate docking system configuration information, including:
[0023] According to the docking system field, the docking system information is extracted from the historical docking data;
[0024] Extracting docking service information from historical docking data according to the docking service field;
[0025] The docking system information and the docking service information are associated to generate the docking system configuration information.
[0026] Preferably, a service scan is performed on the pending business in the business processing system, and based on the current transaction service, it is determined whether the pending business triggers system docking, including:
[0027] Get the service name of the transaction service called by the business to be executed;
[0028] Query the corresponding service category according to the service name;
[0029] Match the queried service category with the service category of the current transaction service;
[0030] If the match is successful, the business to be executed is determined to trigger the system connection;
[0031] If the matching fails, it is determined that the business to be executed has not triggered system docking.
[0032] Preferably, the docking system configuration information includes docking system information, and the docking system information includes docking system main body information and docking system interface information;
[0033] According to the trigger conditions of the target docking system and the docking system configuration information, the business request to be executed is assembled to generate the target business request, including:
[0034] Through the trigger conditions of the target docking system, the corresponding docking system configuration information is matched according to the transaction service called by the business to be executed;
[0035] Query the corresponding docking system main body information and docking system interface information from the docking system configuration information;
[0036] According to the docking system main body information and docking system interface information, the business request message is assembled according to the business to be executed to generate the target business request.
[0037] Preferably, sending the target service request to the target docking system includes:
[0038] According to the docking system interface information corresponding to the target service request, the target docking system interface indicated by the docking system interface information is called, and the target service request is sent to the target docking system.
[0039] Preferably, it also includes:
[0040] In response to a request failure message sent by the target docking system, determining whether the current number of failed retries has reached a preset retries threshold;
[0041] If so, a target system connection failure message is generated;
[0042] If not, re-execute the step according to the docking system interface information corresponding to the target business request, call the target docking system interface indicated by the docking system interface information, send the target business request to the target docking system, and increase the number of failed retries by 1.
[0043] The embodiment of the present invention further provides a target system docking device based on business services, the device comprising:
[0044] An acquisition unit, used to acquire current transaction services and historical connection data in the business processing system, wherein the transaction services include transaction service information;
[0045] A condition association unit, used to conditionally associate the current transaction service with the historical docking data, and generate docking system configuration management information, wherein the docking system configuration management information includes mutually associated target docking system trigger conditions, current transaction service and docking system configuration information;
[0046] A service scanning unit is used to scan the pending services in the business processing system and determine whether the pending services trigger system docking based on the current transaction services;
[0047] A request assembly unit is used to assemble the business request for the business to be executed according to the trigger condition of the target docking system and the docking system configuration information to generate a target business request if the system docking is triggered;
[0048] The system docking unit is used to send the target service request to the target docking system so that the target docking system executes the target service request.
[0049] An embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned target system docking method based on business services when executing the computer program.
[0050] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the target system docking method based on business services is implemented.
[0051] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the target system docking method based on business services is implemented.
[0052] The target system docking method and device based on business services provided by the embodiment of the present invention obtain the current transaction service and historical docking data in the business processing system, and the transaction service includes transaction service information; conditionally associate the current transaction service and the historical docking data to generate docking system configuration management information, and the docking system configuration management information includes the mutually associated target docking system triggering conditions, the current transaction service and the docking system configuration information; perform service scanning on the pending business in the business processing system, and judge whether the pending business triggers system docking based on the current transaction service; if the system docking is triggered, assemble the business request for the pending business according to the target docking system triggering conditions and the docking system configuration information to generate a target business request; send the target business request to the target docking system for the target docking system to execute the target business request, and by analyzing the docking system configuration management information in the business processing system, adopt the form of page configuration and data pre-embedding to realize data docking with the target system and the flow execution of the target business request, without the need to develop the calling interface of the target system multiple times, saving development cost and maintenance cost, reducing the ability requirements for developers, and further improving business processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0054] Figure 1 A flow chart of a target system docking method based on business services provided by an embodiment of the present invention;
[0055] Figure 2 A flowchart of another target system docking method based on business services provided by an embodiment of the present invention;
[0056] Figure 3 A schematic diagram of the structure of a target system docking device based on business services provided by an embodiment of the present invention;
[0057] Figure 4 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0058] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0059] The information collected in the technical solution of this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0060] The acquisition, transmission, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0061] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0062] It is worth noting that the technical solution provided in this application provides users with corresponding operation entrances for them to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.
[0063] In order to facilitate the understanding of the technical solution provided by the present application, the relevant contents of the technical solution of the present application are first described below. With the development of information technology, enterprises or organizations are increasingly relying on the integration between different software systems to improve business efficiency. However, the integration between different systems usually requires a lot of customized development work, which is not only time-consuming and resource-intensive, but also often difficult to maintain. The present invention aims to solve the problem of a large amount of development work required for the integration of third-party systems in the prior art. By using the page configuration method, non-technical personnel can also perform system integration settings, thereby greatly reducing the need for professional developers to intervene. For docking system configuration management information, it can be generated by pre-embedded data, that is, it allows the necessary information points to be pre-set at the data level so that it can be quickly docked with the third-party system when needed, reducing the complexity of data synchronization; it can also be generated by conditionally associating the current transaction service and historical docking data. The present invention can also dynamically set interception, providing a mechanism to monitor and control data flow in real time, ensuring that only authorized data can be transmitted through the interface, and improving data security and system stability. The present invention allows users to set periodic tasks and automatically perform certain operations, such as regularly pulling updates from third-party systems or pushing data to other platforms, which can further reduce the need for manual operations. The above technical solutions can significantly simplify the process of third-party system integration and reduce maintenance costs. At the same time, such a design can better adapt to changing business needs and improve overall flexibility and scalability.
[0064] The following takes the target system docking device based on business services as an example of the execution subject to illustrate the implementation process of the target system docking method based on business services provided by the embodiment of the present invention. It can be understood that the execution subject of the target system docking method based on business services provided by the embodiment of the present invention includes but is not limited to the target system docking device based on business services.
[0065] Figure 1 A flow chart of a target system docking method based on business services provided by an embodiment of the present invention, such as Figure 1 As shown, the method includes:
[0066] Step 101: Obtain current transaction services and historical connection data in the business processing system, where the transaction services include transaction service information.
[0067] Step 102: Conditionally associate the current transaction service with the historical docking data to generate docking system configuration management information, which includes mutually associated target docking system trigger conditions, current transaction service, and docking system configuration information.
[0068] In the embodiment of the present invention, by obtaining the current transaction service and historical docking data in the business processing system and conditionally associating these data, the mutually associated target docking system trigger conditions, current transaction service and docking system configuration information are generated. This method can not only reflect the changes in business needs in real time, but also ensure the accuracy and timeliness of the docking configuration.
[0069] Step 103: Perform a service scan on the pending business in the business processing system, and determine whether the pending business triggers system docking based on the current transaction service.
[0070] In the embodiment of the present invention, a service scan is performed on the pending services in the service processing system, and whether to trigger system docking is determined based on the docking system configuration management information. This intelligent decision-making mechanism can automatically identify the services that need to be docked, reduce the need for manual intervention, and improve the efficiency and accuracy of business processing.
[0071] Step 104: If the system docking is triggered, the business request to be executed is assembled according to the triggering condition of the target docking system and the docking system configuration information to generate a target business request.
[0072] In the embodiment of the present invention, once it is determined that the system docking needs to be triggered, the system will automatically assemble the service request according to the target docking system triggering conditions and docking system configuration information to generate the target service request. This method not only simplifies the request construction process, but also ensures the correctness and integrity of the request.
[0073] Step 105: Send the target service request to the target docking system so that the target docking system executes the target service request.
[0074] In the technical solution provided by the embodiment of the present invention, the current transaction service and historical docking data in the business processing system are obtained, and the transaction service includes transaction service information; the current transaction service and the historical docking data are conditionally associated to generate docking system configuration management information, and the docking system configuration management information includes mutually associated target docking system trigger conditions, current transaction services and docking system configuration information; service scanning is performed on the pending business in the business processing system, and based on the current transaction service, it is determined whether the pending business triggers system docking; if system docking is triggered, the business request for the pending business is assembled according to the target docking system trigger conditions and the docking system configuration information to generate a target business request; the target business request is sent to the target docking system for the target docking system to execute the target business request, and by analyzing the docking system configuration management information in the business processing system, page configuration and data pre-embedding are adopted to realize data docking with the target system and the flow execution of the target business request, without the need to develop the calling interface of the target system multiple times, saving development cost and maintenance cost, reducing the ability requirements for developers, and further improving business processing efficiency.
[0075] Figure 2 A flowchart of another target system docking method based on business services provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the method includes:
[0076] Step 201: Scan the transaction service registration table in the business processing system to obtain the currently registered transaction services.
[0077] In the embodiment of the present invention, each step is executed by a target system docking device based on business services.
[0078] In the embodiment of the present invention, the transaction service includes transaction service information. Specifically, the transaction service registration table in the business processing system is scanned by a scanning tool to obtain the registered current transaction service. The transaction service registration table includes the registered current transaction service and the transaction service information corresponding to each transaction service. The transaction service information includes but is not limited to the service name and service content.
[0079] Step 202: Obtain historical transaction data from the database log.
[0080] In the embodiment of the present invention, the log of the database stores the full amount of historical transaction data. As an optional solution, the historical transaction data within a specified time period can be obtained. It is worth noting that the specified time period can be set according to actual needs, and the embodiment of the present invention does not limit this.
[0081] Step 203: extract historical connection data from historical transaction data.
[0082] In the embodiment of the present invention, historical transaction data includes but is not limited to historical docking data and historical transaction content, and historical docking data includes historical docking system information and historical transaction service information. Among them, historical docking system information is used to describe the main information of the docking system, and historical transaction service information is used to describe the service information called by the docking system.
[0083] Step 204: extract information from historical docking data according to preset docking fields to generate docking system configuration information.
[0084] In the embodiment of the present invention, the docking field includes a docking system field and a docking service field. It is worth noting that the docking system field and the docking service field are pre-set, and the specific field content is not limited in the embodiment of the present invention.
[0085] In the embodiment of the present invention, step 204 specifically includes:
[0086] Step 2041: extract the docking system information from the historical docking data according to the docking system field.
[0087] Specifically, according to the docking system field, matching is performed with the field recorded in the historical docking system information in the historical docking data, and the docking system information corresponding to the docking system field is extracted.
[0088] Step 2042: extract the docking service information from the historical docking data according to the docking service field.
[0089] Specifically, according to the docking service field, the field recorded in the historical docking service information in the historical docking data is matched to extract the docking service information corresponding to the docking service field. The docking service information includes but is not limited to the service name and service content.
[0090] Step 2043: associate the docking system information and the docking service information to generate docking system configuration information.
[0091] Specifically, the docking system information and the docking service information extracted from the same piece of historical docking data are associated to generate the docking system configuration information.
[0092] Step 205: Configure trigger conditions for the current transaction service according to the transaction service information, and generate trigger conditions for the target docking system.
[0093] In the embodiment of the present invention, step 205 specifically includes:
[0094] Step 2051: cluster the current transaction services according to the transaction service information to obtain multiple categories of current transaction services.
[0095] In the embodiment of the present invention, the transaction service information includes a service name and service content. Specifically, according to the service name, the current transaction services are clustered to generate multiple categories of current transaction services.
[0096] Step 2052: according to the preset category aspect mapping relationship, the preset conditional dynamic aspect is woven into the current transaction services of different categories to generate target system docking trigger conditions corresponding to the different current transaction services.
[0097] In the embodiment of the present invention, the category-aspect mapping relationship is the corresponding relationship between the service category and the conditional dynamic aspect. It is worth noting that the category-aspect mapping relationship can be set according to actual needs, and the embodiment of the present invention does not limit this.
[0098] As an optional solution, the conditional dynamic aspect corresponding to the front-end access service category is the front-end service aspect, then the front-end service aspect is woven into the current transaction service of the front-end access service category to obtain the trigger condition for the target system connection of the front-end service. For example: a certain building review matter needs to be entrusted to a local review agency for acceptance. When the "on-site inspection" is passed, before the formal inspection is initiated, the review agency must be connected and notified to conduct the review.
[0099] As another optional solution, the conditional dynamic aspect corresponding to the post-access service category is the post-access service aspect, and the post-access service aspect is woven into the current transaction service of the post-access service category to obtain the target system docking trigger condition of the post-access service.
[0100] Furthermore, you can also set the trigger conditions for target system docking through scheduled push or equal-value push. Scheduled push can set the push cycle or push time for the current transaction service, so that the system can automatically initiate the target system docking according to the push cycle and push time; equal-value push usually refers to maintaining data consistency between two or more systems. When the data of one party changes, these changes are synchronized to the other party or other parties to ensure that the data in all related systems is the same or equivalent. For example: For the review of the construction of a private basement, tax information needs to be pushed to the local tax bureau after approval.
[0101] Step 206: Associating the target docking system triggering condition, the current transaction service and the docking system configuration information to generate docking system configuration management information.
[0102] In the embodiment of the present invention, the docking system configuration management information includes the mutually related target docking system trigger conditions, the current transaction service and the docking system configuration information; the docking system configuration information includes the docking system information and the docking service information; the docking system information includes the docking system subject information and the docking system interface information. The docking system configuration management information can not only reflect the changes in business requirements in real time, but also ensure the accuracy and timeliness of the docking configuration.
[0103] As another optional solution, developers can manually maintain the docking system configuration management information. The backend server receives the docking system configuration management information entered by the developer in the form of page configuration, and splices the docking system configuration management information with the developer number, organization information, operation time and other flow information, stores the spliced information in the database and returns it to the front-end interface successfully.
[0104] It is worth mentioning that developers can use preset data templates to batch import docking system configuration management information for maintenance, thereby improving maintenance efficiency.
[0105] Step 207: Obtain the service name of the transaction service called by the business to be executed.
[0106] In the embodiment of the present invention, the transaction service called by the business to be executed is obtained, and the service name of the called transaction service is extracted for subsequent automatic system access.
[0107] Step 208: Query the corresponding service category according to the service name.
[0108] In the embodiment of the present invention, a clustering algorithm is used to match the service name with the preset service category to determine the corresponding service category.
[0109] Step 209 , matching the queried service category with the service category of the current transaction service, if the match is successful, executing step 210 ; if the match fails, executing step 211 .
[0110] In the embodiment of the present invention, the queried service category is matched with the service category of the current transaction service in the docking system configuration management information. If the match is successful, it indicates that the target system that the called transaction service needs to dock can automatically access the system, and step 210 is continued; if the match fails, it indicates that the target system that the called transaction service needs to dock cannot automatically access the system, and step 211 is continued.
[0111] Step 210 : Determine the business to be executed to trigger the system connection, and then proceed to step 212 .
[0112] In the embodiment of the present invention, if the called transaction service needs to be connected to a target system, the system can be automatically connected to trigger the system connection, and step 212 is continued.
[0113] Step 211: Determine that the pending business does not trigger system docking, and the process ends.
[0114] In the embodiment of the present invention, if the target system to which the called transaction service needs to be connected cannot automatically access the system, the system can be connected by manually setting the connection information or other connection methods, and the process ends.
[0115] Step 212: Match the corresponding docking system configuration information according to the target docking system trigger condition and the transaction service called by the business to be executed.
[0116] In an embodiment of the present invention, it is determined whether the business to be executed meets the target docking system trigger conditions in the docking system configuration management information. If so, the corresponding docking system configuration information is matched; if not, the step of determining whether the business to be executed meets the target docking system trigger conditions in the docking system configuration management information is repeated until the target docking system trigger conditions are met.
[0117] Step 213: Query the corresponding docking system main body information and docking system interface information from the docking system configuration information.
[0118] In an embodiment of the present invention, the docking system main information includes but is not limited to the target system name, interface uniform resource locator (URL), message field information and request method; the docking system interface information includes but is not limited to the interface name, interface parameter information and data type, the data type includes business flow type and data statistics type; the message field information includes but is not limited to the original name of the field, the Chinese name of the field, and the attribute field in the docking target system.
[0119] Step 214: assemble the service request message according to the docking system main body information and the docking system interface information and the service to be executed to generate a target service request.
[0120] In the embodiment of the present invention, according to the message field information in the docking system main information and the interface parameter information and data type in the docking system interface information, the message is assembled according to the request content of the service to be executed to generate a target service request.
[0121] Step 215: according to the docking system interface information corresponding to the target service request, call the target docking system interface indicated by the docking system interface information, and send the target service request to the target docking system so that the target docking system executes the target service request.
[0122] In an embodiment of the present invention, the target docking system interface is determined according to the interface name, interface parameter information, data type and interface URL; the target docking system interface is called, and the target business request is sent to the target docking system so that the target docking system executes the target business request.
[0123] Step 216: In response to the request failure message sent by the target docking system, determine whether the current number of failed retries has reached a preset retries threshold. If so, execute step 217; if not, execute step 215.
[0124] In the embodiment of the present invention, the number of failed retries is a preset counter, and the initial value can be set to 0; the threshold of the number of retries can be set according to actual conditions, and the embodiment of the present invention does not limit this. As an optional solution, the threshold of the number of retries is 3.
[0125] In an embodiment of the present invention, a response message sent by the target docking system is received, and whether the interaction is successful is determined based on the request success flag configured in the response message; in response to the request failure message sent by the target docking system, it is determined whether the current number of failed retries has reached a preset retries threshold; if so, it indicates that the number of failed retries has reached the maximum retries threshold, and step 217 is continued; if not, it indicates that the number of failed retries has not reached the maximum retries threshold, and step 215 is continued.
[0126] Furthermore, the number of failed retries is incremented by 1 to generate a current number of failed retries after the increment. For the same target service request, the current number of failed retries after the increment is used for subsequent calculations.
[0127] It is worth noting that after the current target service request is processed, the counter of the number of failed retries is restored to its initial value.
[0128] Furthermore, in response to the request failure message sent by the target docking system, the request information and the failure reason are recorded, and an interaction failure record is generated to facilitate subsequent operation and maintenance personnel to view.
[0129] Further, in response to a request success message sent by the target docking system, it indicates that the target service request has been successfully sent to the target docking system, and the process ends.
[0130] Step 217: Generate a target system connection failure message.
[0131] In the embodiment of the present invention, the request information and failure reason of the target service request are recorded, and an interaction failure record is generated to facilitate subsequent operation and maintenance personnel to view.
[0132] In the scheme of the embodiment of the present invention, the current transaction service and historical docking data in the business processing system are obtained, and the transaction service includes transaction service information; the current transaction service and the historical docking data are conditionally associated to generate docking system configuration management information, and the docking system configuration management information includes mutually associated target docking system trigger conditions, current transaction services and docking system configuration information; a service scan is performed on the pending business in the business processing system, and based on the current transaction service, it is determined whether the pending business triggers system docking; if system docking is triggered, the business request for the pending business is assembled according to the target docking system trigger conditions and the docking system configuration information to generate a target business request; the target business request is sent to the target docking system for the target docking system to execute the target business request, and by analyzing the docking system configuration management information in the business processing system, page configuration and data pre-embedding are adopted to realize data docking with the target system and the flow execution of the target business request, without the need to develop the calling interface of the target system multiple times, saving development cost and maintenance cost, reducing the ability requirements for developers, and further improving business processing efficiency.
[0133] The present invention also provides a target system docking device based on business services, as described in the following embodiments. Since the principle of solving the problem by the device is similar to that of the target system docking method based on business services, the implementation of the device can refer to the implementation of the target system docking method based on business services.
[0134] Figure 3 A schematic diagram of the structure of a target system docking device based on business services provided by an embodiment of the present invention, the device is used to execute the target system docking method based on business services, such as Figure 3 As shown, the device includes: an acquisition unit 11, a condition association unit 12, a service scanning unit 13, a request assembly unit 14, and a system docking unit 15.
[0135] The acquisition unit 11 is used to acquire current transaction services and historical connection data in the business processing system, and the transaction services include transaction service information.
[0136] The condition association unit 12 is used to conditionally associate the current transaction service with the historical docking data to generate docking system configuration management information, which includes the mutually associated target docking system trigger conditions, the current transaction service and the docking system configuration information.
[0137] The service scanning unit 13 is used to perform service scanning on the pending services in the business processing system, and determine whether the pending services trigger system docking based on the current transaction services.
[0138] The request assembling unit 14 is used to assemble the service request for the service to be executed according to the triggering condition of the target docking system and the docking system configuration information to generate a target service request when the system docking is triggered.
[0139] The system docking unit 15 is used to send the target service request to the target docking system so that the target docking system executes the target service request.
[0140] In the embodiment of the present invention, the acquisition unit 11 is specifically used to scan the transaction service registration table in the business processing system to obtain the registered current transaction service; obtain the historical transaction data from the database log; and extract the historical connection data from the historical transaction data.
[0141] In an embodiment of the present invention, the condition association unit 12 is specifically used to extract information from historical docking data according to preset docking fields to generate docking system configuration information; configure trigger conditions for the current transaction service according to transaction service information to generate target docking system trigger conditions; associate the target docking system trigger conditions, the current transaction service and the docking system configuration information to generate docking system configuration management information.
[0142] In an embodiment of the present invention, the condition association unit 12 is specifically used to cluster the current transaction services according to the transaction service information to obtain multiple categories of current transaction services; according to the preset category aspect mapping relationship, the pre-set conditional dynamic aspects are woven into the current transaction services of different categories to generate target system docking trigger conditions corresponding to different current transaction services.
[0143] In an embodiment of the present invention, the docking field includes a docking system field and a docking service field; the conditional association unit 12 is specifically used to extract the docking system information from the historical docking data according to the docking system field; extract the docking service information from the historical docking data according to the docking service field; associate the docking system information with the docking service information to generate the docking system configuration information.
[0144] In an embodiment of the present invention, the service scanning unit 13 is specifically used to obtain the service name of the transaction service called by the business to be executed; query the corresponding service category according to the service name; match the queried service category with the service category of the current transaction service; if the match is successful, it is determined that the business to be executed triggers system docking; if the match fails, it is determined that the business to be executed does not trigger system docking.
[0145] In an embodiment of the present invention, the docking system configuration information includes the docking system information, and the docking system information includes the docking system main information and the docking system interface information; the request assembly unit 14 is specifically used to match the corresponding docking system configuration information according to the transaction service called by the business to be executed through the target docking system trigger condition; query the corresponding docking system main information and the docking system interface information from the docking system configuration information; assemble the business request message according to the business to be executed according to the docking system main information and the docking system interface information, and generate a target business request.
[0146] In the embodiment of the present invention, the system docking unit 15 is specifically configured to call the target docking system interface indicated by the docking system interface information according to the docking system interface information corresponding to the target service request, and send the target service request to the target docking system.
[0147] In the embodiment of the present invention, the device further includes: a judgment unit 16 , a message generation unit 17 and an accumulation unit 18 .
[0148] The determination unit 16 is configured to determine, in response to a request failure message sent by the target docking system, whether the current number of failed re-push times reaches a preset re-push times threshold.
[0149] The message generating unit 17 is used to generate a target system connection failure message if yes.
[0150] The accumulation unit 18 is used to trigger the system docking unit 15 to re-execute the docking system interface information corresponding to the target business request, call the target docking system interface indicated by the docking system interface information, send the target business request to the target docking system, and add 1 to the number of failed retries.
[0151] In the scheme of the embodiment of the present invention, the current transaction service and historical docking data in the business processing system are obtained, and the transaction service includes transaction service information; the current transaction service and the historical docking data are conditionally associated to generate docking system configuration management information, and the docking system configuration management information includes mutually associated target docking system trigger conditions, current transaction services and docking system configuration information; a service scan is performed on the pending business in the business processing system, and based on the current transaction service, it is determined whether the pending business triggers system docking; if system docking is triggered, the business request for the pending business is assembled according to the target docking system trigger conditions and the docking system configuration information to generate a target business request; the target business request is sent to the target docking system for the target docking system to execute the target business request, and by analyzing the docking system configuration management information in the business processing system, page configuration and data pre-embedding are adopted to realize data docking with the target system and the flow execution of the target business request, without the need to develop the calling interface of the target system multiple times, saving development cost and maintenance cost, reducing the ability requirements for developers, and further improving business processing efficiency.
[0152] It should be noted that the target system docking method based on business services provided in the embodiment of the present invention can be used in the field of financial technology, and can also be used in any technical field other than the field of financial technology. The embodiment of the present invention does not limit the application field of the virtual reality-based bank training system and its training method.
[0153] Figure 4 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention, such as Figure 4 As shown, the electronic device includes: a processor (processor) 501, a memory (memory) 502 and a bus 503.
[0154] The processor 501 and the memory 502 communicate with each other via a bus 503 .
[0155] The processor 501 is used to call the program instructions in the memory 502 to execute the methods provided by the above method embodiments.
[0156] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the target system docking method based on business services is implemented.
[0157] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the target system docking method based on business services is implemented.
[0158] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0159] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0160] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0161] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0162] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A target system docking method based on business services, characterized in that: include: Obtaining current transaction services and historical connection data in the business processing system, wherein the transaction services include transaction service information; Conditionally associating the current transaction service with the historical docking data to generate docking system configuration management information, the docking system configuration management information including mutually associated target docking system trigger conditions, current transaction service, and docking system configuration information; Performing a service scan on the pending business in the business processing system, and judging whether the pending business triggers system docking based on the current transaction service; If the system docking is triggered, assembling the business request for the business to be executed according to the triggering condition of the target docking system and the docking system configuration information to generate a target business request; The target service request is sent to a target docking system so that the target docking system executes the target service request.
2. The target system docking method based on business services according to claim 1 is characterized in that: The obtaining of current transaction services and historical connection data in the business processing system includes: Scanning the transaction service registration table in the business processing system to obtain the registered current transaction service; Get historical transaction data from database logs; The historical connection data is extracted from the historical transaction data.
3. The target system docking method based on business services according to claim 1 is characterized in that: The conditionally associating the current transaction service with the historical docking data to generate docking system configuration management information includes: Extracting information from the historical docking data according to the preset docking fields to generate docking system configuration information; According to the transaction service information, trigger conditions are configured for the current transaction service to generate trigger conditions for the target docking system; The target docking system trigger condition, the current transaction service and the docking system configuration information are associated to generate the docking system configuration management information.
4. The target system docking method based on business services according to claim 3 is characterized in that: The configuring trigger conditions for the current transaction service according to the transaction service information to generate a target docking system trigger condition includes: Clustering the current transaction services according to the transaction service information to obtain multiple categories of current transaction services; According to the preset category aspect mapping relationship, the preset conditional dynamic aspects are woven into different categories of current transaction services to generate target system docking trigger conditions corresponding to different current transaction services.
5. The target system docking method based on business services according to claim 3 is characterized in that: The docking field includes a docking system field and a docking service field; The extracting information from the historical docking data according to the preset docking field to generate docking system configuration information includes: According to the docking system field, extracting docking system information from the historical docking data; extracting docking service information from the historical docking data according to the docking service field; The docking system information and the docking service information are associated to generate the docking system configuration information.
6. The target system docking method based on business services according to claim 1 is characterized in that: The performing of service scanning on the pending business in the business processing system and judging whether the pending business triggers system docking based on the current transaction service includes: Obtain the service name of the transaction service called by the business to be executed; Query the corresponding service category according to the service name; Matching the queried service category with the service category of the current transaction service; If the match is successful, determining the business to be executed triggers the system connection; If the matching fails, it is determined that the to-be-executed service has not triggered system docking.
7. The target system docking method based on business services according to claim 1 is characterized in that: The docking system configuration information includes docking system information, and the docking system information includes docking system main body information and docking system interface information; The step of assembling the service request for the service to be executed according to the trigger condition of the target docking system and the docking system configuration information to generate a target service request includes: Through the trigger condition of the target docking system, the corresponding docking system configuration information is matched according to the transaction service called by the business to be executed; Querying corresponding docking system subject information and docking system interface information from the docking system configuration information; According to the docking system main body information and the docking system interface information, the service request message is assembled according to the to-be-executed service to generate the target service request.
8. The target system docking method based on business services according to claim 1 is characterized in that: The sending the target service request to the target docking system includes: According to the docking system interface information corresponding to the target service request, the target docking system interface indicated by the docking system interface information is called, and the target service request is sent to the target docking system.
9. The target system docking method based on business services according to claim 8 is characterized in that: Also includes: In response to the request failure message sent by the target docking system, determining whether the current number of failed retries has reached a preset retries threshold; If so, a target system connection failure message is generated; If not, re-execute the step of calling the target docking system interface indicated by the docking system interface information according to the target business request, sending the target business request to the target docking system, and adding 1 to the number of failed retries.
10. A target system docking device based on business services, characterized in that: include: An acquisition unit, used to acquire current transaction services and historical connection data in the business processing system, wherein the transaction services include transaction service information; A condition association unit, used to conditionally associate the current transaction service with the historical docking data to generate docking system configuration management information, wherein the docking system configuration management information includes mutually associated target docking system trigger conditions, current transaction service, and docking system configuration information; A service scanning unit, configured to perform service scanning on the pending business in the business processing system, and determine whether the pending business triggers system docking based on the current transaction service; A request assembling unit, configured to assemble the service request for the service to be executed according to the triggering condition of the target docking system and the docking system configuration information to generate a target service request if the system docking is triggered; The system docking unit is used to send the target service request to the target docking system so that the target docking system executes the target service request.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the target system docking method based on business services described in any one of claims 1 to 9 is implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the target system docking method based on business services described in any one of claims 1 to 9 is implemented.
13. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the target system docking method based on business services described in any one of claims 1 to 9 is implemented.