+

CN115811466B - A configurable channel access system - Google Patents

A configurable channel access system Download PDF

Info

Publication number
CN115811466B
CN115811466B CN202211041310.9A CN202211041310A CN115811466B CN 115811466 B CN115811466 B CN 115811466B CN 202211041310 A CN202211041310 A CN 202211041310A CN 115811466 B CN115811466 B CN 115811466B
Authority
CN
China
Prior art keywords
channel
configuration
interface
information
transaction
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
CN202211041310.9A
Other languages
Chinese (zh)
Other versions
CN115811466A (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.)
Jiangsu Sushang Bank Co ltd
Original Assignee
Jiangsu Sushang Bank 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 Jiangsu Sushang Bank Co ltd filed Critical Jiangsu Sushang Bank Co ltd
Priority to CN202211041310.9A priority Critical patent/CN115811466B/en
Publication of CN115811466A publication Critical patent/CN115811466A/en
Application granted granted Critical
Publication of CN115811466B publication Critical patent/CN115811466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种配置化通道接入系统。该系统包括后台配置管理系统、受理侧系统和网关,所述后台配置管理系统用以提供通道参数配置、通道交易汇总和差错处理的页面功能,受理侧系统用以为上游系统提供交易标准接口,网关根据后台配置管理系统提供的通道参数配置信息将通道请求初始参数通过核心接口转换成下游通道请求参数,并将所述下游通道请求参数发送至下游的通道,以使下游的通道根据下游通道请求参数执行交易操作。本发明通过简单的配置即可实现不同通道复杂的参数转换,使得开发人员只需要熟悉配置流程再配合少量代码即可实现;降低通道间耦合,提升通道稳定性、运维效率和安全性。

The present invention discloses a configurable channel access system. The system includes a background configuration management system, an acceptance side system and a gateway. The background configuration management system is used to provide page functions for channel parameter configuration, channel transaction summary and error processing. The acceptance side system is used to provide a transaction standard interface for the upstream system. The gateway converts the initial parameters of the channel request into downstream channel request parameters through a core interface according to the channel parameter configuration information provided by the background configuration management system, and sends the downstream channel request parameters to the downstream channel, so that the downstream channel performs transaction operations according to the downstream channel request parameters. The present invention can realize complex parameter conversion of different channels through simple configuration, so that developers only need to be familiar with the configuration process and cooperate with a small amount of code to realize it; reduce coupling between channels, and improve channel stability, operation and maintenance efficiency and security.

Description

Configurated channel access system
Technical Field
The invention relates to the technical field of computers, in particular to a configuration channel access system.
Background
With the continuous expansion of banking business, external channels which need to be butted are more and more, the business demands of the channels are more and more, and the urgent channel access demands are not insufficient, so that not only is the bank payment department required to have agile development capability, but also a set of useful channel access flow and a support of a special channel access system are required. The traditional channel access can generate many repeated works, such as assembly parameters, encryption, signature adding, decryption and signature verification, if the service logic is not packaged well, the code coupling degree is high, the maintainability of the code is poorer and worse, and great risks and cost investment can be brought to each modification or addition. In addition, the bank monitoring system also hopes to monitor the data such as the service success rate and the system success rate of each channel through the interface dimension and the channel dimension respectively, so that the automatic channel switching function is achieved, and the channel stability is improved.
Disclosure of Invention
The invention aims at overcoming the defects of the prior art and providing a configured channel access system.
In order to achieve the above purpose, the invention provides a configurated channel access system, which comprises a background configuration management system, a receiving side system and a gateway;
The background configuration management system is used for providing page functions of channel parameter configuration, channel transaction summarization and error processing, and when a user adds, deletes or modifies channel parameter configuration information through the background configuration management system, the background configuration management system sends the modified or new channel parameter configuration information to the acceptance side system and the gateway for storage;
The system at the receiving side is used for providing a transaction standard interface for the upstream system so that the upstream system can send a transaction request to the system at the receiving side by calling the corresponding transaction standard interface, the system at the receiving side executes a standard service processing flow according to the interface called by the upstream system so as to obtain channel request initial parameters, and finally the channel request initial parameters are sent to the gateway;
The gateway converts the channel request initial parameters into downstream channel request parameters through a core interface according to channel parameter configuration information provided by a background configuration management system, and sends the downstream channel request parameters to downstream channels, so that the downstream channels execute transaction operations according to the downstream channel request parameters, the downstream channels generate return information according to execution results and send the return information to the gateway through the core interface, the gateway maps the return information to transaction results, and finally the transaction results are returned to an upstream system through a receiving side system.
Further, the transaction standard interface comprises a short message application interface, a signing interface, a gold-in interface, a gold-out interface and a billing interface.
Further, the channel parameter configuration includes a channel basic information configuration, a channel message mapping configuration and a channel communication parameter configuration.
Further, the channel basic information configuration comprises a channel name, a channel main flow, a channel encryption and verification method and a channel encryption and decryption method.
Further, the channel message mapping configuration includes a channel preamble message mapping configuration, a channel request parameter message mapping configuration, and a response message mapping configuration.
Further, the channel communication parameter configuration comprises interface information configuration of a calling channel, channel timeout information configuration and transaction result mapping information configuration.
Furthermore, the background configuration management system issues newly added, deleted or modified channel parameter configuration information to the event of redis, and the acceptance side system and the gateway use the monitoring function of redis at the same time, so that the modified information is saved in the memory again after the newly added, deleted or modified channel parameter configuration is monitored.
The method has the beneficial effects that 1, the access efficiency of the channels is improved, the variability among the channels is shielded, the complex parameter conversion of different channels can be realized through simple configuration, and a developer can realize the method by only familiarizing with a configuration flow and matching with a small amount of codes;
2. The inter-channel coupling is reduced, the stability of the channels is improved, and developers do not influence other channels due to the fact that the service of a certain channel is modified, so that the stability of each channel is improved;
3. The channel configuration is managed uniformly, all parameter configurations of the channel are managed in a background, and if the parameter configurations are changed, for example, channel merchants, channel interfaces and the like are changed, the channel configurations are only required to be changed in a background to take effect in real time, so that the channel operation and maintenance efficiency is improved;
The 4-channel interface is standardized, so that the service success rate of the standard interface can be monitored at the acceptance side, each channel or each bank can be monitored at the gateway layer, and the safety of the channels is improved.
Drawings
FIG. 1 is a schematic workflow diagram of a configured channel access system according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for a background configuration management system to send channel parameter configuration information to a receiving side system and a gateway;
FIG. 3 is a schematic diagram of core modules of a background configuration management system;
FIG. 4 is a schematic diagram of the core modules of the receiver-side system;
FIG. 5 is a core module schematic of the gateway;
FIG. 6 is an interface schematic of a channel configuration;
FIG. 7 is an interface diagram of a channel message map configuration via a message template;
Fig. 8 is a schematic diagram of a channel communication parameter configuration interface.
Detailed Description
The invention will be further illustrated by the following drawings and specific examples, which are carried out on the basis of the technical solutions of the invention, it being understood that these examples are only intended to illustrate the invention and are not intended to limit the scope of the invention.
As shown in FIG. 1, the embodiment of the invention provides a configured channel access system, which is realized based on java development, wherein a third party framework is applied to the bottom layer springboot, a mysql is adopted to a database, and middleware comprises redis, zk, kafka and the like. The access of a channel mainly comprises the following processes of 1 pre-business docking, 2 product analysis requirements, 3 product requirement, 4 development of a docking channel interface document, 5 channel code development, 6 channel joint debugging test, and 7 channel online and gray scale. The system specifically comprises a background configuration management system 1, a receiving side system 2 and a gateway 3. After defining the channel interface document and the related parameters provided by the channel, the developer can complete the access work of most channels through the channel parameter configuration of the background configuration management system 1 and the template configuration of the receiving side system, and can start joint debugging with the channels after all the configurations are completed.
The background configuration management system 1 is used for providing page functions of channel parameter configuration, channel transaction summarization and error processing, and when a user adds, deletes or modifies channel parameter configuration information through the background configuration management system 1, the background configuration management system 1 sends the modified or new channel parameter configuration information to the acceptance side system 2 and the gateway 3. Referring specifically to fig. 6, the channel parameter configuration includes a channel basic information configuration, a channel message mapping configuration, and a channel communication parameter configuration. The channel basic information configuration comprises a channel name, a channel main flow, a channel encryption and verification method, a channel encryption and decryption method and the like. The channel message mapping configuration comprises a channel pre-message mapping configuration, a channel request parameter message mapping configuration and a response message mapping configuration. Referring specifically to fig. 7, the channel message mapping configuration may be configured by using a partial message template illustrated in fig. 7. The channel pre-message mapping configuration mainly maps the upstream system parameters into values required by the channel, such as amount conversion, time format conversion, card mechanism coding mapping and the like. The channel request parameter message mapping configuration is used for assembling the parameters after signature verification and pre-mapping into a format required by the channel, such as json, xml and the like. The response message mapping configuration is used for assembling the response message segments returned by the channel into a standard format for judging whether the transaction is successful or not by the acceptance side. The channel communication parameter configuration is the same as the channel basic information configuration, after the receiving side system sends the message to the gateway, the configuration information is loaded into the memory and is transmitted to the thread end along with the transaction thread. The channel communication parameter configuration information mainly comprises interface information of a calling channel, channel timeout information, transaction result mapping information and the like, and can be seen in fig. 8. Referring to fig. 2, preferably, the background configuration management system 1 may issue the newly added, deleted or modified channel parameter configuration information to the redis, where the receiving side system 2 and the gateway 3 use the monitoring function of the redis at the same time, and the modified information is saved in the memory after the newly added, deleted or modified channel parameter configuration is monitored.
The receiving side system 2 is configured to provide a transaction standard interface for the upstream system 4, so that the upstream system 4 sends a transaction request to the receiving side system 2 by calling a corresponding transaction standard interface, the receiving side system 2 executes a standard service processing procedure according to the interface called by the upstream system 4 to obtain a channel request initial parameter, and finally sends the channel request initial parameter to the gateway 3. The transaction standard interface comprises a short message application interface, a signing interface, a gold-in interface, a gold-out interface, a billing interface and the like. The above standard business processing flow is illustrated by taking a signing interface as an example, firstly checking a simple entry, then checking a signing relation, warehousing the request parameters after the checking is passed, assembling the standard channel request initial parameters, and finally transmitting the standard channel request initial parameters to the gateway 3. The gateway 3 converts the channel request initial parameters into downstream channel request parameters through a core Handler (decode) interface according to the channel parameter configuration information provided by the background configuration management system 1, and sends the downstream channel request parameters to the downstream channel 5, so that the downstream channel 5 executes transaction operation according to the downstream channel request parameters, the downstream channel 5 generates return information according to the execution result and sends the return information to the gateway 3 through the core interface, the gateway 3 maps the return information into transaction results, and finally the transaction results are returned to the upstream system 4 through the receiving side system 2.
Referring to fig. 3, the core module of the background configuration management system 1 is illustrated in fig. 3, wherein EnventPublisher has the function that, when the user operates the background configuration management system 1, configuration information is newly added, deleted or modified each time, the information is sent to a common redis through the type, and the redis broadcasts events to the receiving side system 2 and the gateway 3. The channel configuration information is mainly divided into three types, MSGMAPPING (storing parameter mapping information of channel message conversion), tunnelConfig (storing configuration information such as channel encryption and verification signature, encryption and decryption modes and the like) and PIPDICTVIEW (storing configuration information of a system dictionary table).
Referring to fig. 4, fig. 4 illustrates a core module of the receiving side system 2, where ApplyProvider functions to provide a transaction standard interface, including payment, application for sending a sms, signing up, authentication, and the like. TEMPLATESERVICE is a template service interface class, and has the functions of providing a query route channel template, querying a template ID according to a payment mode and a channel number, and obtaining an execution method corresponding to the template through scene coding. The service mainly realizes the route configuration of the channel acceptance test, and when a channel is newly added, the routing function can be realized through the interface only by configuring a corresponding channel template in the database. REFLECTHANDLER is used for realizing the concrete execution flow of channel transactions, and the same transaction of different channels is similar from the whole flow, for example, the application for sending short messages, SMSAPPLYCLIENT is a short message sending service interface class, and the concrete flow is that 1. Checking in parameters, 2. Sending short message pre-processing, 3. Running information warehousing, 4. Sending application, 5. Returning results, 6. Modifying warehousing information, 7. Synchronously returning upstream results.
Referring to fig. 5, fig. 5 illustrates a core module of the gateway 3, where PIPGATEWAYSERVICE is a gateway interface class, and is used to provide a channel 5 standard interface downstream from the accept side system 2 call. Commpent is a configuration information component for storing configuration detailed information of a background configuration management system, wherein ParamCommpent (parameter mapping component) maps upstream parameters into parameters required by a channel, and TunConfigCommpent (channel configuration component) stores main configuration information of the channel, including a signature encryption and verification mode, a decryption mode, a signature encryption and verification field, an encryption and decryption field and the like. HttpConfigComment (channel communication component) stores channel communication specific configuration information, including information such as communication address, communication mode, key certificate path, etc. The Handler is used for calling a channel specific business process, and the channel 5 calls the main business process as follows, 1, encrypting a message field, 2, assembling the message into a format required by the channel, 3, signing the assembled message, 4, connecting the channel to send a channel request, 5, analyzing the channel message, 6, verifying the analyzed message, 7, assembling a return message, 8, decrypting the encryption field of the return message, and 9, returning the result information of the upstream channel. The converter is a message converter, and is also an important expansion point for the system to interface with the channel 5, so that messages in any format, including json format, xml format and http format, can be converted into the result required by the channel 5, and the conversion mode is based on specific information of different channel configurations.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that other parts not specifically described are within the prior art or common general knowledge to a person of ordinary skill in the art. Modifications and alterations may be made without departing from the principles of this invention, and such modifications and alterations should also be considered as being within the scope of the invention.

Claims (1)

1.一种配置化通道接入系统,其特征在于,包括后台配置管理系统、受理侧系统和网关;1. A configurable channel access system, characterized by comprising a background configuration management system, a receiving side system and a gateway; 所述后台配置管理系统用以提供通道参数配置、通道交易汇总和差错处理的页面功能,当用户通过后台配置管理系统新增、删除或修改通道参数配置信息时,所述后台配置管理系统将修改或新增通道参数配置信息发送至受理侧系统和网关中进行存储;The backend configuration management system is used to provide page functions for channel parameter configuration, channel transaction summary and error handling. When a user adds, deletes or modifies channel parameter configuration information through the backend configuration management system, the backend configuration management system sends the modified or added channel parameter configuration information to the acceptance side system and the gateway for storage; 所述受理侧系统用以为上游系统提供交易标准接口,以使上游系统通过调用相应的交易标准接口将交易请求发送至受理侧系统,所述受理侧系统根据上游系统调用的接口执行标准业务处理流程,以获得通道请求初始参数,最后将通道请求初始参数发送至网关;The receiving-side system is used to provide a transaction standard interface for the upstream system, so that the upstream system sends the transaction request to the receiving-side system by calling the corresponding transaction standard interface. The receiving-side system executes the standard business processing flow according to the interface called by the upstream system to obtain the initial parameters of the channel request, and finally sends the initial parameters of the channel request to the gateway; 所述网关根据后台配置管理系统提供的通道参数配置信息将通道请求初始参数通过核心接口转换成下游通道请求参数,并将所述下游通道请求参数发送至下游的通道,以使下游的通道根据所述下游通道请求参数执行交易操作,所述下游的通道根据执行结果生成返回信息,并将所述返回信息通过核心接口发送至网关,所述网关将返回信息映射交易结果,最后通过受理侧系统将交易结果返回至上游系统;The gateway converts the initial channel request parameters into downstream channel request parameters through the core interface according to the channel parameter configuration information provided by the background configuration management system, and sends the downstream channel request parameters to the downstream channel, so that the downstream channel performs the transaction operation according to the downstream channel request parameters. The downstream channel generates return information according to the execution result, and sends the return information to the gateway through the core interface. The gateway maps the return information to the transaction result, and finally returns the transaction result to the upstream system through the acceptance side system; 所述交易标准接口包括短信申请接口、签约接口、入金接口、出金接口和分账接口;The standard transaction interface includes SMS application interface, contract signing interface, deposit interface, withdrawal interface and account splitting interface; 所述通道参数配置包括通道基本信息配置、通道报文映射配置和通道通信参数配置;The channel parameter configuration includes channel basic information configuration, channel message mapping configuration and channel communication parameter configuration; 所述通道基本信息配置包括通道名称、通道主流程、通道加验签方式和通道加解密方式;The basic information configuration of the channel includes the channel name, channel main process, channel signature verification method and channel encryption and decryption method; 所述通道报文映射配置包括通道前置报文映射配置、通道请求参数报文映射配置和响应报文映射配置;The channel message mapping configuration includes a channel pre-message mapping configuration, a channel request parameter message mapping configuration and a response message mapping configuration; 所述通道通信参数配置包括调用通道的接口信息配置、通道超时信息配置和交易结果映射信息配置;The channel communication parameter configuration includes the channel calling interface information configuration, channel timeout information configuration and transaction result mapping information configuration; 所述后台配置管理系统将新增、删除或修改通道参数配置信息发布到redis的事件中,所述受理侧系统和网关同时使用redis的监听功能,监听到通道参数配置新增、删除或修改就将修改后的信息重新保存到内存中。The background configuration management system publishes the added, deleted or modified channel parameter configuration information to the redis event. The receiving side system and the gateway use the redis monitoring function at the same time. When the channel parameter configuration is added, deleted or modified, the modified information is saved back to the memory.
CN202211041310.9A 2022-08-29 2022-08-29 A configurable channel access system Active CN115811466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211041310.9A CN115811466B (en) 2022-08-29 2022-08-29 A configurable channel access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211041310.9A CN115811466B (en) 2022-08-29 2022-08-29 A configurable channel access system

Publications (2)

Publication Number Publication Date
CN115811466A CN115811466A (en) 2023-03-17
CN115811466B true CN115811466B (en) 2025-02-14

Family

ID=85482460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211041310.9A Active CN115811466B (en) 2022-08-29 2022-08-29 A configurable channel access system

Country Status (1)

Country Link
CN (1) CN115811466B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241315A (en) * 2017-05-23 2017-10-10 广州唯品会网络技术有限公司 Cut-in method, device and the computer-readable recording medium of bank's gateway interface
CN114741254A (en) * 2022-02-21 2022-07-12 驼驼数字科技(北京)有限公司 Method, system, computing device and storage medium for monitoring payment success rate of cross-border e-commerce platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2016208989B2 (en) * 2015-01-19 2021-11-25 Royal Bank Of Canada Secure processing of electronic payments

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241315A (en) * 2017-05-23 2017-10-10 广州唯品会网络技术有限公司 Cut-in method, device and the computer-readable recording medium of bank's gateway interface
CN114741254A (en) * 2022-02-21 2022-07-12 驼驼数字科技(北京)有限公司 Method, system, computing device and storage medium for monitoring payment success rate of cross-border e-commerce platform

Also Published As

Publication number Publication date
CN115811466A (en) 2023-03-17

Similar Documents

Publication Publication Date Title
CN110765102B (en) Service data processing method and device, computer equipment and storage medium
CN111800434A (en) Multi-channel asset docking platform and working method thereof
CN112163946A (en) Accounting processing method and device based on distributed transaction system
CN109670943B (en) Settlement system, settlement method, computer equipment and storage medium
CN104820944A (en) Method and system for bank self-service terminal authentication, and device
US20210019692A1 (en) Standardisation method and apparatus for erroneous transactions
JP2008165340A (en) Remote procedure call method
CN108876338A (en) The single unification declaration inspection declaration method, apparatus of one kind three, server and storage medium
CN112288577A (en) Transaction processing method and device for distributed service, electronic equipment and medium
CN110189229A (en) Insure core business system in internet
CN112699119A (en) Cross-system data processing method, device, equipment and storage medium
CN114417428B (en) Privacy calculation method and system based on distributed cooperation
CN105590215A (en) Device and method for data processing on-line processing of date mistakes between mechanisms
CN112100260A (en) Interface engine-based multi-application data fusion method and system
CN116620094A (en) Charging gun abnormal detection method, device, electronic equipment and readable storage medium
CN113989046A (en) Transaction processing method, apparatus, electronic device, storage medium and program product
CN111698233B (en) Message processing method and device
CN115988058A (en) A message processing method, device, electronic device, and computer-readable medium
CN115811466B (en) A configurable channel access system
CN111865726B (en) Service message testing method, device, computer system and storage medium
CN114493884A (en) Data interaction method, device and system
CN111932255B (en) Method and device for realizing transaction reconciliation based on encrypted currency
CN110336872B (en) Method, device and system for acquiring third-party data
CN118608302A (en) A method and system for enterprise tax management based on secure multi-party computing
CN112785421A (en) Real-time configurable online transaction processing method and processing system

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: No.4 building, Hexi Financial City, Jianye District, Nanjing City, Jiangsu Province, 210000

Applicant after: Jiangsu Sushang Bank Co.,Ltd.

Address before: No.4 building, Hexi Financial City, Jianye District, Nanjing City, Jiangsu Province, 210000

Applicant before: JIANGSU SUNING BANK Co.,Ltd.

Country or region before: China

GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载