Data processing method, device, equipment and medium

By separating the business processing and rule adaptation process, using the accounting adaptation rule table to process resource processing events, the high cost and inefficiency problems caused by the differences in accounting rules of various application platforms are solved, and efficient and accurate data processing is achieved.

CN115576993BActive Publication Date: 2025-08-12CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211293012.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-21
Publication Date
2025-08-12
Estimated Expiration
2042-10-21

AI Technical Summary

Technical Problem

In the prior art, the differences in accounting rules of various application platforms lead to high cost and high risk in differentiated transformation of data processing systems, and low efficiency in updating accounting rules.

Method used

The business processing and the rule adaptation process are carried out separately. The resource processing events are processed by obtaining the accounting adaptation rule table. The business processing is not affected when updating the accounting adaptation rules. The resource record, resource accounting, resource conditions and resource action comparison tables are used to generate the accounting adaptation rule table.

Benefits of technology

It reduces the cost of development and testing, reduces the system iteration cycle, improves data processing efficiency, and ensures the accuracy and scalability of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115576993B_ABST
    Figure CN115576993B_ABST
Patent Text Reader

Abstract

The present application relates to the field of data analysis, and specifically to a data processing method, apparatus, equipment and medium for improving the efficiency of data processing and reducing the cost and risk of data processing. Perform business processing on the received resource processing event to obtain the resource details, business scenarios and resource information of the resource processing event; determine the accounting adaptation rule table corresponding to the target application platform; based on the resource details, business scenarios, resource information and accounting adaptation rule table of the resource processing event, determine the accounting adaptation result corresponding to the resource processing event; perform data processing on the resource processing event based on the accounting adaptation result to obtain the data processing result of the resource processing event. The present application separates the process of business processing and rule adaptation, effectively reducing the mutual influence between the two, and updates the accounting adaptation rules by updating the accounting adaptation rule table, thereby reducing the development and testing costs and shortening the system iteration cycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data analysis technology, and in particular to a data processing method, apparatus, device and medium. Background Art

[0002] While the business rules for resource processing events are generally stable, accounting rules often differ across application platforms. These differences often stem from their accounting systems. Because accounting rules are part of the underlying core logic, implementing differentiated modifications to data processing systems is costly and risky. With the continuous development of resource processing innovations, business innovations based on resource processing time will constantly generate new accounting rules. Under these circumstances, updating accounting rules is clearly inefficient. Summary of the Invention

[0003] The embodiments of the present application provide a data processing method, apparatus, device, and medium for improving the efficiency of data processing and reducing the cost of data processing.

[0004] In a first aspect, an embodiment of the present application provides a data processing method, the method comprising:

[0005] Perform business processing on the received resource processing event to obtain resource details, business scenarios, and resource information of the resource processing event;

[0006] Obtain the accounting adaptation rule table corresponding to the target application platform from the database;

[0007] Determining a calculation adaptation result corresponding to the resource processing event based on the resource details of the resource processing event, the business scenario, the resource information, and the calculation adaptation rule table;

[0008] Data processing is performed on the resource processing event based on the accounting adaptation result to obtain a data processing result of the resource processing event.

[0009] In an embodiment of the present application, the business processing and rule adaptation processes are carried out separately. This method effectively reduces the mutual influence between the two. When the accounting adaptation rules need to be updated subsequently, the accounting adaptation rule table can be updated in the database without affecting the business processing process, thereby reducing development and testing costs and reducing the system iteration cycle. In the present application, resource processing events are processed by obtaining the accounting adaptation rule table, and there is no need to set adaptation rules for resource processing events every time, thereby improving data processing efficiency.

[0010] In some possible embodiments, the calculation adaptation rule table is generated according to the following method:

[0011] Obtaining a resource record comparison table, a resource accounting comparison table, a resource condition comparison table, and a resource action comparison table corresponding to the target application platform from a database; the resource record comparison table is used to determine whether to perform accounting adaptation on the resource processing event, the resource accounting comparison table is used to determine the resource adaptation result of the resource processing event, the resource condition comparison table is used to determine the condition adaptation result of the resource processing event, and the resource action comparison table is used to determine the action adaptation result corresponding to the resource processing event;

[0012] The accounting adaptation rule table is generated by combining the resource record comparison table, the resource accounting comparison table, the resource condition comparison table, and the resource action comparison table.

[0013] In this application, based on the accounting rules, the resource record comparison table, resource accounting comparison table, resource condition comparison table, and resource action comparison table are used to jointly generate an accounting adaptation rule table to ensure the accuracy of data processing of resource processing time.

[0014] In some possible embodiments, determining the accounting adaptation result corresponding to the resource processing event based on the resource details of the resource processing event, the business scenario, the resource information, and the accounting adaptation rule table includes:

[0015] Determining a resource adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource accounting comparison table;

[0016] Determining a condition adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource condition comparison table;

[0017] Determine an action adaptation rule result corresponding to the resource processing event based on the resource details, the business scenario, the resource information, and the resource action comparison table;

[0018] The accounting adaptation result of the resource processing event is obtained by combining the resource adaptation result, condition adaptation result, and action adaptation result corresponding to the resource processing event.

[0019] In this application, the accounting adaptation result of the resource processing event is determined by the resource adaptation result, the condition adaptation result, and the action adaptation result, thereby ensuring the accuracy of the resource processing event.

[0020] In some possible embodiments, after determining the accounting adaptation rule table corresponding to the target application platform, the method further includes:

[0021] If a modification operation on the accounting adaptation rule table in the database is detected, the accounting adaptation rule table is updated based on the modification operation.

[0022] In the present application, the modification of the accounting adaptation rules can be achieved by modifying the accounting adaptation rule table in the database, thereby ensuring the updating efficiency of the accounting rules.

[0023] In some possible embodiments, after performing data processing on the resource processing event based on the accounting adaptation result to obtain the data processing result of the resource processing event, the method further includes:

[0024] Based on the data processing result, the resource type and subject of the resource processing event are determined; wherein the subject is used to represent the processing record of the resource processing event.

[0025] In this application, in order to facilitate technical personnel to process resource processing events, after data processing of the resource processing events, it is also necessary to determine the resource type and subject of the resource processing events.

[0026] In a second aspect, the present application provides a data processing device, comprising:

[0027] The business processing module is used to perform business processing on the received resource processing event and obtain the resource details, business scenario and resource information of the resource processing event;

[0028] The adaptation module is used to obtain the accounting adaptation rule table corresponding to the target application platform from the database;

[0029] An adaptation result determination module, configured to determine an accounting adaptation result corresponding to the resource processing event based on the resource details of the resource processing event, the business scenario, the resource information, and the accounting adaptation rule table;

[0030] A data processing module is used to perform data processing on the resource processing event based on the accounting adaptation result to obtain a data processing result of the resource processing event.

[0031] In some possible embodiments, the calculation adaptation rule table is generated according to the following method:

[0032] Obtaining a resource record comparison table, a resource accounting comparison table, a resource condition comparison table, and a resource action comparison table corresponding to the target application platform from a database; the resource record comparison table is used to determine whether to perform accounting adaptation on the resource processing event, the resource accounting comparison table is used to determine the resource adaptation result of the resource processing event, the resource condition comparison table is used to determine the condition adaptation result of the resource processing event, and the resource action comparison table is used to determine the action adaptation result corresponding to the resource processing event;

[0033] The accounting adaptation rule table is generated by combining the resource record comparison table, the resource accounting comparison table, the resource condition comparison table, and the resource action comparison table.

[0034] In some possible embodiments, the adaptation result is specifically configured as:

[0035] Determining a resource adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource accounting comparison table;

[0036] Determining a condition adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource condition comparison table;

[0037] Determine an action adaptation rule result corresponding to the resource processing event based on the resource details, the business scenario, the resource information, and the resource action comparison table;

[0038] The accounting adaptation result of the resource processing event is obtained by combining the resource adaptation result, condition adaptation result, and action adaptation result corresponding to the resource processing event.

[0039] In some possible embodiments, the adaptation module is further configured to:

[0040] If a modification operation on the accounting adaptation rule table in the database is detected, the accounting adaptation rule table is updated based on the modification operation.

[0041] In some possible embodiments, the data processing module is further configured to:

[0042] Based on the data processing result, the resource type and subject of the resource processing event are determined; wherein the subject is used to represent the processing record of the resource processing event.

[0043] In a third aspect, the present application provides an electronic device, comprising:

[0044] a memory for storing program instructions;

[0045] The processor is configured to call the program instructions stored in the memory and execute the steps included in any one of the methods of the first aspect according to the obtained program instructions.

[0046] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes any one of the methods according to the first aspect.

[0047] In a fifth aspect, the present application provides a computer program product, comprising: a computer program code, which, when executed on a computer, enables the computer to execute any one of the methods described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A schematic diagram of an application scenario of a data processing method provided in an embodiment of the present application;

[0049] Figure 2 An overall flow chart of a data processing method provided in an embodiment of the present application;

[0050] Figure 3 A flowchart of a data processing method for constructing a calculation rule adaptation table according to an embodiment of the present application is provided;

[0051] Figure 4 A flowchart of determining and calculating an adaptation result of a data processing method provided in an embodiment of the present application;

[0052] Figure 5 A schematic diagram of a data processing method according to an embodiment of the present invention;

[0053] Figure 6 A schematic diagram of an electronic device for a data processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. Unless there is a conflict, the embodiments in the present application and the features in the embodiments can be combined with each other in any way. In addition, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in an order different from that here.

[0055] The terms "first" and "second" in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of its variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in this application can mean at least two, for example, two, three or more, and the embodiments of this application are not limited thereto.

[0056] In the technical solution of this application, the collection, dissemination, and use of data comply with the requirements of relevant national laws and regulations.

[0057] Before introducing the data processing method provided in the embodiment of the present application, in order to facilitate understanding, the technical background of the embodiment of the present application is first introduced in detail below.

[0058] The inventors' research has found that while the rules for resource processing events are generally stable, accounting rules often differ across various application platforms. These differences generally stem from the accounting systems of each application platform. Because accounting rules are part of the underlying core logic, implementing differentiated modifications to data processing systems is costly and risky. With the continuous development of resource processing innovations, business innovations based on resource processing time will continuously generate new accounting rules. Under these circumstances, updating accounting rules is clearly inefficient.

[0059] In view of this, the present application proposes a data processing method, device, electronic device, and storage medium for solving the above-mentioned problems. The inventive concept of the present application can be summarized as follows: performing business processing on a received resource processing event to obtain resource details, business scenarios, and resource information of the resource processing event; determining a calculation adaptation rule table corresponding to the target application platform; determining a calculation adaptation result corresponding to the resource processing event based on the resource details, business scenarios, resource information, and calculation adaptation rule table of the resource processing event; performing data processing on the resource processing event based on the calculation adaptation result to obtain a data processing result of the resource processing event.

[0060] like Figure 1 The figure shows an application scenario diagram of the data processing method in the embodiment of the present application. The figure includes: a server 10, a database 20, and a target application platform 30; wherein:

[0061] The server 10 performs business processing on the received resource processing event to obtain the resource details, business scenarios and resource information of the resource processing event; obtains the accounting adaptation rule table corresponding to the target application platform 30 from the database 20; determines the accounting adaptation result corresponding to the resource processing event based on the resource details, business scenarios, resource information and accounting adaptation rule table of the resource processing event; performs data processing on the resource processing event based on the accounting adaptation result to obtain the data processing result of the resource processing event.

[0062] The description in this application only details a single server 10, database 20, and target application platform 30, but those skilled in the art should understand that the server 10, database 20, and target application platform 30 shown are intended to represent the operations of the server 10, database 20, and target application platform 30 involved in the technical solution of this application. It does not imply any restrictions on the number, type, or location of the server 10, database 20, and target application platform 30. It should be noted that if additional modules are added to the illustrated environment or individual modules are removed from it, it will not change the underlying concepts of the example embodiments of this application. In addition, although for the convenience of explanation, Figure 1 A bidirectional arrow from the database 20 to the server 10 is shown in FIG. 1 , but it will be understood by those skilled in the art that the sending and receiving of the above data also needs to be implemented through a network.

[0063] It should be noted that the database in the embodiment of the present application can be, for example, a cache system, a hard disk storage, a memory storage, etc. In addition, the data processing method proposed in the present application is not only applicable to Figure 1 The application scenario shown is also applicable to any device with data processing requirements.

[0064] like Figure 2 FIG. 1 is a schematic diagram of the overall flow of a data processing method provided in an embodiment of the present application, wherein:

[0065] In step 201: business processing is performed on the received resource processing event to obtain resource details, business scenarios, and resource information of the resource processing event;

[0066] In step 202: obtaining the accounting adaptation rule table corresponding to the target application platform from the database;

[0067] In step 203: based on the resource details, business scenario, resource information and accounting adaptation rule table of the resource processing event, the accounting adaptation result corresponding to the resource processing event is determined;

[0068] In step 204: data processing is performed on the resource processing event based on the accounting adaptation result to obtain a data processing result of the resource processing event.

[0069] In an embodiment of the present application, the business processing and rule adaptation processes are separated and carried out. This method effectively reduces the mutual influence between the two. When the accounting adaptation rules need to be updated subsequently, the accounting adaptation rule table can be updated in the database, thereby reducing the development and testing costs and shortening the system iteration cycle.

[0070] In order to facilitate understanding of a data processing method provided in an embodiment of the present application, Figure 2 The steps are described in detail:

[0071] In some possible embodiments, since there are multiple accounting rules for resource processing time, the following can be implemented when constructing the accounting adaptation rule table in this application: Figure 3 The steps shown, where:

[0072] In step 301: obtaining a resource record comparison table, a resource accounting comparison table, a resource condition comparison table, and a resource action comparison table corresponding to the target application platform from a database;

[0073] Among them, the resource record comparison table is used to determine whether to perform accounting adaptation on the resource processing event, the resource accounting comparison table is used to determine the resource adaptation result of the resource processing event, the resource condition comparison table is used to determine the condition adaptation result of the resource processing event, and the resource action comparison table is used to determine the action adaptation result corresponding to the resource processing event;

[0074] For example, the resource record comparison table is shown in Table 1, the resource accounting comparison table is shown in Table 2, the resource condition comparison table is shown in Table 3, and the resource action comparison table is shown in Table 4, where:

[0075] Resource Details Business Scenario Resource Information Whether to perform accounting adaptation A1 B1 C1 yes A2 B2 C2 no A3 B3 C3 yes

[0076] Table 1

[0077] Resource Details Business Scenario Resource Information Resource adaptation results A1 B1 C1 D1 A2 B2 C2 D2 A3 B3 C3 D3

[0078] Table 2

[0079] Resource Details Business Scenario Resource Information Condition adaptation results A1 B1 C1 E1 A2 B2 C2 E2 A3 B3 C3 E3

[0080] Table 3

[0081] Resource Details Business Scenario Resource Information Action adaptation rule results A1 B1 C1 F1 A2 B2 C2 F2 A3 B3 C3 F3

[0082] Table 4

[0083] In step 302: combining the resource record comparison table, the resource accounting comparison table, the resource condition comparison table, and the resource action comparison table, a calculation adaptation rule table is generated.

[0084] Continuing with the above Tables 1, 2, 3, and 4 as examples, the accounting adaptation rule table is shown in Table 5, where:

[0085]

[0086] Table 5

[0087] In this application, a resource record comparison table, a resource accounting comparison table, a resource condition comparison table, and a resource action comparison table are used to jointly generate an accounting adaptation rule table, thereby ensuring the accuracy of data processing of resource processing time. In an embodiment of this application, after the accounting adaptation rule table is constructed using the above method, the accounting adaptation rule table is saved to a database. When data processing of resource processing events is subsequently performed, it can be directly retrieved from the database, thereby ensuring the efficiency of data processing.

[0088] In some possible embodiments, based on the resource details, business scenarios, resource information and accounting adaptation rule table of the resource processing event, the accounting adaptation result corresponding to the resource processing event can be specifically implemented as follows: Figure 4 The steps shown, where:

[0089] In step 401: based on the resource details, business scenarios, resource information and resource accounting comparison table, the resource adaptation result of the resource processing event is determined;

[0090] In step 402: based on the resource details, business scenario, resource information and resource condition comparison table, the condition adaptation result of the resource processing event is determined;

[0091] In step 403: based on the resource details, business scenario, resource information and resource action comparison table, the action adaptation rule result corresponding to the resource processing event is determined;

[0092] In step 404: the resource adaptation result, condition adaptation result, and action adaptation result corresponding to the resource processing event are combined to obtain the accounting adaptation result of the resource processing event.

[0093] Continuing with the above Tables 1-5 as an example, for example: for resource processing event A, after business processing of resource processing time A, it is determined that the resource details of resource processing time A are A1, the business scenario is B1, and the resource information is C1. Then, according to Table 1, it can be determined that accounting adaptation processing is required for resource processing event A. Based on Table 2, the resource adaptation result of resource processing event A can be determined to be D1, based on Table 3, the condition adaptation result of resource processing event A can be determined to be E1, and based on Table 4, the action adaptation result of resource processing event A can be determined to be F1. Thus, the resource adaptation result, condition adaptation result, and action adaptation result of resource processing event A can be obtained as D1, E1, and F1 respectively, and the accounting adaptation result of resource processing event A can be obtained.

[0094] Of course, it should be noted that in the embodiment of the present application, the execution order of steps 401, 402, and 403 can be set by technicians. Figure 4 This is only an embodiment, not a fixed order. This application does not limit the execution order of steps 401, 402, and 403.

[0095] In some possible embodiments, since the accounting adaptation rules corresponding to different application platforms are not exactly the same, in order to make this application more universal, the following examples are used: Figure 3 After the method shown constructs the accounting adaptation rule table and stores it in the database, the database will then include the accounting adaptation rule table corresponding to each application platform. When using the data processing method proposed in this application, it is sufficient to match the accounting adaptation rule table corresponding to the target application platform in the database without modifying the entire data processing method.

[0096] In other embodiments, the accounting adaptation rules adopted by various application platforms when performing data processing on resource processing events in different time periods may be different, so it is necessary to modify the corresponding accounting adaptation rule table in the database. Specifically, it can be implemented as follows: if a modification operation on the accounting adaptation rule table in the database is detected, the accounting adaptation rule table is updated based on the modification operation.

[0097] For example: For the accounting adaptation rule table corresponding to the target application platform 1 as shown in Table 6, the technical personnel changed the accounting adaptation corresponding to the resource item A2, business scenario A3, and resource information C3 in Table 6 to yes, and changed the corresponding resource adaptation result to D2, the condition adaptation result to E2, and the action adaptation result to F2. The modified accounting adaptation rule table corresponding to the target application platform 1 is shown in Table 7.

[0098]

[0099] Table 6

[0100]

[0101] Table 7

[0102] In the present application, the accounting adaptation rules can be modified by modifying the accounting adaptation rule table in the database as described above, without modifying the entire data processing flow, thereby ensuring the updating efficiency of the accounting rules.

[0103] In some possible embodiments, in order to facilitate technical personnel in processing resource processing events, after data processing of the resource processing events, it is also necessary to determine the resource type and subject of the resource processing events. Specifically, it can be implemented as follows: based on the data processing results, determine the resource type and subject of the resource processing event; wherein the subject is used to characterize the processing record of the resource processing event.

[0104] In summary, the data processing method provided by the embodiments of the present application can cope with various scenarios (such as changing accounting adaptation rules, etc.). It only needs to modify the parameters in the corresponding accounting adaptation rule table, which has little impact on the overall data processing logic, reflecting isolation. In this application, the accounting adaptation rules are designed to support adaptation in multiple dimensions. When dealing with situations where new rules need to be added, only the corresponding accounting adaptation rules need to be modified, which has strong scalability.

[0105] like Figure 5 Based on the same inventive concept, a data processing device 500 is proposed, which includes:

[0106] The business processing module 5001 is used to perform business processing on the received resource processing event and obtain the resource details, business scenario and resource information of the resource processing event;

[0107] Adaptation module 5002, used to determine the accounting adaptation rule table corresponding to the target application platform;

[0108] An adaptation result determination module 5003 is configured to determine an accounting adaptation result corresponding to the resource processing event based on the resource details of the resource processing event, the business scenario, the resource information, and the accounting adaptation rule table;

[0109] The data processing module 5004 is used to perform data processing on the resource processing event based on the accounting adaptation result to obtain a data processing result of the resource processing event.

[0110] In some possible embodiments, when the adaptation module 5002 determines the accounting adaptation rule table corresponding to the target application platform, it is configured to:

[0111] Obtaining a resource record comparison table, a resource accounting comparison table, a resource condition comparison table, and a resource action comparison table corresponding to the target application platform from a database; the resource record comparison table is used to determine whether to perform accounting adaptation on the resource processing event, the resource accounting comparison table is used to determine the resource adaptation result of the resource processing event, the resource condition comparison table is used to determine the condition adaptation result of the resource processing event, and the resource action comparison table is used to determine the action adaptation result corresponding to the resource processing event;

[0112] The accounting adaptation rule table is generated by combining the resource record comparison table, the resource accounting comparison table, the resource condition comparison table, and the resource action comparison table.

[0113] In some possible embodiments, when the adaptation result determination module 5003 determines the accounting adaptation result corresponding to the resource processing event based on the resource details of the resource processing event, the business scenario, the resource information, and the accounting adaptation rule table, it is configured to:

[0114] Determining a resource adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource accounting comparison table;

[0115] Determining a condition adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource condition comparison table;

[0116] Determine an action adaptation rule result corresponding to the resource processing event based on the resource details, the business scenario, the resource information, and the resource action comparison table;

[0117] The accounting adaptation result of the resource processing event is obtained by combining the resource adaptation result, condition adaptation result, and action adaptation result corresponding to the resource processing event.

[0118] In some possible embodiments, after determining the accounting adaptation rule table corresponding to the target application platform, the adaptation module 5002 is further configured to:

[0119] If a modification operation on the accounting adaptation rule table in the database is detected, the accounting adaptation rule table is updated based on the modification operation.

[0120] In some possible embodiments, after the data processing module 5004 performs data processing on the resource processing event based on the accounting adaptation result and obtains the data processing result of the resource processing event, it is further configured to:

[0121] Based on the data processing result, the resource type and subject of the resource processing event are determined; wherein the subject is used to represent the processing record of the resource processing event.

[0122] After introducing the data processing method and apparatus according to an exemplary embodiment of the present application, an electronic device according to another exemplary embodiment of the present application will be introduced next.

[0123] Those skilled in the art will appreciate that various aspects of the present application can be implemented as systems, methods, or program products. Therefore, various aspects of the present application can be specifically implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation that combines hardware and software aspects, which may be collectively referred to herein as a "circuit," "module," or "system."

[0124] In some possible implementations, an electronic device according to the present application may include at least one processor and at least one memory. The memory stores program code that, when executed by the processor, causes the processor to perform the steps of the data processing method according to various exemplary implementations of the present application described above in this specification.

[0125] Refer to the following Figure 6 The electronic device 130 according to this embodiment of the present application is described. Figure 6 The electronic device 130 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0126] like Figure 6 As shown, the electronic device 130 is a general electronic device. Components of the electronic device 130 may include, but are not limited to, the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).

[0127] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, and a processor or local bus using any of a variety of bus architectures.

[0128] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .

[0129] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0130] The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), one or more devices that enable a user to interact with the electronic device 130, and / or any device that enables the electronic device 130 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 135. Furthermore, the electronic device 130 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 via the bus 133. It should be understood that although Figure 6 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0131] In some possible implementations, various aspects of a data processing method provided by the present application may also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of a data processing method according to various exemplary implementations of the present application described above in this specification.

[0132] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0133] The program product for data processing of the embodiments of the present application may be a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on an electronic device. However, the program product of the present application is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0134] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0135] Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0136] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user electronic device, partially on the user device, as a separate software package, partially on the user electronic device and partially on a remote electronic device, or entirely on the remote electronic device or server. In cases involving remote electronic devices, the remote electronic device can be connected to the user electronic device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external electronic device (for example, using an Internet service provider to connect through the Internet).

[0137] It should be noted that although several units or subunits of the device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, depending on the embodiment of the application, the features and functions of two or more units described above can be embodied in a single unit. Conversely, the features and functions of a single unit described above can be further divided and embodied by multiple units.

[0138] Furthermore, although the operations of the method of the present application are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all illustrated operations must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0139] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0140] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0141] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0142] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0143] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A data processing method, characterized in that: The method comprises: Perform business processing on the received resource processing event to obtain resource details, business scenarios, and resource information of the resource processing event; Obtain the accounting adaptation rule table corresponding to the target application platform from the database; Determining a calculation adaptation result corresponding to the resource processing event based on the resource details of the resource processing event, the business scenario, the resource information, and the calculation adaptation rule table; Performing data processing on the resource processing event based on the accounting adaptation result to obtain a data processing result of the resource processing event; The calculation adaptation rule table is generated according to the following method: Obtaining a resource record comparison table, a resource accounting comparison table, a resource condition comparison table, and a resource action comparison table corresponding to the target application platform from a database; the resource record comparison table is used to determine whether to perform accounting adaptation on the resource processing event, the resource accounting comparison table is used to determine the resource adaptation result of the resource processing event, the resource condition comparison table is used to determine the condition adaptation result of the resource processing event, and the resource action comparison table is used to determine the action adaptation result corresponding to the resource processing event; Combining the resource record comparison table, the resource accounting comparison table, the resource condition comparison table, and the resource action comparison table to generate the accounting adaptation rule table; The determining of the accounting adaptation result corresponding to the resource processing event based on the resource details of the resource processing event, the business scenario, the resource information, and the accounting adaptation rule table includes: Determining a resource adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource accounting comparison table; Determining a condition adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource condition comparison table; Determine an action adaptation rule result corresponding to the resource processing event based on the resource details, the business scenario, the resource information, and the resource action comparison table; The accounting adaptation result of the resource processing event is obtained by combining the resource adaptation result, condition adaptation result, and action adaptation result corresponding to the resource processing event.

2. The method according to claim 1, characterized in that After obtaining the accounting adaptation rule table corresponding to the target application platform from the database, the method further includes: If a modification operation on the accounting adaptation rule table in the database is detected, the accounting adaptation rule table is updated based on the modification operation.

3. The method according to claim 1, characterized in that After performing data processing on the resource processing event based on the accounting adaptation result to obtain the data processing result of the resource processing event, the method further includes: Based on the data processing result, the resource type and subject of the resource processing event are determined; wherein the subject is used to represent the processing record of the resource processing event.

4. A data processing device, characterized in that: The device comprises: The business processing module is used to perform business processing on the received resource processing event and obtain the resource details, business scenario and resource information of the resource processing event; The adaptation module is used to obtain the accounting adaptation rule table corresponding to the target application platform from the database; An adaptation result determination module, configured to determine an accounting adaptation result corresponding to the resource processing event based on the resource details of the resource processing event, the business scenario, the resource information, and the accounting adaptation rule table; a data processing module, configured to perform data processing on the resource processing event based on the accounting adaptation result to obtain a data processing result of the resource processing event; The calculation adaptation rule table is generated according to the following method: Obtaining a resource record comparison table, a resource accounting comparison table, a resource condition comparison table, and a resource action comparison table corresponding to the target application platform from a database; the resource record comparison table is used to determine whether to perform accounting adaptation on the resource processing event, the resource accounting comparison table is used to determine the resource adaptation result of the resource processing event, the resource condition comparison table is used to determine the condition adaptation result of the resource processing event, and the resource action comparison table is used to determine the action adaptation result corresponding to the resource processing event; Combining the resource record comparison table, the resource accounting comparison table, the resource condition comparison table, and the resource action comparison table to generate the accounting adaptation rule table; The adaptation result determination module is specifically configured to: Determining a resource adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource accounting comparison table; Determining a condition adaptation result of the resource processing event based on the resource details, the business scenario, the resource information, and the resource condition comparison table; Determine an action adaptation rule result corresponding to the resource processing event based on the resource details, the business scenario, the resource information, and the resource action comparison table; The accounting adaptation result of the resource processing event is obtained by combining the resource adaptation result, condition adaptation result, and action adaptation result corresponding to the resource processing event.

5. The device according to claim 4, characterized in that The adaptation module is further configured to: After obtaining the accounting adaptation rule table corresponding to the target application platform from the database, if a modification operation on the accounting adaptation rule table in the database is detected, the accounting adaptation rule table is updated based on the modification operation.

6. The device according to claim 4, characterized in that The data processing module is further configured to: After performing data processing on the resource processing event based on the accounting adaptation result to obtain the data processing result of the resource processing event, the resource type and subject of the resource processing event are determined based on the data processing result; wherein the subject is used to characterize the processing record of the resource processing event.

7. An electronic device, characterized in that: include: a memory for storing program instructions; A processor is configured to call program instructions stored in the memory and execute the steps of the method according to any one of claims 1 to 3 according to the obtained program instructions.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to perform the method according to any one of claims 1 to 3.

9. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Information processing method, system and apparatus and electronic device

    CN109934694A

  • Data processing method, accounting system and related equipment

    CN114691768A