Business processing method and device, equipment, readable storage medium and program product
By introducing integrated service interfaces and service containers into the business system, the problem of waste of resources in traditional business systems is solved, and unified processing and security protection of different types of customer data is realized.
Patent Information
- Application Number
- CN202411572840.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-02-28
Smart Images

Figure CN119537459A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data management technology, and in particular to a business processing method, device, equipment, readable storage medium and program product. Background Art
[0002] In the business system of an enterprise, different business modules are usually set up for different customer types. For example, when the enterprise is a bank, the customer types include individual customers and group customers. For individual customers, the business system will set up a business module for personal cards, and for group customers, the business system will set up a business module for corporate cards.
[0003] When processing data, traditional business systems call different business modules for different customers to perform corresponding business processing on the customer's related data.
[0004] However, traditional business processing methods have the problem of wasting resources. Summary of the invention
[0005] Based on this, it is necessary to provide a business processing method, device, equipment, readable storage medium and program product that can reduce resource waste in response to the above technical problems.
[0006] In a first aspect, the present application provides a business processing method, including:
[0007] In response to the business processing request, the converged business interface is called, and based on the account identifier carried in the business request and the target account type corresponding to the account identifier, the target account data is obtained from the data storage space of the converged business module, where the data storage space includes account data corresponding to multiple account types;
[0008] Based on the service identifier carried in the service processing request, the target service operation output by the service container is obtained through the service container, and the cache of the service container stores candidate service operations corresponding to different candidate service identifiers;
[0009] Perform target business operations on the target account data and obtain business processing results.
[0010] In one embodiment, based on the account identifier carried in the service request and the target account type corresponding to the account identifier, obtaining the target account data from the data storage space of the converged service module includes:
[0011] According to the correspondence between the target account type and the preset account type and the data partition, determine the data partition corresponding to the target account from the data storage space;
[0012] Get the target account data from the data partition based on the account ID.
[0013] In one embodiment, the method further comprises:
[0014] Determine a target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence;
[0015] Determine the target account type based on the target account sequence.
[0016] In one embodiment, the method further comprises:
[0017] Determine the institution identifier corresponding to the account identifier according to the account identifier;
[0018] If the institution identifier is the target institution identifier, the steps of determining the target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence, and determining the target account type according to the target account sequence are executed.
[0019] In one embodiment, the method further comprises:
[0020] If the organization ID is not the target organization ID, a request error message is output.
[0021] In one embodiment, the method further comprises:
[0022] Generate business response information based on business processing results and output the business response information.
[0023] In a second aspect, the present application provides a service processing device, including:
[0024] The fusion service calling module is used to call the fusion service interface in response to the service processing request, and obtain the target account data from the data storage space of the fusion service module based on the account identifier carried in the service request and the target account type corresponding to the account identifier, wherein the data storage space includes account data corresponding to multiple account types;
[0025] The container operation module is used to obtain the target business operation output by the business container through the business container based on the business identifier carried in the business processing request, and the candidate business operations corresponding to different candidate business identifiers are stored in the cache of the business container;
[0026] The processing module is used to perform target business operations on target account data and obtain business processing results.
[0027] In one embodiment, the fusion service calling module includes:
[0028] A partition determination unit, configured to determine a data partition corresponding to a target account from the data storage space according to a correspondence between the target account type and a preset account type and data partition;
[0029] The data determination unit is used to obtain target account data from the data partition according to the account identifier.
[0030] In one embodiment, the device further comprises:
[0031] A sequence determination module, used to determine a target account sequence corresponding to a target account according to an account identifier and a preset correspondence between an account identifier and an account sequence;
[0032] The type determination module is used to determine the target account type according to the target account sequence.
[0033] In one embodiment, the device further comprises:
[0034] An institution determination module, used to determine the institution identifier corresponding to the target account according to the account identifier of the target account;
[0035] The correct execution module is used to determine the target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence if the institution identifier is the target institution identifier, and determine the target account type according to the target account sequence.
[0036] In one embodiment, the device further comprises:
[0037] The error output module is used to output the request error information if the organization identifier is not the target organization identifier.
[0038] In one embodiment, the device further comprises:
[0039] The output module is used to generate business response information according to the business processing results and output the business response information.
[0040] In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of the first aspect when executing the computer program.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method of the first aspect described above.
[0042] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method in the first aspect are implemented.
[0043] The above-mentioned business processing method, device, equipment, readable storage medium and program product, by responding to a business processing request and calling a fusion business interface, can obtain target account data from the data storage space of the fusion business module based on the account identifier carried in the business request and the target account type corresponding to the account identifier, can obtain the target business operation output by the business container through the business container based on the business identifier carried in the business processing request, and can obtain the business processing result by performing the target business operation on the target account data, wherein the data storage space includes account data corresponding to multiple account types; the cache of the business container stores candidate business operations corresponding to different candidate business identifiers. In this way, the businesses corresponding to different types of customers are integrated together, and when a business processing request is received, the fusion business module can be directly called through a unified fusion business interface. During the calling process, the target account data can be obtained according to the account identifier carried in the business processing request and the target account type corresponding to the account identifier, and subsequent business processing can be performed on the target account data, avoiding the problem of resource waste in maintaining multiple business modules for different customer objects in the traditional technology. In addition, the target business operation is encapsulated by the business container, which protects data security while avoiding frequent reading of the disk database and reducing the waste of communication resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 An application environment diagram of a business processing method in an embodiment;
[0046] Figure 2 A schematic diagram of a process flow of a business processing method in an embodiment;
[0047] Figure 3 A flowchart of identifying whether a target account belongs to a target institution in another embodiment;
[0048] Figure 4 is a flowchart of an exemplary business processing method in another embodiment;
[0049] Figure 5 is a structural block diagram of a service processing device in an embodiment;
[0050] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. It should be noted that in the embodiments of the present application, certain software, groups, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0052] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations. The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with relevant provisions of national laws and regulations.
[0053] In the business system of an enterprise, different business modules are usually set up for different customer types. For example, when the enterprise is a bank, the customer types include individual customers and group customers. For individual customers, the business system will set up a business module for personal cards, and for group customers, the business system will set up a business module for corporate cards.
[0054] When traditional business systems process data, they call different business modules for different customers to perform corresponding business processing on the customer's relevant data. However, different business modules require different application architectures to implement, and maintenance also requires maintenance on multiple application architectures, which results in a waste of resources. Therefore, multiple business modules need to be integrated.
[0055] The existing module fusion method usually sets a unified interaction entrance at the front end, determines the customer type at the interaction entrance, and then calls the corresponding business module to provide services for different customer types. However, this method essentially still uses multiple business modules to provide business services to customers.
[0056] In view of this, the present application provides a business processing method, apparatus, device, readable storage medium and program product. By responding to a business processing request and calling a fusion business interface, the target account data can be obtained from the data storage space of the fusion business module based on the account identifier carried in the business request and the target account type corresponding to the account identifier. Based on the business identifier carried in the business processing request, the target business operation output by the business container can be obtained through the business container. By performing the target business operation on the target account data, the business processing result can be obtained, wherein the data storage space includes account data corresponding to multiple account types; and the cache of the business container stores candidate business operations corresponding to different candidate business identifiers. In this way, the services corresponding to different types of customers are integrated together. When a business processing request is received, the integrated business module can be directly called through a unified integrated business interface. During the calling process, the target account data can be obtained according to the account identifier carried in the business processing request and the target account type corresponding to the account identifier, and subsequent business processing can be performed on the target account data, thereby avoiding the problem of resource waste in maintaining multiple business modules for different customer objects in traditional technologies. In addition, the target business operation is encapsulated through the business container, which protects data security while avoiding frequent reading of the disk database and reducing the waste of communication resources.
[0057] The service processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 101, or it can be placed on the cloud or other network servers. The server 101 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0058] In an exemplary embodiment, Figure 2 As shown, a business processing method is provided, which is applied to Figure 1 The server 101 in the example is used as an example to illustrate, including the following steps 201 to 203. Among them:
[0059] Step 201, in response to a business processing request, calling a converged business interface, and acquiring target account data from a data storage space of a converged business module based on an account identifier carried in the business request and a target account type corresponding to the account identifier.
[0060] Among them, the data storage space includes account data corresponding to multiple account types.
[0061] The business processing request may be a request for business processing received by the server from other devices. For different enterprises, the other devices may be different. For example, when the enterprise is a bank, the other devices may be terminals, teller machines, etc.
[0062] After receiving the service processing request, the server may respond to the service processing request, thereby calling the integrated service interface. By calling the integrated service interface, the integrated service module that integrates services corresponding to multiple account types may be called.
[0063] When calling the fusion business module, the server can obtain the account identifier corresponding to the business request from the business request, and based on the account identifier, determine the target account type corresponding to the account identifier. The account identifier can be data that uniquely identifies the target account. For example, if the enterprise is a bank, the account identifier can be a card number.
[0064] In the embodiment of the present application, in order to merge the business modules corresponding to different customer objects, it is necessary to merge the data under the accounts corresponding to the different customer objects.
[0065] In a possible implementation, when setting an account identifier for each account, data associated with the account type can be set to be included in the account identifier. Taking the account identifier as a segment of characters as an example, the data associated with the account type can be a field with no less than one digit, or can be a string of special characters. In this way, the server can determine the account type corresponding to the target account based on the account identifier. Different account types can represent the customer object corresponding to the target account. In a possible implementation, the customer objects can include multiple types, and the customer objects can be group customers or individual customers.
[0066] In this embodiment, taking the enterprise as a bank as an example, the account identifier can be the card number, and the server can re-establish the card number rules so that the card numbers (account identifiers) corresponding to different customer objects exist according to the same rules. For example, the card number can include a 6-digit card bin representing the bank institution, a 3-digit city code representing the city, a 6-9-digit serial number identifying the account type, and a 1-digit check code, etc. In this way, the server can determine the target account type based on the specific fields in the account identifier.
[0067] In another possible implementation, the server presets an association relationship between each account identifier and an account type, so that the server can determine the target account type corresponding to the account identifier from each preset association relationship according to the account identifier.
[0068] Regarding the process of the server determining the target account type according to the account identifier, optionally, the server can determine the target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence, and then determine the account type corresponding to the target account according to the target account sequence.
[0069] In an embodiment of the present application, the account sequence can be used to identify the account type. The server can determine the target account sequence corresponding to the account identifier from multiple preset account identifiers and account sequence correspondences based on the account identifier, and then determine the target account type based on the target account sequence.
[0070] Optionally, the correspondence between the preset account identifier and the account sequence may be a data table, in which the correspondence between different account identifiers and account sequences is stored; optionally, the correspondence between the preset account identifier and the account sequence may be a mapping relationship, and the server may determine the target account sequence according to the account identifier based on the mapping relationship.
[0071] After determining the target account type, the server can obtain the target account data from the data storage space of the fusion business module according to the account identifier and the target account type. The target account data can be determined according to the actual business scenario. In the embodiment of the present application, taking the enterprise as a bank as an example, the target account data may include account balance, daily income and expenditure, etc.
[0072] In a possible implementation, in order to reduce the waste of computing resources, account data under accounts corresponding to different account types may be stored separately. Optionally, account data of different account types are stored at different storage addresses. Optionally, different data partitions are set, and account data of different account types are stored in different data partitions. In this way, when determining the account data, it is avoided to filter the account data corresponding to the target account in the global account data, thereby reducing the waste of computing resources.
[0073] Regarding the process of the server determining the account data of the target account based on the account identifier and account type, in one possible implementation, the server can determine the data partition corresponding to the target account from the data storage space based on the correspondence between the target account type and the preset account type and the data partition, and then determine the target account data from the data partition based on the account identifier.
[0074] In an embodiment of the present application, different data partitions for storing data are set for different customer objects, so that the server can determine the data partition according to the account type, and then filter out the account data of the target account from the account data of each account in the data partition according to the account identifier.
[0075] Step 202: Based on the service identifier carried in the service processing request, the target service operation output by the service container is obtained through the service container.
[0076] In the embodiment of the present application, the business identifier may be an identifier that uniquely identifies the business service. Through the business identifier, the server may determine the business service indicated by the business request that is desired to be provided for the target account data.
[0077] In one possible implementation, different business operations are set for different business services. Optionally, the business operations may include steps for data processing by multiple servers; optionally, the business operations include not only steps for data processing, but also business parameters corresponding to different businesses, such as card product assembly, product catalog, proprietary parameters, etc.
[0078] Therefore, business operations may be read frequently. If stored in a database, they will occupy communication resources and cause damage to storage hardware. Therefore, in an embodiment of the present application, a pre-packaged business container can be set. The business container is a data service. After the business container is run, it can obtain all business operations stored in the database from the database, so that the cache of the business container stores candidate business operations corresponding to different candidate business identifiers, and the candidate business operations and their corresponding candidate business identifiers are associated and encapsulated in the cache of the business container. In this way, the server can run the business container based on the business identifier carried in the business processing request, so that the business container can output the target business operation through the business identifier.
[0079] In this way, by encapsulating candidate business operations through business containers, it is possible to avoid frequent reading of the disk database, reduce the waste of communication resources, and reduce the damage to storage hardware caused by frequent reading. In addition, because the business container is securely encapsulated, it avoids problems such as data loss that may occur during the communication process, and the business operations obtained through the business container are more accurate.
[0080] In addition, a verification program can also be stored in the business container. When the server obtains the target business operation according to the business identifier, it can also run the verification program in the business container to verify the target account data. After the verification passes, the subsequent target business operation can be performed on the target account data. In this way, a security check is added before performing the target business operation, thereby improving the security of the business processing process.
[0081] Step 203: Perform a target business operation on the target account data to obtain a business processing result.
[0082] In this application, after determining the target business operation, the server can perform corresponding processing steps on the account data based on the target business operation. After the processing is completed, the server can generate a corresponding business processing result, which can be, for example, processing completed.
[0083] In a possible implementation manner, the server can generate business response information according to the business processing result and output the business response information.
[0084] In this way, the server can prompt the customer that the business service for the target account data has been completed. The customer can exit the business system providing the service or select other business services.
[0085] In the embodiments of this application, the server uses multiple processes to perform target business operations on multiple target account data simultaneously. At this time, in order to ensure the security of resource allocation in different processes and avoid the problem of process deadlocks, the banker's algorithm can be introduced to set the maximum data volume of different types of resources that each process can obtain. Exemplarily, the algorithm formula can be Need[i,j] = Max[i,j] - Allocation[i,j], where 1 < i < m and 1 < j < n. Here, Allocation[i,j] represents the data volume of the j-type resource obtained by the i process, Max[i,j] represents the maximum data volume of the j-type resource required by the i process, and Need[i,j] represents the data volume of various resources still required by the i process.
[0086] In the above embodiments, the services corresponding to different types of customers are integrated. When a business processing request is received, the integrated business module can be directly called through the unified integrated business interface. During the call process, the target account data can be obtained according to the account identifier carried in the business processing request and the target account type corresponding to the account identifier, and subsequent business processing can be performed on the target account data, avoiding the problem of resource waste caused by maintaining multiple business modules for different customer objects in the traditional technology. In addition, by encapsulating the target business operation through the business container, while protecting data security, it avoids frequent reading of the disk database and reduces the waste of communication resources.
[0087] In one embodiment, based on the above Figure 2 illustrated embodiment, refer to Figure 3 , this embodiment relates to the process of identifying whether the target account belongs to the target institution. As Figure 3 shown, this process may include step 301 and step 302.
[0088] Step 301, determine the institution identifier corresponding to the account identifier according to the account identifier.
[0089] Step 302, if the institution identifier is the target institution identifier, then determine the target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence, and determine the target account type according to the target account sequence.
[0090] In one possible implementation, there may be different service agencies in the same industry, and the same entrance may exist between the business systems of these service agencies. For example, if the enterprise is a bank, the same external channel entrance exists between the business systems of each bank. In this case, the server needs to identify whether the account corresponding to the account identifier belongs to the agency (target agency). In this embodiment of the present application, different agencies correspond to different agency identifiers.
[0091] Optionally, the account identifier may include an institution identifier. When the server obtains the account identifier, it can determine the account identifier corresponding to the target account based on a specific field in the account identifier. Optionally, the account identifier and the institution identifier are associated and stored in a database, and the server can determine the institution identifier corresponding to the account identifier from the database based on the account identifier.
[0092] After determining the account identifier corresponding to the target account, the server may match the organization identifier with the target organization identifier used to identify the target organization. Optionally, if the organization identifier is the target organization identifier, the server may determine that the account corresponding to the account identifier belongs to the target organization.
[0093] Optionally, if the organization identifier is not the target organization identifier, the server outputs a request error message to indicate that the account corresponding to the account identifier does not belong to the target organization.
[0094] In one embodiment, referring to Figure 4 , provides an exemplary business processing method, which can be applied to Figure 1 In the implementation environment shown.
[0095] Step 401, in response to a business processing request, determining an institution identifier corresponding to an account identifier according to the account identifier carried in the business request.
[0096] Step 402: If the institution identifier is the target institution identifier, a target account sequence corresponding to the target account is determined according to the account identifier and the correspondence between the preset account identifier and the account sequence.
[0097] Step 403: Determine the target account type according to the target account sequence.
[0098] Step 404 , calling the converged service interface, and obtaining the target account data from the data storage space of the converged service module based on the account identifier carried in the service request and the target account type corresponding to the account identifier.
[0099] Among them, the data storage space includes account data corresponding to multiple account types.
[0100] Step 405 , according to the target account type and the correspondence between the preset account type and the data partition, determine the data partition corresponding to the target account from the data storage space.
[0101] Step 406: Obtain target account data from the data partition according to the account identifier.
[0102] Step 407: The candidate service operations corresponding to different candidate service identifiers are stored in the cache of the service container.
[0103] Step 408: Perform a target business operation on the target account data to obtain a business processing result.
[0104] Step 409: Generate business response information according to the business processing result, and output the business response information.
[0105] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0106] Based on the same inventive concept, the embodiment of the present application also provides a business processing device for implementing the business processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more business processing device embodiments provided below can refer to the limitations on the business processing method above, and will not be repeated here.
[0107] In an exemplary embodiment, Figure 5 As shown, a service processing device is provided, including: a fusion service calling module 501, a container running module 502 and a processing module 503, wherein:
[0108] The converged service calling module 501 is used to call the converged service interface in response to the service processing request, and obtain the target account data from the data storage space of the converged service module based on the account identifier carried in the service request and the target account type corresponding to the account identifier, wherein the data storage space includes account data corresponding to multiple account types;
[0109] A container operation module 502, configured to obtain, through a business container, a target business operation output by the business container based on the business identifier carried in the business processing request, wherein the cache of the business container stores candidate business operations corresponding to different candidate business identifiers;
[0110] The processing module 503 is used to perform the target business operation on the target account data to obtain a business processing result.
[0111] In one embodiment, the converged service calling module 501 includes:
[0112] a partition determination unit, configured to determine the data partition corresponding to the target account from the data storage space according to the target account type and a correspondence between a preset account type and a data partition;
[0113] A data determination unit is used to obtain the target account data from the data partition according to the account identifier.
[0114] In one embodiment, the apparatus further comprises:
[0115] A sequence determination module, configured to determine a target account sequence corresponding to the target account according to the account identifier and a preset correspondence between the account identifier and the account sequence;
[0116] The type determination module is used to determine the target account type according to the target account sequence.
[0117] In one embodiment, the apparatus further comprises:
[0118] An institution determination module, used to determine the institution identifier corresponding to the target account according to the account identifier of the target account;
[0119] The correct execution module is used to execute the steps of determining the target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence, and determining the target account type according to the target account sequence if the institution identifier is the target institution identifier.
[0120] In one embodiment, the apparatus further comprises:
[0121] An error output module is used to output request error information if the institution identifier is not the target institution identifier.
[0122] In one embodiment, the apparatus further comprises:
[0123] The output module is used to generate business response information according to the business processing result and output the business response information.
[0124] Each module in the above-mentioned business processing device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0125] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data processing data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a business processing method is implemented.
[0126] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0127] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0128] In response to the service processing request, the converged service interface is called, and based on the account identifier carried in the service request and the target account type corresponding to the account identifier, target account data is obtained from the data storage space of the converged service module, wherein the data storage space includes account data corresponding to multiple account types;
[0129] Based on the service identifier carried in the service processing request, obtaining, through a service container, a target service operation output by the service container, wherein a cache of the service container stores candidate service operations corresponding to different candidate service identifiers;
[0130] The target business operation is performed on the target account data to obtain a business processing result.
[0131] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0132] Determine the data partition corresponding to the target account from the data storage space according to the target account type and the correspondence between the preset account type and the data partition;
[0133] The target account data is obtained from the data partition according to the account identifier.
[0134] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0135] Determine a target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence;
[0136] The target account type is determined according to the target account sequence.
[0137] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0138] Determine, according to the account identifier, an institution identifier corresponding to the account identifier;
[0139] If the institution identifier is a target institution identifier, the steps of determining a target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence, and determining the target account type according to the target account sequence are performed.
[0140] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0141] If the organization identifier is not the target organization identifier, a request error message is output.
[0142] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0143] Generate business response information according to the business processing result, and output the business response information.
[0144] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0145] In response to the service processing request, the converged service interface is called, and based on the account identifier carried in the service request and the target account type corresponding to the account identifier, target account data is obtained from the data storage space of the converged service module, wherein the data storage space includes account data corresponding to multiple account types;
[0146] Based on the service identifier carried in the service processing request, obtaining, through a service container, a target service operation output by the service container, wherein a cache of the service container stores candidate service operations corresponding to different candidate service identifiers;
[0147] The target business operation is performed on the target account data to obtain a business processing result.
[0148] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0149] Determine the data partition corresponding to the target account from the data storage space according to the target account type and the correspondence between the preset account type and the data partition;
[0150] The target account data is obtained from the data partition according to the account identifier.
[0151] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0152] Determine a target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence;
[0153] The target account type is determined according to the target account sequence.
[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0155] Determine, according to the account identifier, an institution identifier corresponding to the account identifier;
[0156] If the institution identifier is a target institution identifier, the steps of determining a target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence, and determining the target account type according to the target account sequence are performed.
[0157] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0158] If the organization identifier is not the target organization identifier, a request error message is output.
[0159] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0160] Generate business response information according to the business processing result, and output the business response information.
[0161] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0162] In response to the service processing request, the converged service interface is called, and based on the account identifier carried in the service request and the target account type corresponding to the account identifier, target account data is obtained from the data storage space of the converged service module, wherein the data storage space includes account data corresponding to multiple account types;
[0163] Based on the service identifier carried in the service processing request, obtaining, through a service container, a target service operation output by the service container, wherein a cache of the service container stores candidate service operations corresponding to different candidate service identifiers;
[0164] The target business operation is performed on the target account data to obtain a business processing result.
[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0166] Determine the data partition corresponding to the target account from the data storage space according to the target account type and the correspondence between the preset account type and the data partition;
[0167] The target account data is obtained from the data partition according to the account identifier.
[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0169] Determine a target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence;
[0170] The target account type is determined according to the target account sequence.
[0171] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0172] Determine, according to the account identifier, an institution identifier corresponding to the account identifier;
[0173] If the institution identifier is a target institution identifier, the steps of determining a target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence, and determining the target account type according to the target account sequence are performed.
[0174] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0175] If the organization identifier is not the target organization identifier, a request error message is output.
[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0177] Generate business response information according to the business processing result, and output the business response information.
[0178] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0179] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0180] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A business processing method, characterized in that: The method comprises: In response to the service processing request, the converged service interface is called, and based on the account identifier carried in the service request and the target account type corresponding to the account identifier, target account data is obtained from the data storage space of the converged service module, wherein the data storage space includes account data corresponding to multiple account types; Based on the service identifier carried in the service processing request, obtaining, through a service container, a target service operation output by the service container, wherein a cache of the service container stores candidate service operations corresponding to different candidate service identifiers; The target business operation is performed on the target account data to obtain a business processing result.
2. The method according to claim 1, characterized in that The acquiring target account data from the data storage space of the converged service module based on the account identifier carried in the service request and the target account type corresponding to the account identifier includes: Determine the data partition corresponding to the target account from the data storage space according to the target account type and the correspondence between the preset account type and the data partition; The target account data is obtained from the data partition according to the account identifier.
3. The method according to claim 1, characterized in that The method further comprises: Determine a target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence; The target account type is determined according to the target account sequence.
4. The method according to claim 3, characterized in that The method further comprises: Determine, according to the account identifier, an institution identifier corresponding to the account identifier; If the institution identifier is a target institution identifier, the steps of determining a target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence, and determining the target account type according to the target account sequence are performed.
5. The method according to claim 4, characterized in that The method further comprises: If the organization identifier is not the target organization identifier, a request error message is output.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Generate business response information according to the business processing result, and output the business response information.
7. A service processing device, characterized in that: The device comprises: A converged service calling module, configured to call a converged service interface in response to a service processing request, and obtain target account data from a data storage space of the converged service module based on an account identifier carried in the service request and a target account type corresponding to the account identifier, wherein the data storage space includes account data corresponding to multiple account types; A container operation module, configured to obtain, through a business container, a target business operation output by the business container based on the business identifier carried in the business processing request, wherein a cache of the business container stores candidate business operations corresponding to different candidate business identifiers; The processing module is used to perform the target business operation on the target account data to obtain a business processing result.
8. The device according to claim 7, characterized in that The fusion service calling module includes: a partition determination unit, configured to determine the data partition corresponding to the target account from the data storage space according to the target account type and a correspondence between a preset account type and a data partition; A data determination unit is used to obtain the target account data from the data partition according to the account identifier.
9. The device according to claim 7, characterized in that The device also includes: A sequence determination module, configured to determine a target account sequence corresponding to the target account according to the account identifier and a preset correspondence between the account identifier and the account sequence; The type determination module is used to determine the target account type according to the target account sequence.
10. The device according to claim 9, characterized in that The device also includes: An institution determination module, used to determine the institution identifier corresponding to the target account according to the account identifier of the target account; The correct execution module is used to execute the steps of determining the target account sequence corresponding to the target account according to the account identifier and the correspondence between the preset account identifier and the account sequence, and determining the target account type according to the target account sequence if the institution identifier is the target institution identifier.
11. The device according to claim 10, characterized in that The device also includes: An error output module is used to output request error information if the institution identifier is not the target institution identifier.
12. The device according to any one of claims 7 to 11, characterized in that The device also includes: The output module is used to generate business response information according to the business processing result and output the business response information.
13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.