An automated, multi-dimensional, quasi-real-time system for processing terminal keys
Through an automated terminal key management system, the hash operation and multi-dimensional information are used to generate keys, and a variety of encryption methods and distribution methods are supported, which solves the key errors and complex management problems caused by manual processing, and realizes the quasi-real-time key Updated and multi-dimensional adaptation improve the transaction communication stability and key management efficiency of the payment industry.
Patent Information
- Application Number
- CN202210686730.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-06-17
AI Technical Summary
During the existing terminal key management process of payment industry, manual processing leads to frequent errors in key generation, missed or lesser key generation, affecting branch key acquisition and transaction communication, and different regions and channels have different specification requirements for keys. This leads to complex management.
Design an automated, multi-dimensional quasi-real-time processing terminal key system, including merchant file management module and secret management platform module, generate keys through hash operations, and update them in real time according to terminal merchant information, supporting different encryption methods and distribution methods, including encryption indexing , 3DES encryption and national encryption encryption, key distribution is performed through https interface, MQ message distribution or file distribution.
It realizes the automatic generation, distribution and real-time update of keys, reduces human operation risks, improves the accuracy of key acquisition and transaction activation speed, supports key management in different regions and channels, and ensures the security and consistency of keys. sex.
Abstract
Description
Technical Field
[0001] The present application relates to a system for automatically and multi-dimensionally processing terminal keys in quasi-real time, and relates to the technical field of key encryption and distribution. Background Art
[0002] Due to the rich variety of payment products and numerous payment channels in the current payment industry, different products and channels have different requirements for key specifications (such as key length, encryption method, key type, etc.). At the same time, for the sake of key security, different regions need to set up key indexes separately. After the terminal merchant opens a transaction account, it is necessary to register the individual information of the terminal merchant. After the information is aggregated and processed uniformly by the headquarters to generate a key, the corresponding branch of the terminal merchant needs to log in to the assigned FTP address to obtain the key. In the past, information aggregation and key generation needed to be handled manually. The manual processing method of the entire process is prone to errors in key production, omissions or under-issuance, which affects the acquisition and installation of key by branches; or in the case of key generation errors, it causes transaction failures. Summary of the invention
[0003] The purpose of this application is to provide an automated, multi-dimensional, quasi-real-time processing system for terminal keys, which can automatically generate and distribute terminal keys, and update terminal keys in real time according to changes in terminal merchant information.
[0004] In order to solve the above technical problems, the technical solution of the present application is to provide an automated, multi-dimensional, quasi-real-time terminal key processing system for key management of terminal merchants, wherein the key management includes key generation, key distribution and key update, and is characterized in that it includes a merchant file management module and a key management platform module, wherein the merchant file management module records individual information of terminal merchants, wherein the individual information includes necessary information and key information, wherein the necessary information includes the region where the terminal merchant is located, the merchant number and the terminal number, and the key information includes the institution number, the major project category, the minor project category, the distribution platform and the encryption index corresponding to the distribution platform;
[0005] The key management platform module is used for the key generation process as follows:
[0006] The encryption management platform module obtains the merchant's organization number, project category, project subcategory, distribution platform, and encryption index from the merchant file management module;
[0007] Perform hash calculation on the organization number + project category + project subcategory + distribution platform to generate a key;
[0008] Encrypting the key to obtain an encryption key;
[0009] The key management platform module is used for the key distribution process as follows:
[0010] After the encryption key is distributed to the distribution platform through the key distribution method, the distribution platform will perform transcryption.
[0011] Among them, the key encryption methods include using encryption index encryption, 3DES encryption or national secret encryption.
[0012] The key distribution method includes https interface transmission, MQ message distribution or file distribution.
[0013] Specifically, the key update process is:
[0014] The individual information of the terminal merchant is updated in the merchant file management module;
[0015] The key generation process and the key distribution process are repeated according to the updated individual information of the terminal merchant.
[0016] Specifically, the terminal merchants are divided into
[0017] CUPA merchants: The key is generated by UnionPay;
[0018] CUPS Merchant: The key is generated by the key management platform module.
[0019] The specific steps of key management of the CUPA merchant are as follows:
[0020] Step 1: The secret management platform module receives the individual information of the CUPA merchant from the merchant profile management module;
[0021] Step 2: Store the individual information of the CUPA merchant into the temporary merchant table;
[0022] Step 3: Receive the key information from UnionPay and match the data in the temporary merchant table according to the merchant number and terminal number;
[0023] Step 4: Trans-encrypt the key according to the encryption indexes of different distribution platforms matched;
[0024] Step 5: Distribute the encrypted key according to the different distribution methods of each distribution platform.
[0025] The specific steps of key management of the CUPS merchant are as follows:
[0026] Step 1: Match the encrypted index and distribution method according to the organization number, project category, project subcategory, and distribution platform in the received terminal merchant individual information;
[0027] Step 2: After the key management platform module generates the key, it uses different encryption indexes for encryption according to different distribution platforms;
[0028] Step 3: Distribute the encrypted key according to the different distribution methods of each distribution platform. DETAILED DESCRIPTION
[0029] In order to make the present application more clear and understandable, a preferred embodiment is described in detail as follows.
[0030] Example
[0031] This embodiment provides a system for automated, multi-dimensional, quasi-real-time processing of terminal keys for key generation, distribution, and update, specifically including a merchant profile management module (DM) and a key management platform module.
[0032] Among them, the merchant file management module records the individual information of the terminal merchant, which includes necessary information and key information. The necessary information includes the region where the terminal merchant is located, the merchant number and the terminal number. The key encryption method is different in different regions. The merchant number and the terminal number are used to identify and query the terminal merchant. Therefore, the region and the merchant number and the terminal number are necessary information. The key information includes the institution number (the processing agency corresponding to the terminal merchant), project categories, project subcategories (divided according to the different project types, different business types, and merchant application types of the terminal merchant), and the distribution platform (the key receiving platform, specifically refers to the trading platform applied for by the terminal merchant. There can be multiple trading platforms, and all the trading platforms applied for opening need to obtain the distributed keys), and generate corresponding encryption indexes for different distribution platforms (because different distribution platforms require different encryption methods, it is necessary to generate corresponding encryption indexes for each distribution platform).
[0033] Terminal merchant types are divided into two categories: one is CUPA merchants, for which UnionPay generates keys and the key management platform module of this system only distributes keys; the other is CUPS merchants, for which the key management platform module of this system generates and distributes keys; merchant types are also stored in the merchant file management module.
[0034] Specifically, for a specific terminal merchant, the key generation process is as follows: the key management platform module obtains the merchant's organization number, project category, project subcategory, distribution platform, and encryption index from the merchant file management module, performs hash operations on the organization number + project category + project subcategory + distribution platform to generate a key, and then uses the encryption index to encrypt the key to obtain an encryption key. After the encryption key is distributed to the distribution platform, the distribution platform will re-encrypt it; in addition to using the encryption index to encrypt the encryption key, 3DES encryption or national encryption can also be used for the encryption key here. The key distribution process is as follows: the key management platform module uses the key distribution method supported by different distribution platforms, such as https interface transmission, MQ message distribution or file distribution. The key update process is as follows: the merchant file management module updates the terminal merchant information, and the updated information is synchronized to the key management platform module. The key management platform module repeats key generation and key distribution with the updated information to update the key.
[0035] Specifically, the detailed steps are as follows:
[0036] The merchant profile management module is used to obtain multi-dimensional information about the terminal merchant: different project types, different business types, and merchant application types. The key management platform module receives merchant information, generates keys, and distributes them in the following steps:
[0037] 1. When the key management platform module receives the basic merchant information from the merchant profile management module through RMQ, it first determines whether the merchant is a CUPA merchant or a CUPS merchant based on the merchant category. If it is a CUPA merchant, the steps are as follows:
[0038] 1. Store the merchant information into the temporary merchant table;
[0039] 2. When receiving the UnionPay key information, perform data matching based on the merchant number + terminal number in the temporary merchant table;
[0040] 3. According to the institution number, project category and project subcategory in the merchant basic information, encrypted index and distribution method are matched respectively;
[0041] 4. Trans-encrypt the key according to the encryption index of different platforms matched;
[0042] 5. The encrypted key is distributed according to the different distribution methods of each platform.
[0043] 2. If you are a CUPS merchant, the steps are as follows:
[0044] 1. Perform encryption indexing and distribution method matching according to the organization number, project category, and project subcategory in the received merchant basic information;
[0045] 2. After the key management platform generates the key, it uses different encryption indexes for encryption according to different platforms;
[0046] 3. Distribute the encrypted key according to the different distribution methods of each platform.
[0047] In order to cope with the increase in the number of merchants and the high requirements of institutions for the timeliness of merchant effectiveness, this embodiment innovatively changes the system key processing method and establishes a system automation processing mechanism and an automation synchronization mechanism, specifically: sorting out and summarizing the business, breaking the previous disordered processing method based solely on projects, adding project categories and project subcategories, customizing the configuration of the institution number, distribution platform, and encryption index based on business logic judgment, performing hash operations on the institution number + project category + project subcategory + distribution platform, and then encapsulating it with the encryption index as a HASHMAP for use when the application converts the encryption key. Reduce manual operations and reduce operational risks.
[0048] By connecting with various online systems within the company, automatic key synchronization is performed; at the same time, according to the needs of downstream platforms, support for https interface transmission, MQ message distribution, file distribution, etc., improve the flexibility of system docking, and realize quasi-real-time key transmission. The merchant's effectiveness speed is increased from the original T+1 to real-time processing on the same day, and with the terminal's remote asymmetric encryption key transmission method, the quasi-real-time activation of merchant transactions can be achieved.
[0049] When a merchant's business changes or a new business is added, if the key encryption method needs to be changed, the platform can support automatic regeneration of keys based on the change information and synchronize them to the new platform, reducing the error-prone and timeliness problems caused by manual intervention.
[0050] The system provided in this embodiment is compatible with both the processing of inter-platform synchronization keys and the processing of single-point synchronization keys: the inter-platform synchronized keys and the single-point synchronized keys are placed in the same temporary table, and different key processing methods are adopted according to different file identification fields; the existing keys that do not exist in the database master key table can be automatically identified and processed: a peer system key table is added to the database, and automatic identification and processing are performed based on the master key table and the peer system key table; the method of processing keys can be automatically changed according to changes in business types: by changing the identification bit corresponding to the business type, the keys are reprocessed according to the new business type.
[0051] The advantages of this system are: 1. It realizes the full automation of key generation, synchronization and distribution.
[0052] 2. Support the processing of synchronization keys between compatible platforms and the processing of single-point synchronization keys;
[0053] 3. Support automatic changes in key processing methods based on changes in business types;
[0054] 4. Support WEB pages to provide branches with inquiries on the generation, synchronization and issuance of existing merchant keys.
Claims
1. An automated, multi-dimensional, quasi-real-time terminal key processing system for key management of terminal merchants, including key generation, key distribution, and key update. It is characterized in that It includes a merchant file management module and a secret management platform module. The merchant file management module records the individual information of the terminal merchant. The individual information includes necessary information and key information. The necessary information includes the region where the terminal merchant is located, the merchant number and the terminal number. The key information includes the institution number, the project category, the project subcategory, the distribution platform and the encrypted index corresponding to the distribution platform. The key management platform module is used for the key generation process as follows: The encryption management platform module obtains the merchant's organization number, project category, project subcategory, distribution platform, and encryption index from the merchant file management module; Perform hash calculation on the organization number + project category + project subcategory + distribution platform to generate a key; Encrypting the key to obtain an encryption key; The key management platform module is used for the key distribution process as follows: After the encryption key is distributed to the distribution platform through the key distribution method, the distribution platform will perform trans-encryption; The key update process is as follows: The individual information of the terminal merchant is updated in the merchant file management module; Repeat the key generation process and key distribution process according to the updated individual information of the terminal merchant; The terminal merchants are classified as CUPA merchants according to the key generator: the key is generated by UnionPay; CUPS Merchant: The key is generated by the key management platform module; The specific steps of key management of the CUPA merchant are: Step 1: The secret management platform module receives the individual information of the CUPA merchant from the merchant profile management module; Step 2: Store the individual information of the CUPA merchant into the temporary merchant table; Step 3: Receive the key information from UnionPay and match the data in the temporary merchant table according to the merchant number and terminal number; Step 4: Trans-encrypt the key according to the encryption indexes of different distribution platforms matched; Step 5: Distribute the encrypted key according to the different distribution methods of each distribution platform; The specific steps of key management of the CUPS merchant are: Step 1: Match the encrypted index and distribution method according to the organization number, project category, project subcategory, and distribution platform in the received terminal merchant individual information; Step 2: After the key management platform module generates the key, it uses different encryption indexes for encryption according to different distribution platforms; Step 3: Distribute the encrypted key according to the different distribution methods of each distribution platform.
2. A system for automatically and multi-dimensionally processing terminal keys in quasi-real time as claimed in claim 1, It is characterized in that Methods for encrypting keys include using encrypted index encryption, 3DES encryption or national secret encryption.
3. A system for automatically and multi-dimensionally processing terminal keys in quasi-real time as claimed in claim 1, It is characterized in that The key distribution method includes https interface transmission, MQ message distribution or file distribution.
Citation Information
Patent Citations
POS terminal and method, system and service platform for activating same
CN103595718A
Key processing method and device
CN108471411A
Code scanning payment method, apparatus and device, and information sending and secret key management method, apparatus and device
CN111047313A
Method, device and equipment for code scanning payment, information sending and collection code generation
CN111062715A
Key distribution method and system
WO2010045817A1
