Business information determination method and device, equipment, medium and product

By detecting the user's return order acquisition operation for the target transaction business, determining the account type and obtaining the return order file, analyzing the file naming method to obtain the return order number, matching the transaction details, and realizing transaction details and return orders for direct-linked and non-direct-linked accounts Automatic correlation of files solves the problems of automated correlation and accurate matching in the prior art, and improves data accuracy and efficiency.

CN119398861APending Publication Date: 2025-02-07CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411323210.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

In the prior art, when enterprises process electronic receipts from multiple banks, they are unable to achieve automated associations and accurate matching, resulting in the risk of inaccurate matching or omission, affecting data accuracy and efficiency.

Method used

By detecting the user's return order acquisition operation for the target transaction business, determine the account type (direct-connected account or non-direct-connected account), and obtain the target return order file based on the account type. Then, the return number is obtained by parsing the file naming of the return file, matching the candidate transaction details, and finally correlating the transaction details with the return file to generate business voucher information.

Benefits of technology

Automatic correlation between transaction details and return documents of direct-linked accounts and non-direct-linked accounts is realized, reducing the risk of matching errors and omissions, improving the accuracy and efficiency of data associations, and saving time and labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119398861A_ABST
    Figure CN119398861A_ABST
Patent Text Reader

Abstract

The invention discloses a service information determination method and device, equipment, a medium and a product. The invention relates to the technical field of big data processing, and the method comprises the steps: determining an account type corresponding to a target transaction service in response to the detection of a receipt obtaining operation of a user for the target transaction service; determining a file acquisition strategy corresponding to the account type, and acquiring a target receipt file corresponding to the target transaction service based on the file acquisition strategy; analyzing the target receipt file based on a file naming mode of the user to the receipt file to obtain a receipt number; determining target transaction details matched with the target receipt file from the candidate transaction details based on the receipt number; and associating the target transaction detail with the target receipt file to obtain business voucher information of the target transaction business. According to the method and the device, the association requirements of transaction details and receipt files of the direct connection account and the non-direct connection account can be simultaneously met, the risk of association errors and omission is reduced, and the accuracy and the efficiency of data association are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of big data processing technology, and in particular, to a method, device, equipment, medium and product for determining business information. Background Art

[0002] With the rapid development of mobile payment and e-commerce, transaction business is gradually transforming towards electronic and intelligent. In the enterprise fund management system, enterprises need to process electronic receipts from multiple banks.

[0003] In the prior art, users usually manually download electronic receipts and manually associate them with bank statements. This method has the problem of being unable to achieve automated association and accurate matching, and is prone to the risk of inaccurate matching or omissions, affecting data accuracy. Moreover, when the transaction volume of an enterprise is large, a large number of documents are generated, and the workload of manually associating documents is large, resulting in low efficiency and affecting the user's fund management effect. Therefore, it is urgent to design an automatic association method for electronic receipts and bank statements to improve data accuracy and efficiency. Summary of the invention

[0004] The embodiments of the present invention provide a business information determination method, device, equipment, medium and product, which can simultaneously meet the association requirements for transaction details and receipt files of directly connected accounts and non-directly connected accounts, reduce the risk of association errors and omissions, and improve the accuracy and efficiency of data association.

[0005] In a first aspect, an embodiment of the present invention provides a method for determining service information, the method comprising:

[0006] In response to detecting a receipt acquisition operation of a target transaction business by a user, determining an account type corresponding to the target transaction business, the account type including a directly connected account and a non-directly connected account;

[0007] Determine a file acquisition strategy corresponding to the account type, and acquire a target receipt file corresponding to the target transaction business based on the file acquisition strategy;

[0008] Parsing the target receipt file based on the file naming method of the receipt file by the user to obtain the corresponding receipt number of the target receipt file;

[0009] Determine a target transaction detail that matches the target receipt file from the candidate transaction details based on the receipt number;

[0010] The target transaction details are associated with the target receipt file to obtain the business voucher information of the target transaction business.

[0011] In a second aspect, an embodiment of the present invention further provides a device for determining service information, the device comprising:

[0012] A type determination module, configured to determine, in response to detecting a receipt acquisition operation of a target transaction business by a user, an account type corresponding to the target transaction business, wherein the account type includes a directly connected account and a non-directly connected account;

[0013] A file acquisition module, used to determine a file acquisition strategy corresponding to the account type, and acquire a target receipt file corresponding to the target transaction business based on the file acquisition strategy;

[0014] A file parsing module, used to parse the target receipt file based on the file naming method of the receipt file by the user, and obtain the corresponding receipt number of the target receipt file;

[0015] A data matching module, used to determine a target transaction detail matching the target receipt file from the candidate transaction details based on the receipt number;

[0016] The voucher determination module is used to associate the target transaction details with the target receipt file to obtain the business voucher information of the target transaction business.

[0017] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for determining business information as described in any one of the embodiments of the present invention is implemented.

[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for determining business information as described in any one of the embodiments of the present invention.

[0019] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the business information determination method as described in any one of the embodiments of the present invention.

[0020] In an embodiment of the present invention, in response to detecting a user's receipt acquisition operation for a target transaction business, the account type corresponding to the target transaction business is determined, and the account types include directly connected accounts and non-directly connected accounts; a file acquisition strategy corresponding to the account type is determined, and a target receipt file corresponding to the target transaction business is acquired based on the file acquisition strategy; based on the file naming method of the receipt file by the user, the target receipt file is parsed to obtain the target receipt file and obtain the corresponding receipt number; based on the receipt number, a target transaction detail that matches the target receipt file is determined from the candidate transaction details; the target transaction details and the target receipt file are associated to obtain the business voucher information of the target transaction business. Executing this method can bring the following beneficial effects: the application first determines whether the account type corresponding to the target transaction business is a direct account or a non-direct account, and then obtains the target receipt file corresponding to the target transaction business according to the respective corresponding file acquisition strategies, which can realize the association processing of electronic receipts and bank statements for transaction businesses of direct accounts and non-direct accounts; the application intelligently identifies and analyzes the target receipt file based on the file naming method of the receipt file by the user to obtain the receipt number, and then determines the target transaction details matching the target receipt file through the preset matching rules, and finally associates the target transaction details with the target receipt file. The application can simultaneously meet the association requirements of transaction details and receipt files for direct accounts and non-direct accounts; the target receipt file is parsed through the file naming method of the receipt file to obtain the receipt number, which can realize the rapid identification and analysis of electronic receipt information, and can improve business efficiency; through self-intelligent processing and automatic association, the risk of matching errors and omissions is reduced, and the accuracy of data association is improved; it can also improve the work efficiency of users in processing electronic receipts and bank statements, saving time and labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 A schematic diagram of a first process of a method for determining business information provided in an embodiment of the present application;

[0023] Figure 2 A second flow chart of a method for determining business information provided in an embodiment of the present application;

[0024] Figure 3 A third flow chart of a method for determining business information provided in an embodiment of the present application;

[0025] Figure 4 A schematic diagram of the structure of a device for determining business information provided in an embodiment of the present application;

[0026] Figure 5 It is a block diagram of an electronic device used to implement a method for determining business information in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0028] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance. The acquisition, storage, use, processing, etc. of data in the technical solution of this application comply with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. The purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or must use the relevant content of the solution.

[0029] Figure 1 A first flow chart of a method for determining business information provided in an embodiment of the present application, the present embodiment can be applied to automatically associate the electronic receipt and bank flow of the transaction business for directly connected accounts and non-directly connected accounts, and obtain the business voucher information of the transaction business. A method for determining business information provided in this embodiment can be executed by a business information determination device provided in an embodiment of the present application, which can be implemented by software and / or hardware and integrated in an electronic device that executes the method. Preferably, the electronic device in the embodiment of the present application can be a client.

[0030] See also Figure 1 The method of this embodiment includes but is not limited to the following steps:

[0031] S110 : In response to detecting a receipt acquisition operation of a user for a target transaction business, determining an account type corresponding to the target transaction business.

[0032] Among them, the user can be a group of users who generate transactions. The target transaction business refers to one of the multiple transaction businesses generated by all accounts of the user under various banks. The target transaction business refers to the transaction business conducted by the user through a payment or transaction application tool. The receipt acquisition operation is used to obtain the electronic receipt corresponding to the transaction business from the server, which refers to the operation triggered by the user through physical buttons or virtual buttons on the client's interactive interface. The server can be a bank-enterprise server. Account types include directly connected accounts and non-directly connected accounts. Directly connected accounts refer to payment institutions directly connected to banks, and non-directly connected accounts are connected to banks through third-party platforms.

[0033] In the embodiment of the present application, the user can directly click on the receipt acquisition operation of the target transaction business on the interactive interface of the client; or can also click on the receipt query operation of the target transaction business on the interactive interface of the client to trigger the receipt acquisition operation of obtaining the electronic receipt corresponding to the target transaction business from the server. In response to the receipt acquisition operation triggered by the user on the interactive interface, the client obtains the identification number of the target transaction business, and then determines whether the account type of the target transaction business is a direct connection account or a non-direct connection account according to the identification number of the target transaction business.

[0034] Optionally, you can add an option for users to automatically obtain the receipt file in the receipt parameter settings of the client. If the user chooses to automatically obtain the receipt file, the first parameter configuration interface will pop up for the user to fill in the relevant parameters. Among them, the parameters in the first parameter configuration interface include bank type, server type, server address, server port, server login name, server login password, access path, receipt serial number length and receipt serial number starting position, etc. If the user chooses not to automatically obtain the receipt file, the second parameter configuration interface will pop up. The server type, server address, server port, server login name, server login password and access path in the second parameter configuration interface are grayed out and cannot be modified.

[0035] S120: Determine a file acquisition strategy corresponding to the account type, and acquire a target receipt file corresponding to the target transaction business based on the file acquisition strategy.

[0036] In an embodiment of the present application, when the account type is a direct-connected account, the file acquisition strategy is to obtain the receipt file through a receipt query task. The process of obtaining the target receipt file can be: based on the receipt query task, the server calls the processing class of the bank corresponding to the target transaction business to query the target receipt file corresponding to the target transaction business. The server sends the queried target receipt file to the client, and the client receives the target receipt file sent by the server. Among them, the receipt file is a file corresponding to the electronic certificate used to represent the capital flow process of the transaction business.

[0037] In an embodiment of the present application, when the account type is a non-directly connected account, the file acquisition strategy is to obtain the receipt file through a receipt import task. The process of obtaining the target receipt file may be: since a non-directly connected account cannot obtain an electronic receipt through the server, the electronic receipt can only be manually imported by the user. Therefore, when the client determines that the account type of the target transaction business is a non-directly connected account, a receipt import task is generated for the target transaction business, and the generated import receipt message corresponding to the receipt import task is displayed to the user. The import receipt message is used to prompt the user to import the target receipt file corresponding to the target transaction business, so as to complete the receipt import task; after the user completes the import of the target receipt file of the target transaction business based on the receipt import task on the client interaction interface, the client receives the user's receipt import operation on the target transaction business, thereby obtaining the target receipt file corresponding to the target transaction business.

[0038] Optionally, when the account type is a non-directly connected account, the receipt file can be downloaded from the online banking terminal by business personnel or robots, and uploaded to the client in batches through the "Batch Upload Receipts" function.

[0039] S130: Parse the target receipt file based on the file naming method of the receipt file by the user, and obtain the corresponding receipt number of the target receipt file.

[0040] The receipt number is a string of digital codes or character codes used to represent the transaction information voucher of the transaction business.

[0041] In an optional implementation, the return receipt number of the transaction business is recorded in the file content of the call back file. A return receipt number recognition model based on optical character recognition (OCR) technology can be formulated in advance according to the encoding rules of the return receipt number, and then the target return receipt file can be parsed based on the return receipt number recognition model to obtain the corresponding return receipt number.

[0042] In another optional implementation, some banks may name the file name of the receipt file with the receipt number of the receipt file. Then, the target receipt file is parsed based on the file naming method of the receipt file by the user to obtain the corresponding receipt number of the target receipt file, including: the user inputs the file naming method of the receipt file on the client interaction interface; the client receives the user's input operation on the file naming method of the receipt file, and obtains the input key value of the file naming method; when the input key value is the first key value, it indicates that the file name of the receipt file is named after the receipt number, and the file name of the target receipt file is determined as the receipt number of the target receipt file; when the input key value is the second key value, it indicates that the file name of the receipt file is not named after the receipt number, and a receipt number recognition model based on OCR technology can be formulated in advance according to the encoding rules of the receipt number, and then the file header and file content of the target receipt file are recognized based on the receipt number recognition model to obtain the receipt number of the target receipt file.

[0043] Among them, the first key value and the second key value are used to indicate whether the file name of the receipt file is named after the receipt number of the receipt file. This embodiment does not limit the representation form of the input key value of the file naming method, such as 01 characters. For example: the first key value can be 1, which is used to indicate that the file name of the receipt file is named after the receipt number; the second key value can be 0, which is used to indicate that the file name of the receipt file is not named after the receipt number.

[0044] Optionally, the user can choose whether to check the option "The file name of the receipt file is the receipt number" in the receipt parameter settings of the client to implement the input operation of the file naming method of the receipt file. If "The file name of the receipt file is the receipt number" is checked, the server type, server address, server port, server login name, server login password, access path, receipt serial number length and receipt serial number starting position in the parameter configuration interface are all grayed out and cannot be modified.

[0045] S140: Determine a target transaction detail that matches the target receipt file from the candidate transaction details based on the receipt number.

[0046] The candidate transaction details refer to the transaction details that are not matched with the receipt file.

[0047] Specifically, target transaction details that match the target receipt file are determined from the candidate transaction details based on the receipt number, including: a serial number recognition model based on OCR technology can be formulated in advance according to the coding rules of the serial numbers in the transaction details, and then each transaction detail included in the candidate transaction details is parsed based on the serial number recognition model to obtain the serial number of each transaction detail; based on the receipt number, a one-to-one matching is performed with the serial number of each transaction detail to obtain the target serial number that successfully matches the receipt number; and the transaction details corresponding to the target serial number are determined as the target transaction details.

[0048] For example, if there is a receipt file for a transaction business with a corresponding receipt number of 001-1001-20201125, the system determines the transaction details whose bank statement field is 001-1001-20201125 from the candidate transaction details based on the receipt number, then the receipt number is exactly the same as the serial number, and the target serial number that successfully matches the receipt number is obtained.

[0049] Furthermore, based on matching the return slip number with the serial number of each transaction detail, a target serial number that successfully matches the return slip number is obtained, including: determining the key value of at least one key field in the return slip number, the key field including at least the starting position of the return slip number and the length of the return slip number; matching the serial number of each transaction detail with the key value of at least one key field, and obtaining a target serial number that successfully matches the key value of at least one key field.

[0050] For example, the user can set the data of the starting position and length of the receipt number in the receipt parameter setting of the client. If there is a transaction business corresponding to the receipt number with the starting position of 0 and the length of 17, the system will match the serial number of each transaction detail according to this rule to obtain the target serial number with the starting position and length of the receipt number successfully matched.

[0051] S150: Associating the target transaction details with the target receipt file to obtain the business voucher information of the target transaction business.

[0052] In an embodiment of the present application, after determining the target transaction details that match the target receipt file, the target transaction details and the target receipt file are associated to obtain the business voucher information of the target transaction business.

[0053] Furthermore, after obtaining the business credential information of the target transaction business, it also includes: the client can also associate the receipt number and the target serial number to obtain associated information; and use the associated information as a credential attachment of the business credential information, and compress the credential attachment and store it in a preset file storage component.

[0054] The technical solution provided by this embodiment, in response to detecting the user's receipt acquisition operation for the target transaction business, determines the account type corresponding to the target transaction business; obtains the target receipt file corresponding to the target transaction business based on the account type; parses the target receipt file to obtain the corresponding receipt number; determines the target transaction details matching the target receipt file from the candidate transaction details based on the receipt number; associates the target transaction details with the target receipt file to obtain the business voucher information of the target transaction business. This application first determines whether the account type corresponding to the target transaction business is a direct account or a non-direct account, and then obtains the target receipt file corresponding to the target transaction business according to the respective corresponding file acquisition strategies, which can realize the association processing of electronic receipts and bank statements for the transaction business of direct accounts and non-direct accounts; this application intelligently identifies and analyzes the target receipt file based on the user's file naming method for the receipt file to obtain the receipt number, and then determines the target transaction details matching the target receipt file through preset matching rules, and finally associates the target transaction details with the target receipt file. The present application can simultaneously meet the needs for associating transaction details and receipt files of directly connected accounts and non-directly connected accounts; by parsing the target receipt file through the file naming method of the receipt file to obtain the receipt number, it can realize rapid identification and analysis of electronic receipt information, and can improve business efficiency; through automatic intelligent processing and automated association, it reduces the risk of matching errors and omissions, and improves the accuracy of data association; it can also improve the work efficiency of users when processing electronic receipts and bank statements, saving time and labor costs.

[0055] The following further describes the method for determining service information provided by the embodiment of the present application. Figure 2 A second flow chart of a method for determining business information provided in an embodiment of the present application. The embodiment of the present application is optimized on the basis of the above embodiments, and is specifically optimized as follows: when the account type of the target transaction business is a direct-connected account, the acquisition process of the target receipt file is explained in detail in this embodiment.

[0056] See also Figure 2 The method of this embodiment includes but is not limited to the following steps:

[0057] S210: Determine whether there is a receipt query task corresponding to the target transaction business.

[0058] The receipt query task refers to a task created in the client to query the server for the electronic receipt corresponding to the transaction business. The receipt query task can be stored in the preset task storage unit of the client.

[0059] In an embodiment of the present application, the client obtains the identification number of the target transaction business in response to the receipt acquisition operation triggered by the user on the interactive interface, and then determines whether there is a receipt query task corresponding to the target transaction business in the preset task storage unit based on the identification number of the target transaction business.

[0060] In an optional embodiment, if there is a receipt query task, steps S240 to S250 are executed. Specifically, when the client finds the receipt query task corresponding to the target transaction business in the preset task storage unit, the client sends the task identification number of the receipt query task to the server. After the server receives the task identification number, it downloads the target receipt file through the message forwarding interface of each bank according to the task identification number, compresses the target receipt file, and sends the target receipt file to the client. The client receives the target receipt file sent by the server, and stores the target receipt file in the preset file storage unit. In addition, the client updates the task status of the receipt query task to query success, and saves the file storage path of the target receipt file.

[0061] S220: If there is no receipt query task, a receipt status query request of the target transaction business is sent to the server, so that the server determines the receipt status of the target transaction business based on the receipt status query request.

[0062] The receipt status query request is used to query whether an electronic receipt has been generated for the transaction on the server side.

[0063] In the embodiment of the present application, when the client fails to find the receipt query task corresponding to the target transaction business in the preset task storage unit, the client generates a receipt status query request based on the identification number of the target transaction business, and then sends the receipt status query request to the server. The server determines whether the target transaction business has generated an electronic receipt based on the receipt status query request, and obtains the receipt status of the target transaction business.

[0064] S230: Receive the receipt status fed back by the server, and when the receipt status is the receipt generated status, create a receipt query task for the target transaction business.

[0065] In an embodiment of the present application, the server determines the return order status of the target transaction business based on the return order status query request, and feeds back the return order status of the target transaction business to the client. The client receives the return order status fed back by the server. When the return order status is parsed as the return order not generated state, it indicates that there is no corresponding electronic return order for the target transaction business, and there is no need to obtain the target return order file corresponding to the target transaction business. When the return order status is parsed as the return order generated state, the client creates a return order query task for the target transaction business. Optionally, the return order query task corresponding to the target transaction business can also be sorted into the preset task storage unit.

[0066] S240: Send the task identification number of the receipt query task to the server, so that the server obtains the corresponding target receipt file according to the task identification number.

[0067] In an embodiment of the present application, the client sends the task identification number of the receipt query task to the server. After receiving the task identification number, the server downloads the target receipt file through the message forwarding interface of each bank according to the task identification number, compresses the target receipt file, and sends the target receipt file to the client.

[0068] S250: Receive the target receipt file sent by the server.

[0069] In the embodiment of the present application, the client receives the target receipt file sent by the server and stores the target receipt file in a preset file storage unit. In addition, the client updates the task status of the receipt query task to query success and saves the file storage path of the target receipt file.

[0070] The technical solution provided by this embodiment is to determine whether there is a receipt query task corresponding to the target transaction business; if there is no receipt query task, send a receipt status query request of the target transaction business to the server, so that the server determines the receipt status of the target transaction business based on the receipt status query request; receive the receipt status fed back by the server, and when the receipt status is the receipt generated state, create a receipt query task for the target transaction business; send the task identification number of the receipt query task to the server, so that the server obtains the corresponding target receipt file according to the task identification number; receive the target receipt file sent by the server; if there is a receipt query task, execute the operation of sending the task identification number of the receipt query task to the server, so that the server obtains the corresponding target receipt file according to the task identification number. In this application, when the account type of the target transaction business is a direct account, first determine whether there is a receipt query task, if not, query whether the transaction business in the server has generated an electronic receipt through a receipt status query request, and then determine whether to create a receipt query task; when the receipt query task is created, the server obtains the corresponding target receipt file according to the task identification number. This application can realize the association processing of electronic receipts and bank statements for transaction businesses of directly connected accounts. Through self-intelligent processing and automated association, the risks of matching errors and omissions are reduced and the accuracy of data association is improved. It can also improve the work efficiency of users when processing electronic receipts and bank statements, saving time and labor costs.

[0071] The following further describes the method for determining service information provided by the embodiment of the present application. Figure 3The third flow chart of a method for determining business information provided by an embodiment of the present application is as follows: The present application embodiment is optimized on the basis of the above embodiments, and the specific optimization is as follows: the present embodiment explains in detail the process of obtaining the candidate transaction details.

[0072] See also Figure 3 The method of this embodiment includes but is not limited to the following steps:

[0073] S310: Determine a list of directly connected accounts of the user.

[0074] In an embodiment of the present application, the client queries all directly connected accounts of the user under all accounts in various banks to obtain a list of directly connected accounts of the user.

[0075] S320: Obtain the account synchronization time of each directly connected account.

[0076] In an embodiment of the present application, the client queries the account synchronization time of each directly connected account in the directly connected account list, wherein the account synchronization time refers to the time when the transaction details under the account were last synchronized to the client.

[0077] S330: Generate a transaction details query request based on the account synchronization time of each directly connected account and the directly connected account list.

[0078] Among them, the transaction details query request refers to a request for obtaining transaction details from the server.

[0079] In an embodiment of the present application, for the current direct-connected account in the direct-connected account list, the time period between the current time and the account synchronization time corresponding to the current direct-connected account is determined, and the detailed time period corresponding to the current direct-connected account is obtained. The client generates a transaction detail query request for the current direct-connected account according to the detailed time period. Each direct-connected account in the direct-connected account list is traversed to obtain a transaction detail query request corresponding to each direct-connected account.

[0080] S340: Send a transaction detail query request to the server, so that the server obtains historical transaction details corresponding to the time period between the current time and the account synchronization time for each directly connected account based on the transaction detail query request.

[0081] In the embodiment of the present application, the client sends a transaction detail query request corresponding to each directly connected account to the server, and the server obtains the historical transaction details corresponding to the time period between the current time and the account synchronization time for each directly connected account based on the detail time period. The server sends the obtained historical transaction details corresponding to each directly connected account to the client.

[0082] S350: Receive historical transaction details corresponding to each directly connected account sent by the server.

[0083] In an embodiment of the present application, the client receives the historical transaction details corresponding to each directly connected account sent by the server, and stores these historical transaction details in a preset transaction detail storage unit.

[0084] S360. Select candidate transaction details that are not associated with receipts from historical transaction details.

[0085] In an embodiment of the present application, the client determines whether the transaction details included in the historical transaction details are associated with the electronic receipt, then extracts the transaction details that are not associated with the electronic receipt, and determines them as candidate transaction details.

[0086] Furthermore, after receiving the historical transaction details corresponding to each directly connected account sent by the server, the client also updates the account synchronization time of each directly connected account based on the current time, that is, replaces the account synchronization time with the current time to obtain a new account synchronization time.

[0087] The technical solution provided in this embodiment determines the user's direct account list; obtains the account synchronization time of each direct account; generates a transaction detail query request based on the account synchronization time of each direct account and the direct account list; sends the transaction detail query request to the server, so that the server obtains the historical transaction details corresponding to the time period between the current time and the account synchronization time of each direct account based on the transaction detail query request; receives the historical transaction details corresponding to each direct account sent by the server; and selects the candidate transaction details of the unassociated receipt from the historical transaction details. This application can realize the association processing of electronic receipts and bank statements for transaction businesses of direct accounts and non-direct accounts, reduce the risk of matching errors and omissions, and improve the accuracy of data association; it can also improve the work efficiency of users when processing electronic receipts and bank statements, saving time and labor costs.

[0088] Figure 4 A schematic diagram of a business information determination device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the apparatus 400 may include:

[0089] A type determination module 410 is used to determine the account type corresponding to the target transaction business in response to detecting the user's receipt acquisition operation for the target transaction business, and the account type includes a directly connected account and a non-directly connected account;

[0090] A file acquisition module 420, configured to determine a file acquisition strategy corresponding to the account type, and acquire a target receipt file corresponding to the target transaction business based on the file acquisition strategy;

[0091] The file parsing module 430 is used to parse the target receipt file based on the file naming method of the receipt file by the user, and obtain the corresponding receipt number of the target receipt file;

[0092] A data matching module 440 is used to determine a target transaction detail that matches the target receipt file from the candidate transaction details based on the receipt number;

[0093] The voucher determination module 450 is used to associate the target transaction details with the target receipt file to obtain the business voucher information of the target transaction business.

[0094] Furthermore, the file acquisition module 420 may include: a first acquisition unit and a second acquisition unit;

[0095] In one embodiment, when the account type is a direct account, the file acquisition strategy is to acquire the receipt file through a receipt query task;

[0096] The first acquisition unit can be used to determine whether there is a receipt query task corresponding to the target transaction business; if the receipt query task exists, the task identification number of the receipt query task is sent to the server, so that the server obtains the corresponding target receipt file according to the task identification number; and receives the target receipt file sent by the server.

[0097] The first acquisition unit can also be used to, after determining whether there is a return order query task corresponding to the target transaction business, send a return order status query request for the target transaction business to the server if the return order query task does not exist, so that the server determines the return order status of the target transaction business based on the return order status query request; receive the return order status fed back by the server, and when the return order status is a return order generated status, create a return order query task for the target transaction business; send the task identification number of the return order query task to the server, so that the server obtains the corresponding target return order file according to the task identification number; and receive the target return order file sent by the server.

[0098] In one embodiment, when the account type is a non-directly connected account, the file acquisition strategy is to acquire the receipt file through a receipt import task;

[0099] The second acquisition unit can be used to generate a receipt import task for the target transaction business, and display an import receipt message corresponding to the receipt import task, wherein the import receipt message is used to prompt the user to import the target receipt file corresponding to the target transaction business so as to complete the receipt import task; receive the user's receipt import operation on the target transaction business based on the receipt import task, and acquire the target receipt file corresponding to the target transaction business.

[0100] Furthermore, the above-mentioned file parsing module 430 can be specifically used to: receive the user's input operation on the file naming method of the receipt file, and obtain the input key value of the file naming method; when the input key value is the first key value, determine the file name of the target receipt file as the receipt number of the target receipt file; when the input key value is the second key value, perform text recognition on the file header and file content of the target receipt file to obtain the receipt number of the target receipt file.

[0101] Furthermore, the above-mentioned data matching module 440 can be specifically used to: parse each transaction detail contained in the candidate transaction details to obtain the serial number of each transaction detail; match the serial number of each transaction detail based on the return slip number to obtain a target serial number that successfully matches the return slip number; and determine the transaction detail corresponding to the target serial number as the target transaction detail.

[0102] Furthermore, the above-mentioned data matching module 440 can also be specifically used to: determine the key value of at least one key field in the receipt number, and the key field at least includes the starting position of the receipt number and the length of the receipt number; match the serial number of each transaction detail with the key value of the at least one key field, and obtain the target serial number that successfully matches the key value of the at least one key field.

[0103] Furthermore, the business information determination device may further include: a transaction details acquisition module;

[0104] The transaction details acquisition module is used to determine the user's direct account list before determining the target transaction details matching the target receipt file from the candidate transaction details based on the receipt number; obtain the historical transaction details of each direct account in the direct account list; and select the candidate transaction details that are not associated with the receipt from the historical transaction details.

[0105] Furthermore, the transaction details acquisition module may be specifically used to: acquire the account synchronization time of each directly connected account; generate a transaction details query request based on the account synchronization time of each directly connected account and the directly connected account list; send the transaction details query request to the server, so that the server acquires the historical transaction details of each directly connected account corresponding to the time period between the current time and the account synchronization time based on the transaction details query request; and receive the historical transaction details corresponding to each directly connected account sent by the server.

[0106] Furthermore, the transaction details acquisition module may be specifically configured to: after receiving the historical transaction details corresponding to each directly connected account sent by the server, update the account synchronization time based on the current time to obtain a new account synchronization time.

[0107] Furthermore, the business information determination device may further include: a voucher attachment determination module;

[0108] The voucher attachment determination module is used to associate the receipt number with the target serial number to obtain associated information after obtaining the business voucher information of the target transaction business; and use the associated information as the voucher attachment of the business voucher information.

[0109] The service information determination device provided in this embodiment can be applied to the service information determination method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0110] Figure 5 It is a block diagram of an electronic device for implementing a method for determining business information in an embodiment of the present application. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0111] like Figure 5As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0112] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0113] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a business information determination method.

[0114] In some embodiments, the business information determination method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the business information determination method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the business information determination method in any other appropriate manner (e.g., by means of firmware).

[0115] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0116] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0117] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0118] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0119] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server) or a computing system that includes middleware components (e.g., an application server) or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein) or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0120] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0121] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the service information determination method provided in any embodiment of the present application.

[0122] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0123] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for determining business information, characterized in that: include: In response to detecting a receipt acquisition operation of a target transaction business by a user, determining an account type corresponding to the target transaction business, the account type including a directly connected account and a non-directly connected account; Determine a file acquisition strategy corresponding to the account type, and acquire a target receipt file corresponding to the target transaction business based on the file acquisition strategy; Parsing the target receipt file based on the file naming method of the receipt file by the user to obtain the corresponding receipt number of the target receipt file; Determine a target transaction detail that matches the target receipt file from the candidate transaction details based on the receipt number; The target transaction details are associated with the target receipt file to obtain the business voucher information of the target transaction business.

2. The method according to claim 1, characterized in that When the account type is a direct account, the file acquisition strategy is to obtain the receipt file through a receipt query task; Acquiring a target receipt file corresponding to the target transaction business based on the file acquisition strategy includes: Determine whether there is a receipt query task corresponding to the target transaction business; If the receipt query task exists, the task identification number of the receipt query task is sent to the server, so that the server obtains the corresponding target receipt file according to the task identification number; Receive the target receipt file sent by the server.

3. The method according to claim 2, characterized in that After determining whether there is a receipt query task corresponding to the target transaction business, the method further includes: If the receipt query task does not exist, sending a receipt status query request of the target transaction business to the server, so that the server determines the receipt status of the target transaction business based on the receipt status query request; Receive the receipt status fed back by the server, and when the receipt status is a receipt generated state, create a receipt query task for the target transaction business; Sending the task identification number of the receipt query task to the server, so that the server obtains the corresponding target receipt file according to the task identification number; Receive the target receipt file sent by the server.

4. The method according to claim 1, characterized in that: When the account type is a non-directly connected account, the file acquisition strategy is to acquire the receipt file through a receipt import task; Acquiring a target receipt file corresponding to the target transaction business based on the file acquisition strategy includes: Generate a receipt import task for the target transaction business, and display an import receipt message corresponding to the receipt import task, wherein the import receipt message is used to prompt the user to import the target receipt file corresponding to the target transaction business, so as to complete the receipt import task; A receipt import operation of the user on the target transaction business based on the receipt import task is received, and the target receipt file corresponding to the target transaction business is acquired.

5. The method according to claim 1, characterized in that The target receipt file is parsed based on the file naming method of the receipt file by the user to obtain the corresponding receipt number of the target receipt file, including: Receiving the user's input operation on the file naming method of the receipt file, and obtaining the input key value of the file naming method; When the input key value is the first key value, the file name of the target receipt file is determined to be the receipt number of the target receipt file; When the input key value is the second key value, text recognition is performed on the file header and file content of the target receipt file to obtain the receipt number of the target receipt file.

6. The method according to claim 1, characterized in that Determining a target transaction detail matching the target receipt file from the candidate transaction details based on the receipt number includes: Parsing each transaction detail included in the candidate transaction details to obtain a serial number of each transaction detail; Based on the receipt number, the serial number of each transaction detail is matched to obtain a target serial number that successfully matches the receipt number; The transaction details corresponding to the target serial number are determined as the target transaction details.

7. The method according to claim 6, characterized in that Based on matching the receipt number with the serial number of each transaction detail, obtaining a target serial number that successfully matches the receipt number includes: Determine a key value of at least one key field in the receipt number, wherein the key field at least includes a starting position of the receipt number and a length of the receipt number; The serial number of each transaction detail is matched with the key value of the at least one key field to obtain a target serial number that successfully matches the key value of the at least one key field.

8. The method according to claim 1, characterized in that: Before determining the target transaction details matching the target receipt file from the candidate transaction details based on the receipt number, the method further includes: Determining a list of directly connected accounts of the user; Obtain historical transaction details of each directly connected account in the directly connected account list; The candidate transaction details that are not associated with a receipt are selected from the historical transaction details.

9. The method according to claim 8, characterized in that Obtain the historical transaction details of each directly connected account in the directly connected account list, including: Obtaining the account synchronization time of each directly connected account; Generate a transaction details query request based on the account synchronization time of each directly connected account and the directly connected account list; Sending the transaction detail query request to the server, so that the server obtains the historical transaction details of each directly connected account corresponding to the time period between the current time and the account synchronization time based on the transaction detail query request; Receive historical transaction details corresponding to each directly connected account sent by the server.

10. The method according to claim 9, characterized in that After receiving the historical transaction details corresponding to each directly connected account sent by the server, the method further includes: The account synchronization time is updated based on the current time to obtain a new account synchronization time.

11. The method according to claim 6, characterized in that After obtaining the business voucher information of the target transaction business, the method further includes: Associating the receipt number with the target serial number to obtain associated information; The association information is used as a credential attachment to the business credential information.

12. A device for determining business information, characterized in that: include: A type determination module, configured to determine, in response to detecting a receipt acquisition operation of a target transaction business by a user, an account type corresponding to the target transaction business, wherein the account type includes a directly connected account and a non-directly connected account; A file acquisition module, used to determine a file acquisition strategy corresponding to the account type, and acquire a target receipt file corresponding to the target transaction business based on the file acquisition strategy; A file parsing module, used to parse the target receipt file based on the file naming method of the receipt file by the user, and obtain the corresponding receipt number of the target receipt file; A data matching module, used to determine a target transaction detail matching the target receipt file from the candidate transaction details based on the receipt number; The voucher determination module is used to associate the target transaction details with the target receipt file to obtain the business voucher information of the target transaction business.

13. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the business information determination method as claimed in any one of claims 1 to 11 when executing the computer program.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the service information determination method as described in any one of claims 1 to 11 is implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the service information determination method according to any one of claims 1 to 11.