Multi-business system function integration method and system based on identity authentication
By introducing blockchain technology and identity verification mechanism into multi-business system integration, it solves the problem that existing technology cannot meet high security requirements, achieves safe and efficient data sharing and system integration, and is suitable for government services with high security requirements, etc. scene.
Patent Information
- Application Number
- CN202410586666.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-05-13
AI Technical Summary
Existing multi-business system integration technology cannot meet the data security and manageability needs between institutional departments with high confidentiality requirements. Especially in scenarios such as government services, there are problems of insufficient security and high costs.
Adopting a multi-business system function integration method based on identity verification, by configuring business function interfaces on the integration platform, registering a blockchain account, generating a public key-private key pair, and using the blockchain network for identity verification to ensure interface call requests legality and data integrity, combined with unified interface specifications and blockchain technology to achieve safe and efficient data sharing.
It improves the security and manageability of multi-business system function integration, reduces integration complexity and maintenance costs, is suitable for scenarios with high security requirements, simplifies the interface application and usage process, and improves system integration efficiency.
Smart Images

Figure CN118153018B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer technology, and in particular relates to a multi-business system function integration method and system based on identity authentication. Background Art
[0002] In today's digital age, enterprises and organizations are increasingly relying on various business systems to manage their core business processes. However, with the expansion of business and the diversification of market demand, a single business system often cannot meet all needs, which requires functional integration and data sharing between different systems. This integration can not only optimize business processes and improve work efficiency, but also enhance data consistency and reliability. For government services, system integration between departments can improve the efficiency of public services.
[0003] At present, there are some technologies for solving multi-business system integration, such as ESB (Enterprise Service Bus, a middleware used to coordinate message delivery between different applications), API (Application Programming Interface, allowing different software applications to communicate with each other), middleware and integration platforms (such as MuleSoft Anypoint Platform, IBM IntegrationBus, Microsoft BizTalk Server, etc.), but these technologies focus on different systems in the same enterprise and do not consider the security issues of business system integration. For example, although the ESB solution can provide flexible integration, it cannot be applied to scenarios with strict requirements on data integrity and security; the API solution also has the problem of insufficient security; the middleware and integration platform solutions require higher costs and are greatly limited in integration depth and security. Moreover, the aforementioned multi-business integration technologies are applicable to general enterprises. However, some departments with higher confidentiality requirements have stricter data security requirements and manageability requirements, and the existing multi-business system integration technologies cannot meet the multi-business integration needs of such situations. Summary of the invention
[0004] The purpose of the present invention is to provide a method and system for integrating multi-business system functions based on identity authentication. The solution aims to improve the efficiency, security and manageability of multi-business system function integration, promote collaborative work and data sharing among different business systems, thereby improving work efficiency such as government services while ensuring security.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A method for integrating multi-business system functions based on identity authentication, the method comprising:
[0007] S1. Update the business function interface according to the business function interface configuration added by the business system on the integration platform;
[0008] S2. Approval of the application for calling the calling system for a specific business function interface, and after approval, step S3 is executed;
[0009] S3. Register a blockchain account for the calling system, generate a public key-private key pair, generate a blockchain address based on the public key as the registered blockchain account AppKey (as the identity of the caller), store the public key on the blockchain according to the blockchain address, and use the private key as the key AppSecret of the blockchain account;
[0010] S4. Provide the calling information to the calling system (ie, the calling system requesting the interface call);
[0011] The call information includes blockchain account information (AppKey, AppSecret) and the interface call address of the specific business function interface;
[0012] S5. When the calling system initiates a call request, it authenticates its identity through the blockchain network. If the authentication is successful, the execution continues, otherwise the request is rejected;
[0013] S6. Obtain the source address of the business function interface according to the interface call address resolution and forward the request;
[0014] S7. Receive the return result of the business system and forward it to the calling system.
[0015] In the above-mentioned multi-business system function integration method based on identity authentication, the call request includes the blockchain account AppKey, request information and digital signature sign;
[0016] The digital signature sign is obtained by the calling system using the account key AppSecret to hash and sign the request information;
[0017] In step S5, each node of the blockchain network authenticates the calling system in the following way:
[0018] S51. Obtain the corresponding public key from the blockchain account AppKey, and use the public key to decrypt the digital signature sign to obtain the hash value H1;
[0019] S52. Perform hash processing on the request information to obtain a hash value H2;
[0020] S53. Match H1 and H2. If they match, the verification is successful.
[0021] In the above-mentioned identity authentication-based multi-business system function integration method, the call request includes the selected specific business function interface that needs to be applied for, and the call application information including the usage frequency, which can be in days, such as daily usage.
[0022] In the above-mentioned multi-business system function integration method based on identity authentication, before step S7 and after step S6, it also includes: judging whether the frequency of calling the system request has reached the upper limit (i.e., exceeds the applied usage frequency), if so, rejecting the request, otherwise continuing to execute.
[0023] In the above-mentioned multi-business system function integration method based on identity authentication, the usage frequency is daily usage;
[0024] Before step S7 and after step S6, the method further includes: determining whether the number of requests on the day before the current request exceeds the daily usage of the application call, if so, rejecting the request, otherwise continuing to execute, and updating the current calling system to increase the number of daily calls of the current interface by one;
[0025] The application information also includes the reason for application for reference in approval.
[0026] In the above-mentioned multi-business system function integration method based on identity authentication, in step S2, the integration platform approves the call application;
[0027] Alternatively, the integration platform forwards the call application to the corresponding business system based on the business function interface requested by the call application, and the business system approves the call application.
[0028] In the above-mentioned multi-business system function integration method based on identity authentication, in step S1, the business function interface configuration added by the business system on the integration platform includes information configuration of the business function name, function source system, interface source address, input parameter structure and output parameter structure;
[0029] In step S4, the interface calling address is the calling address of the business function interface automatically generated by the integration platform according to the ESB routing forwarding rule;
[0030] In step S4, the call information also includes a description document including the request method name, request method specification, input parameter structure, and output parameter structure.
[0031] In the above-mentioned multi-business system function integration method based on identity authentication, in step S3, the public key is hashed and encrypted through the Base58 encryption algorithm to generate the blockchain address, and the public key is stored on the blockchain according to the blockchain address.
[0032] A multi-business system function integration system based on identity authentication, connected to a blockchain network, and comprising:
[0033] The business function management module is used to update the business function interface configuration added by the business system on the integration platform;
[0034] The approval module is used to approve or forward the application for calling a specific business function interface and receive the approval result;
[0035] The calling system management module is used to register a blockchain account for the calling system, generate a public key-private key pair, generate a blockchain address according to the public key as the registered blockchain account AppKey, store the public key on the blockchain according to the blockchain address generated according to the public key; use the private key as the key AppSecret of the blockchain account; and provide the calling information to the calling system;
[0036] The authentication module is used to submit the call request to the blockchain network for authentication;
[0037] The business processing module is used to obtain the source address of the business function interface according to the interface call address resolution and forward the request, receive the return result of the business system, and forward it to the calling system.
[0038] In the above-mentioned multi-business system function integration system based on identity authentication, the system management module is called to perform hash processing on the public key and encrypt it through the Base58 encryption algorithm to generate the blockchain address, and the public key is stored on the blockchain according to the blockchain address;
[0039] Each node in the blockchain network obtains the corresponding public key from the chain according to the blockchain account AppKey in the call request, and uses the public key to decrypt the digital signature sign to obtain the hash value H1; hash the request information to obtain the hash value H2; match H1 and H2, and if they match, the verification is passed;
[0040] The system also includes a storage module and a judgment module. The storage module is used to store the application usage frequency and current call frequency of the calling system for the corresponding business function interface;
[0041] The judgment module is used to judge whether the request frequency of calling the system has reached the upper limit.
[0042] The advantages of the present invention are:
[0043] This solution proposes an optimization solution for multi-business system integration. By introducing blockchain technology and unified interface specifications, it improves the security and manageability of multi-business system functional integration, which is of great significance for promoting collaborative work and data sharing among different business systems.
[0044] This solution formulates unified business function interface specifications, including request specifications, input parameter specifications, and output parameter specifications, to ensure that different business systems can interface with each other according to unified standards, reduce integration complexity and maintenance costs, and improve the efficiency of data requests;
[0045] The solution introduces blockchain technology and provides specific implementation and application methods. By generating a public key-private key pair for a blockchain account and performing Base58 encryption to generate an address, a unique identity AppKey is provided for each caller. At the same time, the legitimacy of the request and the integrity of the data are ensured through digital signatures, ensuring the security of the functional integration of multiple business systems.
[0046] The business function management module provides callers with a business function interface for querying and applying for calls. It is suitable for specific business scenarios with high confidentiality requirements, such as between government systems and enterprise systems, and between government systems. It improves security while realizing multi-business system integration functions, simplifies the interface application and usage process, and improves system integration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] FIG. 1 is a flow chart of a method for integrating multi-service system functions based on identity authentication according to the present invention. Figure 1 ;
[0048] Figure 2 The process of the multi-business system function integration method based on identity authentication of the present invention Figure 2 ;
[0049] Figure 3 This is a system structure diagram of the multi-business system function integration system based on identity authentication of the present invention. DETAILED DESCRIPTION
[0050] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0051] This solution discloses a multi-service system function integration method based on identity authentication, such as Figure 1 As shown, the method includes:
[0052] 1. The business system provides business function interface information according to the integration platform specifications, and adds business function interface configuration in the integration platform, including business function name, function source system, input parameter structure, output parameter structure, interface source address and other information.
[0053] In this embodiment, the business function interface configuration is configured by the administrator of the system providing the business function (referred to as the business system for short). In another embodiment, the business function interface configuration may also be configured by the administrator of the integration platform.
[0054] The following is an example of the integration platform integration business function interface specification:
[0055] (1) Request specification: Https interface must be provided, the request method is Post, and the encoding format is UTF-8;
[0056] (2) Input parameter structure: The format is JSON, such as {"param1":"value1","param2":"value2"}, which gives the specific parameter format of the parameters returned in the data field, as well as the field name, field Chinese escape name, field description and other information;
[0057] (3) Output parameter structure: The format is JSON. The output parameter contains three fixed fields: success (Boolean type, whether the execution is successful), code (String type, status code), data (JSON sub-object / JSON sub-object collection), and message (String type, message prompt), which are convenient for the integration platform to obtain values and make judgments. The data parameter instantiates the JSON sub-object or JSON sub-object collection in JSON format and assigns values to return the actual processing results of the business function interface. For example: {"data":{"param1":"value1","param2":"value2"},"message": "Operation successful","success":"true","code":"200"}. Give the specific parameter format and field name, field Chinese escape name, field description and other information of the returned parameters in the data field.
[0058] 2. The calling system (i.e., the system requesting to call the business function) queries the list of business function interfaces available for application through the business function management module of the integrated platform, and selects the application as needed. The business function interface selected by the called system is referred to as a specific business function interface. Apply for the use of business functions through the integrated platform and fill in relevant information, such as frequency of use (such as daily usage, monthly usage, etc., this embodiment takes the former as an example), reason for application, etc.
[0059] 3. The integration platform administrator approves or the integration platform transfers the call application to the business system that provides the relevant business functions for approval. After approval, the integration platform automatically generates a public key-private key pair for the blockchain account of the calling system that applies to call the business function, hashes the public key, and then encrypts it through the Base58 encryption algorithm to generate a blockchain address as the registered blockchain account AppKey, as the identity of the caller, and stores the public key in the aforementioned blockchain address of the blockchain. Of course, in other embodiments, the blockchain address AppKey generated based on the public key can also be generated by other methods, such as directly using the KECCAK-256 hash algorithm on the public key, and then encoding the result into a hexadecimal string as the blockchain address, etc.
[0060] The private key is used as the key AppSecret of the blockchain account.
[0061] Through the approval result, the calling system of the application is provided with AppKey, AppSecret (blockchain account information, displayed only once, and saved by the caller), request method name (such as penalty data query interface), interface call address (the integration platform automatically generates the call address of the business function interface open to the call applicant according to the ESB routing forwarding rules. After receiving the user request, the interface call address performs identity authentication, call limit judgment and other operations), request method specification (request submission method, such as Post), input parameter structure (compared with the parameter requirements of the business system, add two fixed parameters, AppKey and sign, to the Header (request header)), output parameter structure and other description documents. Here is a list of the information required for the application call provided to the applicant after successful approval, similar to the call description document, but not limited to this information.
[0062] 4. The calling system initiates a call request and performs blockchain identity authentication, as follows: Figure 2 As shown:
[0063] The call request contains the blockchain account AppKey in the call information obtained in advance by the calling system, as well as the request information and digital signature sign.
[0064] (1) The calling system uses the SHA-256 cryptographic hash algorithm to hash the request information (also called request body, such as a document or message) and converts it into a hash value of fixed length. It then uses AppSecret to perform RSA encryption on the hash value to generate a digital signature sign.
[0065] (2) The calling system initiates a request to the interface calling address of the integration platform. After receiving the request, the integration platform submits the authentication request to the blockchain node network. All nodes jointly verify the request. The verification process is as follows (3) (4) (5):
[0066] (3) Extract the AppKey and sign from the input parameters, and obtain the corresponding public key from the chain based on the AppKey (blockchain address), and then decrypt the digital signature sign to obtain the hash value H1.
[0067] (4) Use the SHA-256 cryptographic hash algorithm to hash the received document or message to obtain a new hash value H2.
[0068] (5) If the two hash values match, it means that the request information has not been tampered with and the digital signature is valid, and then proceed to the next level of judgment. If they do not match, the verification fails.
[0069] 5. After identity authentication is passed, the integration platform determines whether the number of requests on the day before this request exceeds the daily call volume in the application call approval information. If it exceeds the daily call volume, the request will be rejected.
[0070] 6. If the daily call volume is not exceeded, the caller's daily call count for this interface is increased by 1, and the interface call address is parsed through the ESB routing forwarding rules to obtain the interface source address, and the request is forwarded to the business function interface source address.
[0071] 7. The corresponding business system receives the relevant request and returns the relevant results after processing. The integration platform receives it and forwards it to the caller, who then processes and obtains the value.
[0072] In order to help readers better understand this solution, the following is a detailed explanation using System A and System B as examples. In this example, System A is the calling system and System B is the business system:
[0073] The administrator of System B configures a business function interface on the integration platform. The interface allows querying the management data of System B and provides the input and output parameter structures of the interface according to the integration platform specifications.
[0074] System A queries the business function interface provided by System B through the business function management module of the integrated platform, applies for the business function interface by checking the box, and fills in the daily usage of 10 times and the reason for the application.
[0075] System B reviews the application. After approval, the integration platform registers a blockchain account for System A and generates a public-private key pair. The blockchain account is used as the AppKey and the private key is used as the AppSecret for identity authentication.
[0076] Before initiating a query request, System A uses its AppSecret to generate a digital signature sign for the request information. The request contains AppKey, digital signature sign, and request information. The request information can include relevant personnel identification information to query a certain record of the corresponding party.
[0077] After receiving the request from System A, the integration platform performs identity authentication and call count verification. If the verification is successful and the remaining call count is greater than 0, the request is forwarded to System B.
[0078] System B processes the request, extracts a record of the corresponding personnel required by the request, and returns the result to the integration platform, which forwards the result to System A for its business processing.
[0079] like Figure 3 As shown, the present solution also provides a system for executing a multi-business system function integration method based on identity authentication, the system is connected to a blockchain network and includes the following modules:
[0080] The business function management module is used to update the business function interface configuration added by the business system on the integration platform;
[0081] The approval module is used to approve or forward the call request of the calling system to a specific business function interface and receive the approval result;
[0082] The calling system management module is used to register a blockchain account for the calling system, generate a public key-private key pair, generate a blockchain address according to the public key as the registered blockchain account AppKey, store the public key on the blockchain according to the blockchain address generated according to the public key; use the private key as the key AppSecret of the blockchain account; and provide the calling information to the calling system;
[0083] The identity authentication module is used to submit the call request to the blockchain network for identity authentication. Each node of the blockchain network obtains the corresponding public key from the chain according to the blockchain account AppKey in the call request, and uses the public key to decrypt the digital signature sign to obtain the hash value H1; hash the request information to obtain the hash value H2; match H1 and H2, and if they match, the verification is passed;
[0084] The business processing module is used to obtain the source address of the business function interface according to the interface call address resolution and forward the request, receive the return result of the business system, and forward it to the calling system.
[0085] Specifically, the system management module is called to perform hash processing on the public key and encrypt it through the Base58 encryption algorithm to generate the blockchain address, and the public key is stored on the blockchain according to the blockchain address;
[0086] Furthermore, the system also includes a storage module and a judgment module, the storage module is used to store the information that needs to be stored, such as the application usage frequency and current call frequency of the calling system for the corresponding business function interface;
[0087] The judgment module is used to judge whether the request frequency of calling the system has reached the upper limit.
[0088] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.
[0089] Although this article uses more terms such as business function management module, approval module, calling system management module, identity authentication module, business processing module, etc., it does not exclude the possibility of using other terms. These terms are used only to more conveniently describe and explain the essence of the present invention; interpreting them as any additional restrictions is contrary to the spirit of the present invention.
Claims
1. A multi-business system function integration method based on identity authentication, characterized in that: The method includes: S1. Update the business function interface according to the business function interface configuration added by the business system on the integration platform; S2. Approval of the application for calling the calling system for a specific business function interface, and after approval, step S3 is executed; S3. Register a blockchain account for the calling system, generate a public key-private key pair, generate a blockchain address as the registered blockchain account AppKey based on the public key, store the public key on the blockchain according to the blockchain address, and use the private key as the key AppSecret of the blockchain account; S4. The calling information is provided to the calling system; The call information includes blockchain account information and the interface call address of the specific business function interface; S5. When the calling system initiates a call request, the calling system is authenticated through the blockchain network. If the authentication is successful, the execution continues; otherwise, the request is rejected; S6. Obtain the source address of the business function interface according to the interface call address resolution and forward the request; S7. Receive the return result of the business system and forward it to the calling system; In step S5, the call request includes the blockchain account AppKey, request information and digital signature sign; The digital signature sign is obtained by the calling system using the account key AppSecret to hash and sign the request information; In step S5, each node of the blockchain network authenticates the calling system in the following way: S51. Obtain the corresponding public key from the blockchain account AppKey, and use the public key to decrypt the digital signature sign to obtain the hash value H1; S52. Perform hash processing on the request information to obtain a hash value H2; S53. Match H1 and H2. If they match, the verification is successful.
2. The multi-business system function integration method based on identity authentication according to claim 1, characterized in that: The call request includes the selected specific business function interface that needs to be applied for call, and the call application information including the frequency of use.
3. The multi-business system function integration method based on identity authentication according to claim 2 is characterized in that: Before step S7 and after step S6, the process also includes: determining whether the frequency of calling the system request reaches an upper limit, and if so, rejecting the request, otherwise continuing to execute.
4. The multi-business system function integration method based on identity authentication according to claim 3 is characterized in that: The frequency of use described is daily usage; Before step S7 and after step S6, the method further includes: determining whether the number of requests on the day before the current request exceeds the daily usage of the application call, if so, rejecting the request, otherwise continuing to execute, and updating the current calling system to increase the number of daily calls of the current interface by one; The application information also includes the reason for application for reference in approval.
5. The method for integrating multi-business system functions based on identity authentication according to any one of claims 1 to 4, characterized in that: In step S2, the integration platform approves the call application; Alternatively, the integration platform forwards the call application to the corresponding business system based on the business function interface requested by the call application, and the business system approves the call application.
6. The method for integrating multi-business system functions based on identity authentication according to any one of claims 1 to 4, characterized in that: In step S1, the business function interface configuration added by the business system on the integration platform includes information configuration of the business function name, function source system, interface source address, input parameter structure and output parameter structure; In step S4, the interface calling address is the calling address of the business function interface automatically generated by the integration platform according to the ESB routing forwarding rule; In step S4, the call information also includes a description document including the request method name, request method specification, input parameter structure, and output parameter structure.
7. The method for integrating multi-business system functions based on identity authentication according to any one of claims 1 to 4, characterized in that: In step S3, the public key is hashed and encrypted using the Base58 encryption algorithm to generate the blockchain address, and the public key is stored on the blockchain according to the blockchain address.
8. A multi-business system function integration system based on identity authentication, characterized in that: Connected to the blockchain network and includes, The business function management module is used to update the business function interface configuration added by the business system on the integration platform; The approval module is used to approve or forward the application for calling a specific business function interface and receive the approval result; The calling system management module is used to register a blockchain account for the calling system, generate a public key-private key pair, generate a blockchain address according to the public key as the registered blockchain account AppKey, store the public key on the blockchain according to the blockchain address generated according to the public key; use the private key as the key AppSecret of the blockchain account; and provide the calling information to the calling system; The authentication module is used to submit the call request to the blockchain network for authentication; The call request contains the blockchain account AppKey, request information and digital signature sign. The digital signature sign is obtained by the calling system using the account key AppSecret to hash and sign the request information. Each node in the blockchain network authenticates the calling system in the following ways: Obtain the corresponding public key from the blockchain account AppKey, and use the public key to decrypt the digital signature sign to obtain the hash value H1; Performing hash processing on the request information to obtain a hash value H2; Match H1 and H2. If they match, the verification is successful. The business processing module is used to obtain the source address of the business function interface according to the interface call address resolution and forward the request, receive the return result of the business system, and forward it to the calling system.
9. The multi-business system function integration system based on identity authentication according to claim 8, characterized in that: Calling the system management module to hash the public key and encrypt it using the Base58 encryption algorithm to generate the blockchain address, and storing the public key on the blockchain according to the blockchain address; The system also includes a storage module and a judgment module. The storage module is used to store the application usage frequency and current call frequency of the calling system for the corresponding business function interface; The judgment module is used to judge whether the request frequency of calling the system has reached the upper limit.
