Transaction type processing method, apparatus, device, and storage medium
By generating and selecting transaction types on the payment-side terminal, the problem of low accuracy in computer transaction fund classification is solved, achieving more efficient and accurate fund classification.
Patent Information
- Application Number
- CN202311236901.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-09-22
AI Technical Summary
The accuracy of computer classification of transaction funds in current technology is relatively low.
By receiving payment requests from the payment-side terminal, payment information is generated and candidate transaction types are determined. These are then sent to the payment-side terminal for the user to select the target transaction type. After the server receives the target transaction type, it generates the corresponding billing information.
It improves the efficiency and accuracy of adding transaction types and simplifies the fund classification process.
Smart Images

Figure CN117237111B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of big data technology, and in particular to a transaction type processing method, apparatus, device and storage medium. Background Technology
[0002] With the continuous development of the economy and society, a large number of transactions are conducted online. Merchants and individuals need to categorize transaction funds for easier management.
[0003] Currently, in existing technologies, when computers classify transaction funds, they typically categorize the incoming transaction information corresponding to different trading platforms into different transaction types.
[0004] However, the inventors have discovered that the existing technology has at least the following technical problems: the current computer has a low accuracy rate in classifying accounting information. Summary of the Invention
[0005] This application provides a transaction type processing method, apparatus, device, and storage medium to solve the problem of low accuracy in classifying accounting information by current computers.
[0006] Firstly, this application provides a method for processing transaction types, including:
[0007] In response to a payment request received from the payment-side terminal, payment information corresponding to the payment request is generated, whereby the payment request includes a payee identifier. Based on the payee identifier, candidate transaction types are determined. The candidate transaction types and payment information are sent to the payment-side terminal, causing the payment-side terminal to output the candidate transaction types. The terminal then receives the target transaction type and payment confirmation information input by the user based on the candidate transaction types, and completes the transaction based on the payment confirmation information and payment information. Finally, the terminal receives the target transaction type sent by the payment-side terminal and generates the corresponding posting information for that target transaction type.
[0008] In one possible implementation, after generating the receipt information corresponding to the target transaction type, the process further includes: obtaining the payee identifier and the target account corresponding to the target transaction type; and transferring the amount corresponding to the receipt information to the target account.
[0009] In one possible implementation, the payment request also includes a transaction path. Accordingly, after receiving the payment request from the payment-side terminal, the process further includes: finding the target mapping relationship corresponding to the payee identifier, wherein the target mapping relationship stores the mapping relationship between transaction paths and transaction types. Based on the transaction path, the target mapping relationship is searched to obtain candidate transaction types.
[0010] In one possible implementation, after receiving the payment request from the payment-side terminal, the process further includes: obtaining the receipt time of the payment request; and determining the candidate transaction type based on the receipt time and the payee's identifier.
[0011] In one possible implementation, the candidate transaction type is determined based on the receiving time and the recipient identifier, including: determining the target time period corresponding to the receiving time; obtaining the recipient type corresponding to the recipient identifier; converting the target time period and recipient type into an input vector; and inputting the input vector into a pre-trained transaction type determination model to obtain candidate transaction types.
[0012] In one possible implementation, before receiving the payment request from the payment-side terminal, the method further includes: receiving a specified transaction type from the receiving terminal; generating target payment information based on the specified transaction type; and sending the target payment information to the receiving terminal, so that the receiving terminal can transmit the target payment information to the payment-side terminal, enabling the payment-side terminal to complete the transaction based on the target payment information.
[0013] Secondly, this application provides a transaction type processing apparatus, comprising: a first generation module, configured to generate payment information corresponding to a payment request in response to receiving a payment request sent by a payment-side terminal, wherein the payment request includes a payee identifier; a type determination module, configured to determine a candidate transaction type based on the payee identifier; a type sending module, configured to send the candidate transaction type and payment information to the payment-side terminal, so that the payment-side terminal outputs the candidate transaction type, receives a target transaction type and payment confirmation information input by a user based on the candidate transaction type, and completes the transaction based on the payment confirmation information and payment information; an information receiving module, configured to receive the target transaction type sent by the payment-side terminal; and a second generation module, configured to generate posting information corresponding to the target transaction type.
[0014] In one possible implementation, the transaction type processing device further includes: a transfer module; the transfer module is used to obtain the payee identifier and the target account corresponding to the target transaction type; and transfer the amount corresponding to the receipt information to the target account.
[0015] Thirdly, this application provides an electronic device, including: a processor and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the transaction type processing method as described in the first aspect.
[0016] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the transaction type processing method as described in the first aspect.
[0017] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the transaction type processing method as described in the first aspect.
[0018] The transaction type processing method, apparatus, device, and storage medium provided in this application receive a payment request sent by a payment-side terminal, determine candidate transaction types based on the payee identifier in the payment request, and send the candidate transaction types and payment information to the payment-side terminal. This allows users to quickly select the target transaction type from the candidate transaction types and complete the transaction on the payment-side terminal. After the server receives the target transaction type sent by the payment-side terminal, it generates the corresponding invoice information for the target transaction type, increasing the efficiency and accuracy of adding transaction types to the invoice information. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0020] Figure 1 This is a schematic diagram illustrating an application scenario of the transaction type processing method provided in the embodiments of this application;
[0021] Figure 2 A flowchart illustrating the transaction type processing method provided in the embodiments of this application;
[0022] Figure 3 This is a schematic diagram of the server module processing flow provided in the embodiments of this application;
[0023] Figure 4 This is a schematic diagram of the structure of the transaction type processing device provided in the embodiments of this application;
[0024] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0025] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0026] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0027] 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. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0028] It should be noted that the transaction type processing method, apparatus, equipment and storage medium of this application can be used in the field of big data technology, or in any field other than big data technology. This application does not limit the application field of the transaction type processing method, apparatus, equipment and storage medium.
[0029] With the continuous development of the economy and society, online transactions have become an indispensable part of people's daily lives. After an online transaction is completed, merchants need to classify the transaction funds. To achieve this function, merchants usually need to find and edit the incoming payment information to mark the transaction type.
[0030] However, classifying transaction types using the above method is time-consuming and inefficient.
[0031] To address the aforementioned technical problems, the inventors propose the following technical concept: After the server receives a payment request from the payment-side terminal, it obtains the candidate transaction type corresponding to the payee's identifier and sends the candidate transaction type to the payment-side terminal, enabling the payment-side terminal to select the target transaction type from a small number of candidate transaction types. The server receives the target transaction type sent by the payment-side terminal and writes the target transaction type into the accounting information.
[0032] Figure 1 This is a schematic diagram illustrating an application scenario of the transaction type processing method provided in the embodiments of this application. For example... Figure 1 In this scenario, the following components are included: server 101 and payment-side terminal 102.
[0033] In the specific implementation process, the first server 101 can be implemented by using a cluster of one or more servers with more powerful processing capabilities and higher security. Where possible, it can also be replaced by computers, laptops or other devices with strong computing power.
[0034] The payment-side terminal 102 may include computers, servers, tablets, mobile phones, PDAs (personal digital assistants), and laptops, which can input and output data.
[0035] The connection between server 101 and terminal device 102 can be either wired or wireless.
[0036] Payment-side terminal 102 is used to send payment requests to server 101.
[0037] Server 101 is used to generate corresponding payment information based on the payment request, determine candidate transaction types, and send the candidate transaction types to the payment-side terminal. Payment-side terminal 102 is also used to output the candidate transaction types, receive the target transaction type input by the user, and send the target transaction type to server 101. Server 101 is also used to write the target transaction type into the corresponding accounting information.
[0038] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the transaction type processing method. In other feasible embodiments of this application, the above architecture may include more or fewer components than illustrated, or combine some components, or split some components, or arrange different components, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown can be implemented by hardware, software, or a combination of both.
[0039] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0040] Figure 2 This is a flowchart illustrating the transaction type processing method provided in an embodiment of this application. The execution entity of this embodiment may be... Figure 1 The server in this embodiment can also be a computer and / or a mobile phone, etc. This embodiment does not impose any special restrictions on this.
[0041] like Figure 2 As shown, the method includes:
[0042] S201: In response to receiving a payment request from the payment-side terminal, generate payment information corresponding to the payment request, wherein the payment request includes the payee identifier.
[0043] In this step, the payment request can be obtained by the payment-side terminal through scanning a QR code or through a payment link. The payment request can be a message, data packet, etc. Generating the payment information corresponding to the payment request can include reading the corresponding product information, price, payment method, etc., and combining the product information, price, payment method, etc., in a preset format to obtain the payment information. The payee identifier can be the payee's name, payee's account, etc.
[0044] S202: Determine the candidate transaction type based on the payee identifier.
[0045] In this step, a pre-defined mapping between identifiers and transaction types can be used to obtain candidate transaction types corresponding to the payee identifier. The mapping between identifiers and transaction types can be stored in a table, key-value pair, or other format.
[0046] The correspondence between identifiers and transaction types can be established in the following ways: receiving a setting instruction sent by the receiving terminal, wherein the setting instruction includes the payee identifier and candidate transaction types, storing the payee identifier and candidate transaction types accordingly, and obtaining the correspondence between identifiers and transaction types; or it can be established in the following ways: receiving setting information sent by the receiving terminal, wherein the setting information includes the payee identifier and selected transaction type, adding the selected transaction type to the candidate transaction type corresponding to the payee identifier.
[0047] S203: Send the candidate transaction type and payment information to the payment-side terminal so that the payment-side terminal can output the candidate transaction type, receive the target transaction type and payment confirmation information input by the user according to the candidate transaction type, and complete the transaction according to the payment confirmation information and payment information.
[0048] In this step, the method of sending transaction type and payment information can be to write the transaction type and payment information into a message or data packet, and then send the message or data packet to the payment-side terminal.
[0049] The output method for candidate transaction types can be either display output or audio output. The target transaction type can be the transaction type selected by the user from the candidate transaction types. The payment confirmation information can be generated by the user triggering the payment button, or generated after the user confirms the payment. The transaction is completed based on the payment confirmation information and payment information. This can be achieved by the payment terminal sending a transaction request to the server, the server verifying the transaction request upon receipt, generating a transaction instruction if the verification is successful, and sending the transaction instruction to the gateway. The gateway further verifies the instruction and confirms the transaction upon successful verification. If the confirmation is successful, it sends transaction confirmation information to the server.
[0050] S204: Receive the target transaction type sent by the payment side terminal.
[0051] In this step, you may receive a message or data packet containing the target transaction type and payment completion information.
[0052] S205: Generate the accounting information corresponding to the target transaction type.
[0053] In this step, posting information can be generated after the transaction is completed, and the target transaction type can be written into the posting information. Posting information may also include the posting amount, posting time, etc.
[0054] As can be seen from the description of the above embodiments, the embodiments of this application receive a payment request sent by the payment-side terminal, determine the candidate transaction type according to the payee identifier in the payment request, and send the candidate transaction type and payment information to the payment-side terminal. This allows the user to quickly select the target transaction type from the candidate transaction types and complete the transaction on the payment-side terminal. After the server receives the target transaction type sent by the payment-side terminal, it generates the corresponding invoice information for the target transaction type, which increases the efficiency and accuracy of adding transaction types to the invoice information.
[0055] In one possible implementation, step S202 is executed only after step S201, when it is determined that the payee identifier corresponds to the "split account" identifier.
[0056] In one possible implementation, after generating the posting information corresponding to the target transaction type in step S205 above, the method further includes:
[0057] S210: Obtain the payee identifier and the target account corresponding to the target transaction type.
[0058] In this step, you can either look up the preset correspondence between the payee identifier and the target transaction type to obtain the corresponding target account, or you can look up the corresponding correspondence between the transaction type and the account based on the payee identifier, with each payee identifier corresponding to one transaction type and account.
[0059] In this step, the correspondence can be that the server receives the mapping settings information from the receiving terminal. The mapping settings information includes the receiving party identifier, different transaction types, and the target account corresponding to each transaction type.
[0060] S211: Transfer the amount corresponding to the incoming payment information to the target account.
[0061] In this step, the amount corresponding to the incoming payment information can be either the amount included in the incoming payment information or the payment amount in the payment information corresponding to the incoming payment information. Transferring to the target account can involve deducting the corresponding amount from the receiving account directly receiving the payment as identified by the payee, and then adding the same amount to the target account.
[0062] As can be seen from the description of the above embodiments, this application embodiment obtains the payee's identifier and the target account corresponding to the target transaction type, and transfers the amount corresponding to the deposit information to the target account. This enables the transfer of funds of different transaction types to the corresponding accounts based on marking the transaction type of the deposit information, making it easier for the payee to manage funds.
[0063] In one possible implementation, the payment request also includes a transaction pathway.
[0064] The transaction methods can include online e-commerce and offline QR code payment.
[0065] Accordingly, after receiving the payment request sent by the payment-side terminal in step S201 above, the method further includes:
[0066] S220: Find the target correspondence corresponding to the payee identifier, where the target correspondence stores the correspondence between transaction channels and transaction types.
[0067] In this step, you can either look up the corresponding relationship in the name that contains the payee's identifier as the target relationship, or you can read the corresponding relationship in the storage location corresponding to the payee's identifier to obtain the target relationship.
[0068] S221: Based on the transaction path, find the corresponding relationship of the target to obtain the candidate transaction type.
[0069] In this step, the target mapping relationship can be stored in a table or as key-value pairs. It can involve finding the transaction type in the same row as the transaction path to obtain candidate transaction types; or it can use the transaction path as the key to find the corresponding value to obtain candidate transaction types.
[0070] In one possible implementation, when there is only one candidate transaction type obtained in step S221, the candidate transaction type is directly used as the target transaction type.
[0071] As can be seen from the description of the above embodiments, the embodiments of this application obtain the correspondence between the transaction path and the transaction type corresponding to the payee identifier by finding the target correspondence corresponding to the payee identifier, and obtain the candidate transaction type by finding the target correspondence from the transaction path. This realizes the determination of the selectable transaction type by the transaction path and the payee identifier, and increases the efficiency and accuracy of obtaining the target transaction type.
[0072] In one possible implementation, after receiving the payment request from the payment-side terminal in step S201 above, the method further includes:
[0073] S231: Obtain the time of receipt of the payment request.
[0074] In this step, upon receiving a payment request, a timestamp can be obtained to determine the time the payment request was received.
[0075] S232: Determine the candidate transaction type based on the receipt time and the payee identifier.
[0076] In this step, the target time period corresponding to the receiving time can be determined, and a preset correspondence can be found based on the target time period and the payee identifier to obtain the candidate transaction type.
[0077] The preset correspondence can store the corresponding time period, payee identifier, and transaction type, which can be determined by the historical inflow information corresponding to the payee identifier.
[0078] Specifically, the correspondence between payee identifier, time period, and transaction type can be established based on the time period and transaction type corresponding to historical payment information.
[0079] In one possible implementation, step S232 above, determining the candidate transaction type based on the receiving time and the payee identifier, includes:
[0080] S311: Determine the target time period corresponding to the receiving time.
[0081] In this step, you can read preset time periods and determine the time periods whose start time is less than the receiving time and whose end time is greater than the receiving time as the target time period.
[0082] S312: Get the payee type corresponding to the payee identifier.
[0083] In this step, you can look up the correspondence between the payee identifier and the payee type to obtain the payee type corresponding to the payee identifier.
[0084] The types of recipients include, for example, restaurants, clothing stores, and hotels.
[0085] S313: Convert the target time period and payee type into an input vector.
[0086] In this step, a preset production rule can be used to convert the target time period and the recipient type into numerical values, and then concatenate the numerical values to obtain the input vector.
[0087] For example, if the target time period is "(5,9]", it is converted to "010" using production rules. If the payee type is "restaurant", it is converted to "001" using production rules. The resulting input vector is "010001". As another example, if the target time period is "(9,12]", it is converted to "011" using production rules. If the payee type is "hotel", it is converted to "010" using production rules. The resulting input vector is "011010".
[0088] S314: Input the input vector into the pre-trained transaction type determination model to obtain candidate transaction types.
[0089] In this step, the transaction type determination model can be a feedforward neural network model, a feedback neural network model, etc. The output value of the transaction type determination model is the transaction type.
[0090] As can be seen from the description of the above embodiments, the embodiments of this application obtain the receipt time of the payment request, and obtain the candidate transaction type based on the receipt time and the payee's identifier, thereby realizing the determination of the transaction type based on the transaction time of the payee user, and achieving more accurate transaction type positioning for situations where the payee has different types of transactions at different times.
[0091] In one possible implementation, prior to receiving the target transaction type sent by the payment-side terminal in step S204 above, the method further includes:
[0092] S241: Receive a specified transaction type sent by the receiving terminal.
[0093] In this step, the receiving terminal can also be a mobile phone, computer, tablet, etc. The method for receiving the specified transaction type can also be via data packets or messages.
[0094] S242: Generate target payment information based on the specified transaction type.
[0095] In this step, you can add a specified transaction type to the payment information to obtain the target payment information.
[0096] The target payment information can be a QR code, a link, etc.
[0097] S243: Send the target payment information to the receiving terminal, so that the receiving terminal can transmit the target payment information to the payment terminal, so that the payment terminal can complete the transaction based on the target payment information.
[0098] In this step, the target payment information can be sent by writing it into a data packet or message. The receiving terminal can either send the target payment information to the paying terminal or display it so that the paying terminal can obtain the target payment information through the camera unit. The transaction process of the paying terminal based on the target payment information is similar to step S203 above, and will not be described again here.
[0099] Accordingly, step S205 above generates the accounting information corresponding to the specified transaction type.
[0100] As can be seen from the description of the above embodiments, in this application embodiment, the receiving terminal sends a specified transaction type, the server generates target payment information according to the specified transaction type, and sends the target payment information to the payment terminal. The payment terminal sends the target payment information to realize that the receiving party can specify the transaction type before the transaction, so that the transaction type does not need to be marked again after the transaction.
[0101] Figure 3 This is a schematic diagram of the server module processing flow provided in an embodiment of this application. Figure 3 As shown, the server can be divided into a payee configuration module, an online transaction module, a clearing module, a payee management accounting module, and a payee management bill generation module. The server's processing flow can include:
[0102] The payee configuration module is used to maintain the payee's basic information and obtain common transaction types as configurable attributes in the payee management system. The payee-side terminal can select the "Split Account" option and choose the required transaction types from the common transaction types. This attribute can be configured when the payee is first created, or modified as needed after the payee's profile is created.
[0103] The online transaction module handles online transactions such as credit card payments. Specifically, when the "Split Payment" option is selected, it displays the available transaction types for the payee on the receiving terminal when the payer initiates an online transaction, allowing both the payer and payee to select. The online transaction module records this option in the settlement transaction log. The online transaction module can also display other payee attributes on the receiving terminal.
[0104] The clearing module is used to generate payee entry files based on the transaction type in the clearing transaction flow, and then transmit the payee entry files with the transaction type to the payee management entry module.
[0105] The Receipt Management Receipt Module is used to split and record payments for the payee based on the transaction type in the receipt file (transferring funds to the account corresponding to the transaction type).
[0106] The payee management bill generation module is used to generate a separate bill for the payee based on the transaction type in the accounting file.
[0107] Figure 4 This is a schematic diagram of the transaction type processing device provided in an embodiment of this application. Figure 4 As shown, the transaction type processing device 400 includes: a first generation module 401, a type determination module 402, a type sending module 403, an information receiving module 404, and a second generation module 405.
[0108] The first generation module 401 is used to generate payment information corresponding to the payment request in response to receiving a payment request sent by the payment side terminal, wherein the payment request includes the payee identifier.
[0109] The type determination module 402 is used to determine the candidate transaction type based on the payee identifier.
[0110] The type sending module 403 is used to send candidate transaction types and payment information to the payment side terminal, so that the payment side terminal outputs candidate transaction types, receives the target transaction type and payment confirmation information input by the user according to the candidate transaction types, and completes the transaction according to the payment confirmation information and payment information.
[0111] The information receiving module 404 is used to receive the target transaction type sent by the payment side terminal.
[0112] The second generation module 405 is used to generate the accounting information corresponding to the target transaction type.
[0113] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0114] In one possible implementation, the transaction type processing device 400 further includes a transfer module 406.
[0115] Module 406 is used to obtain the recipient's identifier and the target account corresponding to the target transaction type. It then transfers the amount corresponding to the incoming payment information to the target account.
[0116] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0117] In one possible implementation, the payment request also includes a transaction path. The type determination module 402 is further configured to: look up the target mapping relationship corresponding to the payee identifier, wherein the target mapping relationship stores the mapping relationship between transaction paths and transaction types. Based on the transaction path, the target mapping relationship is looked up to obtain candidate transaction types.
[0118] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0119] In one possible implementation, the type determination module 402 is further configured to: obtain the receipt time of the payment request; and determine the candidate transaction type based on the receipt time and the payee identifier.
[0120] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0121] In one possible implementation, the type determination module 402 is further configured to: determine the target time period corresponding to the receiving time; obtain the payee type corresponding to the payee identifier; convert the target time period and payee type into an input vector; and input the input vector into a pre-trained transaction type determination model to obtain candidate transaction types.
[0122] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0123] In one possible implementation, the transaction type processing device 400 further includes a transaction execution module 407.
[0124] The transaction execution module 407 is used to receive a specified transaction type sent by the receiving terminal. Based on the specified transaction type, it generates target payment information. The target payment information is then sent to the receiving terminal, enabling the receiving terminal to transmit the target payment information to the payment terminal, so that the payment terminal can complete the transaction based on the target payment information.
[0125] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0126] To implement the above embodiments, this application also provides an electronic device.
[0127] refer to Figure 5The diagram illustrates a structural schematic of an electronic device 500 suitable for implementing embodiments of this application. The electronic device 500 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), portable Android devices (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0128] like Figure 5 As shown, the electronic device 500 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 501 and a memory 502 communicatively connected to the processor. The processor can perform various appropriate actions and processes based on programs stored in the memory 502, computer-executed instructions, or programs loaded from storage device 508 into random access memory (RAM) 503, implementing the transaction type processing method in any of the above embodiments. The memory may be a read-only memory (ROM). The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processing device 501, the memory 502, and the RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0129] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0130] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a memory 502. When the computer program is executed by the processing device 501, it performs the functions defined in the methods of the embodiments of this application.
[0131] It should be noted that the computer-readable storage medium described above in this application can be a computer-readable signal medium or a computer storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0132] The aforementioned computer-readable storage medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0133] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.
[0134] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0135] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0136] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the units are not necessarily limiting of the module itself; for example, the first generation module can also be described as a "payment information generation module".
[0137] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0138] This application also provides a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the technical solution of the transaction type processing method in any of the above embodiments. Its implementation principle and beneficial effects are similar to those of the transaction type processing method. Please refer to the implementation principle and beneficial effects of the transaction type processing method. It will not be repeated here.
[0139] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0140] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the technical solution of the transaction type processing method in any of the above embodiments. Its implementation principle and beneficial effects are similar to those of the transaction type processing method, and can be found in the implementation principle and beneficial effects of the transaction type processing method, which will not be repeated here.
[0141] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
[0142] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0143] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for processing transaction types, characterized in that, include: In response to receiving a payment request from a payment-side terminal, payment information corresponding to the payment request is generated, wherein the payment request includes a payee identifier; Based on the recipient identifier, determine the candidate transaction type; The candidate transaction type and the payment information are sent to the payment-side terminal, so that the payment-side terminal outputs the candidate transaction type, receives the target transaction type and payment confirmation information input by the user according to the candidate transaction type, and completes the transaction according to the payment confirmation information and the payment information; Receive the target transaction type sent by the payment-side terminal; Generate the accounting information corresponding to the target transaction type.
2. The method according to claim 1, characterized in that, After generating the posting information corresponding to the target transaction type, the method further includes: Obtain the payee identifier and the target account corresponding to the target transaction type; The amount corresponding to the deposit information will be transferred to the target account.
3. The method according to claim 1, characterized in that, The payment request also includes the transaction method; Accordingly, after receiving the payment request sent by the payment-side terminal, the process further includes: Find the target correspondence corresponding to the payee identifier, wherein the target correspondence stores the correspondence between transaction path and transaction type; Based on the transaction path, the corresponding relationship of the target is found to obtain the candidate transaction type.
4. The method according to claim 1, characterized in that, After receiving the payment request sent by the payment-side terminal, the method further includes: Obtain the receipt time of the payment request; The candidate transaction type is determined based on the receiving time and the payee identifier.
5. The method according to claim 4, characterized in that, The step of determining the candidate transaction type based on the receiving time and the payee identifier includes: Determine the target time period corresponding to the received time; Obtain the payee type corresponding to the payee identifier; Convert the target time period and the payee type into an input vector; The input vector is input into a pre-trained transaction type determination model to obtain the candidate transaction type.
6. The method according to claim 1, characterized in that, Before receiving the target transaction type sent by the payment-side terminal, the method further includes: Receive a specified transaction type sent by the receiving terminal; Generate target payment information based on the specified transaction type; The target payment information is sent to the receiving terminal, so that the receiving terminal transmits the target payment information to the payment terminal, so that the payment terminal completes the transaction based on the target payment information.
7. A transaction type processing device, characterized in that, include: The first generation module is used to generate payment information corresponding to the payment request in response to receiving a payment request sent by the payment side terminal, wherein the payment request includes a payee identifier; The type determination module is used to determine the candidate transaction type based on the payee identifier; The type sending module is used to send the candidate transaction type and the payment information to the payment side terminal, so that the payment side terminal outputs the candidate transaction type, receives the target transaction type and payment confirmation information input by the user according to the candidate transaction type, and completes the transaction according to the payment confirmation information and payment information; The information receiving module is used to receive the target transaction type sent by the payment-side terminal; The second generation module is used to generate the accounting information corresponding to the target transaction type.
8. The apparatus according to claim 7, characterized in that, The device further includes: a transfer module; The transfer module is used to obtain the payee identifier and the target account corresponding to the target transaction type; and transfer the amount corresponding to the receipt information to the target account.
9. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the transaction type processing method as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the transaction type processing method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Transaction processing method and device
CN111857888A
Multi-channel combined payment method and device
CN113095814A
