Data processing method and device, equipment, storage medium and product
By configuring rules in the resource return business and automatically processing resource return operations, the problem of low processing efficiency under different business forms and return methods is solved, and efficient resource return data processing is achieved.
Patent Information
- Application Number
- CN202411539280.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-08-01
AI Technical Summary
The processing efficiency of resource return services in different business forms and return methods is low. The existing technology requires frequent manual adjustments, resulting in complex and inefficient processing.
By pre-configuring resource return rules, responding to data processing requests, obtaining application forms and resource return contracts, determining matching information, and automatically processing resource return operations to realize data processing in different scenarios.
The processing efficiency of resource return service is improved, so that no matter the return method, resource return operations can be performed directly through the application form, which improves processing efficiency.
Smart Images

Figure CN120410418A_ABST
Abstract
Description
Technical Field
[0001] This application relates to data processing technologies, and in particular, to a data processing method, apparatus, device, storage medium, and product. Background Art
[0002] With the development of enterprise business, there may be resource interactions between enterprises or between enterprises and individuals. To enable the return object (individual or enterprise) to have a better return experience when returning resources to an enterprise, the enterprise usually provides multiple resource return methods.
[0003] As the business forms of each enterprise continue to change, the resource return products for different business forms are diverse. However, for different return methods corresponding to different business scenarios and return objects, the contract types, transaction records, etc. applied vary in all aspects. This makes the data processing during resource return by the return object complex and results in low processing efficiency of the resource return business. Summary of the Invention
[0004] Embodiments of this application provide a data processing method, apparatus, device, medium, and product, which can realize automatic processing of data in different resource return scenarios and improve the processing efficiency of the resource return business.
[0005] The technical solution of the embodiments of this application is implemented as follows:
[0006] Embodiments of this application provide a data processing method, and the method includes:
[0007] In response to a data processing request, determine the application form of the data processing request, the resource return contract associated with the application form, and the resource return rule that matches the application form; determine, according to the resource return rule, the first matching information corresponding to the resource element of the resource return rule in the application form, and determine the second matching information corresponding to the resource element in the first resource return record within the first time period; based on the first matching information and the second matching information, determine the second resource return record that matches the application form; and perform the resource return operation of the data processing request based on the second resource return record and the resource return contract.
[0008] Embodiments of this application provide a data processing apparatus, including:
[0009] A first determination module, configured to, in response to a data processing request, determine the application form of the data processing request, the resource return contract associated with the application form, and the resource return rule that matches the application form;
[0010] A second determination module, configured to determine first matching information corresponding to a resource element in the resource return rule in the requisition form, and second matching information corresponding to the resource element in the first resource return record within a first time period;
[0011] A third determination module, configured to determine a second resource return record matching the requisition form based on the first matching information and the second matching information;
[0012] A return module, configured to perform a resource return operation requested by the data processing request based on the second resource return record and the resource return contract.
[0013] An embodiment of the present application provides an electronic device, where the electronic device includes:
[0014] A memory, configured to store computer-executable instructions or a computer program;
[0015] A processor, configured to implement the data processing method provided by the embodiment of the present application when executing the computer-executable instructions or the computer program stored in the memory.
[0016] An embodiment of the present application provides a computer-readable storage medium, storing a computer program or computer-executable instructions, which are configured to implement the data processing method provided by the embodiment of the present application when being executed by a processor.
[0017] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions, where the computer program or computer-executable instructions implement the data processing method provided by the embodiment of the present application when being executed by a processor.
[0018] The embodiment of the present application has the following beneficial effects:
[0019] Through the above embodiments, by pre-configuring different resource return rules for different resource return scenarios, in response to a data processing request for resource return, after obtaining the requisition form in the data processing request, the resource return contract corresponding to the requisition form, and the resource return rule matching the requisition form, a second resource return record matching the requisition form can be determined in the first resource return record based on the resource element in the resource return rule, so as to perform a resource return operation based on the second resource return record and the resource return contract, and implement the data processing operation of this resource return behavior. In this way, different resource return rules are configured for different resource return scenarios, which can enable the resource return operation to be directly performed through the resource return rule matching the requisition form regardless of the return method used by the return object, thereby improving the processing efficiency of the resource return service. Description of the Drawings
[0020] Figure 1 is a schematic structural diagram of the data processing system architecture provided by the embodiments of the present application;
[0021] Figure 2 is a schematic structural diagram of the electronic device provided by the embodiments of the present application;
[0022] Figure 3A is the first process schematic diagram of the data processing method provided by the embodiments of the present application;
[0023] Figure 3B is the second process schematic diagram of the data processing method provided by the embodiments of the present application;
[0024] Figure 3C is the process schematic diagram of the method for determining the resource return rule provided by the embodiments of the present application;
[0025] Figure 3D is the process schematic diagram of the method for determining the second resource return record provided by the embodiments of the present application;
[0026] Figure 4A is the first schematic diagram of creating a rule library provided by the embodiments of the present application;
[0027] Figure 4B is the second schematic diagram of creating a rule library provided by the embodiments of the present application;
[0028] Figure 5 is the schematic diagram of the resource return rule library provided by the embodiments of the present application;
[0029] Figure 6A is the first process schematic diagram of the resource return process provided by the embodiments of the present application;
[0030] Figure 6B is the second process schematic diagram of the resource return process provided by the embodiments of the present application.
[0031] It should be noted that the above "first" and "second" are only used to distinguish different solutions, and do not represent the distinction of the advantages and disadvantages of the solutions or the priority in the implementation process. Detailed implementation manners
[0032] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations of the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0033] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it is understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0034] In the following description, the terms "first", "second", and "third" are only used to distinguish similar objects and do not represent a specific order for the objects. It is understood that "first", "second", and "third" can be interchanged in a specific order or sequence when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0035] In the embodiments of the present application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of the overall module or unit that includes the function of that module or unit.
[0036] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meaning as commonly understood by those skilled in the art to which the present application belongs. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0037] In the embodiments of the present application, when collecting and processing relevant data in actual applications, it should strictly comply with the requirements of relevant laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope authorized by laws and regulations and the personal information subject.
[0038] Before further elaborating on the embodiments of the present application, the nouns and terms involved in the embodiments of the present application are described, and the nouns and terms involved in the embodiments of the present application are subject to the following explanations.
[0039] 1) Write-off refers to the process of checking and eliminating the records of resource return and flow in the process of enterprise resource management. The main purpose of this process is to ensure the clarity and accuracy of resource quantities, avoid duplicate records, and improve resource management efficiency. In different scenarios, the application and operation of write-off may vary slightly.
[0040] [[ID=2I]]2) Clearing refers to the process of carefully classifying, sorting, and checking the records of resource returns to ensure that the source and destination of each resource are clearly recorded and identified. This process is crucial for any organization or individual that needs to monitor and manage resource flows in detail.
[0041] With the development of society, there are more and more resource interactions between enterprises and between enterprises and individuals. The resource return methods used in the resource interactions between the two parties are also becoming more and more diverse. In the scenario of resource interaction between an individual and an enterprise, if the enterprise provides resource support to the individual, the individual needs to return the resources provided to the enterprise. Hereinafter, the individuals who initiate resource return to the enterprise are collectively referred to as return objects. In order to provide a better experience and flexible resource return methods for the return objects, the enterprise can provide a resource account for the return objects so that the return objects can return resources to the enterprise through various resource return methods. After the return object completes the resource return, the enterprise's resource management system needs to complete the data processing operation of the resource return according to the return situation of the return object, such as the resource return operation, to standardize the resource management.
[0042] With the business development of each enterprise, its business form is constantly changing, and the products of different business forms are diversified. However, for different business products and different resource return methods of return objects, there are differences in various aspects such as contract types and transaction records. In the related art, for different resource return methods, in addition to manually processing the resource return by the enterprise, different return processing processes can also be customized for different products. However, the methods in the related art cause the enterprise to frequently change its business during the resource return processing, resulting in a low processing efficiency of the resource return business.
[0043] The embodiments of the present application provide a data processing method, device, equipment, medium and product, which can realize the automatic processing of data in different resource return scenarios and improve the processing efficiency of the resource return business.
[0044] See Figure 1 , Figure 1 is a schematic architecture diagram of the data processing system 100 provided by the embodiments of the present application. To support a data processing application, terminals (exemplarily showing terminals 400-1 and 400-2) are connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.
[0045] The user can fill in the resource return application information on the terminal (such as terminal 400-1, terminal 400-2), and send the resource return application data corresponding to the resource return application information to the server 200 through the terminal (such as terminal 400-1, terminal 400-2).
[0046] The server 200 is configured to create an application form based on the received resource return application data and generate a data processing request. In response to the data processing request, the server 200 obtains the application form and the resource return contract associated with the application form; determines a resource return rule that matches the application form based on the second attribute information in the application form; determines first matching information corresponding to the resource element of the resource return rule in the application form, and determines second matching information corresponding to the resource element in the first resource return record within the first time period; determines a second resource return record that matches the application form based on the first matching information and the second matching information; and performs the resource return operation requested by the data processing request based on the second resource return record and the resource return contract.
[0047] In some embodiments, the terminal (e.g., terminal 400-1, terminal 400-2) of the embodiments of the present application may be implemented as various types of terminals such as a laptop computer, a tablet computer, a desktop computer, a set-top box, a smart phone, a smart speaker, a smart watch, a smart TV, and a vehicle-mounted terminal.
[0048] In some embodiments, the server 200 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. The terminal (e.g., terminal 400-1, terminal 400-2) and the server 200 may be directly or indirectly connected through wired or wireless communication means, which is not limited in the embodiments of the present application.
[0049] See Figure 2 , Figure 2 is a schematic structural diagram of the electronic device 400 provided by the embodiments of the present application. Figure 2 The illustrated electronic device 400 includes: at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. Each component in the electronic device 400 is coupled together through a bus system 440. It can be understood that the bus system 440 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 440 further includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 2 all kinds of buses are labeled as the bus system 440.
[0050] The processor 410 can be an integrated circuit chip with the ability to process signals, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0051] The user interface 430 includes one or more output devices 431 that enable the presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, a mouse, a microphone, a touch screen display, a camera, other input buttons, and controls.
[0052] The memory 450 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disc drives, etc. The memory 450 optionally includes one or more storage devices that are physically remote from the processor 410.
[0053] The memory 450 includes volatile memory or non-volatile memory, and may also include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), and the volatile memory can be random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0054] In some embodiments, the memory 450 is capable of storing data to support various operations. Examples of such data include programs, modules, and data structures, or subsets or supersets thereof, which are exemplarily described below.
[0055] The operating system 451 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0056] The network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include: Bluetooth, Wi-Fi (Wireless Fidelity), and Universal Serial Bus (USB), etc.;
[0057] A presentation module 453 for enabling presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 associated with the user interface 430 (e.g., a display screen, a speaker, etc.);
[0058] An input processing module 454 for detecting and translating one or more user inputs or interactions from one of one or more input devices 432.
[0059] In some embodiments, the data processing device provided by the embodiments of the present application may be implemented in software. Figure 2 Shown is a data processing device 455 stored in the memory 450, which may be software in the form of programs and plugins, etc., including the following software modules: a first determination module 4551, a second determination module 4552, a third determination module 4553, and a return module 4554. These modules are logical, so they can be combined arbitrarily or further split according to the implemented functions. The functions of each module will be described below.
[0060] In other embodiments, the data processing device provided by the embodiments of the present application may be implemented in hardware. As an example, the device provided by the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the data processing method provided by the embodiments of the present application. For example, a processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components.
[0061] Next, the data processing method provided by the embodiments of the present application will be described with reference to the accompanying drawings. As mentioned above, the electronic device for implementing the data processing method of the embodiments of the present application may be a terminal (e.g., terminal 400-1, terminal 400-2), a server 200, or a combination of both. Therefore, the execution subject of each step will not be repeated hereinafter.
[0062] Taking the execution subject as the server 200 as an example, the data processing method of the embodiments of the present application will be described. Refer to Figure 3A , Figure 3AIt is a schematic flowchart of the data processing method provided by an embodiment of the present application, which will be described in conjunction with Figure 3A the steps shown.
[0063] In step 101, in response to a data processing request, obtain the application form of the data processing request, the resource return contract associated with the application form, and the resource return rule matching the application form.
[0064] In an embodiment of the present application, the resource management system can be built in the server 200. The resource management system can include multiple functional modules, such as an application form creation module, a matching module, a resource return operation module, and a verification module. After the application form creation module completes the creation of the application form, it can initiate a data processing request to the matching module. The matching module, in response to the data processing request, obtains the application form created by the application form creation module and the resource return contract associated with the application form. The resource return contract records the contract information reached between the return object and the enterprise on the enterprise's business products.
[0065] In some embodiments, referring to Figure 3B , before step 101, the application form can be created and the association relationship between the application form and the resource return contract can be established through steps 105 to 106.
[0066] In step 105, in response to an application form creation request, obtain the resource return application data and the resource return contract.
[0067] As an example, the return object can input resource return application information on the terminal it uses to inform the enterprise of information such as its resource return time, etc. When the return object submits the resource return application data corresponding to the resource return application information to the server 200 through the terminal it uses. When the application form creation module of the resource management system deployed in the server 200 receives the resource return application information, it generates and, in response to the application form creation request, obtains the resource return application data submitted by the return object.
[0068] As an example, the return object can also directly return resources to the enterprise. Then, when the resource management system receives the resource return record generated by the return object's current resource return, it obtains information such as the resource return record, the resource return channel of the return object, and the resource return type, and automatically integrates the obtained information to obtain the resource return application data corresponding to the return object.
[0069] In actual implementation, the resource return application data can include the contract number of the resource return contract. After obtaining the resource return application data, the resource return contract consistent with the contract number can be determined according to the contract number in the resource return application data.
[0070] In step 106, data verification is performed on the resource return application data based on the first verification rule to obtain a first verification result, and based on the second verification rule, verification is performed on the application form creation conditions corresponding to the resource return contract to obtain a second verification result.
[0071] In the embodiment of the present application, since in the case of different business products, different resource return channels, and different resource return types, the information and formats required for the resource return contract and the application form are different, and there will be differences in all aspects. Therefore, corresponding creation rules can be pre-configured for different business products, different resource return channels, different resource return types, etc. The creation rules can include a first verification rule, a second verification rule, and an application form creation rule. Among them, the first verification rule is used to perform data verification on the resource return application data, and the second verification rule is used to verify whether the application form creation conditions corresponding to the resource return contract are met.
[0072] In actual implementation, different creation rules may include different first verification rules, different second verification rules, and different application form creation rules.
[0073] As an example, attribute information in five aspects of business product, resource return channel, application type, resource return type, and return method can be configured in the creation rules, and different first verification rules, second verification rules, and application form creation rules can be configured according to different attribute information. The second attribute information included in the resource return application data can also be business product, resource return channel, application type, resource return type, return method, etc.
[0074] As an example, refer to Figure 4A , the creation rule library includes multiple (more than 2) pre-constructed creation rules (creation rule A... creation rule N). Among them, creation rule A is for: business product is "5103", resource return channel is "customer service", application type is "appointment return", resource return type is "installment return", and return method is "return by our company", and the rules are constructed. Creation rule A includes first verification rule A, second verification rule A, and application form creation rule A. Creation rule B is for: business product is "5710", resource return channel is "asset management", application type is "completed return", resource return type is "early settlement", and return method is "return by a third party", and the rules are constructed. Creation rule B includes first verification rule B, second verification rule B, and application form creation rule B.
[0075] As an example, for different verification rules, corresponding verification tools can also be constructed based on the verification logic represented by the verification rules; for different application form creation rules, corresponding creation tools can be constructed based on the creation logic represented by the application form creation rules. For example, for the first verification rule A, the first verification tool A is constructed; for the second verification rule B, the second verification tool B is constructed; for the application form creation rule A, the creation tool A is constructed, and the pre-constructed tools are stored in a specified tool library. In this way, when different creation rules are pre-constructed for different business products and other attributes, the verification tools and creation tools applicable to the attribute information configured in the creation rules can be selected from the tool library. After obtaining the resource return application data, the second attribute information included in the resource return application data can be used to match the attribute information in each creation rule in the creation rule library, and the creation rule that matches the resource return application data can be screened out in the creation rule library; the resource return application data is verified based on the first verification tool configured in the creation rule to obtain the first verification result, and the application form creation conditions corresponding to the resource return contract are verified based on the second verification tool configured in the creation rule to obtain the second verification result; when both the first verification result and the second verification result indicate passing, an application form is created through the creation tool configured in the creation rule.
[0076] As an example, refer to Figure 4B , Figure 4B the tool library shown in Figure 4B shows multiple first verification tools configured for different first verification rules, multiple second verification tools configured for different second verification rules, and multiple creation tools configured for different application form creation rules;
[0077] In some embodiments, Figure 3BIn step 106 shown, "performing data verification on the resource return application data based on the first verification rule to obtain a first verification result" can be implemented in the following manner: performing data integrity verification and data accuracy verification on the resource return application data based on the first verification rule to obtain an integrity verification result and an accuracy verification result; determining the first verification result based on the integrity verification result and the accuracy verification result.
[0078] In the embodiments of the present application, the first verification rule is a data verification rule, which may include an integrity verification rule for performing data integrity verification on the resource return application data and an accuracy verification rule for performing data accuracy verification on the resource return application data.
[0079] Data integrity verification can ensure that the resource return application data includes the information corresponding to all the fields that must be filled in the application form to be created, ensuring that there is no lack of important information when creating the application form. Data integrity verification may include verifications such as required information verification and data range verification, mainly to ensure that there should be no important gaps or exceed the predetermined limits in the data.
[0080] As an example, data integrity verification may include at least one of the following: required information verification, data range verification. Among them, required information verification can be implemented by verifying whether the information corresponding to all the required fields of the corresponding application form exists in the resource return application data, aiming to ensure that no information corresponding to the required fields in the application form is missed in the resource return application data; for example, in the application form, fields such as user name, resource return time, and return method are usually required items. Data range verification can be implemented by setting a range check to ensure that the values in the resource return application data fall within this range.
[0081] Data accuracy verification can ensure that the information in the resource return application data conforms to the expected format and type of the application form to be constructed. This may include format verification, uniqueness verification, etc., mainly to ensure that the data is accurate and error-free, without errors or malicious content.
[0082] As an example, data accuracy verification may include at least one of the following: format verification, data type verification, uniqueness verification, security verification, and consistency verification. Among them, format verification can verify the format of information by using regular expressions or other format checking mechanisms. This verification is to ensure that the information in the resource return application data meets specific format requirements; for example, contract codes and product codes of business products have specific structures and need to follow specific formats. Data type verification can be achieved through data type checking functions, such as checking whether a number is an integer or a floating point number. This verification can ensure that the information in the resource return application data is correctly entered as the specified data type; for example, an email address should be entered as a string, and a date should be entered in date format. Uniqueness verification can check whether a given piece of information already exists by querying the database. In some cases, it is necessary to ensure that the information entered in the resource return application data is unique, such as usernames or email addresses should not be repeated in the system. Security verification can reduce risks through security measures such as input filtering and output encoding. This verification can prevent malicious input, such as SQL injection or cross-site scripting attacks. Consistency verification can verify whether they match by comparing field values. This verification can ensure that the information between fields remains consistent.
[0083] Based on the above method, data integrity verification is performed on the resource return application data through the integrity verification rule in the first verification rule, and an integrity verification result can be obtained. Data accuracy verification is performed on the resource return application data through the accuracy verification rule in the first verification rule, and an accuracy verification result can be obtained. The first verification result is determined based on the integrity verification result and the accuracy verification result. When both the integrity verification result and the accuracy verification result indicate that the verification has passed, it is determined that the first verification result indicates that the verification has passed; when either the integrity verification result or the accuracy verification result indicates that the verification has not passed, it is determined that the first verification result indicates that the verification has not passed.
[0084] Performing data verification on the resource return application data based on the first verification rule can improve the data quality of the resource return application data, reduce errors and omissions, and ensure that the application form creation module can correctly create an application form. In addition, reasonable data verification can also enhance the user experience, guide users to correctly fill in the resource return application information through instant feedback, and avoid subsequent problems caused by incomplete or inaccurate information.
[0085] In some embodiments, Figure 3BIn step 106 shown above, "check the creation conditions of the application form corresponding to the resource return contract based on the second check rule to obtain the second check result" can be implemented in the following way: Check the consistency between the first contract information in the resource return contract and the second contract information in the resource return application data based on the second check rule to obtain a contract check result; Obtain the first quantity of the in-transit application form corresponding to the resource return contract, and the second quantity of the application form set in the resource return channel in the resource return application data, and check the magnitudes of the first quantity and the second quantity to obtain a quantity check result; Determine the second check result based on the contract check result and the quantity check result.
[0086] In actual implementation, the second check rule may include a contract check rule, which is used to check whether the second contract information in the resource return application data is consistent with the first contract information in the resource return contract. The second check rule may also include an in-transit quantity check rule, which is used to check the data of the in-transit application form currently existing in the resource return contract.
[0087] As an example, the process of checking based on the contract check rule in the second check rule may include: Obtain the first contract information in the resource return contract and the second contract information in the resource return application data; Check the consistency of the information of the first contract information and the second contract information on the same fields to obtain a contract check result. If the information of the first contract information and the second contract are consistent in all fields, the contract check result indicates that the check passes.
[0088] As an example, the process of checking based on the in-transit data check rule in the second check rule may include: Obtain the first quantity of the created in-transit application form currently corresponding to the resource return contract; Obtain the resource return channel in the resource return application data, and determine the second quantity of the application form set for this resource return channel; Here, the second quantity is the maximum quantity of the in-transit application form of the resource return contract corresponding to this resource return channel set for this resource return channel; Check the magnitudes of the first quantity and the second quantity to obtain a quantity check result. If the first quantity is greater than or equal to the second quantity, the quantity check result indicates that a new application form cannot be created based on the resource return application data. If the first quantity does not exceed the second quantity, the quantity check result indicates that the check passes, and a new application form can be created based on the resource return application data.
[0089] As an example, for different resource return channels, it is pre-agreed that the number of in-transit application forms existing in the resource return contracts under different resource return channels is different. For example, for the "customer service" resource return channel, it can be set that there can only be one in-transit application form in the resource return contract corresponding to this resource return channel, that is, the second quantity is 1; for the "asset management" resource return channel, it can be set that multiple in-transit application forms can exist simultaneously in the resource return contract corresponding to this resource return channel. If the resource return application data corresponds to the "customer service" resource return channel and the quantity verification result indicates that the first quantity is equal to the second quantity, it means that there is currently 1 in-transit application form in the resource return contract. In this case, there is no need to create a new application form based on the resource return application data, and the existing in-transit application form can be obtained and the in-transit application form can be updated according to the resource return application data.
[0090] In some embodiments, the second verification result can be determined in the following manner: when the contract verification result indicates that the first contract information is consistent with the second contract information and the quantity verification result indicates that the first quantity does not exceed the second quantity, determine the second verification result indicating that the application form creation condition corresponding to the resource return contract is satisfied.
[0091] In actual implementation, if the contract verification result indicates that there are inconsistencies between the first contract information and the second contract information, it can be directly determined that the second verification result indicates that the verification fails. At this time, the return object can be immediately informed to guide the return object to correctly fill in the resource return application information.
[0092] When the quantity verification result indicates that the first quantity does not exceed the second quantity, it is determined that the application form creation condition corresponding to the resource return contract is satisfied. On the premise that the contract verification result indicates that the first contract information is consistent with the second contract information, and the quantity verification result indicates that the application form creation condition is satisfied, it is determined that the second verification result indicates that the verification passes.
[0093] In step 107, when both the first verification result and the second verification result indicate that the verification passes, an application form is created based on the resource return application data, and the created application form is associated with the resource return contract.
[0094] As an example, see Figure 4B, if the resource return rule that matches the resource return application data is creation rule A, and the first verification result obtained by verifying the resource return application data through the first verification tool A in creation rule A indicates that the verification is passed, then continue to verify the consistency between the first contract information in the resource return contract and the second contract information in the resource return application data through the second verification tool A to obtain a contract verification result. When the contract verification result indicates that the first contract information and the second contract information are consistent, the second verification tool A verifies the size of the first quantity of the in-transit application form corresponding to the resource return contract and the second quantity set for the corresponding resource return channel to obtain a quantity verification result. When the quantity verification result indicates that the first quantity does not exceed the second quantity, an application form is created based on the resource return application data through the creation tool A, and at the same time, the created application form and the resource return contract are associated.
[0095] In some embodiments, referring to Figure 3C , Figure 3A the "determining the resource return rule that matches the application form" in step 101 shown in
[0096] In step 1011, obtain the first attribute information of the resource return rules in the resource return rule library.
[0097] In the embodiments of the present application, the application form created based on the resource return application data includes at least second attribute information such as business product, resource return channel, application type, resource return type, and return method.
[0098] In the embodiments of the present application, since attribute information such as business product, resource return channel, and application type will affect the data processing method or resource return record of resource return, different resource return rules can be configured for different business products, resource return channels, and application types.
[0099] As an example, Figure 5 shows a schematic diagram of the resource return rule library. Referring to Figure 5 , the resource return rule library includes multiple pre-configured resource return rules (such as rule A and rule B). Each resource return rule is configured with three first attribute information, which are the first attribute information corresponding to the business product, resource return channel, and application type respectively; the resource return rule is also configured with resource elements corresponding to the first attribute information and data processing tools.
[0100] As an example, referring to Figure 5Rule A, the first attribute information in Rule A includes: business product "5103", resource return channel "customer service", application type "appointment return"; the resource elements configured for this first attribute information include "resource account" and "resource quantity"; the data processing tool configured corresponding to this first attribute information is "self-operated processing tool".
[0101] When determining the resource return rule that the application form matches, it can be determined by the matching situation between the second attribute information of the application form and the first attribute information in the resource return rule.
[0102] In actual implementation, obtain the first attribute information corresponding to each resource return rule in the resource return rule library, and obtain the second attribute information in the application form that corresponds to the first attribute information in the corresponding fields. For example, if the first attribute information is the information corresponding to the three fields of business product, resource return channel, and application type, then the information corresponding to the three fields of business product, resource return channel, and application type can be extracted from the application form as the second attribute information.
[0103] In step 1012, match the second attribute information in the application form with the first attribute information of the resource return rule to obtain the first matching degree between the application form and each resource return rule.
[0104] As an example, match the second attribute information in the application form with the first attribute information of each resource return rule respectively to obtain the first matching degree between the application form and each resource return rule.
[0105] It should be noted that multiple proposed in the embodiments of the present application all refer to the quantity being greater than or equal to 2.
[0106] As an example, for each resource return rule, when matching the first attribute information of the resource return rule with the second attribute information, the first matching degree can be determined in the following way: match the first product information corresponding to the business product in the second attribute information with the second product information corresponding to the business product in the second attribute information, and calculate the product matching degree between the first product information and the second product information; similarly, calculate the first channel information corresponding to the resource return channel in the second attribute information and the second channel information corresponding to the resource return channel in the second attribute information to obtain the channel matching degree between the first channel information and the second channel information; calculate the first type information corresponding to the application type in the second attribute information and the second type information corresponding to the application type in the second attribute information to obtain the type matching degree between the first type information and the second type information; then, based on the product matching degree, channel matching degree, and type matching degree, jointly determine the first matching degree. In a feasible way, the sum value of the product matching degree, channel matching degree, and type matching degree can be used as the first matching degree.
[0107] In step 1013, from the resource return rule library, filter out the resource return rules whose first matching degree exceeds the matching degree threshold, and determine the resource return rules that match the application form based on the filtered resource return rules.
[0108] In actual implementation, in order to obtain the resource return rules that are consistent with the application form in terms of attributes such as business products, resource return channels, and application types from multiple resource return rules, a matching degree threshold can be set, and the resource return rules whose first matching degree exceeds the matching degree threshold can be filtered out from multiple resource return rules through the matching degree threshold. It can be understood that the higher the first matching degree, the higher the information consistency between the resource return rule and the application form in terms of attributes such as business products, resource return channels, and application types.
[0109] In some cases, there may be multiple resource return rules whose first matching degree exceeds the matching degree threshold. Therefore, matching conditions can be added to determine the resource return rule with the highest first matching degree among the resource return rules whose first matching degree exceeds the matching degree threshold as the resource return rule that matches the application form.
[0110] Continue to refer to Figure 3A , and continue to illustrate the above step 101.
[0111] In step 102, according to the resource return rule, determine the first matching information corresponding to the resource elements of the resource return rule in the application form, and determine the second matching information corresponding to the resource elements in the first resource return record within the first time period.
[0112] In actual implementation, different resource elements are configured in different resource return rules to adapt to different resource return methods.
[0113] As an example, resource elements usually can include resource accounts, resource quantities, return objects, resource return times, etc. And different contents are emphasized in different resource return methods. Therefore, the resource return rules set for different resource return methods may contain different resource elements. For example, continue to refer to Figure 5 , the resource elements included in rule A are resource accounts and resource quantities; the resource elements included in rule B are return objects, resource quantities, and resource return times.
[0114] In actual implementation, the application form includes at least some of the resource elements in the resource return rule. Therefore, after determining the resource elements that match the application form, the first matching information corresponding to the resource elements in the resource return rule can be determined in the application form based on the resource elements in the resource return rule.
[0115] As an example, if the resource return rule matching the application form is Rule B, the resource elements in Rule B include the return object, the resource quantity, and the resource return time. Suppose the application form includes at least two resource elements, namely the return object and the resource return time. Then these two resource elements are the resource elements adapted to Rule B. The information corresponding to the return object in the application form (such as the name of the return object) and the information corresponding to the resource return time (such as the specific resource return time submitted by the return object) are the first matching information of the resource elements corresponding to the resource return rule (Rule B).
[0116] Here, the resource return record pool may include all the transaction records during the operation of the enterprise. One transaction record corresponds to one resource return record in the embodiment of the present application.
[0117] In actual implementation, in order to improve the business processing efficiency for resource return, it is not necessary to match all resource return records. Instead, the first resource return record within the target time period can be selected for matching. Here, the target time period is determined based on the resource return time in the application form. As an example, the time period corresponding to one day before and after the resource return time can be used as the target time period.
[0118] Obtain multiple first resource return records (i.e., multiple transaction records) within the target time period in the resource return record pool. For each first resource return record, determine the second matching information of the resource elements corresponding to the resource return rule in the first resource return record.
[0119] As an example, assume that the resource elements of the resource return rule include the return object, the resource quantity, and the resource return time, and the first resource return record also includes the information corresponding to the return object, the resource quantity, and the resource return time. Then for each first resource return record, the information corresponding to the return object in the first resource return record (such as the name of the return object), the information corresponding to the resource quantity (such as the actual resource quantity returned), and the information corresponding to the resource return time (such as the actual time of resource return) are the second matching information of the first resource return record.
[0120] By the above method, the target time period is limited because the present application matches with the resource return records with the application form as the anchor point. For example, if the return object has completed the return, within a certain period before and after the creation time of the application form, the corresponding resource return record can be matched; if the return object is a reserved return, only the resource return records generated within the period from the creation time of the application form to the reserved time need to be matched. This method can improve the matching efficiency.
[0121] Continue to describe based on the above step 102.
[0122] In step 103, based on the first matching information and the second matching information, determine the second resource return record that matches the application form.
[0123] In some embodiments, referring to Figure 3D , step 103 can be implemented through steps 1031 to 1032.
[0124] In step 1031, match the first matching information with each second matching information to obtain the second matching degree between the first matching information and each second matching information.
[0125] In actual implementation, for the second matching information corresponding to each first resource return record within the target time period, match the second matching information with the first matching information (such as semantic matching, similarity matching) to obtain the second matching degree between the second matching information and the first matching information.
[0126] In step 1032, based on the second matching degree, screen out the second resource return record that matches the application form from the first resource return records.
[0127] In actual implementation, a matching degree threshold can be preset to screen out the second resource return records with a second matching degree exceeding the matching degree threshold from multiple first resource return records, or use the second resource return record with the highest second matching degree among multiple second resource return records as the second resource return record that matches the application form.
[0128] Subsequently, match and verify the resource return contract that matches the application form and the second resource return record that matches the application form. The matching and verification between the resource return contract and the resource return record refer to the process of verifying and matching the resource return terms stipulated in the contract terms with the actual transaction records to ensure that the contract performance situation is consistent with the resource flow. This process is very important in enterprise resource management, which can ensure that the return object complies with the contract terms and fulfills the return obligation in a timely manner, and at the same time can effectively monitor the resource flow direction and prevent resource risks.
[0129] Continuing to refer to Figure 3A , continue to illustrate the above step 103.
[0130] In step 104, based on the second resource return record and the resource return contract, perform the resource return operation of the data processing request.
[0131] In actual implementation, the resource return operation can refer to the process of recording the resource interaction business occurred in the enterprise into the resource management book. The main steps of the resource return operation include: confirming and recording the resource interaction business, selecting appropriate resource management subjects, compiling resource management records to indicate the accounts of both parties of the interaction, inputting the resource return record into the resource management system, and checking and adjusting the records in the resource management book.
[0132] In some embodiments, Figure 3A The illustrated step 104 can also be implemented by steps 1041 to 1043.
[0133] In step 1041, if the resource return method in the application form is third-party return, obtain the resource return information image uploaded by the third party.
[0134] In actual implementation, when the return object returns resources for an enterprise, it can also be returned through a third party. In this case, the resource return operation will be completed on the third-party platform, and the third party can send the resource return information to the enterprise in the form of an image. That is, when the return method in the application form is third-party return, the enterprise can obtain the resource return information image uploaded by the third party to the enterprise.
[0135] In step 1042, perform content recognition on the resource return information image to obtain the third-party return information included in the resource return information image.
[0136] In actual implementation, the content recognition of the resource return information image can be performed by Optical Character Recognition (OCR) technology to obtain the text information included in the resource return information image, so as to obtain the third-party return information included in the resource return information image.
[0137] In step 1043, when the third-party return information matches the return information in the second resource return record, perform the resource return operation requested by the data processing request based on the third-party return information and the resource return contract.
[0138] In actual implementation, after obtaining the third-party return information in the resource return information image sent by the third party, it is necessary to match the third-party return information with the return information in the corresponding second resource return record. When the two match, perform the resource return operation based on the third-party return information and the resource return contract corresponding to the second resource return record to cancel this resource return.
[0139] Through the above embodiments, different resource return rules are pre-configured for different resource return scenarios. After obtaining the application form and the resource return contract in response to a data processing request, the resource return rule matching the application form can be determined based on the second attribute information in the application form. Based on the resource elements in the resource return rule, the second resource return record matching the application form can be determined in the resource return record pool. Then, the resource return operation can be executed based on the matching second resource return record and the resource return contract, realizing the resource return operation for this resource return behavior. In this way, different resource return rules are configured for different resource return scenarios, enabling the applicable resource return rule for the resource return scenario to be directly matched through the second attribute information in the application form regardless of the resource return method used by the return object. The resource return operation during the resource return of the return object can be directly performed through the resource return rule, thereby improving the processing efficiency of the resource return service.
[0140] In some embodiments, after Figure 3A step 104 shown is executed, verification and clearing can also be achieved in the following manner.
[0141] Verify the second resource return record, update the status of the second resource return record from the unverified status to the verified status, and perform clearing on the second resource return record.
[0142] Clearing refers to the process of carefully classifying, sorting, and reconciling resource return records to ensure that the source and destination of each resource are clearly recorded and identified.
[0143] In a specific embodiment, taking the execution entity as server 200 as an example, the data processing method of the embodiments of the present application is described.
[0144] In the continuous development process of an enterprise's business, the business form also changes continuously, the business products become diversified, and the customer group will also expand continuously. To provide better product experience for customers and more flexible resource return methods, an offline resource return method can be provided.
[0145] The offline resource return method provides a resource account for the return object. After the return object completes the resource return, the enterprise's resource management system will automatically complete the data processing operation of the resource return according to the requirements of the return object. Refer to Figure 6A , the main processes of resource return processing include creating an application form, obtaining a transaction record, matching, resource return operation, and verification. Due to the diversification of enterprise business products, the rules in each process of resource return are different. Different business systems have different rules, and the rules are also constantly changing.
[0146] According to the resource return method, it can be divided into our company's return, third-party foreign exchange management platform return (i.e., third-party return), and email notification to the third party for return. Our company's return means directly recording relevant resource information in our company, and all data processing operations are carried out by our company; the third-party foreign exchange management platform return means that after associating the resource return record, the operator logs in to the system provided by the third party to complete the data processing operation, takes a screenshot and uploads it to the resource management system for recording, and the resource management system identifies the picture information and confirms that the picture information is consistent with the information in the resource return record; email notification to the third party for return means that after receiving the resource return record of the return object, the operator creates an application form for the corresponding completed return type, and completes the information matching of the resource return according to the customer's requirements. The resource management system counts the information of such application forms daily, generates a file, and automatically sends an email to notify the relevant third party to complete the data processing operation.
[0147] According to the application type of resource return, it can be divided into reserved return and completed return. The process of reserved return means first creating an application form and generating a dedicated resource account, sending a text message to notify the return object. After the return object completes the resource return, the system associates and matches the resource return record according to the dedicated resource account, and then completes the subsequent data processing operations. The process of completed return means that the customer has completed the resource return and there is already a resource return record of the customer's resource return in our company. The operator creates an application form, and the system associates and matches the resource return record according to the three elements (name of the return object, resource return time, quantity of returned resources), and then completes the subsequent data processing operations. For the acquisition of resource return records, there are master accounts for the dedicated resource account and corporate account on the bank side. When there is a transaction in the master account, the bank will push the transaction details to our company's resource management system. The resource management system records the relevant information of the transaction details for the use of the offline resource return function. When the information matching is completed, the status of the transaction details will also change accordingly. Here, the transaction details are the resource return records.
[0148] See Figure 6A , from the perspective of resource processing, the resource return processing flow can include:
[0149] Step 201, create an application form. After the return object expresses the offline resource return request and type through various channels, the system creates an offline application form. If it is a reserved return resource return type, obtain the resource account from the bank side and notify the customer of the resource account via text message or other means.
[0150] Step 202, obtain the transaction details. After the return object completes the resource return based on the resource account, the bank side notifies our company's account to generate transaction details information after receiving the resources, that is, generates a resource return record.
[0151] Step 203, Matching: The system automatically associates the application form with the resource return record according to the resource return rules, and distributes the resource quantity of the resource return record to the contract associated with the application form according to the resource return application information, completing the information matching between the resource return record and the contract.
[0152] Step 204, Resource return operation: After the information matching is successful, a resource return operation request is initiated to the resource management system according to the contract dimension. After the resource return operation request is successful, the resource return status is synchronized through a scheduled task.
[0153] Step 205, Write-off: After the resource return operation is successful, the status of the resource return record and the resource quantity usage information are changed, and a write-off operation for the resource return record is initiated.
[0154] In the embodiment of this application, Figure 6A rule configuration is added to the shown process. In each process, the system automatically obtains the corresponding rules for each stage according to attribute information such as product code, resource return channel, and application type, and the system automatically executes according to the rule configuration.
[0155] See Figure 6B , when creating an application form, a creation rule library as shown in Figure 4B is added, and various tools and their implementations are predefined. The tools are divided into verification tools and creation tools:
[0156] The verification tools are responsible for verifying the correctness of the application form data and the rationality of the system rules. For example, for in-transit verification, there are multiple implementations in the system. The customer service channel requires that there can only be one in-transit application form for each contract, while the asset management channel requires that there can be multiple application forms for each contract at the same time. If this rule is not met, the creation in the asset management and customer service fails. The Anyihua channel requires returning the previously existing application form and not creating it again. Therefore, each verification corresponds to an implementation of a tool, and the rules can select a combination of tools that meet the requirements for use.
[0157] The creation tools are responsible for saving the application form information. For the currently verified application form, the system will save the application form information and contract-related information through the creation tools. For example, for reservation return, the resource account information needs to be returned to the customer. The tool implementation needs to call the resource management system to obtain the resource account information and return it to the customer. For completed return, only the basic information of the application form needs to be saved. For the resource return processing with the business product "5701", it is required to generate an artificial matching task. These rules all correspond to different creation tools.
[0158] Business personnel can add multiple creation rules through the system function. For each creation rule, multiple tools can be custom-selected for combination, and each rule defines applicable products, channels, application types, resource return types, and return methods. When submitting an offline resource return application, the resource management system automatically adapts eligible creation rules based on the contract product code, initiating channel, application form type, resource return type, and return method, and automatically executes them in the configured tool order.
[0159] Resource return rules are added in the matching stage. The system pre-defines resource elements and data processing tools. Resource elements are used to associate the application form and transaction information (i.e., the information of the resource return record), and the role of the data processing tool is to allocate the transaction to the contract associated with the application form, that is, to associate the transaction and the contract. Business personnel can configure products, channels, application form types, and return methods through the system function, and configure different resource elements and data processing tools. For example, for a 5103 product reservation return application form initiated by a customer service, resource account information and self-operated data processing tools are configured. When the system executes, it will automatically match the resource return rules, that is, extract the resource element information in the application form, match the corresponding resource return rules according to the resource element information, match the transaction information according to the configured resource account. If the transaction matching is successful, the transaction is allocated according to the data processing tool; if the matching fails, an artificial matching task is created according to the data processing tool. Due to the addition of artificial matching, when the automatic matching fails, the system automatically creates an offline artificial matching task and assigns the task to the seat processing group specified by the rule. The seat manually completes the matching, greatly increasing the matching success rate.
[0160] A third-party return method is added in the resource return operation stage. After the seat completes the resource return operation on the partner's foreign exchange management platform, screenshots of the resource return information are taken and uploaded to the customer service system. The system automatically identifies the content of the picture, extracts the actual third-party return information, and updates the resource return information of the application form, reducing the risk of manual review failure.
[0161] Transaction cancellation rules are added to the transaction. Rules are configured according to the affiliated bank of the transaction. For example, for transactions of Bank A, the bank side needs to be called to complete the transaction cancellation; for transactions of Bank B, no cancellation is required, and only a clearing record needs to be generated; for transactions of Bank C, no cancellation or clearing is required, and only the local transaction status and resource quantity information need to be modified.
[0162] Through the above embodiments, rule configuration for multiple channels and multiple products is achieved, improving the system's rapid expansion ability; supporting third-party handling of offline resource return services; combining automatic matching and artificial matching to improve the customer experience and reduce the customer's incoming call volume.
[0163] Next, continue to describe the exemplary structure of the data processing device 455 provided in the embodiments of the present application as a software module. In some embodiments, such asFigure 2 As shown, the software modules stored in the data processing device 455 of the memory 440 may include:
[0164] A first determination module 4551, configured to determine an application form for a data processing request, a resource return contract associated with the application form, and a resource return rule matching the application form in response to the data processing request.
[0165] A second determination module 4552, configured to determine first matching information corresponding to a resource element in the resource return rule in the application form and second matching information corresponding to the resource element in the first resource return record within a first time period according to the resource return rule.
[0166] A third determination module 4553, configured to determine a second resource return record matching the application form based on the first matching information and the second matching information.
[0167] A return module 4554, configured to perform a resource return operation requested by the data processing request based on the second resource return record and the resource return contract.
[0168] In some embodiments, the second determination module 4552 is further configured to obtain first attribute information of the resource return rule in the resource return rule library; match the second attribute information in the application form with the first attribute information of the resource return rule to obtain a first matching degree between the application form and each resource return rule; screen out the resource return rules whose first matching degree exceeds the matching degree threshold from the resource return rule library, and determine the resource return rule matching the application form based on the screened resource return rules.
[0169] In some embodiments, the third determination module 4553 is further configured to match the first matching information with each second matching information to obtain a second matching degree between the first matching information and each second matching information; screen out the second resource return record matching the application form from the first resource return record based on the second matching degree.
[0170] In some embodiments, the data processing device 455 further includes a creation module, configured to obtain resource return application data and a resource return contract in response to an application form creation request; perform data verification on the resource return application data based on a first verification rule to obtain a first verification result, and perform verification on the application form creation conditions corresponding to the resource return contract based on a second verification rule to obtain a second verification result; create an application form based on the resource return application data in the case where both the first verification result and the second verification result indicate that the verification is passed, and associate the created application form with the resource return contract.
[0171] In some embodiments, the creation module is further configured to perform data integrity verification and data accuracy verification on the resource return application data based on the first verification rule, so as to obtain an integrity verification result and an accuracy verification result; and determine a first verification result based on the integrity verification result and the accuracy verification result.
[0172] In some embodiments, the creation module is further configured to verify the consistency between the first contract information in the resource return contract and the second contract information in the resource return application data based on the second verification rule, so as to obtain a contract verification result; obtain a first quantity of the in-transit application form corresponding to the resource return contract, and a second quantity of the application form set for the resource return channel in the resource return application data, and verify the magnitudes of the first quantity and the second quantity, so as to obtain a quantity verification result; and determine a second verification result based on the contract verification result and the quantity verification result.
[0173] In some embodiments, the creation module is further configured to determine a second verification result indicating that the application form creation condition corresponding to the resource return contract is satisfied when the contract verification result indicates that the first contract information is consistent with the second contract information and the quantity verification result indicates that the first quantity does not exceed the second quantity.
[0174] In some embodiments, the return module 4554 is further configured to, if the resource return method in the application form is third-party return, obtain an image of the resource return information uploaded by the third party; perform content recognition on the image of the resource return information to obtain the third-party return information included in the image of the resource return information; and perform the resource return operation requested by the data processing request based on the third-party return information and the resource return contract when the third-party return information matches the return information in the second resource return record.
[0175] In some embodiments, the data processing device 455 further includes a write-off and clearing module, configured to write off the second resource return record, update the status of the second resource return record from the unwritten-off state to the written-off state, and perform clearing on the second resource return record.
[0176] An embodiment of the present application provides a computer program product, which includes a computer program or computer-executable instructions, and the computer program or computer-executable instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium, and the processor executes the computer-executable instructions, so that the electronic device executes the data processing method in the foregoing embodiments of the present application.
[0177] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions or a computer program. When the computer-executable instructions or the computer program are executed by a processor, the processor will be caused to execute the data processing method provided by the embodiment of the present application. For example, as Figure 3A shown in the data processing method.
[0178] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disc, or CD-ROM; or may be various devices including one or any combination of the above memories.
[0179] In some embodiments, the computer-executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including being deployed as a stand-alone program or being deployed as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0180] As an example, the computer-executable instructions may or may not correspond to a file in the file system, may be stored as part of a file that stores other programs or data. For example, stored in one or more scripts in a Hyper Text Markup Language (HTML) document, stored in a single file dedicated to the program being discussed, or stored in multiple cooperating files (e.g., files that store one or more modules, subroutines, or portions of code).
[0181] As an example, the computer-executable instructions may be deployed to execute on one electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed at multiple locations and interconnected by a communication network.
[0182] In summary, by pre-configuring different resource return rules for different resource return scenarios, after obtaining the application form in the data processing request, the resource return contract corresponding to the application form, and the resource return rule matching the application form in response to the data processing request for resource return, the second resource return record matching the application form can be determined in the first resource return record based on the resource elements in the resource return rule, and then the resource return operation can be executed based on the second resource return record and the resource return contract, realizing the data processing operation of this resource return behavior. In this way, different resource return rules are configured for different resource return scenarios, which can enable the resource return operation of the return object to be directly carried out through the resource return rule matched by the application form regardless of the return method used by the return object, thus improving the processing efficiency of the resource return service.
[0183] As described above, the above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A data processing method, characterized in that, The method includes: In response to a data processing request, determining the application form of the data processing request, the resource return contract associated with the application form, and the resource return rule matching the application form; According to the resource return rule, determining first matching information corresponding to the resource element of the resource return rule in the application form, and determining second matching information corresponding to the resource element in the first resource return record within the first time period; Based on the first matching information and the second matching information, determining a second resource return record matching the application form; Based on the second resource return record and the resource return contract, performing a resource return operation for the data processing request.
2. The method according to claim 1, wherein The determining the resource return rule matching the application form includes: Obtaining first attribute information of the resource return rule in the resource return rule library; Matching the second attribute information in the application form with the first attribute information of the resource return rule to obtain a first matching degree between the application form and each resource return rule; From the resource return rule library, screening out the resource return rules whose first matching degree exceeds the matching degree threshold, and determining the resource return rule matching the application form based on the screened resource return rules.
3. The method according to claim 1, wherein The determining the second resource return record matching the application form based on the first matching information and the second matching information includes: Matching the first matching information and the second matching information to obtain a second matching degree between the first matching information and the second matching information; Based on the second matching degree, screening out the second resource return record matching the application form from the first resource return record.
4. The method according to claim 1, wherein Before the determining the application form of the data processing request and the resource return contract associated with the application form in response to the data processing request, the method further includes: In response to an application form creation request, obtaining resource return application data and a resource return contract; Performing data verification on the resource return application data based on a first verification rule to obtain a first verification result, and performing verification on the application form creation conditions corresponding to the resource return contract based on a second verification rule to obtain a second verification result; In the case where both the first verification result and the second verification result indicate passing the verification, creating an application form based on the resource return application data and associating the created application form with the resource return contract.
5. The method according to claim 4, wherein The performing data verification on the resource return application data based on the first verification rule to obtain a first verification result includes: Performing data integrity verification and data accuracy verification on the resource return application data based on the first verification rule to obtain an integrity verification result and an accuracy verification result; Based on the integrity verification result and the accuracy verification result, determining the first verification result.
6. The method according to claim 4, characterized in that The performing verification on the application form creation conditions corresponding to the resource return contract based on the second verification rule to obtain a second verification result includes: Verify the consistency between the first contract information in the resource return contract and the second contract information in the resource return application data based on the second verification rule to obtain a contract verification result; Obtain the first quantity of the in-transit application form corresponding to the resource return contract, and the second quantity of the application form set for the resource return channel in the resource return application data, and verify the magnitudes of the first quantity and the second quantity to obtain a quantity verification result; Determine the second verification result based on the contract verification result and the quantity verification result.
7. The method according to claim 6, wherein The determining the second verification result based on the contract verification result and the quantity verification result includes: When the contract verification result indicates that the first contract information is consistent with the second contract information, and the quantity verification result indicates that the first quantity does not exceed the second quantity, determine a second verification result indicating that the application form creation condition corresponding to the resource return contract is satisfied.
8. The method according to claim 1, wherein The performing the resource return operation requested by the data processing request based on the second resource return record and the resource return contract includes: If the resource return method in the application form is third-party return, obtain the resource return information image uploaded by the third party; Perform content recognition on the resource return information image to obtain the third-party return information included in the resource return information image; When the third-party return information matches the return information in the second resource return record, perform the resource return operation requested by the data processing request based on the third-party return information and the resource return contract.
9. The method according to claim 1, characterized in that After performing the resource return operation requested by the data processing request, the method further includes: Write off the second resource return record, update the status of the second resource return record from the unwritten-off status to the written-off status, and perform classification on the second resource return record.
10. A data processing device, characterized in that, The apparatus includes: A first determination module, configured to, in response to a data processing request, determine the application form of the data processing request, the resource return contract associated with the application form, and the resource return rule matching the application form; A second determination module, configured to determine, according to the resource return rule, a first matching information corresponding to the resource element in the resource return rule in the application form and a second matching information corresponding to the resource element in the first resource return record within the first time period; A third determination module, configured to determine a second resource return record matching the application form based on the first matching information and the second matching information; A return module, configured to perform the resource return operation requested by the data processing request based on the second resource return record and the resource return contract.
11. An electronic device, characterized in that, The electronic device includes: A memory, configured to store computer-executable instructions or a computer program; A processor, configured to implement the method according to any one of claims 1 to 9 when executing the computer-executable instructions or the computer program stored in the memory.
12. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, the method according to any one of claims 1 to 9 is implemented.
13. A computer program product, comprising computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, the method according to any one of claims 1 to 9 is implemented.