CN116561189A - Service processing method, device, computer equipment, storage medium and program product - Google Patents

Service processing method, device, computer equipment, storage medium and program product Download PDF

Info

Publication number
CN116561189A
CN116561189A CN202310398590.7A CN202310398590A CN116561189A CN 116561189 A CN116561189 A CN 116561189A CN 202310398590 A CN202310398590 A CN 202310398590A CN 116561189 A CN116561189 A CN 116561189A
Authority
CN
China
Prior art keywords
target
service
target service
message
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310398590.7A
Other languages
Chinese (zh)
Inventor
郑珊珊
陈玮
刘维峰
王俊
彭丹泓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial Bank Co Ltd
CIB Fintech Services Shanghai Co Ltd
Original Assignee
Industrial Bank Co Ltd
CIB Fintech Services Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial Bank Co Ltd, CIB Fintech Services Shanghai Co Ltd filed Critical Industrial Bank Co Ltd
Priority to CN202310398590.7A priority Critical patent/CN116561189A/en
Publication of CN116561189A publication Critical patent/CN116561189A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to a service processing method, apparatus, computer device, storage medium and computer program product. The method comprises the following steps: responding to input operation of a user, and acquiring a target input element of a target service; obtaining a target service message corresponding to a target service according to the mapping condition of the field position of the target input element 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 according to the target service type and the position information of the user; calling a target service interface corresponding to the target service message according to the version number of the target message interface; based on the target service interface, sending the target service message to a corresponding target service processing system so as to process the target service based on the target service processing system. By adopting the method, the construction cost can be reduced.

Description

Service processing method, device, computer equipment, storage medium and program product
Technical Field
The present invention relates to the field of data processing technology, and in particular, to a service processing method, apparatus, computer device, storage medium, and computer program product.
Background
With the development of internet technology, a financial institution (such as a bank) can dock a user service with a service channel, so that the user service is processed based on the service channel, and when the user services are different, the service channel needs to perform customized development docking flow based on different user services.
However, the above manner may make the construction cost high.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a business processing method, apparatus, computer device, computer-readable storage medium, and computer program product that can reduce construction costs.
In a first aspect, the present application provides a service processing method, where the method includes:
responding to input operation of a user, and acquiring a target input element of a target service;
obtaining a target service message corresponding to the target service according to the mapping condition of the field position of the target input element 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 according to the target service type and the position information of the user;
According to the version number of the target message interface, calling a target service interface corresponding to the target service message;
and based on the target service interface, sending the target service message to a corresponding target service processing system so as to process the target service based on the service processing system.
In one embodiment, the number of target input elements includes a plurality; the obtaining the target service message corresponding to the target service according to the mapping condition of the field position of the target input element in the target message template comprises the following steps:
and if a plurality of target input elements have corresponding mapping positions in different field positions of the target message template, adding the plurality of target input elements into the field positions of the corresponding target message template to obtain the target service message.
In one embodiment, the method further comprises:
and if at least one target input element in the target input elements does not have a corresponding mapping position in the field positions of the target message templates, adding the target input element with the corresponding mapping position to the field positions of the corresponding target message templates, and adding at least one target input element to the additional data field positions of the target message templates, so as to obtain the target service message.
In one embodiment, the obtaining, according to the target service type and the location information of the user, a target message interface version number corresponding to the target service message includes:
acquiring a first corresponding relation among service types, user positions and version numbers of a message interface;
and obtaining a 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 relation.
In one embodiment, the sending the target service packet to the corresponding target service processing system based on the target service interface includes:
acquiring a second corresponding relation among the service type, the user position and the service processing system;
and based on the second corresponding relation, according to the target service type and the position information of the user, sending the target service message to a corresponding target service processing system based on the target service interface.
In one embodiment, the method further comprises:
receiving a service processing result of the query service from the target service processing system, wherein the target service comprises the query service;
And returning to the step of responding to the input operation of the user to acquire the target input element of the target service according to the payment request when the payment request of the user is acquired based on the service processing result, wherein the target service also comprises the payment service corresponding to the payment request.
In a second aspect, the present application provides a service processing apparatus, the apparatus comprising:
the element acquisition module is used for responding to the input operation of a user and acquiring a target input element of a target service;
the service message acquisition module is used for acquiring a target service message corresponding to the target service according to the mapping condition of the field position of the target input element in a target message template, and the target message template is determined according to the target service type of the target service;
the message interface version number acquisition module is used for acquiring a message interface version number corresponding to the target service message according to the target service type and the position information of the user;
the service interface calling module is used for calling a target service interface corresponding to the target service message according to the message interface version number;
and the service processing module is used for 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 service processing system.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
responding to input operation of a user, and acquiring a target input element of a target service;
obtaining a target service message corresponding to the target service according to the mapping condition of the field position of the target input element 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 according to the target service type and the position information of the user;
according to the version number of the target message interface, calling a target service interface corresponding to the target service message;
and based on the target service interface, sending the target service message to a corresponding target service processing system so as to process the target service based on the service processing system.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Responding to input operation of a user, and acquiring a target input element of a target service;
obtaining a target service message corresponding to the target service according to the mapping condition of the field position of the target input element 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 according to the target service type and the position information of the user;
according to the version number of the target message interface, calling a target service interface corresponding to the target service message;
and based on the target service interface, sending the target service message to a corresponding target service processing system so as to process the target service based on the service processing system.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
responding to input operation of a user, and acquiring a target input element of a target service;
obtaining a target service message corresponding to the target service according to the mapping condition of the field position of the target input element 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 according to the target service type and the position information of the user;
according to the version number of the target message interface, calling a target service interface corresponding to the target service message;
and based on the target service interface, sending the target service message to a corresponding target service processing system so as to process the target service based on the service processing system.
According to the business processing method, the business processing device, the computer equipment, the storage medium and the computer program product, the target input elements of the target business are obtained by responding to the input operation of the user, so that the corresponding business processing process is executed based on the actual business of the user, and the instantaneity of business processing is ensured; the corresponding target message template is called based on the target service type of the target service, and then the target service message corresponding to the target service is obtained according to the mapping condition of the field position of the target input element in the target message template, so that the service processing system can be informed of the service to be processed in a mode of sending the service message, and the accuracy of service processing is improved; and according to the target service type and the position information of the user, the target message interface version number corresponding to the target service message is obtained, so that the target message interface version number matched with the actual service of the user can be obtained, thus, when the target service interface corresponding to the target service message is called according to the target message interface version number and the target service message is sent to a corresponding target service processing system based on the target service interface, the user service and the service processing system can be docked through the service interface, the customized development of docking flow is not needed, and the construction cost is reduced.
Drawings
FIG. 1 is an application environment diagram of a business processing method in one embodiment;
FIG. 2 is a flow diagram of a business processing method in one embodiment;
FIG. 3 is a flow chart of obtaining a version number of a target message interface corresponding to a target service message according to a target service type and location information of a user in one embodiment;
FIG. 4 is a flow chart of sending a target service message to a corresponding target service processing system based on a target service interface in one embodiment;
FIG. 5 is a flow chart of a business processing method according to another embodiment;
FIG. 6 is a block diagram of a business processing device in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The service processing method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the channel system 104 via a network, the terminal 102 may comprise a user terminal; the channel system 104 communicates with the target business processing system 106 over a network. Specifically, the terminal 102 may display an input interface, and the channel system 104 obtains a target input element of the target service in response to an input operation of the user on the input interface; obtaining a target service message corresponding to a target service according to the mapping condition of the field position of the target input element in a target message template, wherein the target message template is determined according to the target service type of the target service; according to the target service type and the position information of the user, a message interface version number corresponding to the target service message is obtained; calling a target service interface corresponding to the target service message according to the version number of the message interface; and further, based on the target service interface, send the target service message to the corresponding target service processing system 106, so as to process the target service based on the target service processing system.
In one embodiment, as shown in fig. 2, a service processing method is provided, which is illustrated by using the method applied to the channel system 104 in fig. 1 as an example, and includes the following steps:
s202, responding to input operation of a user, and acquiring target input elements of target business.
In some embodiments, the terminal may include a user terminal, where an input interface is displayed on the user terminal, and when the target service is different, the corresponding input page is different; the channel system can obtain target input elements of target business based on the input operation of the user on the input interface. The target service is a service set by a financial institution to meet the user requirement, and the target service can comprise a query service, a payment service and the like, and the corresponding target input elements are different from different target services. For example, the target service is a query service, and the user can input the certificate type and the certificate number on an input interface corresponding to the query service, and then the target input element of the query service is the certificate type and the certificate number; the query service may be a query service for water fee, electricity fee, or other types of fees, which is not specifically limited in this embodiment. The target service is a payment service, and the user can input the amount of money on the input interface corresponding to the payment service, and the target input element of the payment service is the amount of money.
S204, obtaining a target service message corresponding to the target service according to the mapping condition of the field position of the target input element in the target message template, wherein the target message template is determined according to the target service type of the target service.
The message template is a preset service message template, the target message template is determined according to the target service type of the target service, and different services correspond to different service message modules; the target service type of the target service refers to a specific category of the target service, for example, the target service is a query service, the query payment service can comprise a query service for water fees, a query service for electric fees and the like, and the water fees and the electric fees refer to the specific category of the query service; the target message template may include a plurality of field positions, and different input elements may map different field positions, so in this embodiment, a target service message corresponding to the target service may be obtained according to a mapping situation of the field positions of the target input elements in the target message template.
S206, according to the target service type and the position information of the user, obtaining the version number of the target message interface corresponding to the target service message.
The location information of the user can be obtained based on the positioning function of the user terminal, and the location information of the user can comprise a city in which the user is located and/or a region in which the user is located; in some embodiments, a plurality of candidate message interface version numbers may be obtained according to the location information of the user; and selecting the candidate message interface version number corresponding to the target service type from the plurality of candidate message interface version numbers to obtain the target message interface version number corresponding to the target service message.
S208, according to the version number of the target message interface, calling the target service interface corresponding to the target service message.
In this embodiment, the target service interface matched with the target service may be invoked by the version number of the target message interface.
S210, based on the target service interface, sending the target service message to the corresponding target service processing system so as to process the target service based on the target service processing system.
Wherein, different business interfaces are connected with different business processing systems, and the business which can be processed by different business systems is also different. In this embodiment, based on the target service interface, the target service packet may be sent to the corresponding target service processing system, so that processing of the target service may be implemented by analyzing the target service packet based on the service processing system.
For example, the target service is a query service, the target service processing system analyzes the query service message (i.e., the target service message), and can obtain the certificate type and the certificate number (i.e., the target input element) input by the user, and further execute a corresponding query process based on the certificate type and the certificate number, so that the channel system can display the query result on the user terminal according to the query result sent by the target service processing system, and the user can conveniently check the query result.
In summary, based on the method shown in fig. 2, by responding to the input operation of the user, the target input element of the target service is obtained, so that the corresponding service processing process is executed based on the actual service of the user, and the real-time performance of service processing is ensured; the corresponding target message template is called based on the target service type of the target service, and then the target service message corresponding to the target service is obtained according to the mapping condition of the field position of the target input element in the target message template, so that the service processing system can be informed of the service to be processed in a mode of sending the service message, and the accuracy of service processing is improved; and according to the target service type and the position information of the user, the target message interface version number corresponding to the target service message is obtained, so that the target message interface version number matched with the actual service of the user can be obtained, thus, when the target service interface corresponding to the target service message is called according to the target message interface version number and the target service message is sent to a corresponding target service processing system based on the target service interface, the user service and the service processing system can be docked through the service interface, the customized development of docking flow is not needed, and the construction cost is reduced.
In one embodiment, the number of the target input elements includes a plurality of target input elements, and the mapping situation of the field positions of the target input elements in the target message template may include the following two situations, and based on the following two situations, the target service message corresponding to the target service may be obtained.
The first case is: and if the plurality of target input elements have corresponding mapping positions in different field positions of the target message template, adding the plurality of target input elements into the field positions of the corresponding target message template to obtain the target service message.
The fact that the plurality of target input elements have corresponding mapping positions in different field positions of the target message template means that if the corresponding mapping elements in different field positions comprise the corresponding plurality of target input elements, the fact that the plurality of target input elements have corresponding mapping positions in the field positions of the target message template is determined. For example, the input element is a certificate type and a certificate number, and if the mapped element corresponding to the field position of the target message template includes the certificate type and the certificate number, the certificate type and the certificate number are added to the corresponding field positions, respectively.
The second case is: if at least one target input element in the plurality of target input elements does not have a corresponding mapping position in the field positions of the target message templates, adding the target input element with the mapping position to the field positions of the corresponding target message templates, and adding at least one target input element to the additional data field positions of the target message templates, so as to obtain the target service message.
Wherein, at least one target input element of the plurality of target input elements does not have a corresponding mapping position in different field positions of the target message template, that is, if the mapping element corresponding to the field position does not include at least one target input element, it is determined that the at least one target input element does not have a corresponding mapping position in the field position of the target message template. For example, the input elements are a certificate type, a certificate number and a payment serial number, if the mapping elements corresponding to the field positions of the target message template include the certificate type and the certificate number but do not include the payment serial number, the certificate type and the certificate number are respectively added to the field positions of the corresponding target message template, and the payment serial number is added to the additional data field positions of the target message template, so that the target service message is obtained.
In one embodiment, as shown in fig. 3, a flow chart for obtaining a target message interface version number corresponding to a target service message according to a target service type and location information of a user is provided, and the method is applied to the channel system 104 in fig. 1 for illustration, and includes the following steps:
s302, a first corresponding relation among service types, user positions and version numbers of the message interfaces is obtained.
S304, based on the first corresponding relation, according to the target service type and the position information of the user, the target message interface version number corresponding to the target service message is obtained.
Thus, based on the method described in fig. 3, the version number of the target message interface matched with the actual service of the user can be obtained, and then the target service interface corresponding to the target service message is called according to the version number of the target message interface, and when the target service message is sent to the corresponding target service processing system based on the target service interface, the user service and the service processing system can be docked through the service interface, the customized development docking process is not needed, and the construction cost is reduced.
In one embodiment, as shown in fig. 4, a flow chart of sending a target service message to a corresponding target service processing system based on a target service interface is provided, and the method is applied to the channel system 104 in fig. 1 for illustration, and includes the following steps:
s402, obtaining a second corresponding relation among the service type, the user position and the service processing system.
S404, based on the second corresponding relation, according to the target service type and the position information of the user, based on the target service interface, sending the target service message to the corresponding target service processing system.
Thus, based on the method shown in fig. 4, on one hand, the accuracy of sending the service to the service processing system matched with the actual service of the user is ensured, and on the other hand, the user service and the service processing system can be docked through the service interface, so that the customized development of a docking process is not required, and the construction cost is reduced.
In one embodiment, as shown in fig. 5, a flow chart of a service processing method is provided, and the method is applied to the channel system 104 in fig. 1 for illustration, and includes the following steps:
s502, receiving a service processing result of the query service from a target service processing system, wherein the target service comprises the query service.
S504, when obtaining the payment request of the user based on the service processing result, returning to execute S202 according to the payment request, wherein the target service also comprises the payment service corresponding to the payment request.
It can be understood that, with the content shown in fig. 5, when the user obtains the query result corresponding to the query service based on the target service processing system, if the user determines that the fee balance is less than or equal to the threshold according to the query result, the user may execute the payment flow, that is, the user executes S202, where the target service is the payment service corresponding to the payment request, and the input element of the payment service refers to the payment amount.
In combination with the foregoing, in one embodiment, a service processing method is provided, which specifically includes the following steps:
the user terminal displays a life payment interface according to the position information (such as A city) of the user, wherein the life payment interface displays A city water charge, electricity charge, gas charge, communication charge and the like; when a user selects a certain type of fee in the life payment interface based on actual requirements, the user can enter a corresponding query interface (i.e. an input interface), the user inputs certificate types and certificate numbers (i.e. target input elements corresponding to query services) on the query interface, after clicking the query, the channel system obtains target service messages corresponding to the target services according to the mapping conditions of the field positions of the certificate types and the certificate numbers in the query message Wen Moban (i.e. a target message template), obtains query message interface version numbers (i.e. target message version numbers) corresponding to the query service messages based on specific types (e.g. water fees) corresponding to the query service and position information of the user, and invokes query interfaces (i.e. target service interfaces) corresponding to the query service messages according to the query message interface version numbers; further, based on the query interface, sending a query service message to a corresponding target service processing system so as to process the query service based on the target service processing system; thus, after the target service processing system obtains the query result, the query result is sent to the channel system, and the channel system displays the query result based on the user terminal, so that the user can conveniently check the query result.
Further, when the user submits a payment request according to the query result, the channel system displays a payment interface according to the payment request, and based on the amount input by the user at the payment interface (namely, the target input element of the payment service), a corresponding payment service message (namely, a target service message) can be obtained; according to the specific category (such as water charge) corresponding to the payment service and the position information of the user, a corresponding payment service message interface version number (namely a target message interface version number) is obtained, so that a payment interface (namely a target service interface) corresponding to the payment service is called based on the payment service message interface version number, further, a payment service message is sent to a corresponding target processing system based on the payment interface, so that the payment service is processed based on the target processing system, and further, a channel system can display a successful payment result based on the user terminal; the specific category corresponding to the inquiry service is the same as the specific category corresponding to the payment service, and the service processing system corresponding to the inquiry service and the service processing system corresponding to the payment service may be the same or different.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a service processing device for implementing the service processing method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in one or more embodiments of the service processing device provided below may refer to the limitation of the service processing method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 6, there is provided a service processing apparatus, including: element acquisition module 602, service message acquisition module 604, message interface version number acquisition module 606, service interface invocation module 608, and service processing module 610, wherein:
the element obtaining module 602 is configured to obtain a target input element of a target service in response to an input operation of a user.
The service message obtaining module 604 is configured to obtain a target service message corresponding to the target service according to a mapping condition of a field position of the target input element in a target message template, where the target message template is determined according to a target service type of the target service.
The message interface version number obtaining module 606 is configured to obtain a message interface version number corresponding to the target service message according to the target service type and the location information of the user.
And the service interface calling module 608 is configured to call the target service interface corresponding to the target service message according to the version number of the message interface.
The service processing module 610 is configured to send a target service packet 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.
In one embodiment, the number of target input elements includes a plurality; the service message obtaining module 604 is further configured to: and if the plurality of target input elements have corresponding mapping positions in different field positions of the target message template, adding the plurality of target input elements into the field positions of the corresponding target message template to obtain the target service message.
In one embodiment, the service message obtaining module 604 is further configured to: if at least one target input element in the plurality of target input elements does not have a corresponding mapping position in the field positions of the target message templates, adding the target input element with the corresponding mapping position to the field positions of the corresponding target message templates, and adding at least one target input element to the additional data field positions of the target message templates, so as to obtain the target service message.
In one embodiment, the message interface version number acquisition module 606 is further configured to: acquiring a first corresponding relation among service types, user positions and version numbers of a message interface; and obtaining a 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 relation.
In one embodiment, the service processing module 610 is further configured to: acquiring a second corresponding relation among the service type, the user position and the service processing system; based on the second corresponding relation, according to the target service type and the position information of the user, based on the target service interface, sending the target service message to the corresponding target service processing system.
In one embodiment, the service processing module 610 is further configured to: receiving a service processing result of the query service from a target service processing system, wherein the target service comprises the query service; when obtaining the payment request of the user based on the service processing result, returning to the step of responding to the input operation of the user to obtain the target input element of the target service according to the payment request, wherein the target service also comprises the payment service corresponding to the payment request.
The respective modules in the above-described service processing apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server in a channel system, and the server is used to perform a corresponding business process, and the internal structure diagram thereof may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured 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, 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 of the computer device is used for storing the target message template. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a business processing method.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: responding to input operation of a user, and acquiring a target input element of a target service; obtaining a target service message corresponding to a target service according to the mapping condition of the field position of the target input element 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 according to the target service type and the position information of the user; calling a target service interface corresponding to the target service message according to the version number of the target message interface; based on the target service interface, sending the target service message to a corresponding target service processing system so as to process the target service based on the target service processing system.
In one embodiment, the number of target input elements includes a plurality; the processor when executing the computer program also implements the steps of: and if the plurality of target input elements have corresponding mapping positions in different field positions of the target message template, adding the plurality of target input elements into the field positions of the corresponding target message template to obtain the target service message.
In one embodiment, the processor when executing the computer program further performs the steps of: if at least one target input element in the plurality of target input elements does not have a corresponding mapping position in the field positions of the target message templates, adding the target input element with the corresponding mapping position to the field positions of the corresponding target message templates, and adding at least one target input element to the additional data field positions of the target message templates, so as to obtain the target service message.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a first corresponding relation among service types, user positions and version numbers of a message interface; and obtaining a 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 relation.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a second corresponding relation among the service type, the user position and the service processing system; based on the second corresponding relation, according to the target service type and the position information of the user, based on the target service interface, sending the target service message to the corresponding target service processing system.
In one embodiment, the processor when executing the computer program further performs the steps of: receiving a service processing result of the query service from a target service processing system, wherein the target service comprises the query service; when obtaining the payment request of the user based on the service processing result, returning to the step of responding to the input operation of the user to obtain the target input element of the target service according to the payment request, wherein the target service also comprises the payment service corresponding to the payment request.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: responding to input operation of a user, and acquiring a target input element of a target service; obtaining a target service message corresponding to a target service according to the mapping condition of the field position of the target input element 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 according to the target service type and the position information of the user; calling a target service interface corresponding to the target service message according to the version number of the target message interface; based on the target service interface, sending the target service message to a corresponding target service processing system so as to process the target service based on the target service processing system.
In one embodiment, the number of target input elements includes a plurality; the computer program when executed by the processor also performs the steps of: and if the plurality of target input elements have corresponding mapping positions in different field positions of the target message template, adding the plurality of target input elements into the field positions of the corresponding target message template to obtain the target service message.
In one embodiment, the computer program when executed by the processor further performs the steps of: if at least one target input element in the plurality of target input elements does not have a corresponding mapping position in the field positions of the target message templates, adding the target input element with the corresponding mapping position to the field positions of the corresponding target message templates, and adding at least one target input element to the additional data field positions of the target message templates, so as to obtain the target service message.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a first corresponding relation among service types, user positions and version numbers of a message interface; and obtaining a 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 relation.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a second corresponding relation among the service type, the user position and the service processing system; based on the second corresponding relation, according to the target service type and the position information of the user, based on the target service interface, sending the target service message to the corresponding target service processing system.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving a service processing result of the query service from a target service processing system, wherein the target service comprises the query service; when obtaining the payment request of the user based on the service processing result, returning to the step of responding to the input operation of the user to obtain the target input element of the target service according to the payment request, wherein the target service also comprises the payment service corresponding to the payment request.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of: responding to input operation of a user, and acquiring a target input element of a target service; obtaining a target service message corresponding to a target service according to the mapping condition of the field position of the target input element 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 according to the target service type and the position information of the user; calling a target service interface corresponding to the target service message according to the version number of the target message interface; based on the target service interface, sending the target service message to a corresponding target service processing system so as to process the target service based on the target service processing system.
In one embodiment, the number of target input elements includes a plurality; the computer program when executed by the processor also performs the steps of: and if the plurality of target input elements have corresponding mapping positions in different field positions of the target message template, adding the plurality of target input elements into the field positions of the corresponding target message template to obtain the target service message.
In one embodiment, the computer program when executed by the processor further performs the steps of: if at least one target input element in the plurality of target input elements does not have a corresponding mapping position in the field positions of the target message templates, adding the target input element with the corresponding mapping position to the field positions of the corresponding target message templates, and adding at least one target input element to the additional data field positions of the target message templates, so as to obtain the target service message.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a first corresponding relation among service types, user positions and version numbers of a message interface; and obtaining a 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 relation.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a second corresponding relation among the service type, the user position and the service processing system; based on the second corresponding relation, according to the target service type and the position information of the user, based on the target service interface, sending the target service message to the corresponding target service processing system.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving a service processing result of the query service from a target service processing system, wherein the target service comprises the query service; when obtaining the payment request of the user based on the service processing result, returning to the step of responding to the input operation of the user to obtain the target input element of the target service according to the payment request, wherein the target service also comprises the payment service corresponding to the payment request.
It should be noted that, user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of service processing, the method comprising:
responding to input operation of a user, and acquiring a target input element of a target service;
obtaining a target service message corresponding to the target service according to the mapping condition of the field position of the target input element 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 according to the target service type and the position information of the user;
according to the version number of the target message interface, calling a target service interface corresponding to the target service message;
and based on the target service interface, sending the target service message to a corresponding target service processing system so as to process the target service based on the service processing system.
2. The method of claim 1, wherein the number of target input elements comprises a plurality; the obtaining the target service message corresponding to the target service according to the mapping condition of the field position of the target input element in the target message template comprises the following steps:
and if a plurality of target input elements have corresponding mapping positions in different field positions of the target message template, adding the plurality of target input elements into the field positions of the corresponding target message template to obtain the target service message.
3. The method according to claim 2, wherein the method further comprises:
and if at least one target input element in the target input elements does not have a corresponding mapping position in the field positions of the target message templates, adding the target input element with the corresponding mapping position to the field positions of the corresponding target message templates, and adding at least one target input element to the additional data field positions of the target message templates, so as to obtain the target service message.
4. The method according to claim 1, wherein the obtaining the target message interface version number corresponding to the target service message according to the target service type and the location information of the user includes:
acquiring a first corresponding relation among service types, user positions and version numbers of a message interface;
and obtaining a 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 relation.
5. The method of claim 1, wherein the sending the target service message to the corresponding target service processing system based on the target service interface comprises:
acquiring a second corresponding relation among the service type, the user position and the service processing system;
and based on the second corresponding relation, according to the target service type and the position information of the user, sending the target service message to a corresponding target service processing system based on the target service interface.
6. The method according to claim 1, wherein the method further comprises:
receiving a service processing result of the query service from the target service processing system, wherein the target service comprises the query service;
And returning to the step of responding to the input operation of the user to acquire the target input element of the target service according to the payment request when the payment request of the user is acquired based on the service processing result, wherein the target service also comprises the payment service corresponding to the payment request.
7. A service processing apparatus, the apparatus comprising:
the element acquisition module is used for responding to the input operation of a user and acquiring a target input element of a target service;
the service message acquisition module is used for acquiring a target service message corresponding to the target service according to the mapping condition of the field position of the target input element in a target message template, and the target message template is determined according to the target service type of the target service;
the message interface version number acquisition module is used for acquiring a message interface version number corresponding to the target service message according to the target service type and the position information of the user;
the service interface calling module is used for calling a target service interface corresponding to the target service message according to the message interface version number;
and the service processing module is used for 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 service processing system.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202310398590.7A 2023-04-14 2023-04-14 Service processing method, device, computer equipment, storage medium and program product Pending CN116561189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310398590.7A CN116561189A (en) 2023-04-14 2023-04-14 Service processing method, device, computer equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310398590.7A CN116561189A (en) 2023-04-14 2023-04-14 Service processing method, device, computer equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN116561189A true CN116561189A (en) 2023-08-08

Family

ID=87485256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310398590.7A Pending CN116561189A (en) 2023-04-14 2023-04-14 Service processing method, device, computer equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN116561189A (en)

Similar Documents

Publication Publication Date Title
CN116861107A (en) Business content display method, device, equipment, medium and product
CN114257635B (en) Service calling method, system, computer device, storage medium and program product
CN116561189A (en) Service processing method, device, computer equipment, storage medium and program product
CN116860403A (en) Asynchronous task generating method and asynchronous task processing method
CN117130798A (en) System mutual trust authentication method, device, computer equipment and storage medium
CN116996580A (en) Business service method, device, computer equipment and storage medium
CN117455501A (en) Request processing method, apparatus, computer device and storage medium
CN117132273A (en) Information transmission method, information transmission device, computer equipment and storage medium
CN116884133A (en) Intelligent appointment number calling method, device, computer equipment and storage medium
CN117453076A (en) Service processing method, device, computer equipment and storage medium
CN117172896A (en) Prediction method, prediction apparatus, computer device, storage medium, and program product
CN116883129A (en) Service processing method, device, computer equipment and storage medium
CN117294586A (en) Flow adjustment method, device, computer equipment and storage medium
CN116541344A (en) File processing control method, apparatus, device, storage medium, and program product
CN117271484A (en) Online evaluation method and device based on POI fusion strategy change
CN117459593A (en) Message information processing method, device, computer equipment and storage medium
CN116149750A (en) Data processing method, device, computer equipment and storage medium
CN118070772A (en) Credential generation method, apparatus, computer device, readable storage medium, and product
CN117708151A (en) Data processing method and device and computer equipment
CN117151886A (en) Virtual resource processing method, device, computer equipment, storage medium and product
CN117271563A (en) Data query method, apparatus, computer device, storage medium, and program product
CN117667191A (en) Insurance business process configuration method, insurance business process configuration device, computer equipment and storage medium
CN117391490A (en) Evaluation information processing method and device for financial business and computer equipment
CN117130606A (en) Front-end page configuration method, front-end page configuration device, computer equipment and storage medium
CN113704019A (en) Fault-tolerant processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination