Transaction processing method, device, storage medium and product

By introducing transaction code registrant, transaction code collector and transaction management model in the product management system, the problem of separation of transaction code maintenance and system function development is solved, automatic management of transaction information is realized, and management costs and operation and maintenance errors are reduced. increase transaction success rate.

CN113313595BActive Publication Date: 2025-02-07AGRICULTURAL BANK OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110714999.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-25
Publication Date
2025-02-07
Estimated Expiration
2041-06-25

AI Technical Summary

Technical Problem

In the prior art, the maintenance of transaction codes is separated from the development of system functions, resulting in high management costs and easy errors, which leads to transaction failure.

Method used

By introducing transaction code registrant, transaction code collector and transaction management model into the product management system, the automatic registration, collection and storage of transaction information is realized, and the registration of transaction information and the development of system functions is integrated.

Benefits of technology

It realizes automatic management of basic transaction information and transaction relationship information, reduces management costs and operation and maintenance error rates, and improves the success rate of transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113313595B_ABST
    Figure CN113313595B_ABST
Patent Text Reader

Abstract

The present application provides a transaction processing method, device, storage medium and product, the method comprising: registering transaction information through the transaction code register to obtain basic transaction information and transaction relationship information corresponding to the transaction; collecting the basic transaction information and transaction relationship information corresponding to the transaction through the transaction code collector, and sending them to the transaction management model; saving the basic transaction information and transaction relationship information corresponding to the transaction through the transaction management model. Thus, the transaction processing method provided by the present application can realize the automatic management of basic transaction information and transaction relationship information in the information system, while reducing management costs, it can also reduce the error rate of operation and maintenance, and improve the success rate of transactions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of transaction management technology, and in particular to a transaction processing method, device, storage medium and product. Background Art

[0002] After the product management system was built, with the vigorous development of business, the system services have become increasingly rich. The product management system provides external services such as product catalog management, product information query, product configuration, product data synchronization and product release.

[0003] The product management system serves a large number of user groups. The functions and user objects of each module vary greatly. The management model of permissions and users is relatively complex, and refined management of system functions is required.

[0004] Traditional transactions are managed by manually entering transaction information. However, the manual maintenance of transaction code resources separates the maintenance of transaction codes from the development of system functions. On the one hand, the management cost is high. On the other hand, errors are prone to occur during the operation and maintenance of the information system, which leads to transaction failures. Summary of the invention

[0005] The present application provides a transaction processing method, device, storage medium and product to solve the problems existing in the prior art.

[0006] In a first aspect, the present application provides a transaction processing method, which is applied to a product management system, wherein the product management system includes a transaction code register, a transaction code collector, and a transaction management model, and the method includes:

[0007] Register the transaction information through the transaction code register to obtain the basic transaction information and transaction relationship information corresponding to the transaction;

[0008] Collecting basic transaction information and transaction relationship information corresponding to the transaction through the transaction code collector, and sending them to the transaction management model;

[0009] The transaction management model is used to store basic transaction information and transaction relationship information corresponding to the transaction.

[0010] In some embodiments, registering the transaction through the transaction code register includes:

[0011] Configure the transaction code register for the method in the product management system;

[0012] Transactions generated by the method in the product management system are registered through the transaction code register.

[0013] In some embodiments, registering the transaction generated by the method in the product management system through the transaction code register includes:

[0014] Before the product management system enters the running state, the transaction generated by the method in the product management system is registered by the transaction code register.

[0015] In some embodiments, collecting basic transaction information and transaction relationship information corresponding to the transaction through the transaction code collector includes:

[0016] Collecting, by the transaction code collector, a registration message obtained by the transaction code register through registration;

[0017] The transaction code, transaction name, transaction method name, transaction address, transaction type and transaction activation identifier of the transaction contained in the registration message are extracted by the transaction code collector and used as basic transaction information corresponding to the transaction;

[0018] The transaction code collector extracts the transaction codes, relationship types and relationship activation identifiers of the two parties in the registration message and uses them as transaction relationship information corresponding to the transaction.

[0019] In some embodiments, collecting, by the transaction code collector, a registration message obtained by the transaction code register through registration, includes:

[0020] The transaction code collector collects registration messages obtained by the target transaction code register through registration, and the target transaction code register includes a transaction code register configured for the method in the product management system.

[0021] In some embodiments, the step of collecting the registration message obtained by the target transaction code register through the transaction code collector includes:

[0022] When the product management system enters the running state, the transaction code collector collects the registration message obtained by the target transaction code register through registration.

[0023] In some embodiments, the method further comprises:

[0024] Acquire transaction management instructions through the transaction management model;

[0025] Determining, by means of the transaction management model, whether the user identity corresponding to the transaction management instruction has the corresponding management authority;

[0026] If available, the operation corresponding to the transaction management instruction is executed through the transaction management model.

[0027] In a second aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned transaction processing method when executing the program.

[0028] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement the above-mentioned transaction processing method when executed by a processor.

[0029] In a fourth aspect, the present application provides a computer program product, including a computer program, which implements the above-mentioned transaction processing method when executed by a processor.

[0030] The transaction processing method, device, storage medium and product provided by the present application include: registering the transaction information through the transaction code register to obtain the basic transaction information and transaction relationship information corresponding to the transaction; collecting the basic transaction information and transaction relationship information corresponding to the transaction through the transaction code collector, and sending them to the transaction management model; saving the basic transaction information and transaction relationship information corresponding to the transaction through the transaction management model. Therefore, the transaction processing method provided by the present application can realize the automatic management of the basic transaction information and transaction relationship information in the information system, while reducing the management cost, it can also reduce the error rate of operation and maintenance, and improve the success rate of transactions. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0032] Figure 1 A schematic diagram of an application scenario of the solution of this application;

[0033] Figure 2 A schematic diagram of a product management system provided in an embodiment of the present application;

[0034] Figure 3 This is a schematic diagram of the workflow of the product management system in the embodiment of the present application;

[0035] Figure 4 A schematic diagram of a transaction processing method provided in an embodiment of the present application;

[0036] Figure 5 A schematic diagram of the structure of a computer device provided in an embodiment of the present application.

[0037] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "an" and "the" used in the embodiments of the present application are also intended to include plural forms, unless the context clearly indicates other meanings.

[0040] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0041] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a product or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a product or system. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the product or system including the elements.

[0042] After the product management system was built, with the vigorous development of business, the system services have become increasingly rich. The product management system provides external services such as product catalog management, product information query, product configuration, product data synchronization and product release.

[0043] Figure 1 A schematic diagram of the application scenario of the solution of this application, such as Figure 1As shown, the application scenario includes a product management system 12. The product management system 12 can be specifically set on a server. Users who can use the product management system 12 can be divided into two categories: user A with general permissions and user B with system management permissions.

[0044] Among them, before the product management system 12 is used by user A, user B can maintain and manage the product functions of the product management system 12 through the second terminal 13; after user B completes the maintenance and management, user A can access the product management system 12 through the first terminal 11, such as using a certain function of the product management system in the user interface (UI) of the first terminal 11.

[0045] based on Figure 1 In the application scenario shown, during the maintenance and management process of user B, the prior art generally uses manual methods to maintain transaction information. Specifically, in the prior art, after the development of the product management system is completed, the system configuration administrator collects the final version of valid transaction code information from all system developers based on the system design manual, creates a data script based on the collected information, and executes the script in the production environment to complete the deployment (that is, data storage). Due to the long system development period, the splitting, merging or adjustment of transaction functions often occurs during the development process. The traditional processing methods rely on manual collection and reporting, which is very prone to various problems such as mismatching, missing matching, and failure to update versions in time.

[0046] The transaction processing method, device, storage medium and product provided in this application are intended to solve the above technical problems of the prior art.

[0047] The main idea of ​​the present application is: for product management systems, based on the problems existing in the prior art of manually maintaining transaction information, the present application explores automatic transaction management methods and proposes a product management system for transaction processing, including a transaction code registrar, a transaction code collector and a transaction management model, which are respectively used to realize transaction registration, information collection and information preservation, thereby realizing automatic management of basic transaction information and transaction relationship information in the system.

[0048] Compared with the prior art, the main advantage of the technical method in this application is that it can save the manual management process of collecting, organizing and deploying transaction information before the project goes into production. This application integrates the registration of transaction information with the system function development process, and the system developers can instantly complete the registration of transaction information in the function method header while developing a specific transaction function. When the system starts, it automatically collects and deploys (deployment can be considered as persistence). The technical solution of this application greatly facilitates the work of developers and system configuration personnel, saves a management link before production, can reduce the additional management costs brought about by the system development period, and is less likely to have omissions and mismatches, thereby improving the efficiency of system operation and maintenance.

[0049] It can be understood that the technical solution of the present application can be specifically applied to the process of maintaining the product management system by a user with system management authority (such as the user B mentioned above).

[0050] It should also be noted that the various transaction information in this application, such as basic transaction information, transaction relationship information, etc., belongs to the information used by the above-mentioned user B in the process of system operation and maintenance, and is not the transaction log generated by the above-mentioned user A in the process of using the product.

[0051] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0052] In some embodiments, a product management system is provided, which can automatically update and maintain transaction information.

[0053] Figure 2 A schematic diagram of a product management system provided in an embodiment of the present application, Figure 3 Schematic diagram of the workflow of the product management system in the embodiment of the present application. Figure 2 as well as Figure 3 As shown, the product management system 20 includes a transaction code register 21 , a transaction code collector 22 and a transaction management model 23 .

[0054] Specifically, the transaction code register 21 is used to define basic transaction information and transaction relationship information of a transaction.

[0055] The basic transaction information defines the transaction code, transaction name, transaction method name and transaction address. The transaction method refers to the call path of the transaction, and the transaction address is the uniform resource locator (URL). In addition, due to the need for refined transaction management, the basic transaction information also includes the transaction type and transaction activation flag. The transaction type is divided into query transactions and management transactions; the transaction activation flag is used to identify the transaction status.

[0056] In addition, the transaction relationship information includes elements such as the transaction code of the two parties in the relationship, the relationship type and the relationship activation identifier. Among them, the transaction relationship can be, for example, an association relationship between a foreground transaction and a backstage transaction, or a hierarchical relationship between multiple foreground transactions.

[0057] The transaction code register 21 is implemented through the concept of aspect-oriented programming (Aspect Oriented Programming, AOP), which refers to the technology of unified maintenance of program functions through pre-compilation and dynamic proxy during runtime.

[0058] The objects of action in the product management system 20 include methods, attributes, values, classes, etc. In this application, the objects of action of the transaction code register 21 are specifically functions in the information system, that is, methods. In addition, since the transaction code collector 22 needs to dynamically obtain the information in the transaction code register 21 at runtime, the transaction code collector collects the structured transaction information in the transaction code register at runtime, that is: before the product management system enters the running state, the transaction generated by the method in the product management system is registered through the transaction code register 21; when the program in the product management system starts running, the transaction code collector 22 starts working, thereby ensuring that the relevant information of the transaction is full, valid and correct transaction management data.

[0059] For example, the transaction name corresponding to the product line information query function is product line information query, the transaction code is PRRB0001, the transaction type is query, and it is associated with several front-end transactions. The transaction code register 21 of this function is configured as follows:

[0060] TranInfo(TranId="XXXXO001",TranState=ENABLED,TranName="Product Line Condition Query",RelatedTranId="XXA20001,XXA20002,XXA20004",TranType=QUERY)

[0061] The transaction code collector 22 is used to collect basic transaction information and transaction relationship information defined by the transaction code register 21 .

[0062] The transaction code collector 22 runs during the startup of the product management system 20 framework. During the initialization process, when loading system resources, the transaction code collector 22 starts and begins to automatically collect basic transaction information and transaction relationship information. The transaction code collector 22 can obtain the transaction information configured by the transaction code register 21 in the resources to be loaded through the reflection mechanism.

[0063] Since the transaction code register 21 clearly marks that the object of action is a method, after the transaction code collector 22 is started, only the transaction code register 21 configured before the method in the system resources is scanned.

[0064] After completing the collection, the transaction code collector 22 further analyzes the collected transaction information and saves it in the transaction management model 23, thereby realizing information persistence processing to facilitate access and use by other modules.

[0065] The transaction management model 23 includes a transaction basic information module 23a and a transaction relationship module 23b, wherein the transaction basic information module 23a is used to store transaction basic information, such as transaction code, transaction name, transaction method name, transaction address, transaction type and transaction activation mark, etc.; the transaction relationship module 23b is used to store transaction relationship information, such as transaction codes, relationship types and relationship activation marks of both parties in the relationship.

[0066] The basic transaction information and transaction relationship information stored in the transaction management model 23 can be used by the authority management module 30. Users (such as the above-mentioned user B) can manage the basic transaction information and transaction relationship information through the authority management module 30, such as executing transaction deletion processing.

[0067] In the above-mentioned embodiment of the present application, for the product management system, the decoupling of transaction code management and business functions is realized through the aspect-oriented programming concept, and the refined and automated registration and collection of transaction resources in the information system are realized through the transaction code registrar 21 and the transaction code collector 22, and the basic transaction information and transaction relationship information are saved through the transaction management model 23.

[0068] Among them, the configuration of the transaction code register 21 in the method header ensures the instant registration of transaction information, integrates transaction definition and function development, and can effectively ensure the correctness and integrity of transaction code information.

[0069] In addition, the transaction code collector 22 automatically collects all registered transaction information within the target range when the system is started, eliminating the tedious manual collection of transaction information and fundamentally eliminating mismatching and missing of transaction information.

[0070] Therefore, the above-mentioned product management system provided by the present application can realize the automatic management of basic transaction information and transaction relationship information in the information system, while reducing management costs, it can also reduce the error rate of operation and maintenance and improve the success rate of transactions.

[0071] In some embodiments, a transaction processing method is provided, which is applied to a product management system. The product management system includes a transaction code register, a transaction code collector, and a transaction management model. The transaction processing method can essentially be considered as an update and maintenance processing process for transaction information.

[0072] Figure 4 A schematic diagram of a transaction processing method provided in an embodiment of the present application, such as Figure 4 As shown, the method mainly includes the following steps:

[0073] S100, registering the transaction information through the transaction code register to obtain basic transaction information and transaction relationship information corresponding to the transaction;

[0074] The basic transaction information defines the transaction code, transaction name, transaction method name and transaction address. The transaction method refers to the call path of the transaction, and the transaction address is the uniform resource locator (URL). In addition, due to the need for refined transaction management, the basic transaction information also includes the transaction type and transaction activation flag. The transaction type is divided into query transactions and management transactions; the transaction activation flag is used to identify the transaction status.

[0075] In addition, the transaction relationship information includes elements such as the transaction code of the two parties in the relationship, the relationship type and the relationship activation identifier. Among them, the transaction relationship can be, for example, an association relationship between a foreground transaction and a backstage transaction, or a hierarchical relationship between multiple foreground transactions.

[0076] S200, collecting basic transaction information and transaction relationship information corresponding to the transaction through the transaction code collector, and sending them to the transaction management model;

[0077] Among them, the transaction code collector can obtain the transaction information configured by the transaction code registrar in the resource to be loaded through the reflection mechanism.

[0078] After completing the collection, the transaction code collector further analyzes the collected transaction information and saves it in the transaction management model, thereby realizing information persistence processing for easy access and use by other modules.

[0079] S300: Save basic transaction information and transaction relationship information corresponding to the transaction through the transaction management model.

[0080] Among them, the transaction management model includes a transaction basic information module and a transaction relationship module. The transaction basic information module is used to save basic transaction information, such as transaction code, transaction name, transaction method name, transaction address, transaction type and transaction activation mark, etc.; the transaction relationship module is used to save transaction relationship information, such as transaction codes, relationship types and relationship activation marks of both parties in the relationship.

[0081] The basic transaction information and transaction relationship information stored in the transaction management model can be used by the authority management module. The authority management module can be a module in the user terminal. The user can manage the basic transaction information and transaction relationship information through the authority management module, such as executing transaction deletion processing.

[0082] In the above-mentioned embodiments of the present application, for the product management system, the decoupling of transaction code management and business functions is realized through the aspect-oriented programming concept, and the refined and automated registration and collection of transaction resources in the information system are realized through the transaction code registrar and transaction code collector, and the basic transaction information and transaction relationship information are saved through the transaction management model.

[0083] Therefore, the transaction processing method provided in the present application can realize the automatic management of basic transaction information and transaction relationship information in the information system, while reducing management costs, it can also reduce the error rate of operation and maintenance and improve the success rate of transactions.

[0084] In some embodiments, registering a transaction through a transaction code register includes:

[0085] S110, configuring a transaction code register for a method in a product management system;

[0086] S120. Register the transaction generated by the method in the product management system through a transaction code register.

[0087] Therefore, the configuration of the transaction code registrar in the method header ensures the instant registration of transaction information, integrates transaction definition and function development, and can effectively ensure the correctness and integrity of transaction code information.

[0088] In some embodiments, registering a transaction generated by a method in a product management system through a transaction code register includes:

[0089] S121. Before the product management system enters the running state, the transaction generated by the method in the product management system is registered through the transaction code register.

[0090] Specifically, the transaction code registrar is implemented through the concept of aspect-oriented programming (AOP). Aspect-oriented programming refers to a technology that achieves unified maintenance of program functions through pre-compilation and dynamic proxy during runtime.

[0091] The objects of action in the product management system include methods, attributes, values, classes, etc. In this embodiment, the object of action of the transaction code register is specifically the function in the information system, that is, the method. In addition, since the transaction code collector needs to dynamically obtain the information in the transaction code register at runtime, each time the system is optimized and upgraded, the transaction code information is first updated or registered through the transaction code register, thereby ensuring that the transaction-related information collected by the transaction code collector is the latest data.

[0092] In some embodiments, the basic transaction information and transaction relationship information corresponding to the transaction are collected by the transaction code collector, including:

[0093] S210, collecting, by means of a transaction code collector, a registration message obtained by a transaction code register through registration;

[0094] S220, extracting the transaction code, transaction name, transaction method name, transaction address, transaction type and transaction activation flag of the transaction contained in the registration message through the transaction code collector, and using them as basic transaction information corresponding to the transaction;

[0095] S230. The transaction code collector extracts the transaction codes, relationship types, and relationship activation identifiers of the two parties in the registration message and uses them as transaction relationship information corresponding to the transaction.

[0096] Optionally, collecting registration messages obtained by registration of a transaction code register through a transaction code collector includes: collecting registration messages obtained by registration of a target transaction code register through a transaction code collector, wherein the target transaction code register includes a transaction code register configured for a method in a product management system.

[0097] Optionally, collecting registration messages obtained by the target transaction code registrar through registration by the transaction code collector includes: when the product management system enters the running state, collecting registration messages obtained by the target transaction code registrar through registration by the transaction code collector.

[0098] Specifically, the transaction code collector is used to collect basic transaction information and transaction relationship information defined by the transaction code register.

[0099] The transaction code collector runs during the startup of the product management system framework. During the initialization process, when loading system resources, the transaction code collector starts and begins to automatically collect basic transaction information and transaction relationship information. The transaction code collector can obtain transaction information configured by the transaction code register in the resources to be loaded through the reflection mechanism.

[0100] Since the transaction code registrar clearly marks the object of action as a method, after the transaction code collector is started, it only scans the transaction code registrar configured before the method in the system resources.

[0101] When the system is started, the transaction code collector automatically collects all transaction information registered through the transaction code register within the target range, eliminating the tedious manual collection of transaction information and fundamentally eliminating the mismatch and omission of transaction information.

[0102] In some embodiments, the method further comprises:

[0103] S410, obtaining a transaction management instruction through a transaction management model;

[0104] S420, judging whether the user identity corresponding to the transaction management instruction has the corresponding management authority through the transaction management model;

[0105] S430: If available, execute the operation corresponding to the transaction management instruction through the transaction management model.

[0106] Specifically, users can access transaction information through the terminal's permission management module. During the access process, users send transaction management instructions to the transaction management model through the permission management module. After receiving the transaction management instruction, the transaction management model first verifies the user's identity and management authority. If the verification passes, it means that the user has the corresponding processing authority and can execute the operation corresponding to the transaction management instruction; otherwise, the operation is not executed.

[0107] Therefore, by performing user identity verification, the security of transaction information can be improved.

[0108] It should be understood that, although the various steps in the flowcharts in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily to be carried out sequentially, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0109] In some embodiments, a computer device is provided.

[0110] Figure 5 A schematic diagram of the structure of a computer device provided in an embodiment of the present application, such as Figure 5 As shown, the computer device includes: a processor 111 and a memory 112.

[0111] The memory 112 is used to store programs and data, and the processor 111 calls the program stored in the memory to execute the technical solution of any of the aforementioned method embodiments.

[0112] In the above-mentioned computer device, the memory and the processor are electrically connected directly or indirectly to realize data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines, such as through a bus connection. The memory stores computer executable instructions for implementing the data access control method, including at least one software function module that can be stored in the memory in the form of software or firmware. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory.

[0113] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory is used to store programs, and the processor executes the programs after receiving the execution instructions. Furthermore, the software programs and modules in the above-mentioned memory may also include an operating system, which may include various software components and / or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.

[0114] The processor may be an integrated circuit chip having the ability to process signals. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. The disclosed methods, steps and logic block diagrams in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0115] In some embodiments, a computer-readable storage medium is provided, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the steps of various method embodiments of the present application.

[0116] In some embodiments, a computer program product is provided, including a computer program, which implements the steps of the method embodiments of the present application when executed by a processor.

[0117] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0118] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the application disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0119] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A transaction processing method, characterized in that: Applied to a product management system, the product management system includes a transaction code register, a transaction code collector and a transaction management model, the method includes: Register the transaction information through the transaction code register to obtain the basic transaction information and transaction relationship information corresponding to the transaction; Collecting basic transaction information and transaction relationship information corresponding to the transaction through the transaction code collector, and sending them to the transaction management model; The transaction management model is used to store basic transaction information and transaction relationship information corresponding to the transaction; The collecting of basic transaction information and transaction relationship information corresponding to the transaction by the transaction code collector includes: Collecting, by the transaction code collector, a registration message obtained by the transaction code register through registration; The transaction code, transaction name, transaction method name, transaction address, transaction type and transaction activation identifier of the transaction contained in the registration message are extracted by the transaction code collector and used as basic transaction information corresponding to the transaction; The transaction code collector extracts the transaction codes, relationship types and relationship activation identifiers of the two parties in the registration message and uses them as transaction relationship information corresponding to the transaction.

2. The transaction processing method according to claim 1, characterized in that: The registering of transaction information through the transaction code register includes: Configure the transaction code register for the method in the product management system; Transactions generated by the method in the product management system are registered through the transaction code register.

3. The transaction processing method according to claim 2, characterized in that: The registering of the transaction generated by the method in the product management system through the transaction code register includes: Before the product management system enters the running state, the transaction generated by the method in the product management system is registered by the transaction code register.

4. The transaction processing method according to claim 1, characterized in that: Collecting the registration message obtained by the transaction code register through registration by the transaction code collector includes: The transaction code collector collects registration messages obtained by the target transaction code register through registration, and the target transaction code register includes a transaction code register configured for the method in the product management system.

5. The transaction processing method according to claim 4, characterized in that: The step of collecting the registration message obtained by the target transaction code register through the transaction code collector includes: When the product management system enters the running state, the transaction code collector collects the registration message obtained by the target transaction code register through registration.

6. The transaction processing method according to any one of claims 1 to 5, characterized in that: The method further comprises: Acquire transaction management instructions through the transaction management model; Determining, by means of the transaction management model, whether the user identity corresponding to the transaction management instruction has the corresponding management authority; If available, the operation corresponding to the transaction management instruction is executed through the transaction management model.

7. A computer device, characterized in that: include: A memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the transaction processing method according to any one of claims 1 to 6 when executing the program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the transaction processing method according to any one of claims 1 to 6.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the transaction processing method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Online mass data processing system and method

    CN104077362A