Business processing method and device, computer device, storage medium and program product

By acquiring the input elements of the target business, generating the target business message, and calling the corresponding interface version number, it directly connects with the business processing system, solving the problem of high construction costs for financial institutions when connecting user businesses with channels, and achieving real-time and accurate business processing.

CN116561189BActive Publication Date: 2026-03-17IND BANK CO +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In the current technology, financial institutions face high construction costs when integrating user services and business channels, requiring customized development.

Method used

By acquiring the input elements of the target business, generating the target business message based on the mapping of the target message template and user location information, and calling the corresponding message interface version number, the system can directly interface with the business processing system, avoiding customized development.

Benefits of technology

It achieves real-time and accurate business processing, and reduces construction costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116561189B_ABST
    Figure CN116561189B_ABST
Patent Text Reader

Abstract

This application relates to a business processing method, apparatus, computer equipment, storage medium, and computer program product. The method includes: in response to a user's input operation, obtaining target input elements of a target business; obtaining a target business message corresponding to the target business based on the mapping of field positions of the target input elements in a target message template, wherein the target message template is determined according to the target business type of the target business; obtaining a target message interface version number corresponding to the target business message based on the target business type and the user's location information; invoking the target business interface corresponding to the target business message based on the target message interface version number; and sending the target business message to the corresponding target business processing system based on the target business interface, so as to process the target business based on the target business processing system. This method can reduce construction costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a business processing method, apparatus, computer equipment, storage medium, and computer program product. Background Technology

[0002] With the development of internet technology, financial institutions (such as banks) will connect user services with business channels to process user services based on business channels. When user services are different, business channels need to be customized to develop and connect with different user services.

[0003] However, the above methods result in high construction costs. Summary of the Invention

[0004] Therefore, it is necessary to provide a business processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can reduce construction costs in response to the above-mentioned technical problems.

[0005] Firstly, this application provides a business processing method, the method comprising:

[0006] Responding to user input, obtain the target input elements for the target business;

[0007] Based on the mapping of the target input elements to the field positions in the target message template, the target service message corresponding to the target service is obtained, and the target message template is determined according to the target service type of the target service;

[0008] Based on the target service type and the user's location information, obtain the target message interface version number corresponding to the target service message;

[0009] Based on the target message interface version number, invoke the target service interface corresponding to the target service message;

[0010] Based on the target service interface, the target service message is sent to the corresponding target service processing system so that the target service can be processed by the service processing system.

[0011] In one embodiment, the number of target input elements includes multiple elements; obtaining the target service message corresponding to the target service based on the mapping of the field positions of the target input elements in the target message template includes:

[0012] If multiple target input elements have corresponding mapping positions in different field positions of the target message template, the multiple target input elements are added to the corresponding field positions of the target message template to obtain the target service message.

[0013] In one embodiment, the method further includes:

[0014] If at least one of the target input elements does not have a corresponding mapping position in the field position of the target message template, the target input element with a corresponding mapping position is added to the corresponding field position of the target message template, and at least one target input element is added to the additional data field position of the target message template to obtain the target service message.

[0015] In one embodiment, obtaining the target message interface version number corresponding to the target service message based on the target service type and the user's location information includes:

[0016] Obtain the first correspondence between service type, user location, and message interface version number;

[0017] Based on the first correspondence, the target message interface version number corresponding to the target service message is obtained according to the target service type and the user's location information.

[0018] In one embodiment, sending the target service message to the corresponding target service processing system based on the target service interface includes:

[0019] Obtain the second correspondence between business types, user locations, and business processing systems;

[0020] Based on the second correspondence, according to the target service type and the user's location information, the target service message is sent to the corresponding target service processing system based on the target service interface.

[0021] In one embodiment, the method further includes:

[0022] Receive the business processing result of the query business from the target business processing system, wherein the target business includes the query business;

[0023] When a user's payment request is obtained based on the business processing result, the step of responding to the user's input operation and obtaining the target input elements of the target business is returned according to the payment request. The target business also includes the payment business corresponding to the payment request.

[0024] Secondly, this application provides a business processing apparatus, the apparatus comprising:

[0025] The element acquisition module is used to acquire the target input elements of the target business in response to user input operations;

[0026] The business message acquisition module is used to obtain the target business message corresponding to the target business based on the mapping of the field positions of the target input elements in the target message template. The target message template is determined according to the target business type of the target business.

[0027] The message interface version number acquisition module is used to obtain the message interface version number corresponding to the target service message based on the target service type and the user's location information.

[0028] The business interface invocation module is used to invoke the target business interface corresponding to the target business message according to the message interface version number;

[0029] The service processing module is used to send the target service message to the corresponding target service processing system based on the target service interface, so as to process the target service based on the service processing system.

[0030] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0031] Responding to user input, obtain the target input elements for the target business;

[0032] Based on the mapping of the target input elements to the field positions in the target message template, the target service message corresponding to the target service is obtained, and the target message template is determined according to the target service type of the target service;

[0033] Based on the target service type and the user's location information, obtain the target message interface version number corresponding to the target service message;

[0034] Based on the target message interface version number, invoke the target service interface corresponding to the target service message;

[0035] Based on the target service interface, the target service message is sent to the corresponding target service processing system so that the target service can be processed by the service processing system.

[0036] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0037] Responding to user input, obtain the target input elements for the target business;

[0038] Based on the mapping of the target input elements to the field positions in the target message template, the target service message corresponding to the target service is obtained, and the target message template is determined according to the target service type of the target service;

[0039] Based on the target service type and the user's location information, obtain the target message interface version number corresponding to the target service message;

[0040] Based on the target message interface version number, invoke the target service interface corresponding to the target service message;

[0041] Based on the target service interface, the target service message is sent to the corresponding target service processing system so that the target service can be processed by the service processing system.

[0042] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0043] Responding to user input, obtain the target input elements for the target business;

[0044] Based on the mapping of the target input elements to the field positions in the target message template, the target service message corresponding to the target service is obtained, and the target message template is determined according to the target service type of the target service;

[0045] Based on the target service type and the user's location information, obtain the target message interface version number corresponding to the target service message;

[0046] Based on the target message interface version number, invoke the target service interface corresponding to the target service message;

[0047] Based on the target service interface, the target service message is sent to the corresponding target service processing system so that the target service can be processed by the service processing system.

[0048] The aforementioned business processing methods, devices, computer equipment, storage media, and computer program products, by responding to user input operations, acquire the target input elements of the target business, enabling the execution of corresponding business processing procedures based on the user's actual business, thus ensuring the real-time nature of business processing. Furthermore, based on the target business type, they call the corresponding target message template, and then, according to the mapping of the target input elements' field positions in the target message template, obtain the target business message corresponding to the target business. This allows the business processing system to be informed of the business to be processed by sending a business message, improving the accuracy of business processing. Moreover, based on the target business type and the user's location information, they obtain the target message interface version number corresponding to the target business message, ensuring that a target message interface version number matching the user's actual business is obtained. Thus, when the target business interface corresponding to the target business message is called based on the target message interface version number, and the target business message is sent to the corresponding target business processing system based on the target business interface, the user's business can be connected to the business processing system through the business interface, eliminating the need for customized development of the connection process and reducing construction costs. Attached Figure Description

[0049] Figure 1 This is an application environment diagram of a business processing method in one embodiment;

[0050] Figure 2 This is a flowchart illustrating a business processing method in one embodiment;

[0051] Figure 3 This is a flowchart illustrating the process of obtaining the target message interface version number corresponding to the target service message based on the target service type and the user's location information in one embodiment.

[0052] Figure 4 This is a schematic diagram of a process in one embodiment of sending a target service message to the corresponding target service processing system based on the target service interface;

[0053] Figure 5 This is a flowchart illustrating the business processing method in another embodiment;

[0054] Figure 6 This is a structural block diagram of a service processing device in one embodiment;

[0055] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0056] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0057] The business processing method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal 102 communicates with channel system 104 via a network, and terminal 102 may include a user terminal; channel system 104 communicates with target service processing system 106 via a network. Specifically, terminal 102 can display an input interface, and channel system 104, in response to user input on the input interface, obtains the target input elements of the target service; based on the mapping of the target input elements to the field positions in the target message template, it obtains the target service message corresponding to the target service, the target message template being determined according to the target service type; and based on the target service type and user location information, it obtains the message interface version number corresponding to the target service message; and based on the message interface version number, it calls the target service interface corresponding to the target service message; and then, based on the target service interface, it sends the target service message to the corresponding target service processing system 106 for processing of the target service.

[0058] In one embodiment, such as Figure 2 As shown, a business processing method is provided, which is applied to... Figure 1 Taking channel system 104 as an example, the explanation includes the following steps:

[0059] S202, in response to the user's input operation, obtain the target input elements of the target business.

[0060] In some embodiments, the terminal may include a user terminal displaying an input interface. The input page varies depending on the target service. The channel system can obtain the target input elements for the target service based on the user's input operations on the input interface. The target service is a service provided by a financial institution to meet user needs. Target services may include inquiry services and payment services, etc., and the target input elements differ for different target services. For example, if the target service is an inquiry service, the user can enter the type of identification document and document number on the input interface corresponding to the inquiry service; therefore, the target input elements for the inquiry service are the type of identification document and document number. The inquiry service may be for water bills, electricity bills, or other types of fees; this embodiment does not specifically limit this. If the target service is a payment service, the user can enter the amount on the input interface corresponding to the payment service; therefore, the target input element for the payment service is the amount.

[0061] S204. Based on the mapping of the field positions of the target input elements in the target message template, obtain the target service message corresponding to the target service. The target message template is determined according to the target service type of the target service.

[0062] The message template is a pre-set business message template, and the target message template is determined according to the target business type of the target business. Different businesses correspond to different business message modules. The target business type refers to the specific category of the target business. For example, if the target business is a query business, the query payment business can include query services for water bills and query services for electricity bills, etc., where water bills and electricity bills refer to the specific categories of query services. The target message template can include multiple field positions, and different input elements can be mapped to different field positions. Therefore, in this embodiment, the target business message corresponding to the target business can be obtained according to the mapping of the target input elements to the field positions in the target message template.

[0063] S206. Based on the target service type and the user's location information, obtain the target message interface version number corresponding to the target service message.

[0064] The user's location information can be obtained based on the user terminal's positioning function. The user's location information may include the city where the user is located and / or the region where the user is located. In some embodiments, multiple candidate message interface version numbers can be obtained based on the user's location information. From the multiple candidate message interface version numbers, the candidate message interface version number corresponding to the target service type is selected to obtain the target message interface version number corresponding to the target service message.

[0065] S208: Based on the target message interface version number, call the target business interface corresponding to the target business message.

[0066] Different message version numbers correspond to different service interfaces. Therefore, in this embodiment, the target service interface that matches the target service can be called through the target message interface version number.

[0067] S210, based on the target service interface, sends the target service message to the corresponding target service processing system, so that the target service can be processed based on the target service processing system.

[0068] Different business interfaces connect to different business processing systems, and these systems can handle different types of business. In this embodiment, based on the target business interface, the target business message can be sent to the corresponding target business processing system. The business processing system can then parse the target business message to process the target business.

[0069] For example, if the target business is a query business, the target business processing system parses the query business message (i.e., the target business message) to obtain the type and number of the certificate entered by the user (i.e., the target input element). Then, based on the type and number of the certificate, it executes the corresponding query process, so that the channel system can display the query results on the user terminal according to the query results sent by the target business processing system, making it convenient for the user to view.

[0070] In summary, based on Figure 2 The method described above, by responding to user input operations, obtains the target input elements of the target business, enabling the execution of corresponding business processing based on the user's actual business, thus ensuring the real-time nature of business processing. It then calls the corresponding target message template based on the target business type, and obtains the target business message corresponding to the target business based on the mapping of the target input elements' field positions in the target message template. This allows the business processing system to be informed of the business to be processed by sending a business message, improving the accuracy of business processing. Furthermore, based on the target business type and the user's location information, it obtains the target message interface version number corresponding to the target business message, ensuring that a target message interface version number matching the user's actual business is obtained. Thus, when the target business interface corresponding to the target business message is called based on the target message interface version number, and the target business message is sent to the corresponding target business processing system based on the target business interface, the user's business can be connected to the business processing system through the business interface, eliminating the need for customized development of the connection process and reducing construction costs.

[0071] In one embodiment, the number of target input elements may include multiple elements, and the mapping of the field positions of the target input elements in the target message template may include the following two cases. Based on the following two cases, the target service message corresponding to the target service can be obtained.

[0072] The first scenario is: if multiple target input elements have corresponding mapping positions in different field positions of the target message template, add the multiple target input elements to the corresponding field positions of the target message template to obtain the target business message.

[0073] The statement that multiple target input elements have corresponding mapping positions in different field locations of the target message template means that if the mapping elements corresponding to different field locations include multiple corresponding target input elements, then it is determined that multiple target input elements have corresponding mapping positions in the field locations of the target message template. For example, if the input elements are document type and document number, and the mapping elements corresponding to the field locations of the target message template include document type and document number, then the document type and document number will be added to their respective field locations.

[0074] The second scenario is as follows: If at least one of the multiple target input elements does not have a corresponding mapping position in the field position of the target message template, the target input element with a mapping position is added to the corresponding field position of the target message template, and at least one target input element is added to the additional data field position of the target message template to obtain the target service message.

[0075] In this context, "at least one of the multiple target input elements does not have a corresponding mapping position in a different field location of the target message template" means that if the mapping elements corresponding to a field location do not include at least one target input element, then it is determined that at least one target input element does not have a corresponding mapping position in the field location of the target message template. For example, if the input elements are document type, document number, and payment transaction number, and the mapping elements corresponding to the field location of the target message template include document type and document number but not payment transaction number, then the document type and document number are added to their respective field locations in the target message template, and the payment transaction number is added to the additional data field location of the target message template to obtain the target business message.

[0076] In one embodiment, such as Figure 3 The diagram illustrates a process for obtaining the target message interface version number corresponding to a target service message based on the target service type and the user's location information. This method is then applied to... Figure 1 Taking channel system 104 as an example, the explanation includes the following steps:

[0077] S302, obtain the first correspondence between service type, user location, and message interface version number.

[0078] S304. Based on the first correspondence, obtain the target message interface version number corresponding to the target service message according to the target service type and the user's location information.

[0079] Thus, based on Figure 3 The method described above can obtain the target message interface version number that matches the user's actual business, and then call the target business interface corresponding to the target business message according to the target message interface version number. When the target business message is sent to the corresponding target business processing system based on the target business interface, the user's business can be connected with the business processing system through the business interface without the need for customized development of the connection process, thus reducing construction costs.

[0080] In one embodiment, such as Figure 4 The diagram illustrates a process for sending target service messages to the corresponding target service processing system based on a target service interface. This method is applied to… Figure 1Taking channel system 104 as an example, the explanation includes the following steps:

[0081] S402, obtain the second correspondence between the service type, user location, and service processing system.

[0082] S404, based on the second correspondence, according to the target service type and the user's location information, and based on the target service interface, sends the target service message to the corresponding target service processing system.

[0083] Thus, based on Figure 4 The method shown ensures the accuracy of sending business to the business processing system that matches the user's actual business, and allows the user's business to be connected to the business processing system through the business interface without the need for customized development of the connection process, thus reducing construction costs.

[0084] In one embodiment, such as Figure 5 The diagram illustrates a business processing method, which is applied to... Figure 1 Taking channel system 104 as an example, the explanation includes the following steps:

[0085] S502, Receive the business processing result of the query business from the target business processing system, wherein the target business includes the query business.

[0086] S504, when a user's payment request is obtained based on the business processing result, return to execute S202 according to the payment request. The target business also includes the payment business corresponding to the payment request.

[0087] Understandable, through Figure 5 As shown, when a user obtains the query result corresponding to the query business based on the target business processing system, if the user determines that the fee balance is less than or equal to the threshold based on the query result, the user can execute the payment process, that is, the user executes S202. At this time, the target business is the payment business corresponding to the payment request, and the input elements of the payment business refer to the payment amount, etc.

[0088] In light of the above, in one embodiment, a business processing method is provided, the details of which are as follows:

[0089] The user terminal displays a utility payment interface based on the user's location information (e.g., City A). This interface shows water, electricity, gas, and communication fees for City A. When a user selects a specific type of fee from the utility payment interface based on their actual needs, they can access the corresponding query interface (i.e., the input interface). In this interface, the user enters the type and number of identification document (i.e., the target input elements for the query service). After clicking "query," the channel system retrieves the target service message based on the mapping of the document type and number to the fields in the query message template (i.e., the target message template). Based on the specific category of the query service (such as water bill) and the user's location information, the system obtains the query message interface version number (i.e., the target message version number) corresponding to the query service message, and calls the query interface (i.e., the target service interface) corresponding to the query service message according to the query message interface version number. Then, based on the query interface, the system sends the query service message to the corresponding target service processing system for processing. After the target service processing system obtains the query result, it sends the query result to the channel system, which then displays the query result on the user terminal for convenient viewing.

[0090] Furthermore, when a user submits a payment request based on the query results, the channel system displays a payment interface. Based on the amount entered by the user on the payment interface (i.e., the target input element of the payment service), it obtains the corresponding payment service message (i.e., the target service message). Then, based on the specific category of the payment service (e.g., water bill) and the user's location information, it obtains the corresponding payment service message interface version number (i.e., the target message interface version number). Based on this version number, it calls the corresponding payment interface (i.e., the target service interface), and then sends the payment service message to the corresponding target processing system. The target processing system then processes the payment service, and the channel system displays a successful payment result on the user's terminal. Note that if the specific category of the query service is the same as the specific category of the payment service, the processing system for the query service and the processing system for the payment service can be the same or different.

[0091] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0092] Based on the same inventive concept, this application also provides a business processing apparatus for implementing the business processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more business processing apparatus embodiments provided below can be found in the limitations of the business processing method described above, and will not be repeated here.

[0093] In one embodiment, such as Figure 6 As shown, a business processing device is provided, including: an element acquisition module 602, a business message acquisition module 604, a message interface version number acquisition module 606, a business interface call module 608, and a business processing module 610, wherein:

[0094] The element acquisition module 602 is used to acquire the target input elements of the target business in response to the user's input operation.

[0095] The business message acquisition module 604 is used to obtain the target business message corresponding to the target business based on the mapping of the field positions of the target input elements in the target message template. The target message template is determined according to the target business type of the target business.

[0096] The message interface version number acquisition module 606 is used to obtain the message interface version number corresponding to the target service message based on the target service type and the user's location information.

[0097] The business interface call module 608 is used to call the target business interface corresponding to the target business message based on the message interface version number.

[0098] The business processing module 610 is used to send target business messages to the corresponding target business processing system based on the target business interface, so as to process the target business based on the target business processing system.

[0099] In one embodiment, the number of target input elements includes multiple elements; the business message acquisition module 604 is further configured to: if multiple target input elements have corresponding mapping positions in different field positions of the target message template, add the multiple target input elements to the corresponding field positions of the target message template to obtain the target business message.

[0100] In one embodiment, the service message acquisition module 604 is further configured to: if at least one of the multiple target input elements does not have a corresponding mapping position in the field position of the target message template, add the target input element with a corresponding mapping position to the corresponding field position of the target message template, and add at least one target input element to the additional data field position of the target message template to obtain the target service message.

[0101] In one embodiment, the message interface version number acquisition module 606 is further configured to: acquire a first correspondence between the service type, the user location, and the message interface version number; and based on the first correspondence, acquire the target message interface version number corresponding to the target service message according to the target service type and the user's location information.

[0102] In one embodiment, the service processing module 610 is further configured to: obtain a second correspondence between the service type, the user location, and the service processing system; and based on the second correspondence, send a target service message to the corresponding target service processing system according to the target service type and the user's location information and based on the target service interface.

[0103] In one embodiment, the business processing module 610 is further configured to: receive the business processing result of the query business from the target business processing system, the target business including the query business; when a user's payment request is obtained based on the business processing result, return the step of obtaining the target input element of the target business in response to the user's input operation according to the payment request, the target business also including the payment business corresponding to the payment request.

[0104] Each module in the aforementioned business processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0105] In one embodiment, a computer device is provided, which may be a server in a channel system. This server is used to execute corresponding business processing procedures, and its internal structure diagram may be as follows: Figure 7As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores target message templates. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a business processing method.

[0106] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0107] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: in response to a user's input operation, obtaining target input elements of a target service; obtaining a target service message corresponding to the target service based on the mapping of field positions of the target input elements in a target message template, wherein the target message template is determined according to the target service type of the target service; obtaining a target message interface version number corresponding to the target service message based on the target service type and the user's location information; invoking the target service interface corresponding to the target service message based on the target message interface version number; and sending the target service message to the corresponding target service processing system based on the target service interface, so as to process the target service based on the target service processing system.

[0108] In one embodiment, the number of target input elements includes multiple elements; when the processor executes the computer program, it also performs the following steps: if multiple target input elements have corresponding mapping positions in different field positions of the target message template, the multiple target input elements are added to the corresponding field positions of the target message template to obtain the target service message.

[0109] In one embodiment, when the processor executes the computer program, it further implements the following steps: if at least one of the multiple target input elements does not have a corresponding mapping position in the field position of the target message template, the target input element with a corresponding mapping position is added to the corresponding field position of the target message template, and at least one target input element is added to the additional data field position of the target message template to obtain the target service message.

[0110] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining a first correspondence between the service type, the user location, and the message interface version number; and based on the first correspondence, obtaining the target message interface version number corresponding to the target service message according to the target service type and the user's location information.

[0111] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining a second correspondence between the service type, the user location, and the service processing system; and based on the second correspondence, sending a target service message to the corresponding target service processing system according to the target service type and the user's location information and based on the target service interface.

[0112] In one embodiment, when the processor executes the computer program, it further implements the following steps: receiving the business processing result of the query business from the target business processing system, the target business including the query business; when a user's payment request is obtained based on the business processing result, returning the step of obtaining the target input element of the target business in response to the user's input operation according to the payment request, the target business also including the payment business corresponding to the payment request.

[0113] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When executed by a processor, the computer program performs the following steps: in response to a user input operation, obtaining target input elements of a target service; obtaining a target service message corresponding to the target service based on the mapping of field positions of the target input elements in a target message template, wherein the target message template is determined according to the target service type of the target service; obtaining a target message interface version number corresponding to the target service message based on the target service type and the user's location information; invoking the target service interface corresponding to the target service message based on the target message interface version number; and sending the target service message to the corresponding target service processing system based on the target service interface, so as to process the target service based on the target service processing system.

[0114] In one embodiment, the number of target input elements includes multiple elements; when the computer program is executed by the processor, it also performs the following steps: if multiple target input elements have corresponding mapping positions in different field positions of the target message template, the multiple target input elements are added to the corresponding field positions of the target message template to obtain the target service message.

[0115] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if at least one of the multiple target input elements does not have a corresponding mapping position in the field position of the target message template, the target input element with a corresponding mapping position is added to the corresponding field position of the target message template, and at least one target input element is added to the additional data field position of the target message template to obtain the target service message.

[0116] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining a first correspondence between the service type, the user location, and the message interface version number; and based on the first correspondence, obtaining the target message interface version number corresponding to the target service message according to the target service type and the user's location information.

[0117] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining a second correspondence between the service type, the user location, and the service processing system; and based on the second correspondence, sending a target service message to the corresponding target service processing system according to the target service type and the user's location information and based on the target service interface.

[0118] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: receiving the business processing result of the query business from the target business processing system, the target business including the query business; when a user's payment request is obtained based on the business processing result, returning the step of obtaining the target input element of the target business in response to the user's input operation according to the payment request, the target business also including the payment business corresponding to the payment request.

[0119] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: in response to a user's input operation, obtaining target input elements of a target service; obtaining a target service message corresponding to the target service based on the mapping of field positions of the target input elements in a target message template, wherein the target message template is determined according to the target service type of the target service; obtaining a target message interface version number corresponding to the target service message based on the target service type and the user's location information; invoking the target service interface corresponding to the target service message based on the target message interface version number; and sending the target service message to the corresponding target service processing system based on the target service interface, so as to process the target service based on the target service processing system.

[0120] In one embodiment, the number of target input elements includes multiple elements; when the computer program is executed by the processor, it also performs the following steps: if multiple target input elements have corresponding mapping positions in different field positions of the target message template, the multiple target input elements are added to the corresponding field positions of the target message template to obtain the target service message.

[0121] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if at least one of the multiple target input elements does not have a corresponding mapping position in the field position of the target message template, the target input element with a corresponding mapping position is added to the corresponding field position of the target message template, and at least one target input element is added to the additional data field position of the target message template to obtain the target service message.

[0122] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining a first correspondence between the service type, the user location, and the message interface version number; and based on the first correspondence, obtaining the target message interface version number corresponding to the target service message according to the target service type and the user's location information.

[0123] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining a second correspondence between the service type, the user location, and the service processing system; and based on the second correspondence, sending a target service message to the corresponding target service processing system according to the target service type and the user's location information and based on the target service interface.

[0124] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: receiving the business processing result of the query business from the target business processing system, the target business including the query business; when a user's payment request is obtained based on the business processing result, returning the step of obtaining the target input element of the target business in response to the user's input operation according to the payment request, the target business also including the payment business corresponding to the payment request.

[0125] 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, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0126] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile 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. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0127] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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 specification.

[0128] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A service processing method characterized by, The method comprises: obtaining target input elements of a target service in response to an input operation of a user; obtaining a target service message corresponding to the target service according to a mapping of field positions of the target input elements in a target message template, the target message template being determined according to a target service type of the target service; obtaining a target message interface version number corresponding to the target service message according to the target service type and position information of the user; calling a target service interface corresponding to the target service message according to the target message interface version number; sending the target service message to a corresponding target service processing system based on the target service interface, so as to process the target service based on the target service processing system; wherein the number of the target input elements comprises a plurality; the obtaining of the target service message according to the mapping of the field positions of the target input elements in the target message template comprises: if corresponding mapping positions exist in different field positions of the target message template for the plurality of target input elements, adding the plurality of target input elements to the field positions of the target message template to obtain the target service message; and if corresponding mapping positions do not exist in the field positions of the target message template for at least one of the plurality of target input elements, adding the target input elements with corresponding mapping positions to the field positions of the target message template and adding the at least one target input element to an additional data field position of the target message template to obtain the target service message.

2. The method of claim 1, wherein, The obtaining of the target message interface version number corresponding to the target service message according to the target service type and the position information of the user comprises: obtaining a first corresponding relationship among a service type, a user position, and a message interface version number; obtaining the target message interface version number corresponding to the target service message according to the target service type and the position information of the user based on the first corresponding relationship.

3. The method of claim 1, wherein, The sending of the target service message to the corresponding target service processing system based on the target service interface comprises: obtaining a second corresponding relationship among a service type, a user position, and a service processing system; sending the target service message to the corresponding target service processing system based on the target service interface according to the target service type and the position information of the user based on the second corresponding relationship.

4. The method of claim 1, wherein, The method further comprises: receiving a service processing result of an inquiry service from the target service processing system, the target service comprising the inquiry service; when a payment request of a user is obtained based on the service processing result, returning the step of obtaining target input elements of a target service in response to an input operation of a user according to the payment request, the target service further comprising a payment service corresponding to the payment request.

5. A service processing apparatus characterized by comprising: The device comprises: an element obtaining module configured to obtain target input elements of a target service in response to an input operation of a user; The business message obtaining module is configured to obtain a target business message corresponding to the target business according to a mapping condition of a field position of the target input element in a target message template, the target message template being determined according to a target business type of the target business; The message interface version number obtaining module is configured to obtain a target message interface version number corresponding to the target business message according to the target business type and the location information of the user; The business interface calling module is configured to call a target business interface corresponding to the target business message according to the target message interface version number; The business processing module is configured to send the target business message to a corresponding target business processing system based on the target business interface, so as to process the target business based on the target business processing system. The business message obtaining module is further configured to: if a plurality of target input elements have corresponding mapping positions in different field positions of the target message template, add the plurality of target input elements to the field positions of the corresponding target message template to obtain the target business message; and if at least one of the plurality of target input elements does not have a corresponding mapping position in the field position of the target message template, add the target input element having the corresponding mapping position to the field position of the corresponding target message template, and add at least one of the target input elements to an additional data field position of the target message template, to obtain the target business message.

6. The apparatus of claim 5, wherein, The message interface version number obtaining module is further configured to: obtain a first corresponding relationship among a business type, a user location, and a message interface version number; and obtain the target message interface version number corresponding to the target business message according to the target business type and the location information of the user based on the first corresponding relationship.

7. The apparatus of claim 5, wherein, The business processing module is further configured to: obtain a second corresponding relationship among a business type, a user location, and a business processing system; and send the target business message to the corresponding target business processing system based on the target business interface according to the target business type and the location information of the user based on the second corresponding relationship.

8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 4.

9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 4.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 4.

Citation Information

Patent Citations

  • Distributed system service processing method, server and system

    CN113810499A