Bank-enterprise interconnection method and device, proxy server, medium and product
By dividing and managing services on the proxy server, the problem of functional redundancy in bank-enterprise interconnection services was solved, enabling efficient bank connection management and rapid startup.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2023-05-05
- Publication Date
- 2026-05-01
AI Technical Summary
In existing technologies, bank-enterprise interconnection services have functional redundancy, which leads to inconvenience in management, slow startup speed, and technical conflicts when enterprises connect to bank systems.
The management function and the bank adaptation function are divided into different services. The management service software manages business requests, while the adaptation service software communicates with the bank's server. Enterprises only need to deploy the required adaptation service software, reducing redundancy.
It improved the management efficiency of enterprises connecting with banks, reduced functional redundancy, improved system startup speed and fault tolerance, and reduced technical conflicts.
Smart Images

Figure CN116527759B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of financial technology, and in particular to a method, apparatus, proxy server, medium and product for bank-enterprise interconnection. Background Technology
[0002] Bank-enterprise interconnection refers to the establishment of an information exchange channel between banks and enterprises via the internet. Specifically, it involves connecting the bank's system with the enterprise's financial system, facilitating the enterprise's banking transactions through its financial system. Typically, the bank's system provides the interface, through which the enterprise's financial system connects to the bank's system.
[0003] In related technologies, there are many banking systems. A common approach is to build a unified service from the interfaces of various banks. Enterprises can deploy this service on their devices and use the devices to connect with the banking systems.
[0004] The service in the related technology supports interfaces for a large number of banking systems, while enterprises need to interface with only a few banking systems, indicating that the service has functional redundancy. Summary of the Invention
[0005] This application provides a method, apparatus, proxy server, medium, and product for bank-enterprise interconnection, in order to solve the problem of functional redundancy in related technologies.
[0006] In a first aspect, this application provides a method for bank-enterprise interconnection, wherein the method is applied to a proxy server, the proxy server is equipped with management service software and at least one adaptation service software, the management service software communicates with a user terminal through a corresponding port, and each of the adaptation service software communicates with a corresponding bank server through a corresponding port, the method comprising:
[0007] The management service software receives a first service request for a target service from the user terminal via the management port corresponding to the management service software. The first service request carries the target bank identifier and the execution service requirement data corresponding to the target service.
[0008] The management service software determines the target adaptation service software corresponding to the target bank identifier from the at least one adaptation service software.
[0009] The target adaptation service software calls the interface of the corresponding bank server to send a target business request to the bank server. The target business request carries the execution business requirement data so that the bank server responds to the target business request to obtain response information and returns the response information to the target adaptation port corresponding to the target adaptation service software.
[0010] The management port returns the response information to the user terminal, so that the user terminal can display the service execution results based on the response information.
[0011] Secondly, this application provides a bank-enterprise interconnection device, the device being built into a proxy server, the proxy server carrying management service software and at least one adaptation service software, the management service software communicating with a user terminal through a corresponding port, and each of the adaptation service software communicating with a corresponding bank server through a corresponding port, the device comprising:
[0012] The receiving module is used to receive a first service request for a target service sent by the user terminal through the management port corresponding to the management service software. The first service request carries the target bank identifier and the execution service requirement data corresponding to the target service.
[0013] The determining module is used to determine the target adaptation service software corresponding to the target bank identifier from the at least one adaptation service software through the management service software;
[0014] The sending module is used to call the interface of the corresponding bank server through the target adaptation service software to send a target business request to the bank server. The target business request carries the execution business requirement data so that the bank server can respond to the target business request to obtain response information and return the response information to the target adaptation port corresponding to the target adaptation service software.
[0015] The sending module is also used to return the response information to the user terminal through the management port, so that the user terminal can display the service execution result based on the response information.
[0016] Thirdly, this application provides a proxy server, including: a memory, and a memory and transceiver communicatively connected to the processor;
[0017] The memory stores computer-executed instructions;
[0018] The processor executes computer execution instructions stored in the memory to implement the bank-enterprise interconnection method as described in the first aspect.
[0019] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the bank-enterprise interconnection method described in the first aspect.
[0020] Fifthly, this application provides a computer program product, including computer execution instructions, which, when executed by a processor, implement the bank-enterprise interconnection method described in the first aspect.
[0021] The bank-enterprise interconnection method, apparatus, proxy server, medium, and product provided in this application include a bank-enterprise interconnection method applied to a proxy server. The proxy server carries management service software and at least one adapter service software. The management service software communicates with the user terminal through a corresponding port, and each adapter service software communicates with its corresponding bank server through a corresponding port. The management service software receives a first business request for a target business from the user terminal via its corresponding management port. The first business request carries a target bank identifier and execution business requirement data corresponding to the target business. The management service software determines the target adapter service software corresponding to the target bank identifier from among the at least one adapter service software. The target adapter service software calls the corresponding bank server's interface to send the target business request to the bank server. The target business request carries the execution business requirement data, enabling the bank server to respond to the target business request, obtain response information, and return the response information to the target adapter port corresponding to the target adapter service software. The response information is returned to the user terminal through the management port, allowing the user terminal to display the business execution result based on the response information. This application divides the management functions and the corresponding adaptation functions for each bank into different services, implemented by different software. In this way, the management service software manages business requests and the adaptation service software, while each adaptation service software communicates with the corresponding bank server. As a result, enterprises can deploy the management service software and the required adaptation service software on the proxy server. Enterprises only need to deploy the adaptation service software corresponding to the required bank on the proxy server, without deploying extra service software. This can meet the personalized needs of enterprises and reduce functional redundancy. Attached Figure Description
[0022] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0023] Figure 1 This is a schematic diagram illustrating an application scenario according to an exemplary embodiment;
[0024] Figure 2 This is a flowchart illustrating a bank-enterprise interconnection method according to an exemplary embodiment;
[0025] Figure 3 This is an interactive schematic diagram of service software according to an exemplary embodiment;
[0026] Figure 4This is a schematic diagram illustrating a bank-enterprise interconnection process according to an exemplary embodiment;
[0027] Figure 5 This is a schematic diagram illustrating the structure of a bank-enterprise interconnection device according to an exemplary embodiment;
[0028] Figure 6 This is a schematic diagram illustrating the structure of a proxy server according to an exemplary embodiment.
[0029] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0030] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0031] The terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. In the following descriptions of embodiments, "a plurality of" means two or more, unless otherwise explicitly defined.
[0032] The collection, storage, use, processing, transmission, provision, and disclosure of financial data or user data involved in the technical solution of this application all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0033] It should be noted that the bank-enterprise interconnection method, device, proxy server, medium, and product of this application can be used in the field of financial technology. They can also be used in any field other than finance. The bank-enterprise interconnection method, device, proxy server, medium, and product of this application do not limit the application field.
[0034] To clearly understand the technical solution of this application, the solutions of the prior art will be described in detail first.
[0035] Enterprise-bank interconnection is a channel for information exchange between banks and enterprises via the internet. Specifically, it refers to the connection between a bank's system and a company's financial system, facilitating banking transactions such as account management, information inquiries, and payment transfers through the company's financial system. Generally, the bank's system provides an interface for enterprise-bank interconnection, which the company's financial system interfaces with, connecting to the bank's system through this interface. Currently, almost all banks, from large state-owned banks to small and medium-sized commercial banks, provide direct connection channels and access standards for enterprises. However, in terms of security, communication modes, data formats, and access methods, each bank has its own standards, resulting in significant differences. Therefore, companies or third parties commissioned by them to develop and interface according to the bank's standards are required to achieve enterprise-bank interconnection.
[0036] In related technologies, as businesses increase their volume of operations, or for some medium to large enterprises, there may be a need to connect with a dozen or even dozens of banks. If enterprises develop and connect to each bank separately according to their respective specifications, not only is interface management inconvenient, but the economic costs are also high. Therefore, related technologies provide a multi-bank enterprise interconnection service. When an enterprise needs to connect with multiple banks for business purposes, due to the large number of banks requiring integration, to facilitate system integration for the enterprise, the differences in the enterprise-bank interconnection interfaces of each bank are uniformly handled. In other words, building a unified service for the enterprise-bank interconnection interfaces of various banks is a common practice in multi-bank enterprise interconnection scenarios. Enterprises can deploy this service on their devices to achieve integration with bank systems. The main functions of the unified multi-bank enterprise direct connection interface service are the adaptation of data exchanged between the enterprise and multiple banks, the conversion of communication protocols, and the management of bank interfaces. Currently, the method for implementing the unified multi-bank enterprise direct connection interface service is to use a monolithic application service system, where the management of bank interfaces, the adaptation of data exchanged between banks, and communication forwarding are all completed within a single application service. During the iterative development of the system, new bank direct connection programs for banks are continuously added. After unified compilation, these programs are deployed to the device. During the service startup process, programs for all banks that have been developed are loaded. When the service is running, business requests are routed to the corresponding bank system through the bank identifier specified by the enterprise staff.
[0037] The related technology employs a monolithic service model for unified bank-enterprise direct connection interfaces with multiple banks. However, with the increasing number of new banks implementing direct connection procedures, the following problems have emerged: First, from the perspective of enterprise access requirements, for example, the unified bank-enterprise direct connection interface supports n banks including B1, B2, B3, ..., Bn. Enterprise A1 has business with banks B1, B3, B4, etc., and enterprise A2 has business with banks B1, B2, B5, B7, etc. It's clear that enterprises don't need to connect to all the banks already supported by the service. This indicates functional redundancy in the monolithic service. Furthermore, the deployment and startup of the monolithic service involves all supported banks, resulting in slow startup speeds and inconvenient management of connected banks. Second, as the types of business required by enterprises continue to increase, the monolithic service not only increases in the number of connected banks but also becomes increasingly complex in terms of business dimensions, making the monolithic service increasingly bloated. Third, in terms of service coding and development, conflicts may occur in the underlying dependency libraries of some banks, leading to compilation warnings or even errors in the monolithic service's project files, impacting development efficiency.
[0038] In response to the aforementioned technical problems in related technologies, the inventors discovered during their research that, in order to solve this problem, for scenarios involving interconnection between multiple banks and enterprises, a unified management service for direct connection between banks and enterprises can be established, and the bank adaptation function can be decoupled into independent services according to the bank. That is, the interface service for accessing the bank is separated into independent services according to the bank and managed uniformly by the management service. In other words, the original monolithic service is split into a management service and corresponding adaptation services for each bank, and the management service and each adaptation service can be provided by the corresponding service software.
[0039] Specifically, this application divides the management functions and the corresponding adaptation functions for each bank into different services, implemented by different software. The management service software manages business requests and the adaptation service software, while each adaptation service software handles communication with its corresponding bank server. This allows enterprises to deploy the management service software and the necessary adaptation service software on a proxy server. Enterprises only need to deploy the adaptation service software corresponding to the required bank on the proxy server, eliminating the need for additional service software. This meets the enterprise's personalized needs and reduces functional redundancy. Based on this, the management service software manages the adaptation service software from both bank and business perspectives, facilitating the management of connected banks and improving the efficiency of enterprise bank integration. The system also exhibits good fault tolerance and user-friendliness. Furthermore, only the deployed service software needs to be started at startup, resulting in fast startup speed. Since the adaptation service software for each bank is developed independently, various technical conflict issues are reduced.
[0040] The following describes the application scenarios of the bank-enterprise interconnection method provided in the embodiments of this application.
[0041] Figure 1 This is a schematic diagram illustrating an application scenario according to an exemplary embodiment. For example... Figure 1 As shown, this application scenario includes: user terminal 1, proxy server 2, and bank server 3. All devices are connected via a network. User terminal 1 is the terminal used by the company's staff. Proxy server 2 is the company's corresponding server, which runs management service software and at least one adaptation service software. Figure 1 Taking a system with three adapter service software programs as an example, the management service software communicates with user terminal 1 through a corresponding port, and each adapter service software can communicate with its corresponding bank server through a corresponding port. One adapter service software corresponds to one bank server. Figure 1 Taking bank server 3 as an example, where the target adaptation service software corresponds to the bank server, the example demonstrates the following: When an employee needs to conduct banking business, they trigger a first business request through user terminal 1. User terminal 1 sends this first business request to proxy server 2. Proxy server 2 receives the first business request through the management port corresponding to the management service software. Using the target bank identifier carried in the first business request, it determines the target adaptation service software from among the known adaptation service software. The target adaptation service software then sends the target business request to the corresponding bank server 3, causing bank server 3 to return response information through the target adaptation port corresponding to the target adaptation service software. This response information is then returned to user terminal 1 through the management port, and user terminal 1 displays the response information for the employee to view.
[0042] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0043] Figure 2 This is a flowchart illustrating a bank-enterprise interconnection method according to an exemplary embodiment. The bank-enterprise interconnection method provided in this application is implemented by a bank-enterprise interconnection device, which is integrated into a proxy server. The proxy server carries management service software and at least one adaptation service software. Each adaptation service software corresponds to one bank server. The management service software communicates with the user terminal through a corresponding port, and each adaptation service software communicates with its corresponding bank server through a corresponding port. Figure 2 As shown, the bank-enterprise interconnection method provided in this embodiment includes the following steps:
[0044] Step S101: Receive the first business request for the target business sent by the user terminal through the management port corresponding to the management service software. The first business request carries the target bank identifier and the execution business requirement data corresponding to the target business.
[0045] In this embodiment, for an enterprise, if there is a business need between the enterprise and at least one bank, the bank's technical personnel can deploy a proxy server for the enterprise. On this proxy server, management service software and corresponding adaptation service software for each of the at least one bank can be deployed, enabling business transactions between the enterprise and the bank. Taking the deployment of management service software as an example, deploying the management service software means deploying the corresponding program code files to the proxy server. The deployment of adaptation service software is similar and will not be elaborated further here.
[0046] In this way, enterprise staff trigger the user terminal to display the human-computer interaction interface, and initiating the corresponding business request within the interface. The user terminal sends the business request to the proxy server by calling the management port corresponding to the management service software. Accordingly, the proxy server executes the bank-enterprise interconnection method provided in this embodiment. The management port corresponding to the management service software and the adaptation ports corresponding to each adapter service software can be configured by the bank's technical personnel on the proxy server as needed.
[0047] This embodiment uses the example of a user terminal sending a first business request corresponding to a target service. The target service can be a payment transfer and result query, account and balance query, account details query, bulk payment and result query, or electronic receipt download, etc. Accordingly, the first business request carries execution business requirement data, that is, the data required to execute the target service. Taking the target service as a payment transfer and result query service as an example, the execution business requirement data includes transaction number, payee card number, payee account name, payer card number, payer account name, amount, currency, etc. The first business request also carries a target bank identifier, where the bank identifier is used to uniquely identify the corresponding bank. Since the adaptation service software of each bank is different, the bank identifier can also be used to uniquely identify the adaptation service software of the corresponding bank. Accordingly, the target bank identifier is used to identify the target bank and the target adaptation service software corresponding to the target bank, and the target service is a service provided by the target bank. For example, the bank identifier corresponding to bank 1 is B001, the bank identifier corresponding to bank 2 is B002, and the bank identifier corresponding to bank 3 is B003.
[0048] Step S102: The target adapter service software corresponding to the target bank identifier is determined from at least one adapter service software through the management service software.
[0049] The proxy server hosts at least one adaptation service software, and the target business is provided by the target bank. Therefore, the proxy server needs to use the management service software to determine the target adaptation service software corresponding to the target bank's identifier from among these at least one adaptation service software. After determining the target adaptation service software, the management service software calls the target adaptation port corresponding to that target adaptation service to forward the first business request to the target adaptation service software.
[0050] Step S103: The target adaptation service software calls the interface of the corresponding bank server to send a target business request to the bank server. The target business request carries the execution business requirement data so that the bank server can respond to the target business request to obtain response information and return the response information to the target adaptation port corresponding to the target adaptation service software.
[0051] The corresponding bank's adaptation service software can communicate with the bank's corresponding server. By calling the interface of the corresponding bank server through the target adaptation service software, the target business request is sent to the bank server. The target business request carries the execution business requirement data, so that after receiving the target business request, the bank server executes the target business according to the execution business requirement data, obtains the response information, and calls the target adaptation port corresponding to the target adaptation service software to return the response information.
[0052] Step S104: Return response information to the user terminal through the management port so that the user terminal can display the service execution results based on the response information.
[0053] Upon receiving the response information, the target adaptation service software calls the management port to send the response information to the management service software. The management service software then calls the user terminal's interface to return the response information to the user terminal. The user terminal displays the business execution result based on the response information in the human-computer interaction interface. The response information includes the business execution result. For example, if the target business is payment transfer and result query, the business execution result included in the response information indicates whether the payment transfer was successful or failed, and the user terminal displays this result in the human-computer interaction interface.
[0054] This application divides the management functions and the corresponding adaptation functions for each bank into different services, implemented by different software. In this way, the management service software manages business requests and the adaptation service software, while each adaptation service software communicates with the corresponding bank server. As a result, enterprises can deploy the management service software and the required adaptation service software on the proxy server. Enterprises only need to deploy the adaptation service software corresponding to the required bank on the proxy server, without deploying extra service software. This can meet the personalized needs of enterprises and reduce functional redundancy.
[0055] In the above Figure 2 Based on the illustrated embodiment, banks offer a wide variety of services, including multiple service types, each with a corresponding type identifier. This type identifier can be set according to requirements. For example, the type identifier for payment transfer is 1001, for payment transfer result query is 1002, for account balance query is 1003, for account details query is 1004, for direct debit / payment is 1005, for direct debit result query is 1006, and for electronic receipt download is 1007. In an optional embodiment, the first service request also carries the target type identifier corresponding to the target service type to which the target service belongs. Therefore, after step S101, the bank-enterprise interconnection method provided in this application further includes: obtaining a stored service type table through management service software. The service type table contains at least one service type and the type identifier corresponding to each service type. Since the types of services offered by different banks may vary, the proxy server can pre-store the service type table corresponding to each bank for each adapter service software already installed in the proxy server. The business type table contains business types that are supported by the corresponding bank and that the enterprise can process through the bank. Optionally, the proxy server stores the bank identifier in the business type table; correspondingly, if the first business request also carries the target bank identifier, the implementation method of obtaining the stored business type table through the management service software includes: obtaining the stored business type table corresponding to the target bank identifier through the management service software. After obtaining the business type table, the method also includes the following two cases:
[0056] In the first scenario, if the target type identifier is determined to belong to the business type table, then proceed to step S202. In this case, if the target type identifier belongs to the business type table, it means that the enterprise can process the target business belonging to the target business type through the bank corresponding to the business type table, and therefore step S202 can be executed.
[0057] In the second scenario, if it's determined that the target type identifier does not belong to the business type table, a first prompt message is sent to the user terminal via the management port. This first prompt message indicates that the target business type corresponding to the target type identifier has not been imported. In this case, if the target type identifier does not belong to the business type table, it means that the enterprise cannot process the target business belonging to that target business type through the bank corresponding to that business type table. This could be because the bank does not support the target business type, or because although the bank supports the target business type, its technical staff has not imported it into the business type table. Based on this, a first prompt message is sent to the user terminal via the management port so that the user terminal can display this first prompt message, thereby prompting the enterprise's staff to check. The information contained in the first prompt message can be set according to requirements; for example, the first prompt message could be "This business type has not been imported!".
[0058] In this embodiment, after receiving the first service request from the user terminal, it is first determined whether the target type identifier carried by the first service request belongs to the service type table. Then, the next operation to be performed is determined according to different situations. This not only allows the next operation to be performed if the target service type has been imported, but also directly prompts the enterprise staff if the target service type has not been imported, so that the staff can check.
[0059] In this embodiment, after deploying management service software and adaptation service software for the proxy server, business types can be imported as needed. Optionally, the bank-enterprise interconnection method provided in this application further includes: in response to an import instruction for a business type, the management service software adds the business type and its corresponding type identifier to the business type table.
[0060] When importing business types, one possible implementation is that a bank technician triggers a proxy server to display a human-computer interaction interface (HCI) with import controls. The technician enters the bank identifier, business type, and corresponding type identifier into the HCI, and then triggers the import controls. This prompts the proxy server to generate an import command, adding the entered business type and its corresponding type identifier to the business type table corresponding to the bank identifier, thus importing the business type. Alternatively, another possible implementation is that a company employee can trigger a user terminal to display an HCI with import controls. The employee enters the bank identifier, business type, and corresponding type identifier into the HCI, and then triggers the import controls. This prompts the user terminal to generate an import command, which calls the management port of the management service software to send the import command to the management service software mounted on the proxy server. This import command carries the bank identifier, business type, and corresponding type identifier. The proxy server, through the management service software, adds the business type and its corresponding type identifier to the business type table corresponding to the bank identifier, thus importing the business type and returning the import result for the user terminal to display.
[0061] The above optional implementation provides a way to import business types. By adding business types and their corresponding type identifiers to the business type table, the operation is simple, efficient, and easy to implement.
[0062] In this embodiment, after importing the business type, the business type can also be deleted as needed. Optionally, the bank-enterprise interconnection method provided in this application further includes: in response to the deletion instruction for the business type, the management service software deletes the business type and the corresponding type identifier from the business type table.
[0063] The triggering method for the delete command is the same as that for the import command mentioned above, and will not be repeated here.
[0064] The above optional implementation provides a way to delete business types. By deleting the business type and its corresponding type identifier from the business type table, the operation is simple, efficient, and easy to implement.
[0065] In this embodiment, staff can query business types as needed. Optionally, the bank-enterprise interconnection method provided in this application further includes: responding to a query instruction for a business type or a type identifier to be queried through management service software, querying the type identifier corresponding to the business type to be queried from the business type table, or querying the business type corresponding to the type identifier to be queried, to obtain query results. The triggering method for the query instruction is the same as the triggering method for the import instruction described above, and will not be repeated here. Staff can query whether the business type table contains a certain business type, or query the type identifier corresponding to a certain business type, or query the business types contained in the business type table; this embodiment does not limit this.
[0066] In the first scenario, if the query command is triggered by the proxy server, the query results are displayed. In this case, when staff trigger the query command through the proxy server, the proxy server directly displays the query results for viewing. In the second scenario, if the query command is triggered by the user terminal, the query results are returned to the user terminal through the management port for display. In this case, when staff trigger the query command through the user terminal, which in turn sends the query command to the proxy server, the query results are returned to the user terminal for viewing.
[0067] The above-mentioned optional implementation provides a query method for a business type. It can determine the device to display the query results based on the different triggering methods of the query command, realize the display of the nearest device to the user, meet the user's needs to a large extent, and has high convenience.
[0068] In the above Figure 2 Based on the illustrated embodiment, since an enterprise may have business needs with one or more banks, the number of adaptation service software installed in the enterprise's proxy server is at least one. Accordingly, the proxy server stores an adaptation service table, which contains bank identifiers corresponding to each of the at least one adaptation service software. In an optional embodiment, step S202 is implemented by: obtaining the stored adaptation service table through management service software; if it is determined that the target bank identifier belongs to the adaptation service table, then determining the target adaptation service software corresponding to the target bank identifier. Wherein, if the target bank identifier belongs to the adaptation service table, it means that the proxy server has already installed the target adaptation service software corresponding to the target bank identifier, and thus the target adaptation service software can be determined.
[0069] The above-mentioned optional implementation method obtains the stored adaptation service table and determines the target adaptation service software corresponding to the target bank identifier from the adaptation service table, which provides a method for determining the target adaptation service software with high efficiency.
[0070] The adaptation service software can only provide adaptation services after it is started. Optionally, after step S102, the bank-enterprise interconnection method provided in this application further includes: obtaining the stored startup status information of the target adaptation service software through the management service software. The startup status information indicates whether the target adaptation service software has been started or not. The proxy server stores the startup status information of the already installed adaptation service software in advance, so that after determining the target adaptation service software, the startup status information of the target adaptation service software can be obtained.
[0071] In the first scenario, if the startup status information indicates that the target adaptation service software has started, then step S103 is executed. In the second scenario, if the startup status information indicates that the target adaptation service software has not started, then a second prompt message is sent to the user terminal through the management port. This second prompt message indicates that the target adaptation service software corresponding to the target bank identifier has not started. In the case that the target adaptation service software has not started, communication with the bank server is impossible, and bank-enterprise interconnection cannot be achieved. Sending the second prompt message to the user terminal through the management port allows the user terminal to display the second prompt message, thus providing a reminder to staff.
[0072] In the above optional implementation methods, if the target adaptation service software is not started, a second prompt message is sent to facilitate staff to be promptly informed that the target adaptation service software is not started.
[0073] In this embodiment, after deploying the adaptation service software for the proxy server, the adaptation service software can be imported as needed. Optionally, the bank-enterprise interconnection method provided in this application further includes: in response to an import instruction for the adaptation service software, the management service software imports the code file corresponding to the adaptation service software into a preset path; the management service software adds the bank identifier corresponding to the adaptation service software to the adaptation service table; and the management service software stores the startup status information of the adaptation service software, wherein the startup status information indicates that the adaptation service software is not started.
[0074] The import command carries a preset path and a bank identifier. The preset path can be set according to requirements, and this embodiment does not limit it. The triggering method of the import command is the same as that of the import command for the above-mentioned business types, and will not be repeated here. Optionally, the startup status information of the adaptation service software and the corresponding bank identifier of the adaptation service software are stored for easy retrieval later.
[0075] The above optional implementation provides a way to import the adaptation service software, which provides data support for subsequent bank-enterprise interconnection, making it easier to determine the target adaptation service software and obtain the corresponding startup status information.
[0076] After importing the adaptation service software, it can be started as needed. Optionally, the bank-enterprise interconnection method provided in this application further includes: in response to a startup command for the adaptation service software, the management service software loads the corresponding code file of the adaptation service software and updates the startup status information of the adaptation service software to "the adaptation service software has started". The triggering method for the startup command is the same as the triggering method for the import command, and will not be repeated here. The above optional implementation provides a way to start the adaptation service software. Since each bank has its own corresponding adaptation service software, the appropriate adaptation service software can be started as needed, meeting diverse user needs, and the startup speed is relatively fast.
[0077] After starting the adaptation service software, it can also be stopped. Accordingly, the bank-enterprise interconnection method provided in this application further includes: in response to a stop command for the adaptation service software, the management service software deletes the code files corresponding to the loaded adaptation service software and updates the startup status information of the adaptation service software to "adaptation service software not started". The triggering method of the stop command is the same as the triggering method of the startup command, and will not be repeated here.
[0078] After importing the adaptation service software, the import of the adaptation service software can be cancelled as needed. Optionally, the bank-enterprise interconnection method provided in this application also includes: responding to the deletion command for the adaptation service software through the management service software to obtain the startup status information corresponding to the stored adaptation service software; if it is determined that the startup status information indicates that the adaptation service software has not started, then deleting the code file corresponding to the adaptation service software from the preset path through the management service software; deleting the bank identifier corresponding to the adaptation service software from the adaptation service table through the management service software; and deleting the startup status information of the stored adaptation service software through the management service software.
[0079] In this context, "deletion" refers to canceling the import of the adaptation service software, while the adaptation service software remains hosted on the proxy server. When the adaptation service software is not running, its corresponding code files can be deleted from a preset path, along with the bank identifier and startup status information in the adaptation service table, restoring the system to its state before the software was imported.
[0080] The above optional implementation provides a way to delete the adaptation service software. Since the proxy server is equipped with at least one adaptation service software, the imported adaptation service software can be deleted as needed, meeting the diverse needs of users, and the deletion speed is relatively fast.
[0081] The adaptation service software can only be deleted when it is not running, but cannot be deleted when it is running. Optionally, the bank-enterprise interconnection method provided in this application further includes: if the startup status information indicates that the adaptation service software is running, then a third prompt message is generated through the management service software to indicate that the adaptation service software is running; if the deletion command is triggered by the proxy server, then the third prompt message is displayed; if the deletion command is triggered by the user terminal, then the third prompt message is returned to the user terminal through the management port so that the user terminal can display the third prompt message. The content of the third prompt message can be set according to requirements, and this embodiment does not limit it.
[0082] In the above optional implementation methods, since the adaptation service software cannot be deleted when it is already running, a third prompt message is used to notify the staff that the adaptation service software is running, so that the staff can trigger the deletion command at other times.
[0083] The above optional implementation methods describe the case where the target bank identifier belongs to the adaptation service table. The following describes the case where the target bank identifier does not belong to the adaptation service table. Optionally, the bank-enterprise interconnection method provided in this application further includes: if it is determined that the target bank identifier does not belong to the adaptation service table, then sending a fourth prompt message to the user terminal through the management port. The fourth prompt message is used to indicate that the target adaptation service software corresponding to the target bank identifier has not been imported.
[0084] If the target bank's identifier is not listed in the adaptation service table, it means that the proxy server does not have the corresponding target adaptation service software installed. Therefore, it cannot communicate with the bank's server through the target adaptation service software, and bank-enterprise interconnection cannot be achieved. A fourth prompt message can be sent to the user terminal through the management port to display the message and provide guidance to staff.
[0085] In the above optional implementation methods, if the target bank identifier is not in the adaptation service table, a fourth prompt message is sent to facilitate staff to promptly know that the target adaptation service software corresponding to the target bank identifier has not been imported.
[0086] In the above Figure 2 Based on the illustrated embodiment, this application separates the bank's adapter function into an independent adaptation service, which is provided by adaptation service software Cn. Furthermore, the management functions of the bank's interface and business operations are separated into a management service, which is provided by management service software d. For example, Figure 3 This is an interactive schematic diagram of service software provided according to an exemplary embodiment, such as... Figure 3As shown, taking n as an example, the number of at least one adapter service software mounted on the proxy server is n. The management service software d communicates with n adapter service software C1, C2, ..., Cn respectively.
[0087] In an optional embodiment, since there is communication between the management service software and the adaptation service software, before step S103, the bank-enterprise interconnection method provided in this application further includes: converting the data format of the first business request according to the data format corresponding to the target adaptation service software through the management service software to obtain a second business request that meets the data format; and calling the target adaptation port through the management service software according to the preset communication protocol between services to send the second business request to the target adaptation service software.
[0088] The data format and communication protocol between each adapted service software can be configured as needed, and this embodiment does not impose any limitations on them. Correspondingly, corresponding request and response data specifications can also be set for each business type.
[0089] The above implementation provides a communication method between services. By converting the data format of the first service request, the second service request is made to meet the data format corresponding to the target adaptation service software. The second service request is then sent through a preset communication protocol, ensuring the normal communication between services and preventing the target service from failing to execute due to data format not meeting the requirements.
[0090] For example, the communication protocol between services is the HTTP RESTful API communication protocol, and the data format is JSON format messages. HTTP (Hypertext Transfer Protocol) is the Hypertext Transfer Protocol, RESTful (Representational State Transfer) is a design style and development method for HTTP-based web applications, API (Application Programming Interface) is an application programming interface, and JSON is a lightweight data exchange format. For example, a payment transfer request includes a request header and a request body. The header includes the type identifier txCode "1000", the serial number seqNo "88888888", and the body includes the recipient's card number inAccId, recipient's account name inAccName, sender's card number outAccId, sender's account name outAccName, amount amt, currency currcode, institution ID branchid, institution name branchname, request time date, and purpose message.
[0091] If the business request or response information carries file data, the file data can be encoded before being sent using a preset transmission type. For example, if the file data is an image and the preset communication protocol is the HTTP RESTful API communication protocol, then the preset transmission type can be the "multipart / form-data" type in the HTTP RESTful API communication protocol. Taking a response information carrying file data as an example, the response information includes the content disposition "From-data", the file name "6.pdf", the content type "application / octet-stream", the content transmission encoding method "binary", and the encoded data corresponding to the image.
[0092] Accordingly, step S103 is implemented by: converting the second business request into a data format according to the data format corresponding to the bank server through the target adaptation service software to obtain a target business request that meets the data format; and calling the interface of the bank server according to the communication protocol corresponding to the bank server through the target adaptation service software to send the target business request to the bank server.
[0093] The adaptation service software is developed according to the corresponding bank's direct connection interface specifications. From the perspective of the bank's "client-server" communication model, the adaptation service software acts as a client to the bank server, sending requests to the bank server. The functions of the adaptation service software include data adaptation and communication forwarding. Data adaptation refers to converting the data format of the second business request according to the data format corresponding to the bank server to obtain the target business request that meets the data format requirements. Communication forwarding refers to the adaptation service software calling the bank server's interface according to the bank server's communication protocol to send the target business request to the bank server. For example, the bank server's data format may be XML (eXtensible Markup Language), and the communication protocol may be a socket protocol dependent on TCP / IP (Transmission Control Protocol / Internet Protocol). Optionally, the adaptation service software may also include special processing according to the bank server's requirements, such as batch splitting, file conversion, and data security processing. For example, if the business involves payroll processing, and the user terminal sends a request carrying 2000 payroll detail files, while the bank server only supports a maximum of 1000 detail files at a time, then the adaptation service software needs to send two requests to the bank server, each carrying 1000 detail files, to achieve batch splitting processing. File conversion processing refers to converting the files carried in the business requests according to the bank server's requirements. Data security processing refers to encrypting the data carried in the business requests according to the bank server's requirements.
[0094] Optionally, the first business request also includes a target type identifier corresponding to the target business type to which the target business belongs; the implementation method of converting the data format of the second business request according to the data format of the bank server through the target adaptation service software to obtain a target business request that meets the data format includes: obtaining the data format set by the bank server for the target business type based on the target type identifier through the target adaptation service software; and converting the data format of the second business request according to the data format through the target adaptation service software to obtain a target business request that meets the data format.
[0095] The data format for each business type can be set as needed, and this embodiment does not limit it.
[0096] The above implementation converts the data format of the second business request according to the data format corresponding to the business type, thus meeting the format requirements of the bank server for different business types.
[0097] The following describes the bank-enterprise interconnection method provided in this application using a specific bank-enterprise interconnection process. Figure 4 This is a schematic diagram illustrating a bank-enterprise interconnection process according to an exemplary embodiment. For example... Figure 4 As shown, the process includes the following steps:
[0098] Step S201: Receive the first business request for the target business sent by the user terminal through the management port corresponding to the management service software. The first business request carries the target bank identifier and the execution business requirement data corresponding to the target business.
[0099] Step S202: Obtain the stored business type table through the management service software. The business type table contains at least one business type and the type identifier corresponding to each business type.
[0100] After step S202, the proxy server can determine whether to execute step S203 or step S204 based on whether the target type identifier belongs to the business type table.
[0101] Step S203: If it is determined that the target type identifier does not belong to the business type table, a first prompt message is sent to the user terminal through the management port. The first prompt message is used to indicate that the target business type corresponding to the target type identifier has not been imported.
[0102] Step S204: If it is determined that the target type identifier belongs to the business type table, then the stored adaptation service table is obtained through the management service software. The adaptation service table contains bank identifiers corresponding to each adaptation service software in at least one adaptation service software.
[0103] After step S204, the proxy server can determine whether to execute step S205 or step S206 based on whether the target bank identifier belongs to the adaptation service table.
[0104] In step S205, if it is determined that the target bank identifier does not belong to the adaptation service table, a fourth prompt message is sent to the user terminal through the management port. The fourth prompt message is used to indicate that the target adaptation service software corresponding to the target bank identifier has not been imported.
[0105] Step S206: If it is determined that the target bank identifier belongs to the adaptation service table, the target adaptation service software corresponding to the target bank identifier is determined from at least one adaptation service software through the management service software.
[0106] After step S206, the proxy server executes step S207.
[0107] Step S207: Obtain the startup status information of the stored target adaptation service software through the management service software. The startup status information indicates whether the target adaptation service software has been started or not.
[0108] After step S207, the proxy server can determine whether to execute step S208 or step S209 based on the startup status information.
[0109] Step S208: If the startup status information indicates that the target adaptation service software has not started, then a second prompt message is sent to the user terminal through the management port. The second prompt message is used to indicate that the target adaptation service software corresponding to the target bank identifier has not started.
[0110] Step S209: If the startup status information indicates that the target adaptation service software has started, then the target adaptation service software calls the corresponding bank server interface to send a target business request to the bank server. The target business request carries the execution business requirement data so that the bank server can respond to the target business request, obtain response information, and return the response information to the target adaptation port corresponding to the target adaptation service software.
[0111] Step S210: Return response information to the user terminal through the management port so that the user terminal can display the service execution results based on the response information.
[0112] The implementation methods of steps S201-S210 are the same as those in the above embodiments, and will not be repeated here.
[0113] It should be noted that this application embodiment uses a proxy server equipped with management service software and at least one adaptation service software as an example for illustration. This deployment method of deploying service software on a single proxy server can save costs. In other embodiments, the management service software and each adaptation service software can be deployed separately on their respective proxy servers, with different adaptation service software deployed on different proxy servers. In this way, the proxy server equipped with the management service software provides management functions, and the proxy server equipped with the adaptation service software provides adaptation functions. Under this deployment method, the bank-enterprise interconnection method provided in this application is realized through communication between the proxy servers, and the implementation method is the same as that provided in the above embodiments, and will not be repeated here.
[0114] Figure 5 This is a schematic diagram illustrating the structure of a bank-enterprise interconnection device according to an exemplary embodiment, such as... Figure 5 As shown, in this embodiment, the bank-enterprise interconnection device 300 is built into a proxy server. The proxy server carries management service software and at least one adaptation service software. The management service software communicates with the user terminal through a corresponding port, and each adaptation service software communicates with the corresponding bank server through a corresponding port. The device 300 includes:
[0115] The receiving module 301 is used to receive a first business request for a target business sent by a user terminal through the management port corresponding to the management service software. The first business request carries the target bank identifier and the execution business requirement data corresponding to the target business.
[0116] The determination module 302 is used to determine the target adaptation service software corresponding to the target bank identifier from at least one adaptation service software through the management service software;
[0117] The sending module 303 is used to call the interface of the corresponding bank server through the target adaptation service software to send a target business request to the bank server. The target business request carries the execution business requirement data so that the bank server can respond to the target business request to obtain response information and return response information to the target adaptation port corresponding to the target adaptation service software.
[0118] The sending module 303 is also used to return response information to the user terminal through the management port, so that the user terminal can display the service execution results based on the response information.
[0119] Optionally, it also includes:
[0120] The acquisition module is used to acquire the stored business type table through the management service software. The business type table contains at least one business type and the type identifier corresponding to each business type.
[0121] The determination module 302 is used to determine the target adaptation service software corresponding to the target bank identifier from at least one adaptation service software if the target type identifier is determined to belong to the business type table;
[0122] The sending module 303 is also used to send a first prompt message to the user terminal through the management port if it is determined that the target type identifier does not belong to the service type table. The first prompt message is used to indicate that the target service type corresponding to the target type identifier has not been imported.
[0123] Optionally, it also includes:
[0124] The import module is used by the management service software to respond to import commands for business types and add business types and their corresponding type identifiers to the business type table.
[0125] Optionally, it also includes:
[0126] The deletion module is used by the management service software to respond to deletion commands for business types and delete the business type and its corresponding type identifier from the business type table.
[0127] Optionally, it also includes:
[0128] The query module is used to respond to query commands for the business type or type identifier to be queried through the management service software, and to query the type identifier corresponding to the business type to be queried or the business type corresponding to the type identifier to be queried from the business type table to obtain query results;
[0129] The display module is used to display the query results if the query command is triggered by the proxy server.
[0130] The sending module 303 is also used to return the query result to the user terminal through the management port if the query command is triggered by the user terminal, so that the user terminal can display the query result.
[0131] Optionally, module 302 is specifically used for:
[0132] The stored adaptation service table is obtained through the management service software. The adaptation service table contains bank identifiers corresponding to each adaptation service software in at least one adaptation service software.
[0133] If the target bank identifier is determined to belong to the adaptation service table, then the target adaptation service software corresponding to the target bank identifier is determined.
[0134] Optionally, it also includes:
[0135] The acquisition module is used to obtain the startup status information of the target adaptation service software that has been stored through the management service software. The startup status information indicates whether the target adaptation service software has been started or not.
[0136] The sending module 303 is used to send a target business request to the bank server by calling the corresponding bank server interface through the target adaptation service software if the startup status information indicates that the target adaptation service software has been started.
[0137] The sending module 303 is also used to send a second prompt message to the user terminal through the management port if the startup status information indicates that the target adaptation service software has not started. The second prompt message is used to indicate that the target adaptation service software corresponding to the target bank identifier has not started.
[0138] Optionally, it also includes:
[0139] The import module is used to respond to import commands for the adaptation service software through the management service software, import the code files corresponding to the adaptation service software into a preset path; add the bank identifier corresponding to the adaptation service software to the adaptation service table through the management service software; and store the startup status information of the adaptation service software through the management service software, where the startup status information indicates that the adaptation service software is not started.
[0140] Optionally, it also includes:
[0141] The startup module is used to respond to the startup command for the adaptation service software through the management service software, load the corresponding code file of the adaptation service software, and update the startup status information of the adaptation service software to show that the adaptation service software has started.
[0142] Optionally, it also includes:
[0143] The deletion module is used to respond to deletion commands for adaptation service software through the management service software, obtain the startup status information corresponding to the stored adaptation service software; if it is determined that the startup status information indicates that the adaptation service software is not started, then the management service software deletes the code file corresponding to the adaptation service software from the preset path; the management service software deletes the bank identifier corresponding to the adaptation service software from the adaptation service table; and the management service software deletes the stored startup status information of the adaptation service software.
[0144] Optionally, it also includes:
[0145] The sending module 303 is also used to generate a third prompt message through the management service software if it is determined that the startup status information indicates that the adaptation service software has been started. The third prompt message is used to prompt that the adaptation service software has been started.
[0146] The display module is used to display a third prompt message if the deletion command is triggered by the proxy server;
[0147] The sending module 303 is also used to return a third prompt message to the user terminal through the management port if the deletion command is triggered by the user terminal, so that the user terminal can display the third prompt message.
[0148] Optionally, it also includes:
[0149] The sending module 303 is also used to send a fourth prompt message to the user terminal through the management port if it is determined that the target bank identifier does not belong to the adaptation service table. The fourth prompt message is used to indicate that the target adaptation service software corresponding to the target bank identifier has not been imported.
[0150] Optionally, it also includes:
[0151] The conversion module is used to convert the data format of the first business request according to the data format of the target adaptation service software through the management service software, so as to obtain a second business request that meets the data format.
[0152] The sending module 303 is also used to call the target adapter port through the management service software according to the preset communication protocol between services, so as to send a second service request to the target adapter service software;
[0153] The sending module 303 is used to convert the data format of the second business request according to the data format corresponding to the bank server through the target adaptation service software, so as to obtain the target business request that meets the data format; and to call the interface of the bank server according to the communication protocol corresponding to the bank server through the target adaptation service software to send the target business request to the bank server.
[0154] Optionally, the first service request may also include a target type identifier corresponding to the target service type to which the target service belongs; the sending module 303 is specifically used for:
[0155] The target adaptation service software obtains the data format set by the bank server for the target business type based on the target type identifier.
[0156] The target adaptation service software converts the data format of the second business request according to the data format to obtain the target business request that meets the data format.
[0157] The bank-enterprise interconnection device 300 provided in this embodiment can execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar to those of the above method embodiment, and will not be described in detail here.
[0158] Figure 6 This is a schematic diagram illustrating the structure of a proxy server according to an exemplary embodiment. For example... Figure 6 As shown, the proxy server 400 includes a processor 401 and a memory 402 and a transceiver 403 that are communicatively connected to the processor 401.
[0159] The processor 401 executes computer execution instructions stored in the memory 402 to implement the bank-enterprise interconnection method provided in this application. The processor 401 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0160] The memory 402 is used to store computer-executed instructions.
[0161] Transceiver 403 is used to enable communication between proxy server 400 and other devices, such as user terminals, bank servers, etc.
[0162] The memory 402 and transceiver 403 are connected to the processor 401 via a bus. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0163] The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein. The various components are interconnected via different buses and can be mounted on a common motherboard or otherwise as required.
[0164] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores computer-executable instructions that, when executed by a processor, are used to implement the bank-enterprise interconnection method provided in this application. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.
[0165] In an exemplary embodiment, a computer program product is also provided, including computer execution instructions, which, when executed by a processor, are used to implement the bank-enterprise interconnection method provided in this application.
[0166] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.
[0167] It should be further noted that although the steps in the flowchart are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0168] It should be understood that the above-described device embodiments are merely illustrative, and the device of this application can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units, modules, or components may be combined, or integrated into another system, or some features may be ignored or not executed.
[0169] Furthermore, unless otherwise specified, the functional units / modules in the various embodiments of this application can be integrated into one unit / module, or each unit / module can exist physically separately, or two or more units / modules can be integrated together. The integrated units / modules described above can be implemented in hardware or as software program modules.
[0170] When integrated units / modules are implemented in hardware, the hardware can be digital circuits, analog circuits, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. Unless otherwise specified, the storage unit can be any suitable magnetic or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.
[0171] If the integrated unit / module is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, 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. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various method embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0172] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.
[0173] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0174] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for interconnecting banks and enterprises, characterized in that, The method is applied to a proxy server, which is equipped with management service software and at least one adaptation service software. Each adaptation service software corresponds one-to-one with a bank server. The management service software communicates with the user terminal through a corresponding port, and each adaptation service software communicates with its corresponding bank server through a corresponding port. The method includes: The management service software receives a first service request for a target service from the user terminal via the management port corresponding to the management service software. The first service request carries the target bank identifier and the execution service requirement data corresponding to the target service. The management service software obtains a stored adaptation service table, which contains bank identifiers corresponding to each of the at least one adaptation service software. If it is determined that the target bank identifier belongs to the adaptation service table, then the target adaptation service software corresponding to the target bank identifier is determined through the management service software; The management service software obtains the stored startup status information of the target adaptation service software, which indicates whether the target adaptation service software has been started or not. If it is determined that the startup status information indicates that the target adaptation service software has been started, then the management service software performs data format conversion on the first service request according to the data format corresponding to the target adaptation service software, so as to obtain a second service request that meets the data format. The management service software calls the target adaptation port according to the preset communication protocol between services to send the second service request to the target adaptation service software; The target adaptation service software converts the second business request into a data format that corresponds to the data format of the bank server, so as to obtain the target business request that meets the data format. The target adaptation service software calls the interface of the bank server according to the communication protocol corresponding to the bank server to send the target business request to the bank server. The target business request carries the execution business requirement data so that the bank server responds to the target business request to obtain response information and returns the response information to the target adaptation port corresponding to the target adaptation service software. The management port returns the response information to the user terminal, so that the user terminal can display the service execution results based on the response information.
2. The method according to claim 1, characterized in that, The first service request also carries a target type identifier corresponding to the target service type to which the target service belongs. After receiving the first service request for the target service sent by the user terminal through the management port corresponding to the management service software, the process further includes: The management service software obtains a stored business type table, which contains at least one business type and a type identifier corresponding to each business type. If it is determined that the target type identifier belongs to the business type table, then the step of determining the target adaptation service software corresponding to the target bank identifier from the at least one adaptation service software through the management service software is executed; If it is determined that the target type identifier does not belong to the service type table, a first prompt message is sent to the user terminal through the management port. The first prompt message is used to indicate that the target service type corresponding to the target type identifier has not been imported.
3. The method according to claim 2, characterized in that, Also includes: In response to an import instruction for the business type, the management service software adds the business type and its corresponding type identifier to the business type table.
4. The method according to claim 2, characterized in that, Also includes: In response to a deletion command for the business type, the management service software deletes the business type and its corresponding type identifier from the business type table.
5. The method according to claim 2, characterized in that, Also includes: In response to a query command for a business type or a type identifier to be queried, the management service software retrieves the type identifier corresponding to the business type to be queried from the business type table, or retrieves the business type corresponding to the type identifier to be queried, in order to obtain the query result. If the query command is triggered by the proxy server, then the query results are displayed; If the query command is triggered by the user terminal, the query result is returned to the user terminal through the management port so that the user terminal can display the query result.
6. The method according to claim 1, characterized in that, The method further includes: If the startup status information indicates that the target adaptation service software has not started, a second prompt message is sent to the user terminal through the management port. The second prompt message is used to indicate that the target adaptation service software corresponding to the target bank identifier has not started.
7. The method according to claim 6, characterized in that, Also includes: In response to an import command for the adapter service software, the management service software imports the code file corresponding to the adapter service software into a preset path. The management service software adds the bank identifier corresponding to the adaptation service software to the adaptation service table; The management service software stores the startup status information of the adaptation service software, and the startup status information indicates that the adaptation service software is not started.
8. The method according to claim 7, characterized in that, Also includes: In response to a startup command for the adaptation service software, the management service software loads the code file corresponding to the adaptation service software and updates the startup status information of the adaptation service software to indicate that the adaptation service software has started.
9. The method according to claim 7, characterized in that, Also includes: In response to a deletion command for the adaptation service software, the management service software obtains the startup status information corresponding to the stored adaptation service software. If it is determined that the startup status information indicates that the adaptation service software has not started, then the code file corresponding to the adaptation service software is deleted from the preset path by the management service software; The management service software deletes the bank identifier corresponding to the adaptation service software from the adaptation service table. The management service software deletes the stored startup status information of the adaptation service software.
10. The method according to claim 9, characterized in that, Also includes: If it is determined that the startup status information indicates that the adaptation service software has started, then the management service software generates a third prompt message, which is used to prompt that the adaptation service software has started. If the deletion command is triggered by the proxy server, then the third prompt message is displayed; If the deletion command is triggered by the user terminal, the third prompt message is returned to the user terminal through the management port so that the user terminal displays the third prompt message.
11. The method according to claim 1, characterized in that, Also includes: If it is determined that the target bank identifier does not belong to the adaptation service table, a fourth prompt message is sent to the user terminal through the management port. The fourth prompt message is used to indicate that the target adaptation service software corresponding to the target bank identifier has not been imported.
12. The method according to claim 11, characterized in that, The first service request also includes a target type identifier corresponding to the target service type to which the target service belongs; The step of converting the second business request into a data format that conforms to the data format of the bank server using the target adaptation service software to obtain the target business request that conforms to the data format includes: The target adaptation service software obtains the data format set by the bank server for the target business type based on the target type identifier. The target adaptation service software performs data format conversion on the second service request according to the data format to obtain the target service request that meets the data format.
13. A bank-enterprise interconnection device, characterized in that, The device is built into a proxy server, which carries management service software and at least one adaptation service software. Each adaptation service software corresponds one-to-one with a bank server. The management service software communicates with the user terminal through a corresponding port, and each adaptation service software communicates with its corresponding bank server through a corresponding port. The device includes: The receiving module is used to receive a first service request for a target service sent by the user terminal through the management port corresponding to the management service software. The first service request carries the target bank identifier and the execution service requirement data corresponding to the target service. The determination module is used to obtain a stored adaptation service table through the management service software. The adaptation service table contains bank identifiers corresponding to each of the at least one adaptation service software. If the target bank identifier is determined to belong to the adaptation service table, the management service software determines the target adaptation service software corresponding to the target bank identifier. The sending module is used to obtain the stored startup status information of the target adaptation service software through the management service software. The startup status information indicates whether the target adaptation service software has started or not. If the startup status information indicates that the target adaptation service software has started, the management service software performs data format conversion on the first business request according to the data format corresponding to the target adaptation service software to obtain the data format that meets the requirements of the target adaptation service software. The second business request is formatted as follows: The management service software calls the target adaptation port according to a preset inter-service communication protocol to send the second business request to the target adaptation service software; the target adaptation service software converts the second business request into a data format that conforms to the data format of the bank server to obtain a target business request that meets the specified data format; the target adaptation service software calls the interface of the bank server according to the communication protocol of the bank server to send the target business request to the bank server, the target business request carrying the execution business requirement data, so that the bank server responds to the target business request to obtain response information and returns the response information to the target adaptation port corresponding to the target adaptation service software. The sending module is also used to return the response information to the user terminal through the management port, so that the user terminal can display the service execution result based on the response information.
14. A proxy server, characterized in that, include: A processor, and a memory and a transceiver communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the bank-enterprise interconnection method as described in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the bank-enterprise interconnection method as described in any one of claims 1 to 12.
16. A computer program product comprising computer-executable instructions, characterized in that, When the computer execution instructions are executed by the processor, they implement the bank-enterprise interconnection method as described in any one of claims 1 to 12.
Citation Information
Patent Citations
Bank-enterprise direct connection communication method and device, computer equipment and storage medium
CN114217981A