CN116719871B - Data interaction method, device and system of transaction management system - Google Patents

Data interaction method, device and system of transaction management system Download PDF

Info

Publication number
CN116719871B
CN116719871B CN202310783666.8A CN202310783666A CN116719871B CN 116719871 B CN116719871 B CN 116719871B CN 202310783666 A CN202310783666 A CN 202310783666A CN 116719871 B CN116719871 B CN 116719871B
Authority
CN
China
Prior art keywords
data
mapping
function
interactive interface
downstream system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310783666.8A
Other languages
Chinese (zh)
Other versions
CN116719871A (en
Inventor
汪宏斌
任尧尧
余坤
谢海霞
周游
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhonghui Yida Financial Information Technology Co ltd
Original Assignee
Shanghai Zhonghui Yida Financial Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhonghui Yida Financial Information Technology Co ltd filed Critical Shanghai Zhonghui Yida Financial Information Technology Co ltd
Priority to CN202310783666.8A priority Critical patent/CN116719871B/en
Publication of CN116719871A publication Critical patent/CN116719871A/en
Application granted granted Critical
Publication of CN116719871B publication Critical patent/CN116719871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses a data interaction method, device and system of a transaction management system, and relates to the technical field of financial information systems. The method comprises the following steps: setting a data proxy device between a downstream system and an interactive interface to proxy the downstream system to interact with the interactive interface; the data proxy device is configured to: acquiring and identifying a function call description document provided by the interactive interface, and loading the mapping relation between the function name and the call path into a mapping converter; and reading the structured configuration file from the downstream system, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling the interactive interface according to the correct function information, obtaining a response message of the interactive interface, and carrying out message data analysis. The invention can effectively reduce the iterative coding of the downstream system, reduce the development and maintenance cost of the downstream system and improve the expandability and maintainability of the system.

Description

Data interaction method, device and system of transaction management system
Technical Field
The present invention relates to the technical field of financial information systems, and in particular, to a data interaction method, device and system for a transaction management system.
Background
With the networking and globalization trend of the financial industry, a transaction management system for managing data of market transactions among banks, such as a ComStar system, has emerged for rapid changes of markets and business development of banks. The ComStar system is composed of a plurality of functional modules, supports different business lines through the combination of different functional modules, and builds a management system for the direct processing from information acquisition, foreground transaction analysis and management, middle platform risk control and background transaction for the bank. The ComStar system covers all business varieties of the foreign currency exchange platform of the Chinese foreign exchange center, the cash and buyback business of the Shanghai and Shenzhen securities exchange, the cash and derivative transaction, the transfer and buyback business of the ticket exchange, the national liability future business of the Zhongjin exchange and various off-line businesses, realizes the foreign currency integration and the front stage, middle stage and back stage straight-through processing, greatly reduces manual work and reduces operation risks. Meanwhile, the ComStar system can be seamlessly integrated with a transaction center transaction platform and a post-transaction platform, so that through processing of transaction strategies, pre-approval, real-time limit control, transaction confirmation and fund clearing is realized.
The ComStar system is used as a transaction management system, and provides a service of data interaction between a foreground system and a downstream system through an interactive interface CIIS (full scale ComStar Interactive Interface Service), wherein the data range of interaction can cover data of foundation, transaction, damage and benefit and the like. The foreground system refers to a system for providing information acquisition, foreground transaction analysis and transaction management in a transaction management system, and takes a ComStar system as an example, the foreground system can comprise a CMS system (i.e. a home currency funds service management system), an XMS system (i.e. a foreign exchange funds management system) and the like. The downstream system, i.e. the external system accessing the transaction management system, takes the ComStar system as an example, refers to the external system accessing the CIIS through the account authority authentication mode provided by the interactive interface CIIS, and specifically may be a ComStar fund service management background system, a bank customized interface service (or called a bank customized interface), and the like. The downstream system accesses an interactive interface CIIS to realize data interaction with the foreground system according to actual requirements, wherein different codes are required to be developed for respectively calling functions corresponding to the different foreground systems (such as CMS and XMS) according to data of various transactions, service scenes and operation attributes, and corresponding function parameters are required to be transmitted. The functions, also referred to as methods in programming language, refer to a piece of independent code having a particular function or performing a particular action, which may be invoked locally or remotely. The function parameters refer to parameters which need to be transmitted when a certain function is called, and can be 0, 1 or more parameters.
Currently, the conventional flow of downstream systems (including bank customization interfaces) requesting foreground system data through the interactive interface CIIS is as follows: firstly, a downstream system remotely calls CIIS functions in a one-to-one mode, and for different foreground systems and service scenes, the corresponding functions and parameters are different, for example, the function corresponding to the transaction A is the function A, the function corresponding to the transaction B is the function B, and the function corresponding to the transaction N is the function N; then, after receiving the CIIS response message, the downstream system performs customized analysis on field specifications defined by different foreground systems and service scenes according to the CIIS of the interactive interface to obtain corresponding transaction data, such as the transaction A data, the transaction B data and/or the transaction N data, of the CIIS response; after the CIIS response message (the requested transaction data is obtained) is parsed, the data is usually stored and subjected to other subsequent processing. Taking a downstream system as an example of a bank customized interface, a timing diagram of one-to-one calling of the CIIS function to request service data is shown in fig. 1.
The existing data interaction scheme based on the interactive interface has the following defects: 1) The development cost is high. Each transaction scene is called a designated function in a one-to-one manner, CIIS response messages are customized and analyzed in a one-to-one manner, and the total number of functions to be called is large when various data are interacted due to various transaction varieties and different scenes, so that the coding amount of the calling functions for different foreground systems and business scenes is large, and the development cost is increased. 2) The expansibility is poor. Because the programming function call is adopted, as the types of the functions supported by the CIIS are increased, the downstream system needs to synchronously increase the corresponding code call newly added functions, and the original code reusability is poor. Along with continuous iteration of the foreground system and the interactive interface CIIS, the interactive data range is continuously expanded, the number of functions is continuously increased, the downstream system needs to be continuously updated to match with the newly added codes, and the maintenance cost and the plate changing risk of the downstream system are also increased. 3) The maintainability is poor. The downstream system is accessed to CIIS calling function to obtain the code of the data, which is often mixed with the customized service function module, thereby increasing the coupling of the programming and reducing the maintainability.
Disclosure of Invention
The invention aims at: the data interaction method, the device and the system for the transaction management system are provided for overcoming the defects of the prior art. The invention carries out unified structural definition on various functions and parameters thereof by setting the structural configuration file, then, the downstream system is interacted with the interactive interface by combining the data proxy device, and a unified data interaction mode is provided for each bank downstream system (comprising a bank customized interface), so that iterative coding of the downstream system can be effectively reduced, development and maintenance cost of the downstream system is reduced, and expandability and maintainability of the system are improved.
In order to achieve the above object, the present invention provides the following technical solutions:
the data interaction method of the transaction management system is characterized in that the transaction management system is provided with an interactive interface for a downstream system to access, and the interactive interface is used for providing data interaction between a foreground system and the downstream system;
setting a data proxy device between the downstream system and the interactive interface to proxy the downstream system to interact with the interactive interface;
the data proxy device is configured to: acquiring and identifying a function call description document provided by an interactive interface, and loading the mapping relation into a mapping converter after obtaining the mapping relation between a function name and a call path; and reading a structured configuration file from a downstream system, wherein the structured configuration file is used for carrying out structured definition of various functions and parameters thereof in a unified format, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling an interactive interface according to the correct function information, obtaining a response message of the interactive interface and carrying out message data analysis.
Further, after the message data is analyzed, the data is saved to a designated database to be subjected to database falling.
Further, the data agent device includes a mapping relation recognition unit;
the mapping relation identifying unit is configured to: and identifying and classifying functions corresponding to various transaction, service scene and/or operation attribute data in different foreground systems according to the function call description document provided by the interactive interface, identifying the corresponding relation between function names and function call paths of the functions to obtain function names and call path mapping relations, and loading the function names and call path mapping relations into a mapping converter for storage.
Further, the data proxy device comprises a request mapping processing unit and a response mapping processing unit which are arranged facing to the downstream system, and is used for assisting the downstream system to generate a structural configuration file, wherein the structural configuration file comprises a request information calling template and a response information calling template;
the request mapping processing unit is configured to: obtaining a structured configuration file sent by a downstream system to generate demand information, using a preset first data format according to the demand information, marking out function names and function parameter names of functions according to definitions in a function call description file provided by an interactive interface, generating a request information call template and storing the request information call template in the downstream system;
the response mapping processing unit is configured to: and obtaining a structured configuration file sent by a downstream system to generate demand information, marking a response data field and a database field mapping list according to definition in a function call description file provided by an interactive interface by using a preset second data format according to the demand information, generating a response information call template and storing the response information call template in the downstream system.
Further, the first data format and the second data format are configured by a downstream system, the first data format is an extensible markup language, XML, format, and the second data format is a lightweight data interchange format, JSON, format.
Further, the mapping converter of the data proxy apparatus is further configured to:
and reading the request information calling template and the response information calling template from a downstream system, processing the request information and the response information according to the function name, respectively generating a request mapping record and a response mapping record which take the function name as a unique identification number, and storing the request mapping record and the response mapping record into a mapping converter.
Further, the data proxy device comprises a function call and response data parsing unit,
the function call and response data parsing unit is configured to make function addressing calls as follows: reading the request mapping record from the mapping converter, carrying out matching mapping on the request mapping record and the function name and the calling path mapping relation, obtaining the function name of the correct function through matching the calling path, and remotely calling the interactive interface according to the function name;
the function call and response data parsing unit is configured to parse a response message according to the following steps: after the response information of the interactive interface is obtained, the response mapping record is read from the mapping converter, analysis rule matching is carried out according to the response mapping record so as to obtain a correct mapping rule, and the response message data of the corresponding function is analyzed according to the correct mapping rule.
Further, the data proxy apparatus further comprises a monitoring and statistics unit configured to: monitoring the interaction information in the data proxy device and generating monitoring data; when a data statistics request is received, acquiring the monitoring data, and then carrying out statistics analysis according to a preset requirement to generate statistics data;
and/or, the data proxy device further comprises an encryption and decryption unit, and the encryption and decryption unit is configured to: when the interactive data needs to be encrypted or decrypted, the data is encrypted or decrypted based on a preset encryption and decryption algorithm.
The invention also provides a data proxy device of the transaction management system, wherein the transaction management system is provided with an interactive interface for the access of a downstream system, and the data interaction between a foreground system and the downstream system is provided through the interactive interface;
the data proxy device is arranged between the downstream system and the interactive interface to proxy the downstream system to interact with the interactive interface;
the data proxy device is configured to: acquiring and identifying a function call description document provided by an interactive interface, and loading the mapping relation into a mapping converter after obtaining the mapping relation between a function name and a call path; and reading a structured configuration file from a downstream system, wherein the structured configuration file is used for carrying out structured definition of various functions and parameters thereof in a unified format, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling an interactive interface according to the correct function information, acquiring a response message of the interactive interface, carrying out message data analysis, and storing data for database falling.
The invention also provides a transaction management system, which comprises an interactive interface, wherein after the downstream system is accessed into the transaction management system through the interactive interface, the downstream system performs data interaction with the foreground system through the interactive interface;
setting a data proxy device between the downstream system and the interactive interface to proxy the downstream system to interact with the interactive interface;
the data proxy device is configured to: acquiring and identifying a function call description document provided by an interactive interface, and loading the mapping relation into a mapping converter after obtaining the mapping relation between a function name and a call path; and reading a structured configuration file from a downstream system, wherein the structured configuration file is used for carrying out structured definition of various functions and parameters thereof in a unified format, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling an interactive interface according to the correct function information, acquiring a response message of the interactive interface, carrying out message data analysis, and storing data for database falling.
Further, the downstream system is a fund business management background system of the transaction management system or a bank customized interface; the foreground system comprises a home currency fund service management system CMS and a foreign exchange fund management system XMS;
when the interactive interface provides the new function, the downstream system can update the structured configuration file according to the new function so as to synchronize the new function.
Compared with the prior art, the invention has the following advantages and positive effects by taking the technical scheme as an example: the invention carries out unified structural definition on various functions and parameters thereof by setting the structural configuration file, then, the downstream system is interacted with the interactive interface by combining the data proxy device, and a unified data interaction mode is provided for each bank downstream system (comprising a bank customized interface), so that iterative coding of the downstream system can be effectively reduced, development and maintenance cost of the downstream system is reduced, and expandability and maintainability of the system are improved.
On the one hand, the data proxy device proxies the downstream system to interact with the interactive interface CIIS, reads the structural configuration file of the downstream system through the data proxy device proxy, then performs the matching mapping of function information according to the rule defined by the structural configuration file of the downstream system to map the correct function through the mapping converter, and then calls the interactive interface CIIS to acquire the response message of the interactive interface CIIS; after receiving the response message, the data proxy device analyzes the CIIS response message according to the data analysis rule of the mapping converter to obtain corresponding transaction data, such as transaction A business data, transaction B damage and benefit data, transaction N valuation data and the like, and stores the data in a database according to the need. Compared with the traditional scheme of remotely calling the CIIS function through the downstream system in a one-to-one manner, the invention ensures that the downstream system does not need to carry out a large number of codes (in the prior art, the downstream system needs to develop different codes according to different foreground systems, different service scenes and the like to remotely call the CIIS function and transmit corresponding function parameters), and the matching mapping, addressing call, monitoring statistics and other treatments of function information are put into the data proxy device to be executed, and the downstream system mainly carries out configuration of the structural configuration file. When the CIIS provides the newly added function, the downstream system updates the structured configuration file, the automatic expansion of the newly added function of the CIIS is realized through the configuration file, the interactive function expansion with the CIIS is realized by the downstream system on the premise of not adding the new code, and the operations of iterative coding, frequent compiling and continuous upgrading of the downstream system are reduced.
In another aspect, the data proxy apparatus further provides a request mapping processing unit and a response mapping processing unit for assisting the downstream system in generating the structured profile.
In yet another aspect, the data proxy device further includes a monitoring and statistics unit, which can monitor the trace of each interactive process, generate statistics data, and facilitate manual maintenance. In particular, by uniformly monitoring the entire data calling process, the same maintenance reference and operation specification can be provided for different downstream systems, and the dependence on coding personnel is reduced.
Drawings
Fig. 1 is a timing diagram of a customized interface provided in the prior art for calling CIIS functions one by one to request service data.
Fig. 2 is a data transmission diagram of a downstream system accessing CIIS data through a data proxy device according to an embodiment of the present invention.
FIG. 3 is a timing diagram illustrating interaction between a downstream system and CIIS by a proxy device according to an embodiment of the present invention.
Fig. 4 is a block diagram of a data proxy device according to an embodiment of the present invention.
Fig. 5 is an information processing schematic diagram of a mapping converter according to an embodiment of the present invention.
Fig. 6 is a logic diagram of interaction between a data proxy device and CIIS according to an embodiment of the present invention.
Description of the embodiments
The data interaction method, device and system of the transaction management system disclosed by the invention are further described in detail below with reference to the accompanying drawings and specific embodiments. It is noted that techniques (including methods and apparatus) known to those of ordinary skill in the relevant art may not be discussed in detail, but are considered to be part of the specification where appropriate. Meanwhile, other examples of the exemplary embodiment may have different values. The structures, proportions, sizes, etc. shown in the drawings are shown only in connection with the present disclosure for purposes of understanding and reading by those skilled in the art and are not intended to limit the scope of the invention.
In the description of the embodiment of the present application, "/" means "and/or" is used to describe the association relationship of the association object, which means that three relationships may exist, for example, "a and/or b" means: there are three cases of A and B separately. In the description of the embodiments of the present application, "plurality" means two or more.
Term interpretation:
1) The CIIS is an interactive interface provided by the transaction management system ComStar, and is called ComStar Interactive Interface Service, and is used for providing a service for data interaction between the foreground system and the downstream system, wherein the data range of interaction can cover data such as foundation, transaction, damage and benefit.
2) The foreground system is a system for providing information acquisition, foreground transaction analysis and transaction management in a transaction management system. Taking the ComStar system as an example, the foreground system may include a CMS system (i.e., a home currency funds business management system) and an XMS system (i.e., a foreign exchange funds management system), among others.
3) Downstream system refers to an extranet system that accesses the transaction management system. Taking the ComStar system as an example, the account authority authentication mode provided by the interactive interface CIIS is used for accessing the external system of the CIIS, and specifically, the ComStar funds service management background system, the bank customized interface service (or called bank customized interface) and the like can be used.
4) A function, also called a method in a programming language, refers to a piece of independent code that has a certain function or performs a certain action, which can be invoked locally or remotely.
5) The function parameters refer to parameters that need to be input when a certain function is called, and may be 0, 1 or more parameters.
Hereinafter, the technical concept and the scheme of the present invention will be described according to an exemplary application scenario.
Examples
The invention provides a data interaction method of a transaction management system, wherein the transaction management system is provided with an interactive interface for a downstream system to access, and data interaction between a foreground system and the downstream system is provided through the interactive interface.
The transaction management system is a system for performing transaction related data management, preferably a transaction management system for inter-bank market transaction data management, which is set for a transaction system (including a transaction platform, a post-transaction platform and the like), and may be, for example and without limitation, a ComStar system in the prior art. The transaction management system can be composed of a plurality of functional modules, supports different business lines through the combination of different functional modules, and builds a management system for the direct processing from information acquisition, foreground transaction analysis and management, middle platform risk control and background transaction for the bank. Specifically, the transaction management system can cover all business types of the foreign currency transaction platform of the Chinese foreign exchange transaction center, the business of the Shanghai and Shenzhen securities exchange cash and buyback, the business of the cash and derivative, the business of ticket exchange transfer and buyback, the business of the Zhongjin national debt futures and the like, and various off-line businesses. The transaction management system can be seamlessly integrated with the transaction center transaction platform and the post-transaction platform, and through processing of transaction strategies, pre-approval, real-time credit control, transaction confirmation and funds clearing is realized.
The downstream system can be a fund business management background system of a transaction management system, and can also be a bank customized interface service corresponding to each bank.
In this embodiment, a data proxy device is provided between the downstream system and the interactive interface to proxy the interaction between the downstream system and the interactive interface. Specifically, the data proxy device is configured to perform the steps of: acquiring and identifying a function call description document provided by an interactive interface, and loading the mapping relation into a mapping converter after obtaining the mapping relation between a function name and a call path; and reading a structured configuration file from a downstream system, wherein the structured configuration file is used for carrying out structured definition of various functions and parameters thereof in a unified format, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling an interactive interface according to the correct function information, obtaining a response message of the interactive interface and carrying out message data analysis. After the message data is analyzed, the data is saved to a designated database to be subjected to database falling.
Taking an interactive interface as an interactive interface CIIS of the ComStar system as an example, referring to fig. 2, a data proxy device is disposed between the downstream system and the CIIS, and is used for proxy interaction between the downstream system and the CIIS, and an interaction timing diagram is shown in fig. 3: firstly, the data proxy device reads a downstream system structured configuration file, and then automatically matches and maps correct functions, such as a function a (corresponding function parameters comprise parameters A1, A2, … … and An), a function B (corresponding function parameters comprise parameters B1, B2, … … and Bn), and a function N (corresponding function parameters comprise parameters N1, N2, … … and Nn) in fig. 2 through a mapping converter according to rules defined by the structured configuration file, wherein N and N are integers greater than or equal to 1; after obtaining the correct function information, calling the CIIS, and obtaining CIIS response messages, such as the response message corresponding to the function A is transaction A business data, the response message corresponding to the function B is transaction B damage data, and the response message corresponding to the function N is transaction N valuation data. After receiving CIIS response message, the data proxy device analyzes the message according to data analysis rule of mapping converter and stores the message in database.
In this embodiment, the data proxy device may include a mapping relationship identifying unit. The mapping relation identifying unit is configured to: and identifying and classifying functions corresponding to various transaction, service scene and/or operation attribute data in different foreground systems according to the function call description document provided by the interactive interface, identifying the corresponding relation between function names and function call paths of the functions to obtain function names and call path mapping relations, and loading the function names and call path mapping relations into a mapping converter for storage.
Preferably, referring to fig. 4, the data proxy device may further include a request mapping processing unit and a response mapping processing unit set facing the downstream system, and the request mapping processing unit and the response mapping processing unit are configured to assist the downstream system to generate a structural configuration file, where the structural configuration file includes a request information call template and a response information call template.
The request mapping processing unit is configured to: the method comprises the steps of obtaining a structured configuration file sent by a downstream system to generate demand information, using a preset first data format according to the demand information, marking function names and function parameter names of functions according to definitions in a function call description file provided by an interactive interface, generating a request information call template and storing the request information call template in the downstream system.
The response mapping processing unit is configured to: and obtaining a structured configuration file sent by a downstream system to generate demand information, marking a response data field and a database field mapping list according to definition in a function call description file provided by an interactive interface by using a preset second data format according to the demand information, generating a response information call template and storing the response information call template in the downstream system.
In this embodiment, the first data format and the second data format are configured by a downstream system, the first data format is preferably an extensible markup language XML format, and the second data format is preferably a lightweight data interchange format JSON format.
Referring to fig. 5, in this embodiment, the mapping converter is configured to perform the following steps to generate a request mapping record and a response mapping record: and reading the request information calling template and the response information calling template from a downstream system, processing the request information and the response information according to the function name, respectively generating a request mapping record and a response mapping record which take the function name as a unique identification number, and storing the request mapping record and the response mapping record into a mapping converter.
In this embodiment, the data proxy device includes a function call and response data parsing unit.
The function call and response data parsing unit is configured to make function addressing calls as follows: and reading the request mapping record from the mapping converter, carrying out matching mapping on the request mapping record and the function names and the calling path mapping relation, obtaining the function names of the correct functions through matching the calling paths, and remotely calling the interactive interfaces according to the function names.
The function call and response data parsing unit is configured to parse a response message according to the following steps: after the response information of the interactive interface is obtained, the response mapping record is read from the mapping converter, analysis rule matching is carried out according to the response mapping record so as to obtain a correct mapping rule, and the response message data of the corresponding function is analyzed according to the correct mapping rule.
In another embodiment, the data proxy device further includes a monitoring and statistics unit, and an encryption and decryption unit.
The monitoring and statistics unit is configured to: monitoring the interaction information in the data proxy device and generating monitoring data; when a data statistics request is received, acquiring the monitoring data, and then carrying out statistics analysis according to a preset requirement to generate statistics data;
the data proxy device further includes an encryption and decryption unit configured to: when the interactive data needs to be encrypted or decrypted, the data is encrypted or decrypted based on a preset encryption and decryption algorithm.
The process of data interaction with the interactive interface CIIS via the data proxy device proxy downstream system is described in detail below in connection with fig. 6.
Step S100, according to a function call description document (called CIIS document below) provided by the interactive interface CIIS, identifying and classifying functions corresponding to various transactions, service scenes and data attribute data of different foreground systems, and identifying the corresponding relationship of function names and call paths of the functions, namely mapping relationship.
In step S200, the data proxy device reads the function name and the call path mapping relationship identified in step S100, and stores them in the mapping converter.
And step S300, the downstream system uses extensible markup language XML to define function names and parameter names of marked functions according to CIIS documents according to actual requirements, and generates a request information calling template. This step may be accomplished using a request mapping processing unit in the data proxy device.
In step S400, the downstream system marks out a response data field and a database field mapping list according to CIIS document definition by using a JSON format according to actual requirements, and generates a response information definition template. This step may be accomplished using a response mapping processing unit in the data proxy device.
In step S500, the data proxy device reads the request information call template generated in step S300 and the response information call template generated in step S400 from the downstream system, performs information processing based on the function name, collates the request map record and the response map record with the function name as the unique identification number, and stores the request map record and the response map record in the map converter.
Step S600, for the request mapping record in step S500, matching the mapping relation generated in step S200, finding a correct function, such as function X in fig. 6 (corresponding function parameters include parameter X1, parameter X2, … …, parameter Xn), where n is an integer greater than or equal to 1, through matching the call path, and remotely calling CIIS.
In step S700, after receiving CIIS response information, i.e. function X response data, the data proxy device finds out the correct mapping rule by matching the parsing rule according to the response mapping record in step S500.
In step S800, an parsing operation, that is, parsing the function X response data, is performed.
Step S900, after analyzing the response message, the data is saved and stored, and/or other data processing is performed.
In the technical scheme, by setting the structural configuration file and the data proxy device, a downstream system does not need to carry out a large number of codes, and the matching mapping, addressing calling, monitoring statistics and other processes of function information are carried out in the data proxy device, so that the downstream system mainly focuses on the configuration of the structural configuration file. When the CIIS provides the newly added function, the downstream system updates the rule defined by the structured configuration file, automatically expands the newly added function of the CIIS according to the definition of the configuration file, and realizes the interactive function expansion with the CIIS without the premise of newly adding the code, thereby reducing the operations of iterative coding, frequent compiling and continuous upgrading of the downstream system.
In another embodiment of the present invention, a data proxy device of a transaction management system is also provided.
The transaction management system is provided with an interactive interface for accessing a downstream system, and data interaction between a foreground system and the downstream system is provided through the interactive interface.
The data proxy device is arranged between the downstream system and the interactive interface to proxy the downstream system to interact with the interactive interface.
The data proxy device is configured to: acquiring and identifying a function call description document provided by an interactive interface, and loading the mapping relation into a mapping converter after obtaining the mapping relation between a function name and a call path; and reading a structured configuration file from a downstream system, wherein the structured configuration file is used for carrying out structured definition of various functions and parameters thereof in a unified format, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling an interactive interface according to the correct function information, acquiring a response message of the interactive interface, carrying out message data analysis, and storing data for database falling.
Other technical features are described in the previous embodiments and are not described in detail here.
In another embodiment of the present invention, a transaction management system is provided, where the system includes an interactive interface, and after a downstream system accesses the transaction management system through the interactive interface, data interaction is performed with a foreground system through the interactive interface.
A data proxy device is provided between the downstream system and the interactive interface to proxy the downstream system for interaction with the interactive interface.
The data proxy device is configured to: acquiring and identifying a function call description document provided by an interactive interface, and loading the mapping relation into a mapping converter after obtaining the mapping relation between a function name and a call path; and reading a structured configuration file from a downstream system, wherein the structured configuration file is used for carrying out structured definition of various functions and parameters thereof in a unified format, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling an interactive interface according to the correct function information, acquiring a response message of the interactive interface, carrying out message data analysis, and storing data for database falling.
In this embodiment, the downstream system may be a funding service management background system of the transaction management system, or a bank customization interface.
The foreground system may include a home currency funds business management system CMS and a foreign currency funds management system XMS system.
When the interactive interface provides the new function, the downstream system can update the structured configuration file according to the new function so as to synchronize the new function.
Other technical features are described in the previous embodiments and are not described in detail here.
The invention also provides a computer readable storage medium storing a computer program executable by a processing unit, which computer program, when executed by the processing unit, implements a method as described above.
The storage medium may include a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, etc. various media capable of storing program codes.
Other technical features are described in the previous embodiments and are not described in detail here.
In the above description, the disclosure of the present invention is not intended to limit itself to these aspects. Rather, the components may be selectively and operatively combined in any number within the scope of the present disclosure. In addition, terms like "comprising," "including," and "having" should be construed by default as inclusive or open-ended, rather than exclusive or closed-ended, unless expressly defined to the contrary. All technical, scientific, or other terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Common terms found in dictionaries should not be too idealized or too unrealistically interpreted in the context of the relevant technical document unless the present disclosure explicitly defines them as such. Any alterations and modifications of the present invention, which are made by those of ordinary skill in the art based on the above disclosure, are intended to be within the scope of the appended claims.

Claims (10)

1. The data interaction method of the transaction management system is characterized in that the transaction management system is provided with an interactive interface for a downstream system to access, and the data interaction between a foreground system of the transaction management system and the downstream system is provided through the interactive interface, and the method is characterized in that: the downstream system is an external connection system accessed to the transaction management system, and is accessed to the interactive interface through an account authority authentication mode provided by the interactive interface;
setting a data proxy device between the downstream system and the interactive interface to proxy the downstream system to interact with the interactive interface; the downstream system is used for configuring the structural configuration file;
the data proxy device is configured to: acquiring and identifying a function call description document provided by an interactive interface, and loading the mapping relation into a mapping converter after obtaining the mapping relation between a function name and a call path; the method comprises the steps of obtaining a plurality of functions and parameters of the functions, reading a structured configuration file from a downstream system, carrying out uniform format structured definition on the functions and the parameters of the functions, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling an interactive interface according to the correct function information, obtaining a response message of the interactive interface corresponding to the correct function, and carrying out message data analysis; when the interactive interface provides the newly added function, the downstream system can update the structural configuration file according to the newly added function so as to synchronize the newly added function;
the data proxy device comprises a request mapping processing unit and a response mapping processing unit which are arranged facing to a downstream system, and is used for assisting the downstream system to generate a structural configuration file, wherein the structural configuration file comprises a request information calling template and a response information calling template;
the request mapping processing unit is configured to: obtaining a structured configuration file sent by a downstream system to generate demand information, using a preset first data format according to the demand information, marking out function names and function parameter names of functions according to definitions in a function call description file provided by an interactive interface, generating a request information call template and storing the request information call template in the downstream system;
the response mapping processing unit is configured to: and obtaining a structured configuration file sent by a downstream system to generate demand information, marking a response data field and a database field mapping list according to definition in a function call description file provided by an interactive interface by using a preset second data format according to the demand information, generating a response information call template and storing the response information call template in the downstream system.
2. The method according to claim 1, characterized in that: after the message data is analyzed, the data is saved to a designated database to be subjected to database falling.
3. The method according to claim 1, characterized in that: the data agent device comprises a mapping relation identification unit;
the mapping relation identifying unit is configured to: and identifying and classifying functions corresponding to various transaction, service scene and/or operation attribute data in different foreground systems according to the function call description document provided by the interactive interface, identifying the corresponding relation between function names and function call paths of the functions to obtain function names and call path mapping relations, and loading the function names and call path mapping relations into a mapping converter for storage.
4. The method according to claim 1, characterized in that: the first data format and the second data format are configured by a downstream system, the first data format is an extensible markup language (XML) format, and the second data format is a lightweight data exchange format (JSON) format.
5. The method according to claim 1, characterized in that: the mapping converter of the data proxy apparatus is further configured to:
and reading the request information calling template and the response information calling template from a downstream system, processing the request information and the response information according to the function name, respectively generating a request mapping record and a response mapping record which take the function name as a unique identification number, and storing the request mapping record and the response mapping record into a mapping converter.
6. The method according to claim 5, wherein: the data proxy device comprises a function call and response data parsing unit,
the function call and response data parsing unit is configured to make function addressing calls as follows: reading the request mapping record from the mapping converter, carrying out matching mapping on the request mapping record and the function name and the calling path mapping relation, obtaining the function name of the correct function through matching the calling path, and remotely calling the interactive interface according to the function name;
the function call and response data parsing unit is configured to parse a response message according to the following steps: after the response information of the interactive interface is obtained, the response mapping record is read from the mapping converter, analysis rule matching is carried out according to the response mapping record so as to obtain correct mapping rules, and the response message data of the correct function is analyzed according to the correct mapping rules.
7. The method according to claim 1, characterized in that: the data proxy apparatus further comprises a monitoring and statistics unit configured to: monitoring the interaction information in the data proxy device and generating monitoring data; when a data statistics request is received, acquiring the monitoring data, and then carrying out statistics analysis according to a preset requirement to generate statistics data;
and/or, the data proxy device further comprises an encryption and decryption unit, and the encryption and decryption unit is configured to: when the interactive data needs to be encrypted or decrypted, the data is encrypted or decrypted based on a preset encryption and decryption algorithm.
8. A data proxy device of a transaction management system implementing the method of claim 1, the transaction management system being provided with an interactive interface for access by a downstream system, data interaction of a foreground system of the transaction management system with the downstream system being provided through the interactive interface, characterized in that:
the data proxy device is arranged between the downstream system and the interactive interface to proxy the downstream system to interact with the interactive interface;
the data proxy device is configured to: acquiring and identifying a function call description document provided by an interactive interface, and loading the mapping relation into a mapping converter after obtaining the mapping relation between a function name and a call path; reading a structured configuration file from a downstream system, wherein the structured configuration file is used for carrying out structured definition of various functions and parameters thereof in a unified format, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling an interactive interface according to the correct function information, acquiring a response message of the interactive interface, carrying out message data analysis, and storing data for database falling; when the interactive interface provides the new function, the downstream system can update the structured configuration file according to the new function so as to synchronize the new function.
9. A transaction management system for implementing the method of claim 1, comprising an interactive interface, wherein after a downstream system accesses the transaction management system through the interactive interface, the downstream system performs data interaction with a foreground system of the transaction management system through the interactive interface, and the transaction management system is characterized in that:
setting a data proxy device between the downstream system and the interactive interface to proxy the downstream system to interact with the interactive interface;
the data proxy device is configured to: acquiring and identifying a function call description document provided by an interactive interface, and loading the mapping relation into a mapping converter after obtaining the mapping relation between a function name and a call path; reading a structured configuration file from a downstream system, wherein the structured configuration file is used for carrying out structured definition of various functions and parameters thereof in a unified format, carrying out matching mapping through the mapping converter according to rules defined by the structured configuration file to obtain correct function information, calling an interactive interface according to the correct function information, acquiring a response message of the interactive interface, carrying out message data analysis, and storing data for database falling; when the interactive interface provides the new function, the downstream system can update the structured configuration file according to the new function so as to synchronize the new function.
10. The transaction management system of claim 9, wherein: the downstream system is a fund service management background system of the transaction management system or a bank customized interface; the foreground system comprises a home currency funds business management system CMS and a foreign currency funds management system XMS.
CN202310783666.8A 2023-06-29 2023-06-29 Data interaction method, device and system of transaction management system Active CN116719871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310783666.8A CN116719871B (en) 2023-06-29 2023-06-29 Data interaction method, device and system of transaction management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310783666.8A CN116719871B (en) 2023-06-29 2023-06-29 Data interaction method, device and system of transaction management system

Publications (2)

Publication Number Publication Date
CN116719871A CN116719871A (en) 2023-09-08
CN116719871B true CN116719871B (en) 2024-03-19

Family

ID=87873310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310783666.8A Active CN116719871B (en) 2023-06-29 2023-06-29 Data interaction method, device and system of transaction management system

Country Status (1)

Country Link
CN (1) CN116719871B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620536A (en) * 2009-08-17 2010-01-06 用友软件股份有限公司 Method and device for invoking performance function
CN102999329A (en) * 2012-11-05 2013-03-27 浙江吉利汽车研究院有限公司杭州分公司 Active directory interface developing method based on extensive markup language mapping configuration
CN103399735A (en) * 2013-07-12 2013-11-20 浙江吉利汽车研究院有限公司杭州分公司 Method for developing intermediate layer of remote function call interface
CN111385292A (en) * 2020-03-04 2020-07-07 西安旌旗电子股份有限公司 Descriptor-based protocol message and data interaction method and system
CN111459489A (en) * 2020-02-27 2020-07-28 湖南大学 Automatic service packaging method, system and application of dynamic library
CN115150244A (en) * 2022-06-28 2022-10-04 上海中汇亿达金融信息技术有限公司 Adaptation system and method for managing external data interaction with a funding system
CN115248919A (en) * 2021-04-27 2022-10-28 腾讯科技(深圳)有限公司 Method and device for calling function interface, electronic equipment and storage medium
CN115460265A (en) * 2022-09-21 2022-12-09 中国工商银行股份有限公司 Interface calling method, device, equipment and medium
CN115562761A (en) * 2022-09-21 2023-01-03 阳光保险集团股份有限公司 Function calling method and device and electronic equipment
CN116346961A (en) * 2023-05-30 2023-06-27 成方金融科技有限公司 Financial message processing method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620536A (en) * 2009-08-17 2010-01-06 用友软件股份有限公司 Method and device for invoking performance function
CN102999329A (en) * 2012-11-05 2013-03-27 浙江吉利汽车研究院有限公司杭州分公司 Active directory interface developing method based on extensive markup language mapping configuration
CN103399735A (en) * 2013-07-12 2013-11-20 浙江吉利汽车研究院有限公司杭州分公司 Method for developing intermediate layer of remote function call interface
CN111459489A (en) * 2020-02-27 2020-07-28 湖南大学 Automatic service packaging method, system and application of dynamic library
CN111385292A (en) * 2020-03-04 2020-07-07 西安旌旗电子股份有限公司 Descriptor-based protocol message and data interaction method and system
CN115248919A (en) * 2021-04-27 2022-10-28 腾讯科技(深圳)有限公司 Method and device for calling function interface, electronic equipment and storage medium
CN115150244A (en) * 2022-06-28 2022-10-04 上海中汇亿达金融信息技术有限公司 Adaptation system and method for managing external data interaction with a funding system
CN115460265A (en) * 2022-09-21 2022-12-09 中国工商银行股份有限公司 Interface calling method, device, equipment and medium
CN115562761A (en) * 2022-09-21 2023-01-03 阳光保险集团股份有限公司 Function calling method and device and electronic equipment
CN116346961A (en) * 2023-05-30 2023-06-27 成方金融科技有限公司 Financial message processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116719871A (en) 2023-09-08

Similar Documents

Publication Publication Date Title
CN109246188B (en) System supporting multi-channel transaction and multi-channel transaction processing method
CA2436319A1 (en) Payment validation network
WO2020023180A1 (en) Method and system for hybrid payment authorization
CN110892431B (en) Method and system for improved transaction processing and routing
US20190318020A1 (en) Platform-independent intelligent data transformer
US20060259423A1 (en) Centralized payment processing system
US8473399B2 (en) Invoice data object for a common data object format
US20060020545A1 (en) Payroll system
US11809415B2 (en) Method and system for data localization-compliant blockchain processing and storage
US20170010842A1 (en) Document output processing
US11763300B2 (en) Method and system for currency-agnostic real-time settlement
US20080021817A1 (en) Method, apparatus, and computer program product for repository data maximization
CN102456178A (en) Construction project payment management system
CN116719871B (en) Data interaction method, device and system of transaction management system
US11941622B2 (en) Method and system for employing blockchain for fraud prevention in bulk purchases
CN111242779B (en) Financial data characteristic selection and prediction method, device, equipment and storage medium
CN115455239B (en) Conversion method and device for JAVA class instance and target format data
CN115983985A (en) Refined credit line management method
CN110866813A (en) Intelligent accounting system for managing accountants
CN114971825A (en) System for generating financial voucher based on retail business and financial voucher generating method thereof
CN115185713B (en) Data semantic negotiation method and service information exchange method in supply chain cooperation
US20040138976A1 (en) Notes receivable management system and method
CN115908035B (en) Real estate measuring stakeholder cash flow data processing method
US11704671B2 (en) Financial messaging transformation-as-a-service
CN111131389B (en) Credit service platform and data management method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant