Transaction processing method and device, electronic equipment and computer program product
By obtaining and processing transaction requests, identifying and completing transaction information, determining the target client and sending transaction requests, the inefficiency problem of financial institutions in handling transactional work is solved, and more efficient management and analysis is achieved.
Patent Information
- Application Number
- CN202411894737.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-15
AI Technical Summary
In the prior art, financial institutions have problems with low processing efficiency when handling transactional work, including insufficient clarity of responsibilities, many levels of information flow, lack of progress tracking mechanisms, and difficulty in conducting quantitative analysis.
By obtaining the transaction processing request sent by the target user, the initial transaction information is determined, the instruction information is received and identified to obtain the application element information, the initial transaction information is completed, the target client is determined and the transaction request is sent.
It improves the management efficiency of comprehensive transactions, solves the problem of low processing efficiency, and achieves more accurate progress tracking and quantitative analysis.
Smart Images

Figure CN119831242A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and specifically, to a transaction processing method, device, electronic device and computer program product. Background Art
[0002] As the first platform for financial institutions to provide external services, offline branches of financial institutions bear the dual responsibilities of customer service and internal operations. In daily operations, in addition to meeting customer service needs, branches also need to handle a large amount of transactional work, such as equipment maintenance, material collection, and environmental facility repairs. Although these tasks are not directly facing customers, they are crucial to maintaining the normal operation of branches and improving customer experience.
[0003] However, the existing transaction processing processes often have the following technical problems: when handling transactional work, there is a lack of clarity in problem reporting and handling responsibilities. For example, when equipment fails, the branch manager needs to contact the equipment supplier on his own. This process is not only time-consuming, but also becomes particularly complicated when the supplier information changes, increasing the time and communication costs of problem solving. In addition, in the transaction processing process, there are many levels of information flow, and people can only wait passively, unable to understand the progress of demand processing in real time. There is a lack of an effective progress tracking mechanism. After reporting service needs, branches evaluate the timeliness of demand response, which affects overall operational efficiency. Due to the lack of systematic data records, financial institutions find it difficult to conduct quantitative analysis of various transactional tasks and cannot accurately identify bottlenecks and inefficient links in the process.
[0004] With regard to the technical problem of low processing efficiency when processing comprehensive transactions in related technologies, no effective solution has been proposed yet. Summary of the invention
[0005] The main purpose of the present application is to provide a transaction processing method, device, electronic device and computer program product to solve the technical problem of low processing efficiency when processing comprehensive transactions in related technologies.
[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a transaction processing method is provided. The method comprises: obtaining a transaction processing request sent by a target user, determining initial transaction information according to the transaction processing request, wherein the initial transaction information includes the transaction type of the transaction to be processed; receiving instruction information sent by the target user, identifying the instruction information, and obtaining application element information, wherein the application element information is used to characterize keywords in the transaction to be processed; completing the initial transaction information of the transaction processing request according to the application element information, and obtaining a target transaction request; determining a target client according to the transaction type, and sending the target transaction request to the target client.
[0007] Furthermore, in the case where the instruction information is a voice instruction, the instruction information is identified to obtain the application element information, including: performing voice recognition processing on the voice instruction to obtain an initial voice text; obtaining M candidate application element information, calculating the similarity between the initial voice text and each candidate application element information to obtain M text similarity data, wherein M is a positive integer; and filtering out the application element information from the M candidate application element information according to the text similarity data.
[0008] Furthermore, obtaining M candidate application element information includes: obtaining an element mapping relationship table from a database, and obtaining a target function type in the user verification information of the target user, wherein the element mapping relationship table includes multiple function types, standard application elements, and synonyms associated with the standard application elements; according to the target function type, M standard application elements are filtered out from the element mapping relationship table, and the M standard application elements and the synonyms associated with each standard application element are determined as the M candidate application element information.
[0009] Furthermore, similarity calculation is performed between the initial voice text and each candidate application element information to obtain M text similarity data, including: for one candidate application element information, obtaining a synonym associated with the candidate application element information; calculating the edit distance between the initial voice text and the synonym according to the edit distance algorithm to obtain a text edit distance; filtering out the text length with the largest number of characters from the synonym and the initial voice text to obtain character text data; calculating the ratio of the text edit distance to the character text data to obtain a text ratio, and calculating the difference between a preset parameter and the text ratio to obtain the text similarity data associated with the candidate application element information.
[0010] Furthermore, in the case where the initial voice text includes N characters, N is a positive integer, and the edit distance between the initial voice text and the synonym is calculated according to the edit distance algorithm to obtain the text edit distance, including: for the i-th character of the initial voice text, obtaining the character combination of the first text character to the i-th text character in the initial voice text to obtain a first character string, and obtaining the character combination of the first synonym character to the i-th synonym character in the synonym to obtain a second character string, wherein i is greater than or equal to 1 and less than or equal to N, and i is a positive integer; determining the edit distance between the first character string and the second character string according to the edit distance algorithm to obtain N character edit distances; constructing a character matrix according to the N character edit distances to obtain an initial character matrix; completing the elements of the initial character matrix to obtain a target character matrix, and determining the text edit distance by the values of the elements at preset positions in the target character matrix.
[0011] Furthermore, filtering out the application element information from the M candidate application element information based on the text similarity data includes: determining a similarity threshold, filtering out Y text similarity data greater than the similarity threshold from the M text similarity data, wherein Y is a positive integer; sorting the Y text similarity data in descending order to obtain a text sequence, and determining the candidate application element information associated with the text similarity data at a preset position in the text sequence as the application element information.
[0012] Further, sending the target transaction request to the target client includes: sending the target transaction request to a client associated with an approval object; upon receiving secondary approval information fed back by the client associated with the approval object, identifying the secondary approval information, wherein the secondary approval information is used to characterize whether there is an abnormality in the target transaction request; and when the secondary approval information characterizes that there is no abnormality in the target transaction request, executing the step of sending the target transaction request to the target client.
[0013] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a transaction processing device is provided. The device includes: an acquisition unit, which is used to acquire a transaction processing request sent by a target user, and determine initial transaction information according to the transaction processing request, wherein the initial transaction information includes the transaction type of the transaction to be processed; a receiving unit, which is used to receive instruction information sent by the target user, identify the instruction information, and obtain application element information, wherein the application element information is used to characterize keywords in the transaction to be processed; a completion unit, which is used to complete the initial transaction information of the transaction processing request according to the application element information, and obtain a target transaction request; a determination unit, which is used to determine a target client according to the transaction type, and send the target transaction request to the target client.
[0014] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute a processing method for any of the above-mentioned transactions.
[0015] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory stores an executable program, and the processor is used to run the program, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a method for processing any one of the above-mentioned transactions.
[0016] According to another aspect of an embodiment of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the computer program implements any one of the above-mentioned transaction processing methods.
[0017] In an embodiment of the present application, a transaction processing method is adopted, by obtaining a transaction processing request sent by a target user, determining initial transaction information according to the transaction processing request, wherein the initial transaction information includes the transaction type of the transaction to be processed; receiving instruction information sent by the target user, identifying the instruction information, and obtaining application element information, wherein the application element information is used to characterize keywords in the transaction to be processed; completing the initial transaction information of the transaction processing request according to the application element information, and obtaining a target transaction request; determining a target client according to the transaction type, and sending the target transaction request to the target client, thereby achieving the technical effect of improving the management efficiency of comprehensive transactions, and further solving the technical problem of low processing efficiency when processing comprehensive transactions. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0019] Figure 1 It is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a transaction processing method;
[0020] Figure 2 is a flowchart of a transaction processing method provided according to an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of a transaction processing platform provided according to an embodiment of the present application;
[0022] Figure 4 is a schematic diagram of a method for identifying instruction information provided according to an embodiment of the present application;
[0023] Figure 5 It is a schematic diagram of the processing flow of equipment maintenance affairs provided according to an embodiment of the present application;
[0024] Figure 6 It is a schematic diagram of the processing flow of a device application transaction provided according to an embodiment of the present application;
[0025] Figure 7 It is a schematic diagram of the processing flow of environmental maintenance affairs provided according to an embodiment of the present application;
[0026] Figure 8It is a schematic diagram of the processing flow of equipment application affairs provided in an embodiment of the present application;
[0027] Fig. 9 It is a schematic diagram of the processing flow of the device dispatch transaction provided according to the embodiment of the present application;
[0028] Fig.10 is a schematic diagram of a transaction processing device provided according to an embodiment of the present application;
[0029] Fig.11 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set up between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0033] It should be noted that the collected information used in this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse to use it.
[0034] Example 1
[0035] According to an embodiment of the present application, a method embodiment of a transaction processing is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0036] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 It is a hardware structure diagram of a computer terminal (or mobile device) for implementing a transaction processing method, such as Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more ( Figure 1 102a, 102b, ..., 102n are used to illustrate) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU (Microcontroller Unit) or a programmable logic device FPGA (Field-Programmable Gate Array)), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a keyboard, a cursor control device, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0037] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0038] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the transaction processing method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the above-mentioned transaction processing method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0039] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC) and a network interface, which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0040] The display may be, for example, a touch screen liquid crystal display that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0041] Under the above operating environment, this application provides Figure 2 The method for processing the transaction shown. Figure 2 is a flowchart of a transaction processing method provided in accordance with an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0042] Step S201, obtaining a transaction processing request sent by a target user, and determining initial transaction information according to the transaction processing request, wherein the initial transaction information includes a transaction type of the transaction to be processed.
[0043] Specifically, the target user may be a staff member in a financial institution. After receiving a transaction processing request generated by the staff member when handling transactional work, the request is converted into a preset data format, and then the initial transaction information representing the transaction type of the transaction to be processed is identified. Among them, the transaction processing request may be a variety of processing requests such as equipment maintenance, equipment application, branch environment and facility maintenance, item application and item distribution, etc. Each type of request contains specific transaction details, such as equipment model, fault description, item name, quantity, etc. It should be noted that the parsing of the request may be to extract and identify keywords in the request, as well as to match and determine the transaction type, to ensure that the user's needs can be understood accurately.
[0044] Step S202, receiving instruction information sent by the target user, identifying the instruction information, and obtaining application element information, wherein the application element information is used to represent keywords in the transaction to be processed.
[0045] Specifically, after extracting the initial transaction information of the transaction processing request, instruction information representing the specific transaction information can be received, and then the instruction information can be identified to obtain application element information including transaction details. For example, if the transaction processing request issued by the target user is for fault repair, after identifying that it belongs to the "equipment repair" category, the received instruction information is further identified to obtain the application element information "ATM machine failure", that is, it is determined that it is a maintenance need for the automatic teller machine, so that the subsequent processing flow can be correctly started.
[0046] Step S203, the initial transaction information of the transaction processing request is completed according to the application element information to obtain a target transaction request.
[0047] Specifically, in order to improve the accuracy and speed of transaction processing and reduce the workload of user input, the initial transaction information can be filled in and completed according to historical data, user habits and extracted application element information, and then the target transaction request can be obtained. For example, for equipment that often fails, the basic information of the equipment, such as equipment model, historical maintenance date, common fault type, etc., can be filled in first using historical data and extracted application element information, which greatly improves the efficiency of transaction processing and user experience.
[0048] Step S204: determine the target client according to the transaction type, and send the target transaction request to the target client.
[0049] Specifically, in order to send the target transaction request to the corresponding approver or service personnel, the client used by the corresponding personnel can be determined according to the parsed transaction type, and then the above request can be sent to the target client. In addition, based on the urgency and specific needs of the transaction, a processing time reminder can be sent to the approver or service personnel at the same time as the target transaction request is sent to the target client, thereby improving transaction processing efficiency.
[0050] The transaction processing method provided by the embodiment of the present application obtains the transaction processing request sent by the target user, determines the initial transaction information according to the transaction processing request, wherein the initial transaction information includes the transaction type of the transaction to be processed; receives the instruction information sent by the target user, identifies the instruction information, and obtains the application element information, wherein the application element information is used to characterize the keywords in the transaction to be processed; completes the initial transaction information of the transaction processing request according to the application element information to obtain the target transaction request; determines the target client according to the transaction type, and sends the target transaction request to the target client, thereby solving the technical problem of low processing efficiency when processing comprehensive transactions in the related technology, by determining the initial transaction information according to the transaction processing request sent by the target user, and determining the application element information according to the instruction information, completing the initial transaction information of the transaction processing request according to the application element information to obtain the target transaction request; determines the target client according to the transaction type, and sends the target transaction request to the target client, thereby achieving the technical effect of improving the management efficiency of comprehensive transactions.
[0051] In order to make the submission of transaction processing requests more convenient and efficient, optionally, in the transaction processing method provided in the embodiment of the present application, when the instruction information is a voice instruction, the instruction information is identified to obtain the application element information, including: performing voice recognition processing on the voice instruction to obtain an initial voice text; obtaining M candidate application element information, calculating the similarity between the initial voice text and each candidate application element information, and obtaining M text similarity data, where M is a positive integer; and filtering out the application element information from the M candidate application element information according to the text similarity data.
[0052] Specifically, after receiving the instruction information, the voice instruction can first be converted into text information using a voice recognition algorithm to obtain an initial voice text, wherein the voice instruction can be a description of various business tasks such as equipment maintenance and item collection. After voice recognition processing, candidate application element information similar to the initial voice text is obtained from a preset knowledge base. For example, if the initial voice text is an AMT machine, the candidate application element information can be a cash machine, etc.
[0053] In order to match the user's initial voice text with the correct application element information, the text similarity between the two can be calculated, for example, the edit distance algorithm, cosine similarity algorithm and other algorithms can be used. Among them, the edit distance algorithm can be used to measure the degree of difference between two strings. The similarity of the strings is determined by calculating the minimum number of operations for inserting, deleting or replacing characters, and the application element corresponding to the user's intention is quickly identified.
[0054] Furthermore, the most matching application element information can be screened out according to the calculated text similarity data, for example, the candidate application element information with the largest value can be selected as the application element information by ordering the similarity from high to low. In addition, context information, user historical behavior, institutional hierarchy information, etc. can also be combined for processing during the screening process to improve the accuracy and efficiency of the match. For example, if the user is the person in charge of a certain branch, the application elements related to the branch can be considered at this time to reduce the cross-institutional application element matching, improve the processing speed and user experience, and finally build a specific transaction processing request based on the application element information to start the subsequent approval and execution process. This embodiment identifies the instruction information and then determines the application element information according to the identification result, thereby simplifying the submission process of the transaction processing request, improving operational efficiency and user experience, and also providing an accurate data basis for subsequent process automation and resource scheduling.
[0055] In order to achieve high efficiency and intelligence in transaction processing, optionally, in the transaction processing method provided in the embodiment of the present application, obtaining M candidate application element information includes: obtaining an element mapping relationship table from a database, and obtaining a target function type in the user verification information of a target user, wherein the element mapping relationship table includes multiple function types, standard application elements, and synonyms associated with the standard application elements; according to the target function type, M standard application elements are screened out from the element mapping relationship table, and the M standard application elements and the synonyms associated with each standard application element are determined as M candidate application element information.
[0056] Specifically, the element mapping relationship table, as a core data structure, can store standard application elements and their synonyms for multiple transactions, and can also obtain the functional type that represents the user's responsibilities when receiving a transaction processing request. The functional type can then be used to quickly identify the user's authority scope and demand scenarios, providing a basis for subsequent application element screening.
[0057] After determining the function type of the target user, the function type is used to screen the element mapping relationship table. Specifically, multiple standard application elements and their associated synonyms that match the target function type can be extracted from the element mapping relationship table, and these standard application elements and their associated synonyms can be used as candidate application element information. For example, for the function type of the branch manager, standard application elements and their synonyms related to multiple types of affairs such as equipment maintenance, item request, and environmental facility maintenance can be screened from the element mapping relationship table; and for equipment maintenance personnel, the screening scope can focus on equipment-related application elements, such as equipment model, fault type, etc. In the screening process, pruning can also be combined with information such as the user's institutional level, historical behavior, and preference settings to further optimize the scope of candidate application element information and improve the accuracy and efficiency of subsequent matching. This embodiment uses the function type to screen the element mapping relationship table, which can accurately extract candidate application element information, improve processing efficiency and user experience, and also provide a solid data foundation for subsequent process processing.
[0058] In order to accurately understand the transaction processing request of the target user through voice input, optionally, in the transaction processing method provided in the embodiment of the present application, the initial voice text and each candidate application element information are calculated for similarity to obtain M text similarity data, including: for one candidate application element information, obtaining a synonym associated with the candidate application element information; calculating the edit distance between the initial voice text and the synonym according to the edit distance algorithm to obtain the text edit distance; filtering out the text length with the largest number of characters from the synonym and the initial voice text to obtain character text data; calculating the ratio of the text edit distance to the character text data to obtain the text ratio, and calculating the difference between the preset parameter and the text ratio to obtain the text similarity data associated with the candidate application element information.
[0059] It should be noted that in order to cope with the diversity and variability of the vocabulary used by users for voice description, and to ensure that the real transaction needs can be identified even if the expressions are different, each candidate application element information can be associated with a synonym, such as "cash machine" and "ATM machine", "printer paper jam" and "printing failure", etc. At this time, the similarity between the candidate application element information and the initial voice text can be calculated by calculating the similarity between the initial voice text and the synonym, and then the similarity between the candidate application element information and the initial voice text can be determined. When calculating the similarity between the initial voice text and the synonym, the edit distance algorithm used to measure the degree of difference between two strings can be used to calculate the minimum number of operations (such as inserting, deleting or replacing characters) required to convert from one string to another, and the number of operations can be used to determine the similarity of the strings.
[0060] Specifically, in order to avoid the possible deviation of the edit distance algorithm when processing character strings with large length differences, the text length with the largest number of characters in the synonyms and the initial voice text (that is, the character text data) is first screened out to ensure the fairness and rationality of the calculation results. Then, the ratio of the edit distance between the initial voice text and the synonyms calculated by the edit distance algorithm to the character text data is calculated to quantify the relative distance between the initial text and the synonyms. The smaller the value, the higher the similarity between the two. Finally, a quantitative indicator representing the degree of matching, namely the text similarity data, is determined based on the difference between the preset parameters and the text ratio, and then the degree of matching between the candidate application element information and the initial voice text of the user's voice command is reflected based on this indicator. At this time, the text similarity data can be calculated by the following formula: Among them, S represents text similarity data, C represents text edit distance, and L represents character text data.
[0061] It should be noted that the text edit distance data can reflect the degree of difference between the initial voice text and the synonyms, but it is not directly equivalent to the text similarity, so further conversion calculations are required. In order to convert the edit distance into text similarity, the character text data can be processed so that the calculation results of the edit distance can be compared and evaluated on a relatively uniform scale. This embodiment uses the edit distance algorithm to calculate the text similarity data between the candidate application element information and the initial voice text, thereby reducing processing errors caused by comprehension deviations, significantly improving the ability to understand and respond to user voice commands, and quickly and accurately screening out the options that best match the user's voice commands from the candidate application element information, reducing the need for manual review and adjustment, and speeding up the entire process of transaction processing.
[0062] In order to more accurately understand the instructions issued by the user through voice and effectively match them with synonyms in the knowledge base, optionally, in the transaction processing method provided in the embodiment of the present application, when the initial voice text includes N characters, N is a positive integer, the edit distance between the initial voice text and the synonym is calculated according to the edit distance algorithm, and the text edit distance is obtained, including: for the i-th character of the initial voice text, obtaining the character combination of the first text character to the i-th text character in the initial voice text to obtain a first character string, and obtaining the character combination of the first synonym character to the i-th synonym character in the synonym to obtain a second character string, wherein i is greater than or equal to 1 and less than or equal to N, and i is a positive integer; determining the edit distance between the first character string and the second character string according to the edit distance algorithm to obtain N character edit distances; constructing a character matrix according to the N character edit distances to obtain an initial character matrix; completing the elements of the initial character matrix to obtain a target character matrix, and determining the text edit distance by the values of the elements at preset positions in the target character matrix.
[0063] Specifically, when using the edit distance algorithm to calculate the edit distance between the initial voice text and the synonyms, the initial voice text is first decomposed into multiple character strings, and then the character strings are used to calculate the character edit distance. For example, when the initial voice text includes four text characters and the synonyms include three synonym characters, when using the edit distance algorithm to calculate the character edit distance, the first text character of the four text characters can be calculated with the first synonym character of the three synonym characters, and then the first two text characters of the four text characters can be calculated with the first two synonym characters of the three synonym characters, and then the first three text characters of the four text characters can be calculated with the three synonym characters of the three synonym characters, and finally the character edit distance between the four text characters and the three synonym characters is calculated, so as to obtain multiple character edit distances, and finally the initial character matrix is constructed based on the above character edit distances.
[0064] It should be noted that when the initial character matrix is constructed based on the character edit distance, the rows in the matrix represent the initial voice text, the columns represent the synonyms, and each element in the matrix represents the edit distance between the initial voice text and the string corresponding to the synonym. In order to achieve accurate matching, the initial character matrix can be completed and optimized. For example, when the initial character matrix includes elements with m rows and n columns (that is, elements dis 1,1 To element dis m,n ), when the initial character matrix is initialized, the first row and the first column in the initial character matrix can be numerically filled using the above character edit distance, and the remaining blank elements in the matrix are completed using a recursive formula: when the characters do not match, the value of each element in the matrix is the minimum value of the upper left element, the left element, and the upper element of the corresponding position plus 1; when the characters match, the value of each element in the matrix is equal to the upper left element, that is, the ath character of the initial voice text is equal to the bth character of the synonym, then dis ab =dis a-1b-1 (that is, equal to the upper left element), otherwise select dis ab The minimum value among the upper left element, the left element, and the upper element plus 1, and finally select the element dis in the matrix m,n The corresponding value is used as the text edit distance. This embodiment can improve the accuracy of voice command parsing by using the edit distance algorithm to construct a matrix, and can calculate the edit distances of all character and synonym character combinations in parallel by constructing and optimizing the character matrix, thereby improving the efficiency of synonym matching, providing accurate application element information for subsequent transaction processing processes, and accelerating the generation speed of transaction processing requests.
[0065] Optionally, in the transaction processing method provided in the embodiment of the present application, screening out application element information from M candidate application element information based on text similarity data includes: determining a similarity threshold, screening out Y text similarity data greater than the similarity threshold from the M text similarity data, where Y is a positive integer; sorting the Y text similarity data in descending order to obtain a text sequence, and determining the candidate application element information associated with the text similarity data at a preset position in the text sequence as the application element information.
[0066] Specifically, after calculating the text edit distance between the initial voice text and the synonyms of each candidate application element, the text edit distance can be used to calculate the text similarity data between the initial voice text and each candidate application element information. Therefore, when selecting application element information, all data greater than the set similarity threshold can be filtered out from the text similarity data, and only the most similar multiple candidate application element information is retained. Then, the filtered text similarity data is sorted in descending order, and the text similarity data with the largest value is selected from the sorting, and the candidate application element information associated with the data is determined as the application element information. This embodiment can improve the efficiency of transaction processing, reduce errors and delays, and significantly improve the user experience and satisfaction in the process of submitting transaction processing requests by screening multiple text similarity data and then determining the application element information.
[0067] To ensure the rationality and compliance of the transaction request, optionally, in the transaction processing method provided in the embodiment of the present application, sending the target transaction request to the target client includes: sending the target transaction request to the client associated with the approval object; when receiving secondary approval information fed back by the client associated with the approval object, identifying the secondary approval information, wherein the secondary approval information is used to characterize whether there is an abnormality in the target transaction request; when the secondary approval information characterizes that there is no abnormality in the target transaction request, executing the step of sending the target transaction request to the target client.
[0068] Specifically, in order to strengthen the management of transaction requests, the target transaction request can be subject to secondary approval before being sent to the target client, that is, the target transaction request is first sent to the client associated with the approval object, wherein the approval object may be the head of the relevant organization or the approval personnel. After receiving the target transaction request, the approval object approves it and sends secondary approval information.
[0069] After receiving the secondary approval information, extract key elements in the information, such as transaction type, approval decision, etc., and then determine whether there are any abnormalities in the target transaction request, for example: whether the transaction request is compliant, whether the transaction request is reasonable, and the potential risks in the transaction request. If the secondary approval information indicates that there is no abnormality in the target transaction request, that is, all approval objects confirm that the request is reasonable, compliant and risk-free, the target transaction request can be sent to the target client; if the secondary approval information indicates that there is an abnormality in the target transaction request, different processing strategies need to be adopted according to the specific type of the abnormality, such as supplementing or modifying the transaction request. This embodiment uses secondary approval to process the target transaction request, which not only optimizes the approval process of the transaction request, but also provides an identification and processing mechanism for abnormal situations, thereby improving the efficiency and accuracy of transaction processing, strengthening risk management and compliance checks on transaction requests, and thus ensuring the safety and stability of operations.
[0070] The present application also provides an optional transaction processing method, which is applied to a transaction processing platform. Figure 3 is a schematic diagram of a transaction processing platform provided according to an embodiment of the present application, such as Figure 3 As shown, the platform includes an application module, a viewing module, a to-do module, a parameter management module, a statistical report module and an opinion box module. The application module is an entry for users to apply for transactional workflows, including five submenus such as equipment maintenance, equipment application, branch environment and facility maintenance, item request, and item delivery. Users can select the corresponding menu according to the type of transaction applied for, start the process application, and start different processes according to user selection. In addition, the transaction processing platform can complete the application elements such as branch information and contacts based on existing knowledge, reducing user operations. Users only need to select the application type.
[0071] The above platform also includes a to-do module, which is an entry for users to handle transactional work. When the transactional workflow flows to a certain user for processing, a new to-do transaction information will be added to the to-do module of the user. Click on the information to enter the to-do transaction processing interface to process the transaction; the viewing module can provide users with an entry for viewing transactional work information, listing all transactional work information related to the current user, including processed and unprocessed transactions. Users can view detailed information on transactions through this module, including transaction type, application time, application elements, process status, etc.; the transaction management module is an entry for users to integrate relevant resource information, including equipment management, service company management, branch environment and facility maintenance type management, item management, synonym management and other parameter types; the statistical report module can provide management users with a comprehensive entry for viewing the processing status of various transactions, and make quantitative statistics on the occurrence and completion status of various transactions; the suggestion box module can collect user feedback information.
[0072] It should be noted that Figure 4 It is a schematic diagram of the method for identifying instruction information provided by an embodiment of the present application. As Figure 4 shown, to facilitate the user to complete the application elements, the transaction processing platform converts the natural language input by the user through voice into text by means of speech recognition technology and natural language processing technology, generates the user voice text through text preprocessing, and at the same time performs synonym screening by means of synonym pruning in the knowledge base: Since the knowledge base includes the mapping relationship table between the user voice text and the standard application elements, including several major elements such as parameter type, standard element, affiliated institution, and synonym, at this time, the platform can delimit the visible application element range of the user according to the parameter type, the user's affiliated institution, and the user role, and then screen out the synonym candidate set according to the corresponding relationship between the application elements and the synonyms. Further, the edit distance algorithm is used to measure the text similarity between the user input text and the synonyms in the synonym candidate set, so as to measure the similarity between the two texts. Finally, the application elements are selected based on the text similarity data.
[0073] For example, the target user inputs "The ATM is broken and needs to be repaired" through voice. Then it is recognized by the ASR speech recognition technology and converted into text: "The ATM is broken and needs to be repaired". After removing the stop words (such as "了", "的") in the text and performing part-of-speech tagging and other text preprocessing, the core words of the device type and the request type can be accurately identified, that is, the preprocessed text is obtained as: "ATM, need, repair".
[0074] Furthermore, the synonym knowledge base can be called to find the synonyms related to "ATM" and "repair". For example, the synonyms of "ATM" can be: "ATM", "cash dispenser"; the synonyms of "repair" can be: "repair", "maintenance". The platform screens out the most relevant synonym set according to the type of application elements and the institutional level of the user, and forms the candidate application element information. Then the edit distance algorithm is used for ranging, and by calculating the edit distance between the text after the user's speech recognition and each synonym in the synonym set, for example, calculating the edit distance between the text and "ATM" and "cash dispenser" respectively, the synonym with the smallest distance is found to improve the matching accuracy.
[0075] After setting the similarity threshold, the TopK most similar synonyms can be selected from the calculation results, that is, the K synonyms with the smallest edit distance. For example, if the edit distance between "cash dispenser" and "ATM" is the smallest, at this time, "cash dispenser" is the most matching synonym. After determining the most matching synonym "cash dispenser", the synonym can be mapped to the specific parameters in the knowledge base, and based on the above parameters and the processing process, a device repair request is returned and then pushed to the client.
[0076] Figure 5is a schematic diagram of the processing flow of equipment maintenance affairs provided in an embodiment of the present application, such as Figure 5 As shown in the figure, when the transaction is an equipment maintenance transaction, the processing flow is as follows: When the applicant user finds that the equipment has a fault and cannot provide services normally, the application module submits an equipment maintenance request, which includes the equipment type, fault type and response time limit. The request is sent to the approval user for approval. If multiple approval levels are involved, they are approved level by level. After the approval user approves and agrees, it is pushed to the service user responsible for equipment maintenance. The service user views the maintenance request on the platform, confirms that the information is correct, and selects "accept order" to process. The service user performs fault inspection and maintenance according to the received maintenance request. After the service user successfully repairs, the platform marks "repair completed" and confirms that the equipment has returned to normal working state; if the maintenance is not completed, the reason and estimated completion time need to be indicated, and the maintenance is completed within this time period. After the service user completes the maintenance, the applicant receives feedback from the platform, and goes to the site to confirm that the equipment has been repaired and can operate normally, and finally confirms the completion of the equipment maintenance process through the platform.
[0077] Figure 6 is a schematic diagram of the processing flow of a device application transaction provided in an embodiment of the present application, such as Figure 6 As shown in the figure, when the transaction is a device claim transaction, the processing flow is as follows:
[0078] When an applicant needs to apply for a certain device, he / she submits a device application request through the application module. The request includes the device type, model, quantity, and response time limit. The request is then sent to the approving user for approval. After receiving the application, the approving user confirms the completeness and necessity of the information and selects "Approve". If the number of devices applied for is large or involves hierarchical procurement, multi-level approval is required. When the approval result indicates that the application is not approved, the situation needs to be explained to the applicant; after approval, the application information will be pushed to the service user responsible for logistics and distribution. After the service user views the equipment application details through the platform and confirms that the application information is correct, he / she selects "Accept Order" to process. The goods are then picked up, packed, and delivered to the store. During the delivery process, the service user ensures that the equipment is intact and meets the application requirements of the outlet.
[0079] If the device is lost or damaged, the service user will first deal with these issues to ensure that the device can be delivered to the outlet intact. Only after the problem is resolved can the service user confirm the order on the platform. After the outlet receives the device, the applicant performs the "Confirm Receipt" operation through the platform, indicating that the device has arrived safely and meets the claim requirements, and completes the "Confirm Transaction Completion Status" on the platform, which means that the device claim process is complete.
[0080] Figure 7 is a schematic diagram of the processing flow of environmental maintenance affairs provided in accordance with an embodiment of the present application, such as Figure 7 As shown in the figure, when the transaction is an environmental maintenance transaction, the processing flow is as follows: When the air conditioning system of a certain outlet fails, resulting in an unsuitable temperature inside the outlet, affecting the comfort of customers and employees, the applicant submits a maintenance request through the platform. The application includes the type of faulty facility, fault description, and expectation of response time. Then the request is sent to the approval user for approval. After receiving the application, the approval user selects "Approve". If multiple approval levels are designed, approval is required level by level. If the approval is not approved, the situation needs to be explained to the applicant; after approval, the application information is pushed to the service user responsible for the maintenance of the outlet's environmental facilities. The service user views the maintenance request on the platform, confirms that the information is correct, and selects "Accept Order". Then the service user goes to the faulty outlet for on-site inspection and maintenance according to the application information. When the service user successfully repairs the air conditioner, the platform marks "Repair Completed" to confirm that the equipment has returned to normal working status. If the problem cannot be solved during the first visit, the service user needs to indicate the reason for the failure and the estimated completion time on the platform and apply for secondary or subsequent maintenance. After receiving the notification that the service user has completed the maintenance, the applicant goes to the site to confirm that the air conditioning system has indeed returned to normal operation. The applicant confirms the completion of the maintenance process through the platform and evaluates the service.
[0081] Figure 8 is a schematic diagram of the processing flow of equipment application affairs provided in an embodiment of the present application, such as Figure 8 As shown in the figure, when the transaction is a device claim transaction, the processing flow is as follows: When the printer of the outlet needs to refill the ink cartridge, the applicant submits the device claim request through the platform. The application includes the item type, quantity and response time limit. Then the request is sent to the approval user for approval. After receiving the application, the approval user selects "Approve". If multiple approval levels are designed, approval is required level by level. If the approval is not approved, the situation needs to be explained to the applicant; after approval, the claim information is pushed to the service user responsible for delivering consumables. After receiving the delivery task, the service user will carry out the distribution and packaging, and arrange logistics or direct delivery to deliver the packaged ink cartridges to the outlet; if there is no stock, the order needs to be returned and the applicant user needs to be contacted to explain the reason. After the ink cartridges are delivered to the outlet, it is necessary to confirm that the quantity and quality of the items are correct, and then mark "Confirmation Completed" on the platform to close the item claim process.
[0082] Fig. 9 is a schematic diagram of the processing flow of the device dispatch transaction provided in accordance with an embodiment of the present application, such as Fig. 9As shown in the figure, when the transaction is an equipment delivery transaction, the processing flow is as follows: When the organization delivers office supplies to the outlets, the service user selects "Distribute", then selects the type of items to be delivered and their quantity, and specifies the receiving outlets. After completing the application for item delivery, the platform generates an order and notifies the service user responsible for logistics delivery of the delivery information via email or internal system messages. After receiving the email notification, the service user logs in to the "Service User" section of the platform, confirms that the order information is correct, and selects "Accept Order" to officially start the delivery process. The service user goes to the designated location to pick up and pack the goods according to the order information to ensure that the items are safe and intact. According to the delivery requirements and time limits of the order, the logistics delivery is arranged to ensure that the items are delivered to the receiving outlets within the specified time.
[0083] If any abnormal situation occurs during the delivery of the item, such as loss or damage, the service user will promptly provide feedback through the platform, explain the situation, and take remedial measures. After receiving the item, the service user will check it against the order information. After checking that it is correct, select "Confirm Receipt", marking the completion of the item delivery process.
[0084] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0085] Example 2
[0086] The embodiment of the present application also provides a transaction processing device. It should be noted that the transaction processing device of the embodiment of the present application can be used to execute the transaction processing method provided by the embodiment of the present application. The transaction processing device provided by the embodiment of the present application is introduced below.
[0087] According to an embodiment of the present application, a device for implementing the above transaction processing method is also provided. Fig.10 is a schematic diagram of a transaction processing device provided according to an embodiment of the present application, such as Fig.10 As shown, the device includes: an acquisition unit 1000, a receiving unit 1001, a completion unit 1002, and a determination unit 1003.
[0088] The acquisition unit 1000 is used to acquire a transaction processing request sent by a target user, and determine initial transaction information according to the transaction processing request, wherein the initial transaction information includes a transaction type of the transaction to be processed;
[0089] The receiving unit 1001 is used to receive the instruction information sent by the target user, identify the instruction information, and obtain the application element information, wherein the application element information is used to represent the keywords in the transaction to be processed;
[0090] A completion unit 1002 is used to complete the initial transaction information of the transaction processing request according to the application element information to obtain a target transaction request;
[0091] The determining unit 1003 is configured to determine a target client according to the transaction type, and send the target transaction request to the target client.
[0092] The transaction processing device provided by the embodiment of the present application obtains the transaction processing request sent by the target user through the acquisition unit 1000, and determines the initial transaction information according to the transaction processing request, wherein the initial transaction information includes the transaction type of the transaction to be processed; the receiving unit 1001 receives the instruction information sent by the target user, identifies the instruction information, and obtains the application element information, wherein the application element information is used to characterize the keywords in the transaction to be processed; the completion unit 1002 completes the initial transaction information of the transaction processing request according to the application element information to obtain the target transaction request; the determination unit 1003 determines the target client according to the transaction type, and sends the target transaction request to the target client, thereby solving the technical problem of low processing efficiency when processing comprehensive transactions in the related technology, by determining the initial transaction information according to the transaction processing request sent by the target user, determining the application element information according to the instruction information, and completing the initial transaction information of the transaction processing request according to the application element information to obtain the target transaction request; determining the target client according to the transaction type, and sending the target transaction request to the target client, thereby achieving the technical effect of improving the management efficiency of comprehensive transactions.
[0093] Optionally, in the transaction processing device provided in the embodiment of the present application, the receiving unit 1001 includes: a processing module, used to perform voice recognition processing on the voice instruction to obtain an initial voice text; a first acquisition module, used to obtain M candidate application element information, and calculate the similarity between the initial voice text and each candidate application element information to obtain M text similarity data, where M is a positive integer; a first screening module, used to screen out application element information from the M candidate application element information according to the text similarity data.
[0094] Optionally, in the transaction processing device provided in the embodiment of the present application, the receiving unit 1001 includes: a second acquisition module, used to obtain an element mapping relationship table from a database, and obtain a target function type in the user verification information of the target user, wherein the element mapping relationship table includes multiple function types, standard application elements, and synonyms associated with the standard application elements; a second screening module, used to screen out M standard application elements from the element mapping relationship table according to the target function type, and determine the M standard application elements and the synonyms associated with each standard application element as M candidate application element information.
[0095] Optionally, in the transaction processing device provided in the embodiment of the present application, the receiving unit 1001 includes: a third acquisition module, used to obtain synonyms associated with a candidate application element information; a first calculation module, used to calculate the edit distance between the initial voice text and the synonym according to the edit distance algorithm to obtain the text edit distance; a third screening module, used to filter out the text length with the largest number of characters from the synonyms and the initial voice text to obtain character text data; a second calculation module, used to calculate the ratio of the text edit distance to the character text data to obtain the text ratio, and calculate the difference between the preset parameter and the text ratio to obtain the text similarity data associated with the candidate application element information.
[0096] Optionally, in the transaction processing device provided in the embodiment of the present application, the receiving unit 1001 includes: a fourth acquisition module, which is used to obtain, for the i-th character of the initial voice text, a character combination of the first text character to the i-th text character in the initial voice text to obtain a first character string, and obtain a character combination of the first synonym character to the i-th synonym character in the synonym to obtain a second character string, wherein i is greater than or equal to 1 and less than or equal to N, and i is a positive integer; a first determination module, which is used to determine the edit distance between the first character string and the second character string according to an edit distance algorithm to obtain N character edit distances; a construction module, which is used to construct a character matrix according to the N character edit distances to obtain an initial character matrix; a completion module, which is used to complete elements of the initial character matrix to obtain a target character matrix, and determine the text edit distance by the values of the elements at preset positions in the target character matrix.
[0097] Optionally, in the transaction processing device provided in the embodiment of the present application, the receiving unit 1001 includes: a second determination module, used to determine a similarity threshold, and filter out Y text similarity data greater than the similarity threshold from M text similarity data, where Y is a positive integer; a sorting module, used to sort the Y text similarity data in descending order to obtain a text sequence, and determine the candidate application element information associated with the text similarity data at a preset position in the text sequence as the application element information.
[0098] Optionally, in the transaction processing device provided in the embodiment of the present application, the determination unit 1003 includes: a sending module, used to send the target transaction request to the client associated with the approval object; an identification module, used to identify the secondary approval information when receiving the secondary approval information fed back by the client associated with the approval object, wherein the secondary approval information is used to characterize whether there is an abnormality in the target transaction request; and an execution module, used to execute the step of sending the target transaction request to the target client when the secondary approval information characterizes that there is no abnormality in the target transaction request.
[0099] It should be noted here that the above-mentioned acquisition unit 1000, receiving unit 1001, completion unit 1002, and determination unit 1003 correspond to steps S201 to S204 in Example 1, and the two modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units can be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n), and the above-mentioned units can also be part of the device and can be run in the computer terminal 10 provided in Example 1.
[0100] Example 3
[0101] The embodiment of the present application may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal or an electronic device.
[0102] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0103] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the transaction processing method: obtain the transaction processing request sent by the target user, determine the initial transaction information according to the transaction processing request, wherein the initial transaction information includes the transaction type of the transaction to be processed; receive the instruction information sent by the target user, identify the instruction information, and obtain the application element information, wherein the application element information is used to characterize the keywords in the transaction to be processed; complete the initial transaction information of the transaction processing request according to the application element information to obtain the target transaction request; determine the target client according to the transaction type, and send the target transaction request to the target client.
[0104] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the transaction processing method: perform voice recognition processing on the voice instruction to obtain an initial voice text; obtain M candidate application element information, calculate the similarity between the initial voice text and each candidate application element information, and obtain M text similarity data, where M is a positive integer; and filter out the application element information from the M candidate application element information based on the text similarity data.
[0105] Optionally, the computer terminal may execute the program code of the following steps in the transaction processing method: obtaining an element mapping relationship table from a database, and obtaining a target function type from the user verification information of a target user, wherein the element mapping relationship table includes multiple function types, standard application elements, and synonyms associated with the standard application elements; screening out M standard application elements from the element mapping relationship table according to the target function type, and determining the M standard application elements and the synonyms associated with each standard application element as M candidate application element information.
[0106] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the transaction processing method: for a candidate application element information, obtain the synonyms associated with the candidate application element information; calculate the edit distance between the initial voice text and the synonym according to the edit distance algorithm to obtain the text edit distance; filter out the text length with the largest number of characters from the synonyms and the initial voice text to obtain character text data; calculate the ratio of the text edit distance to the character text data to obtain the text ratio, and calculate the difference between the preset parameter and the text ratio to obtain the text similarity data associated with the candidate application element information.
[0107] Optionally, the computer terminal may execute the following program code of the transaction processing method: for the i-th character of the initial voice text, obtain the character combination of the first text character to the i-th text character in the initial voice text to obtain a first character string, and obtain the character combination of the first synonym character to the i-th synonym character in the synonym to obtain a second character string, wherein i is greater than or equal to 1 and less than or equal to N, and i is a positive integer; determine the edit distance between the first character string and the second character string according to an edit distance algorithm to obtain N character edit distances; construct a character matrix according to the N character edit distances to obtain an initial character matrix; complete the elements of the initial character matrix to obtain a target character matrix, and determine the text edit distance by the values of the elements at preset positions in the target character matrix.
[0108] Optionally, the computer terminal may execute the program code of the following steps in the transaction processing method: determining a similarity threshold, screening out Y text similarity data greater than the similarity threshold from M text similarity data, where Y is a positive integer; sorting the Y text similarity data in descending order to obtain a text sequence, and determining the candidate application element information associated with the text similarity data at a preset position in the text sequence as the application element information.
[0109] Optionally, the computer terminal may execute the following program codes of the transaction processing method: sending the target transaction request to the client associated with the approval object; identifying the secondary approval information fed back by the client associated with the approval object, wherein the secondary approval information is used to characterize whether there is an abnormality in the target transaction request; and executing the step of sending the target transaction request to the target client when the secondary approval information indicates that there is no abnormality in the target transaction request.
[0110] Optionally, Fig.11 is a structural block diagram of an electronic device according to an embodiment of the present application. Fig.11 As shown, the electronic device may include: one or more ( Fig.11 (only one is shown) processor 1102, memory 1104, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0111] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the transaction processing method and device in the embodiment of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned transaction processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0112] The processor can call the information and application programs stored in the memory through the transmission device to execute the above steps in the above transaction processing method.
[0113] By adopting the embodiment of the present application, a solution for processing transactions is provided. By acquiring a transaction processing request sent by a target user, initial transaction information is determined according to the transaction processing request, wherein the initial transaction information includes the transaction type of the transaction to be processed; receiving instruction information sent by the target user, identifying the instruction information, and obtaining application element information, wherein the application element information is used to characterize keywords in the transaction to be processed; completing the initial transaction information of the transaction processing request according to the application element information, and obtaining a target transaction request; determining a target client according to the transaction type, and sending the target transaction request to the target client, thereby achieving the technical effect of improving the management efficiency of comprehensive transactions, and further solving the technical problem of low processing efficiency when processing comprehensive transactions.
[0114] It can be understood by those skilled in the art that Fig.11 The structure shown is for illustration only, and the electronic device may also be a smart phone, a tablet computer, a PDA, a mobile Internet device (MID), a PAD or other terminal device. Fig.11 The structure of the electronic device is not limited. Fig.11 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Fig.11 Different configurations are shown.
[0115] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0116] Example 4
[0117] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the transaction processing method provided in the first embodiment.
[0118] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0119] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: obtaining a transaction processing request sent by a target user, determining initial transaction information based on the transaction processing request, wherein the initial transaction information includes a transaction type of the transaction to be processed; receiving instruction information sent by the target user, identifying the instruction information, and obtaining application element information, wherein the application element information is used to characterize keywords in the transaction to be processed; completing the initial transaction information of the transaction processing request based on the application element information to obtain a target transaction request; determining a target client based on the transaction type, and sending the target transaction request to the target client.
[0120] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing the program of the transaction processing method steps.
[0121] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0122] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0123] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0124] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0125] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0126] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0127] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A transaction processing method, characterized in that: include: Acquire a transaction processing request sent by a target user, and determine initial transaction information according to the transaction processing request, wherein the initial transaction information includes a transaction type of the transaction to be processed; Receiving instruction information sent by the target user, identifying the instruction information, and obtaining application element information, wherein the application element information is used to represent keywords in the transaction to be processed; Completing the initial transaction information of the transaction processing request according to the application element information to obtain a target transaction request; A target client is determined according to the transaction type, and the target transaction request is sent to the target client.
2. The method according to claim 1, characterized in that In the case where the instruction information is a voice instruction, the instruction information is identified, and the application element information obtained includes: Performing voice recognition processing on the voice command to obtain an initial voice text; Obtaining M candidate application element information, calculating the similarity between the initial speech text and each candidate application element information, and obtaining M text similarity data, where M is a positive integer; The application element information is screened out from the M candidate application element information according to the text similarity data.
3. The method according to claim 2, characterized in that The M candidate application element information is obtained including: Obtaining an element mapping relationship table from a database, and obtaining a target function type in the user authentication information of the target user, wherein the element mapping relationship table includes a plurality of function types, standard application elements, and synonyms associated with the standard application elements; M standard application elements are screened out from the element mapping relationship table according to the target function type, and the M standard application elements and synonyms associated with each standard application element are determined as the M candidate application element information.
4. The method according to claim 2, characterized in that: The similarity between the initial voice text and each candidate application element information is calculated to obtain M text similarity data including: For a candidate application element information, obtaining a synonym associated with the candidate application element information; Calculating the edit distance between the initial speech text and the synonym according to the edit distance algorithm to obtain the text edit distance; Filter out the text length with the largest number of characters from the synonyms and the initial voice text to obtain character text data; The ratio of the text edit distance to the character text data is calculated to obtain a text ratio, and the difference between a preset parameter and the text ratio is calculated to obtain text similarity data associated with the candidate application element information.
5. The method according to claim 4, characterized in that In the case where the initial voice text includes N characters, N is a positive integer, and the edit distance between the initial voice text and the synonym is calculated according to the edit distance algorithm, the text edit distance obtained includes: For the i-th character of the initial voice text, obtain the character combination of the first text character to the i-th text character in the initial voice text to obtain a first character string, and obtain the character combination of the first synonym character to the i-th synonym character in the synonym to obtain a second character string, wherein i is greater than or equal to 1 and less than or equal to N, and i is a positive integer; Determine the edit distance between the first character string and the second character string according to the edit distance algorithm to obtain N character edit distances; Construct a character matrix according to the N character edit distances to obtain an initial character matrix; The initial character matrix is element-completed to obtain a target character matrix, and the text edit distance is determined by the values of elements at preset positions in the target character matrix.
6. The method according to claim 2, characterized in that The application element information selected from the M candidate application element information according to the text similarity data includes: Determine a similarity threshold, and select Y text similarity data greater than the similarity threshold from the M text similarity data, where Y is a positive integer; The Y text similarity data are sorted in descending order to obtain a text sequence, and the candidate application element information associated with the text similarity data at a preset position in the text sequence is determined as the application element information.
7. The method according to claim 1, characterized in that Sending the target transaction request to the target client includes: Sending the target transaction request to a client associated with the approval object; In the case of receiving secondary approval information fed back by the client associated with the approval object, identifying the secondary approval information, wherein the secondary approval information is used to indicate whether there is an abnormality in the target transaction request; When the secondary approval information indicates that there is no abnormality in the target transaction request, the step of sending the target transaction request to the target client is performed.
8. A transaction processing device, characterized in that: include: an acquisition unit, configured to acquire a transaction processing request sent by a target user, and determine initial transaction information according to the transaction processing request, wherein the initial transaction information includes a transaction type of the transaction to be processed; A receiving unit, configured to receive instruction information sent by the target user, identify the instruction information, and obtain application element information, wherein the application element information is used to represent keywords in the transaction to be processed; A completion unit, configured to complete the initial transaction information of the transaction processing request according to the application element information to obtain a target transaction request; A determination unit is used to determine a target client according to the transaction type, and send the target transaction request to the target client.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute the transaction processing method described in any one of claims 1 to 7.
10. An electronic device, characterized in that: include: A memory storing an executable program; A processor is used to run the program, wherein the program, when running, executes the transaction processing method described in any one of claims 1 to 7.
11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the transaction processing method described in any one of claims 1 to 7 are implemented.