CN113313595A - Transaction processing method, device, storage medium and product - Google Patents

Transaction processing method, device, storage medium and product Download PDF

Info

Publication number
CN113313595A
CN113313595A CN202110714999.6A CN202110714999A CN113313595A CN 113313595 A CN113313595 A CN 113313595A CN 202110714999 A CN202110714999 A CN 202110714999A CN 113313595 A CN113313595 A CN 113313595A
Authority
CN
China
Prior art keywords
transaction
information
code
transaction code
registering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110714999.6A
Other languages
Chinese (zh)
Inventor
行荣
申志鹏
完彬
赵志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202110714999.6A priority Critical patent/CN113313595A/en
Publication of CN113313595A publication Critical patent/CN113313595A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Technology Law (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a transaction processing method, a device, a storage medium and a product, wherein the method comprises the following steps: registering the transaction information through the transaction code register to obtain transaction basic information and transaction relation information corresponding to the transaction; acquiring basic transaction information and transaction relation information corresponding to the transaction through the transaction code collector, and sending the basic transaction information and the transaction relation information to the transaction management model; and storing the transaction basic information and the transaction relation information corresponding to the transaction through the transaction management model. Therefore, the transaction processing method provided by the application can realize automatic management of the transaction basic information and the transaction relation information in the information system, reduce the management cost, reduce the error rate of operation and maintenance and improve the success rate of transactions.

Description

Transaction processing method, device, storage medium and product
Technical Field
The present application relates to the field of transaction management technologies, and in particular, to a transaction processing method, a transaction processing device, a transaction processing storage medium, and a transaction processing product.
Background
After the product management system is built, with the vigorous development of business, the system services are increasingly abundant. The product management system provides services such as product catalog management, product information inquiry, product configuration, product data synchronization, product release and the like for the outside.
The product management system faces a lot of user groups, the difference between each module function and the use object is large, the authority and the management model of the user are relatively complex, and the system functions need to be managed finely.
The traditional transaction is managed by manually inputting transaction information, however, for the management mode of manually maintaining transaction code resources, the maintenance of the transaction code and the development of system functions are cut apart in the process, on one hand, the management cost is high, and on the other hand, errors are easy to occur in the operation and maintenance process of an information system, so that the transaction fails.
Disclosure of Invention
The application provides a transaction processing method, a device, a storage medium and a product, which are used for solving the problems in the prior art.
In a first aspect, the present application provides a transaction processing method applied to a product management system, where the product management system includes a transaction code register, a transaction code collector, and a transaction management model, and the method includes:
registering the transaction information through the transaction code register to obtain transaction basic information and transaction relation information corresponding to the transaction;
acquiring basic transaction information and transaction relation information corresponding to the transaction through the transaction code collector, and sending the basic transaction information and the transaction relation information to the transaction management model;
and storing the transaction basic information and the transaction relation information corresponding to the transaction through the transaction management model.
In some embodiments, said registering a transaction with said transaction code registrar comprises:
configuring a transaction code registrar for a method in a product management system;
registering, by the transaction code registrar, transactions generated by methods in the product management system.
In some embodiments, said registering by said transaction code registrar of transactions generated by a method in said product management system comprises:
registering, by the transaction code registrar, transactions generated by methods in a product management system before the product management system enters an operational state.
In some embodiments, the collecting, by the transaction code collector, the transaction basic information and the transaction relationship information corresponding to the transaction includes:
acquiring a registration message obtained by registering the transaction code register through the transaction code collector;
extracting a transaction code, a transaction name, a transaction method name, a transaction address, a transaction type and a transaction enabling identifier of the transaction contained in the registration message through the transaction code collector, and using the transaction code, the transaction name, the transaction method name, the transaction address, the transaction type and the transaction enabling identifier as basic transaction information corresponding to the transaction;
and extracting the transaction codes, the relationship types and the relationship enabling identifications of the two parties of the relationship contained in the registration message by the transaction code collector, and using the transaction codes, the relationship types and the relationship enabling identifications as transaction relationship information corresponding to the transaction.
In some embodiments, collecting, by the transaction code collector, a registration message obtained by registering the transaction code registrar includes:
and acquiring a registration message obtained by registering a target transaction code register through the transaction code collector, wherein the target transaction code register comprises a transaction code register configured for a method in a product management system.
In some embodiments, the collecting, by the transaction code collector, a registration message obtained by registering the target transaction code registrar includes:
and when the product management system enters an operating state, acquiring a registration message obtained by registering the target transaction code register through the transaction code collector.
In some embodiments, the method further comprises:
acquiring a transaction management instruction through the transaction management model;
judging whether the user identity corresponding to the transaction management instruction has the corresponding management authority or not through the transaction management model;
and if so, executing the operation corresponding to the transaction management command through the transaction management model.
In a second aspect, the present application provides a computer device comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the transaction processing method described above when executing the program.
In a third aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for implementing the transaction processing method described above when executed by a processor.
In a fourth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the transaction processing method described above.
The application provides a transaction processing method, a device, a storage medium and a product, wherein the method comprises the following steps: registering the transaction information through the transaction code register to obtain transaction basic information and transaction relation information corresponding to the transaction; acquiring basic transaction information and transaction relation information corresponding to the transaction through the transaction code collector, and sending the basic transaction information and the transaction relation information to the transaction management model; and storing the transaction basic information and the transaction relation information corresponding to the transaction through the transaction management model. Therefore, the transaction processing method provided by the application can realize automatic management of the transaction basic information and the transaction relation information in the information system, reduce the management cost, reduce the error rate of operation and maintenance and improve the success rate of transactions.
Drawings
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 disclosure.
Fig. 1 is a schematic diagram of an application scenario of the solution of the present application;
FIG. 2 is a schematic diagram of a product management system provided by an embodiment of the present application;
FIG. 3 is a schematic view of the work flow of the product management system in the embodiment of the present application;
FIG. 4 is a schematic diagram of a transaction processing method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the embodiments of the present application, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
After the product management system is built, with the vigorous development of business, the system services are increasingly abundant. The product management system provides services such as product catalog management, product information inquiry, product configuration, product data synchronization, product release and the like for the outside.
Fig. 1 is a schematic diagram of an application scenario of the scheme of the present application, and as shown in fig. 1, the application scenario includes a product management system 12, the product management system 12 may be specifically disposed in a server, and users using the product management system 12 may be divided into two types: a user a with a normal authority and a user B with a system management authority.
Before the product management system 12 is used by the user a, the user B may perform maintenance and management on the product functions of the product management system 12 through the second terminal 13; after the User B completes the maintenance and management, the User a may access the product management system 12 through the first terminal 11, for example, use a certain function of the product management system on a User Interface (UI) of the first terminal 11.
Based on the application scenario shown in fig. 1, in the process of performing maintenance management by the user B, the prior art generally uses a manual method to maintain transaction information. Specifically, in the prior art, after the product management system is developed, a system configuration manager collects the final version-fixed valid transaction code information to all system developers based on the system design specification, creates a data script according to the collected information, and executes the script in the production environment to complete deployment (i.e., data warehousing). Because the system development period is long, the splitting, merging or adjustment of transaction functions often occurs in the development process, and the traditional processing mode depends on manual collection and reporting, so that various problems such as mismatching, missing distribution, version update in time and the like are very easy to occur.
The application provides a transaction processing method, a device, a storage medium and a product, which aim to solve the technical problems in the prior art.
The main conception of the scheme of the application is as follows: for a product management system, based on the problems existing in the manual transaction information maintenance mode in the prior art, the product management system for transaction processing is provided by exploring an automatic transaction management method, and comprises a transaction code register, a transaction code collector and a transaction management model which are respectively used for realizing the registration, information collection and information storage of transactions, so that the automatic management of transaction basic information and transaction relation information in the system is realized.
Compared with the prior art, the technical method has the main advantage that the management process of manually collecting, arranging and deploying the transaction information can be omitted before project production. The method integrates the steps of registering the transaction information and developing the system function, and the system developer develops a specific transaction function and simultaneously immediately completes the registration of the transaction information at the head of a function method. When the system starts, deployments are automatically collected (deployments can be considered as persistency). According to the technical scheme, the development personnel and the system configuration personnel can work conveniently, a management link before production is omitted, extra management cost caused by the system development period can be reduced, the conditions of missing distribution and mismatching are not prone to occurring, and the system operation and maintenance efficiency is improved.
It can be understood that the technical solution of the present application can be specifically applied to a process in which a user with system management authority (for example, the user B) performs maintenance of a product management system.
In addition, various information of the transaction in the present application, such as basic transaction information and transaction relationship information, belong to information used in the system operation and maintenance process performed by the user B, and are not transaction logs generated in the product use process performed by the user a.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
In some embodiments, a product management system is provided that can automatically perform an update maintenance process for transaction information.
Fig. 2 is a schematic diagram of a product management system provided in an embodiment of the present application, and fig. 3 is a schematic diagram of a work flow of the product management system in the embodiment of the present application, as shown in fig. 2 and fig. 3, a product management system 20 includes a transaction code register 21, a transaction code collector 22, and a transaction management model 23.
Specifically, the transaction code register 21 is used to define transaction basic information and transaction relationship information of the transaction.
The transaction basic information defines a transaction code, a transaction name, a transaction method name and a transaction address, the transaction method refers to a call path of a transaction, and the transaction address is a Uniform Resource Locator (URL). In addition, due to the requirement of transaction fine management, the transaction basic information also comprises transaction types and transaction enabling identifiers, wherein the transaction types are divided into query type transactions and management type transactions; the transaction enable flag is used to identify the transaction status.
The transaction relationship information includes elements such as transaction codes, relationship types, and relationship enabling identifiers of both parties of the relationship. The transaction relationship may be, for example, an association relationship between a foreground transaction and a background transaction, or a hierarchical relationship of a plurality of foreground transactions.
The transaction code register 21 is implemented by an Aspect Oriented Programming (AOP) concept, which is a technology for implementing uniform maintenance of program functions by pre-compiling and dynamic proxy during operation.
The roles in the product management system 20 include methods, attributes, values, classes, etc. in this application, the transaction code registrar 21 roles are specific to functions, i.e., methods, in the information system. 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: registering, by a transaction code registrar 21, transactions generated by methods in the product management system before the product management system enters an operational state; when the program in the product management system begins to run, the transaction code collector 22 begins to work, thereby ensuring that the relevant information of the transaction is the full amount of effective and correct transaction management data.
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 a plurality of foreground transactions are associated, and the transaction code register 21 of the function is configured to:
TranInfo (TranId ═ XXXXO001", TranState ═ ENABLED, TranName ═ product line condition QUERY", RelatedTranId ═ XXA20001, XXA20002, XXA20004", TranType ═ QUERY)
The transaction code collector 22 is used for collecting the transaction basic information and the transaction relation information defined by the transaction code register 21.
The transaction code collector 22 operates in the process of starting the product management system 20 framework, and in the initialization process, when system resources are loaded, the transaction code collector 22 starts and starts to automatically collect transaction basic information and transaction relation information. The transaction code collector 22 can obtain the transaction information configured by the transaction code register 21 in the resource to be loaded through a reflection mechanism.
Since the transaction code register 21 explicitly marks the action object as a method, after the transaction code collector 22 is started, only the transaction code register 21 configured before the method in the system resource is scanned.
After the transaction code collector 22 finishes collecting, the collected transaction information is further analyzed and stored in the transaction management model 23, so that information persistence processing is realized, and other modules can access and use the information conveniently.
The transaction management module 23 includes a transaction basic information module 23a and a transaction relation module 23b, where the transaction basic information module 23a is used to store transaction basic information, such as a transaction code, a transaction name, a transaction method name, a transaction address, a transaction type, a transaction enabling identifier, and the like; the transaction relation module 23b is used for storing transaction relation information, for example, elements including transaction codes, relation types, relation enabling identifiers and the like of both parties of the relation.
The basic transaction information and the transaction relationship information stored in the transaction management model 23 are available to the right management module 30, and a user (for example, the user B) can manage the basic transaction information and the transaction relationship information through the right management module 30, for example, execute a transaction deletion process and the like.
In the above embodiment of the present application, for the product management system, decoupling of transaction code management and service function is realized through the tangent plane-oriented programming idea, fine and automated registration work and collection work of transaction resources in the information system are realized through the transaction code register 21 and the transaction code collector 22, and the transaction basic information and the transaction relationship information are stored through the transaction management model 23.
The configuration of the transaction code register 21 is at the head of the method, which ensures the instant registration of the transaction information, integrates the transaction definition and the function development, and can effectively ensure the correctness and the integrity of the transaction code information.
In addition, the transaction code collector 22 automatically collects all registered transaction information within the target range when the system is started, so that the trouble of manually collecting the transaction information is avoided, and the mismatching and missing of the transaction information are fundamentally avoided.
Therefore, the product management system provided by the application can realize automatic management of the basic transaction information and the transaction relation information in the information system, reduce the management cost, reduce the error rate of operation and maintenance and improve the success rate of transaction.
In some embodiments, a transaction processing method is provided, which is applied to a product management system, the product management system comprises a transaction code register, a transaction code collector and a transaction management model, and the transaction processing method can be essentially regarded as an updating maintenance processing process for transaction information.
Fig. 4 is a schematic diagram of a transaction processing method according to an embodiment of the present application, and as shown in fig. 4, the method mainly includes the following steps:
s100, registering the transaction information through a transaction code register to obtain transaction basic information and transaction relation information corresponding to the transaction;
the transaction basic information defines a transaction code, a transaction name, a transaction method name and a transaction address, the transaction method refers to a call path of a transaction, and the transaction address is a Uniform Resource Locator (URL). In addition, due to the requirement of transaction fine management, the transaction basic information also comprises transaction types and transaction enabling identifiers, wherein the transaction types are divided into query type transactions and management type transactions; the transaction enable flag is used to identify the transaction status.
The transaction relationship information includes elements such as transaction codes, relationship types, and relationship enabling identifiers of both parties of the relationship. The transaction relationship may be, for example, an association relationship between a foreground transaction and a background transaction, or a hierarchical relationship of a plurality of foreground transactions.
S200, collecting basic transaction information and transaction relation information corresponding to the transaction through a transaction code collector, and sending the basic transaction information and the transaction relation information to a transaction management model;
the transaction code collector can obtain the transaction information configured by the transaction code register in the resource to be loaded through a reflection mechanism.
After the transaction code collector finishes collecting, the collected transaction information is further analyzed and stored in the transaction management model, so that information persistence processing is realized, and other modules can access and use the information conveniently.
And S300, storing the transaction basic information and the transaction relation information corresponding to the transaction through the transaction management model.
The transaction management model comprises a transaction basic information module and a transaction relation module, wherein the transaction basic information module is used for storing transaction basic information, such as a transaction code, a transaction name, a transaction method name, a transaction address, a transaction type, a transaction enabling identifier and the like; the transaction relation module is used for storing transaction relation information, such as elements including transaction codes, relation types, relation enabling identifications and the like of both parties of the relation.
The basic transaction information and the 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 a user terminal, and a user can manage the basic transaction information and the transaction relationship information through the authority management module, such as executing transaction deletion processing and the like.
In the embodiment of the application, for the product management system, the decoupling of transaction code management and service functions is realized through a section-oriented programming idea, the fine and automatic registration work and collection work of transaction resources in the information system are realized through the transaction code register and the transaction code collector, and the transaction basic information and the transaction relation information are stored through the transaction management model.
Therefore, the transaction processing method provided by the application can realize automatic management of the transaction basic information and the transaction relation information in the information system, reduce the management cost, reduce the error rate of operation and maintenance and improve the success rate of transactions.
In some embodiments, registering the transaction with the transaction code registrar includes:
s110, configuring a transaction code register for the method in the product management system;
and S120, registering the transaction generated by the method in the product management system through the transaction code register.
Therefore, the configuration of the transaction code register is at the head of the method, so that the instant registration of the transaction information is ensured, the transaction definition and the function development are integrated, and the correctness and the integrity of the transaction code information can be effectively ensured.
In some embodiments, registering a transaction generated by a method in a product management system with a transaction code registrar includes:
and S121, registering the transaction generated by the method in the product management system through the transaction code register before the product management system enters the running state.
Specifically, the transaction code register is implemented by an Aspect Oriented Programming (AOP) concept, which is a technology for implementing unified maintenance of program functions by means of pre-compilation and dynamic proxy during operation.
The roles in the product management system include methods, attributes, values, classes, etc. in this embodiment, the transaction code registrar roles are specific to functions, i.e., methods, in the information system. In addition, because the transaction code collector needs to dynamically obtain the information in the transaction code register during operation, the transaction code register is used for updating or registering the transaction code information when the system is optimized and upgraded every time, and therefore the relevant information of the transaction collected by the transaction code collector is ensured to be the latest data.
In some embodiments, the collecting the basic transaction information and the transaction relationship information corresponding to the transaction by the transaction code collector includes:
s210, acquiring a registration message obtained by registering a transaction code register through a transaction code collector;
s220, extracting a transaction code, a transaction name, a transaction method name, a transaction address, a transaction type and a transaction enabling identifier of the transaction contained in the registration message through a transaction code collector, and using the transaction code, the transaction name, the transaction method name, the transaction address, the transaction type and the transaction enabling identifier as transaction basic information corresponding to the transaction;
and S230, extracting the transaction codes, the relationship types and the relationship enabling identifications of the two parties of the relationship contained in the registration message through the transaction code collector, and using the transaction codes, the relationship types and the relationship enabling identifications as transaction relationship information corresponding to the transaction.
Optionally, the acquiring, by the transaction code collector, a registration message obtained by registering the transaction code registrar includes: and acquiring a registration message obtained by registering a target transaction code register through the transaction code collector, wherein the target transaction code register comprises a transaction code register configured for the method in the product management system.
Optionally, the acquiring, by the transaction code acquirer, a registration message obtained by registering the target transaction code registrar 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.
Specifically, the transaction code collector is used for collecting transaction basic information and transaction relation information defined by the transaction code register.
The transaction code collector operates in the process of starting the product management system framework, and in the initialization process, when system resources are loaded, the transaction code collector starts and starts to automatically collect transaction basic information and transaction relation information. The transaction code collector can obtain the transaction information configured by the transaction code register in the resource to be loaded through a reflection mechanism.
Because the transaction code register is used for definitely marking the action object as a method, only the transaction code register configured before the method in the system resource is scanned after the transaction code collector is started.
The transaction code collector automatically collects all transaction information registered by the transaction code register in a target range when the system is started, so that the trouble of manually collecting the transaction information is avoided, and the mismatching and missing of the transaction information are fundamentally avoided.
In some embodiments, the method further comprises:
s410, acquiring a transaction management instruction through a transaction management model;
s420, judging whether the user identity corresponding to the transaction management instruction has the corresponding management authority through the transaction management model;
and S430, if yes, executing the operation corresponding to the transaction management command through the transaction management model.
Specifically, a user can access transaction information through an authority management module of the terminal, in the access process, the user sends a transaction management instruction to a transaction management model through the authority management module, the transaction management model firstly checks the management authority of the user after receiving the transaction management instruction, and if the check is passed, the user has corresponding processing authority and can execute the operation corresponding to the transaction management instruction; otherwise, no operation is performed.
Therefore, the safety of the transaction information can be improved by carrying out the user identity verification.
It should be understood that, although the respective steps in the flowcharts in the above-described embodiments are sequentially shown as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
In some embodiments, a computer device is provided.
Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application, and as shown in fig. 5, the computer device includes: a processor 111, and a memory 112.
The memory 112 is used for storing programs and data, and the processor 111 calls the programs stored in the memory to execute the technical scheme of any one of the method embodiments.
In the above computer devices, the memory and the processor are electrically connected directly or indirectly to enable data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines, such as a bus. The memory stores computer-executable instructions for implementing the data access control method, and includes at least one software functional module which can be stored in the memory in the form of software or firmware, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory.
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 Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like. The memory is used for storing programs, and the processor executes the programs after receiving the execution instructions. Further, the software programs and modules within the aforementioned memories may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., 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.
The processor may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In some embodiments, a computer-readable storage medium having stored thereon computer-executable instructions for performing the steps of the method embodiments of the present application when executed by a processor is provided.
In some embodiments, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of the method embodiments of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (10)

1. A transaction processing method is applied to a product management system, the product management system comprises a transaction code register, a transaction code collector and a transaction management model, and the method comprises the following steps:
registering the transaction information through the transaction code register to obtain transaction basic information and transaction relation information corresponding to the transaction;
acquiring basic transaction information and transaction relation information corresponding to the transaction through the transaction code collector, and sending the basic transaction information and the transaction relation information to the transaction management model;
and storing the transaction basic information and the transaction relation information corresponding to the transaction through the transaction management model.
2. The transaction processing method of claim 1, wherein registering a transaction with the transaction code registrar comprises:
configuring a transaction code registrar for a method in a product management system;
registering, by the transaction code registrar, transactions generated by methods in the product management system.
3. The transaction processing method of claim 2, wherein registering the transaction generated by the method in the product management system with the transaction code registrar comprises:
registering, by the transaction code registrar, transactions generated by methods in a product management system before the product management system enters an operational state.
4. The transaction processing method according to claim 1, wherein the collecting of the transaction basic information and the transaction relation information corresponding to the transaction by the transaction code collector includes:
acquiring a registration message obtained by registering the transaction code register through the transaction code collector;
extracting a transaction code, a transaction name, a transaction method name, a transaction address, a transaction type and a transaction enabling identifier of the transaction contained in the registration message through the transaction code collector, and using the transaction code, the transaction name, the transaction method name, the transaction address, the transaction type and the transaction enabling identifier as basic transaction information corresponding to the transaction;
and extracting the transaction codes, the relationship types and the relationship enabling identifications of the two parties of the relationship contained in the registration message by the transaction code collector, and using the transaction codes, the relationship types and the relationship enabling identifications as transaction relationship information corresponding to the transaction.
5. The transaction processing method of claim 4, wherein collecting, by the transaction code collector, a registration message obtained by registering the transaction code registrar comprises:
and acquiring a registration message obtained by registering a target transaction code register through the transaction code collector, wherein the target transaction code register comprises a transaction code register configured for a method in a product management system.
6. The transaction processing method of claim 5, wherein the collecting, by the transaction code collector, the registration message obtained by registering the target transaction code registrar comprises:
and when the product management system enters an operating state, acquiring a registration message obtained by registering the target transaction code register through the transaction code collector.
7. The transaction processing method according to any one of claims 1 to 6, wherein the method further comprises:
acquiring a transaction management instruction through the transaction management model;
judging whether the user identity corresponding to the transaction management instruction has the corresponding management authority or not through the transaction management model;
and if so, executing the operation corresponding to the transaction management command through the transaction management model.
8. A computer device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing a transaction processing method according to any of claims 1-7 when executing the program.
9. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, are configured to implement the transaction processing method of any one of claims 1-7.
10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the transaction processing method according to any of claims 1-7.
CN202110714999.6A 2021-06-25 2021-06-25 Transaction processing method, device, storage medium and product Pending CN113313595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110714999.6A CN113313595A (en) 2021-06-25 2021-06-25 Transaction processing method, device, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110714999.6A CN113313595A (en) 2021-06-25 2021-06-25 Transaction processing method, device, storage medium and product

Publications (1)

Publication Number Publication Date
CN113313595A true CN113313595A (en) 2021-08-27

Family

ID=77380493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110714999.6A Pending CN113313595A (en) 2021-06-25 2021-06-25 Transaction processing method, device, storage medium and product

Country Status (1)

Country Link
CN (1) CN113313595A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077546A1 (en) * 2007-09-14 2009-03-19 International Business Machines Corporation Method, Apparatus and Systems thereof for Implementing Non-Function Logic Extensibly
CN104077362A (en) * 2014-06-09 2014-10-01 中国建设银行股份有限公司 Online mass data processing system and method
CN106528185A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Application interface management method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077546A1 (en) * 2007-09-14 2009-03-19 International Business Machines Corporation Method, Apparatus and Systems thereof for Implementing Non-Function Logic Extensibly
CN104077362A (en) * 2014-06-09 2014-10-01 中国建设银行股份有限公司 Online mass data processing system and method
CN106528185A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Application interface management method and apparatus

Similar Documents

Publication Publication Date Title
US20210133622A1 (en) Ml-based event handling
CN110780870B (en) Service execution method, device, equipment and storage medium
CN110569035A (en) Code compiling method, device, equipment and storage medium of software development project
CN111723313A (en) Page jump processing method, device, equipment and storage medium
CN112272218B (en) Cloud platform instance resource operation method and device, computer equipment and storage medium
US8924947B2 (en) Direct deployment of static content
CN111935174A (en) Block chain service system docking method, device and equipment based on middleware gateway
CN101393528A (en) Method and system for determining instance object conversion order in dynamic update of software
CN111611207A (en) State data processing method and device and computer equipment
CN113961332A (en) Method and device for realizing workflow engine, electronic equipment and storage medium
CN112579461A (en) Assertion processing method, system and storage medium
CN114168179A (en) Micro-service management method, device, computer equipment and storage medium
CN114138877A (en) Method, device and equipment for realizing theme data service based on micro-service architecture
CN112134918A (en) Method for detecting and processing matching state of function and trigger in cloud service
CN112015563A (en) Message queue switching method and device, electronic equipment and storage medium
CN113313595A (en) Transaction processing method, device, storage medium and product
CN115146316A (en) Cross-system data access method, device, equipment and medium
CN116186022A (en) Form processing method, form processing device, distributed form system and computer storage medium
CN110188008B (en) Job scheduling master-slave switching method and device, computer equipment and storage medium
CN107769974B (en) Service publishing method and device
EP2601627B1 (en) Transaction processing system and method
CN111459492A (en) Method, device, storage medium and equipment for detecting compatibility of Dubbo service interface
CN115729946B (en) Method, device, equipment and storage medium for processing distributed transaction
WO2021147375A1 (en) Data management method and apparatus, and device, computer-readable storage medium, and system
CN116755689A (en) Code release method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination