CN112540834A - Cache processing method, device and equipment in distributed transaction - Google Patents

Cache processing method, device and equipment in distributed transaction Download PDF

Info

Publication number
CN112540834A
CN112540834A CN202011506605.XA CN202011506605A CN112540834A CN 112540834 A CN112540834 A CN 112540834A CN 202011506605 A CN202011506605 A CN 202011506605A CN 112540834 A CN112540834 A CN 112540834A
Authority
CN
China
Prior art keywords
transaction
specified
class
appointed
annotation
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.)
Granted
Application number
CN202011506605.XA
Other languages
Chinese (zh)
Other versions
CN112540834B (en
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.)
Zhengzhou Apas Digital Cloud Information Technology Co ltd
Original Assignee
Zhengzhou Apas Digital Cloud Information Technology Co ltd
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 Zhengzhou Apas Digital Cloud Information Technology Co ltd filed Critical Zhengzhou Apas Digital Cloud Information Technology Co ltd
Priority to CN202011506605.XA priority Critical patent/CN112540834B/en
Publication of CN112540834A publication Critical patent/CN112540834A/en
Application granted granted Critical
Publication of CN112540834B publication Critical patent/CN112540834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • G06F9/467Transactional memory
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a cache processing method, a cache processing device and cache processing equipment in distributed transactions, which are used for solving the problem that the cache processing mode in the distributed transactions in the prior art is not good enough in expansibility. The method comprises the following steps: receiving an instruction of a transaction operation aiming at a specified global transaction class in the distributed transaction middleware; determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class; if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, acquiring appointed operation content corresponding to the appointed operation identifier; responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.

Description

Cache processing method, device and equipment in distributed transaction
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for processing a cache in a distributed transaction.
Background
With the rapid development of internet technology, the number of users of network services is increasing, and in order to provide better network services to users, multiple servers are usually selected to be deployed in a distributed cluster environment. Currently, the distributed transaction middleware (Seata) framework for distributed transactions can provide two basic modes, including an AT mode and a TCC mode. The AT mode is a two-phase commit mode, and includes: a first phase of prepare behavior for committing business data updates and corresponding rollback log records in local transactions; a commit or rollback behavior of the two phases. The TCC mode supports the incorporation of custom branch transactions into the management of global transactions.
In practice, because the AT mode is less intrusive to the source code, and the TCC mode requires the user to customize almost all the processing logic, the workload is greater, and the intrusiveness to the source code is also greater. Thus, the AT mode using distributed transactions is generally preferred.
However, regardless of whether the final global transaction commits or rolls back, the AT mode deletes the corresponding cache when the global transaction starts executing. If rollback occurs, the corresponding cache is deleted at this time, which results in one more access to the database and two more operations on the cache. Moreover, the cache mode does not support the processing of other operation modes except for deleting the cache, and the expansibility is not good enough. Therefore, a cache processing method in a distributed transaction is needed to address the above problem, and further, when a global transaction starts to execute, the cache processing method supports processing of other operation modes on the cache, so as to enhance the scalability of the cache.
Disclosure of Invention
The embodiment of the application provides a cache processing method, a cache processing device and cache processing equipment in distributed transactions, and aims to solve the problem that the cache processing mode in the distributed transactions in the prior art is not good enough in expansibility.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in a first aspect, a method for processing a cache in a distributed transaction is provided, including:
receiving an instruction of a transaction operation aiming at a specified global transaction class in the distributed transaction middleware, wherein the transaction operation comprises one transaction operation of a commit operation and a rollback operation;
determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, wherein the specified operation identifier is used for indicating the operation content of the cache data corresponding to the transaction operation of the specified global transaction class;
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, acquiring appointed operation content corresponding to the appointed operation identifier;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
In a second aspect, a cache processing apparatus in a distributed transaction is provided, including:
the instruction receiving module is used for receiving an instruction aiming at a transaction operation of a specified global transaction class in the distributed transaction middleware, wherein the transaction operation comprises one transaction operation of a commit operation and a rollback operation;
an identifier determining module, configured to determine whether a specified operation identifier exists in an annotation of the transaction operation of the specified global transaction class, where the specified operation identifier is used to indicate an operation content of the cache data corresponding to the transaction operation of the specified global transaction class;
a content obtaining module, configured to obtain specified operation content corresponding to the specified operation identifier if the specified operation identifier exists in the annotation of the transaction operation in the specified global transaction class;
and the operation response module is used for responding to the transaction operation aiming at the specified global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the specified global transaction class according to the specified operation content so as to realize the consistency between the cache data corresponding to the transaction operation of the specified global transaction class and the data corresponding to the database.
In a third aspect, an electronic device is provided, including: a memory, a processor and computer executable instructions stored on the memory and executable on the processor, which when executed by the processor implement the steps of the method of cache handling in distributed transactions as described in the first aspect above.
In a fourth aspect, a computer-readable storage medium is proposed, for storing computer-executable instructions, which when executed by a processor, implement the steps of the method for caching in distributed transactions as described in the first aspect above.
The embodiment of the application can at least achieve the following technical effects by adopting the technical scheme:
the cache processing method in the distributed transaction provided in the embodiments of the present specification can receive an instruction of a transaction operation for a specified global transaction class in the distributed transaction middleware, where the transaction operation includes one of a commit operation and a rollback operation; determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, wherein the specified operation identifier is used for indicating the operation content of the cache data corresponding to the transaction operation of the specified global transaction class; and when the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency between the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database. Due to the fact that the appointed operation content corresponding to the appointed operation identification used for indicating the cache data is configured in the annotation, the user can customize the processing mode of the cache data according to the requirement, and the processing mode of the cache data in the distributed transaction is effectively expanded.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart illustrating an implementation of a cache processing method in a distributed transaction according to an embodiment of the present disclosure;
fig. 2 is a schematic configuration process diagram of annotation of transaction operations in a cache processing method in a distributed transaction according to an embodiment of the present specification;
fig. 3 is a schematic structural diagram of an identification apparatus for a virtual device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. 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 application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
In order to solve the problem that the cache processing mode in the distributed transaction in the prior art is not sufficiently scalable, an embodiment of the present specification provides a cache processing method in a distributed transaction, which can first receive an instruction for a transaction operation of a designated global transaction class in a distributed transaction middleware, where the transaction operation includes one of a commit operation and a rollback operation; then, determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, wherein the specified operation identifier is used for indicating the operation content of the cache data corresponding to the transaction operation of the specified global transaction class; and finally, when the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency between the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
According to the method provided by the embodiment of the specification, the specified operation content corresponding to the specified operation identifier for indicating the cache data is configured in the annotation, so that a user can customize a processing mode of the cache data according to requirements, and the processing mode of the cache data in the distributed transaction is effectively expanded.
Specifically, an implementation flow diagram of a cache processing method in a distributed transaction provided by one or more embodiments of the present specification is shown in fig. 1, and includes:
step 110, receiving an instruction of a transaction operation aiming at a specified global transaction class in the distributed transaction middleware, wherein the transaction operation comprises one transaction operation of a commit operation and a rollback operation;
it should be understood that there are usually multiple global transaction classes in the distributed transaction middleware, and the caching manners may be configured for annotations of transaction operations of the multiple global transaction classes respectively, or may be configured for annotations of transaction operations of a specified global transaction class with respect to a part of the multiple global transaction classes.
Taking the transaction of which the global transaction class is designated as the transfer class as an example, the transaction operation aiming at the transfer transaction can comprise a commit operation and a rollback operation, wherein the commit operation indicates that the transfer transaction is successfully executed, for example, a transfer party remits money to a transferred party, and the transferred party receives the transfer money of the transfer party; the rollback operation indicates that the transfer transaction fails in the execution process, for example, the transfer party remits money to the transferred party, and the transferred party does not receive the transfer money of the transfer party, and at this time, the rollback operation is required. When the rollback operation is performed, due to the fact that the transfer transaction fails in the execution process, the cache data corresponding to the transfer transaction does not need to be deleted.
In order to solve the problem, the embodiment of the present application may set a method of transaction operation for a global transaction class in a distributed transaction middleware, set an annotation for the method of transaction operation, and configure a corresponding cache processing mode in the annotation, so as to avoid unnecessary operations such as deleting a cache and the like when some transaction operations are rolled back. Optionally, before receiving an instruction for a transaction operation of a specified global transaction class in the distributed transaction middleware, the method provided in the embodiment of the present application further includes:
acquiring a plurality of global transaction classes in the distributed transaction middleware;
adding a method of transaction operation for a plurality of global transaction classes;
adding annotations to a method of transaction operation in a specified global transaction class of a plurality of global transaction classes;
in response to the configuration operation of the annotation of the method for the transaction operation, the identification of the cache processing mode and the content of the cache processing mode in response to the transaction operation are configured in the annotation.
Optionally, in order to enable the caching method configured in the annotation to be effective in time, the caching method configured in the annotation may be registered in a manager of the distributed transaction middleware. Specifically, after configuring, in response to a configuration operation of an annotation of a method for a transaction operation, an identifier for indicating a cache processing manner when the transaction operation is responded to and content of the cache processing manner in the annotation, the method provided in an embodiment of the present application further includes:
registering a caching mode in an annotation for a method of a transaction operation in a manager in distributed transaction middleware.
Optionally, in order to obtain the global transaction class in the distributed transaction middleware more comprehensively, in this embodiment of the application, the obtaining of multiple global transaction classes in the distributed transaction middleware may be performed in a reflective manner, specifically, the obtaining of the global transaction class in the distributed transaction middleware includes:
and acquiring a plurality of global transaction classes in the distributed transaction middleware in a reflection mode.
Specifically, jvm may be enabled to find and load a global transaction class in the distributed transaction middleware by its full name.
As shown in fig. 2, a schematic diagram of a configuration process of annotations of transaction operations in a cache processing method in a distributed transaction according to an embodiment of the present specification is provided, and in fig. 2, the configuration process of the annotations of transaction operations in the cache processing method in the distributed transaction includes:
s21, acquiring a global transaction class in the distributed transaction middleware in a reflection mode;
specifically, an object TransactionHookManager of a global transaction class Hook in the distributed transaction middleware can be acquired in a reflection mode;
s22, adding transaction operation method for the obtained global transaction class;
adding a static transaction operation method for the acquired global transaction class, specifically a Hook method capable of submitting a transaction and rolling back the transaction;
after the global transaction class is acquired, a static public method of registering global TransactionHook can be added to the global transaction class in a reflection mode, and both a method of submitting a transaction and a method of rolling back the transaction can be added. This method contains a Transactionhook type parameter that can be saved in the queue of Transactionhook for the Global transaction class. The TransactionHook queue may be acquired and its corresponding method executed when committing and rolling back transactions.
S23, adding annotation for the transaction operation method of the designated global transaction class in the global transaction classes;
adding a new annotation GlobalTransactionhook to the method for specifying the transaction operation of the global transaction class in the global transaction class, wherein the annotation comprises a specified operation identifier (key) supporting configuration processing of cache data and a Transactionhook object for submitting a transaction or rolling back the transaction, and it needs to be noted that neither of the operation identifiers is an indispensable item, but when neither of the operation identifiers is present, no processing is performed on the cache data;
after the annotation is added to the method for the transaction operation of the designated global transaction class in the global transaction classes, in the process of processing the annotation, firstly, whether a designated operation identifier (key) for processing the cache data is set is judged, if so, whether designated operation content corresponding to the designated operation identifier (key) exists is judged, and if not, a TransactionHook class (used for indicating that the cache data corresponding to the TransactionHook is deleted in the submitted transaction and the cache processing mode is registered in a manager of the global transaction) is realized.
S24, judging whether the annotation of the transaction operation of the global transaction class is configured with a cache processing mode;
if so, S25 is performed, otherwise S26 is performed.
S25, registering a cache processing mode in the annotation of the transaction operation method aiming at the global transaction class in a manager in the distributed transaction middleware;
when the annotation configures a cache processing mode, namely a hook object, the cache processing mode is directly registered in a hook manager of the global transaction, namely, a user is supported to use a self-defined cache processing method to replace the default processing method.
S26, registers the cache processing mode of deleting the corresponding cache data in the commit operation for the global transaction class in the manager in the distributed transaction middleware.
When the annotation does not configure a cache processing mode, i.e., a hook object, a default processing mode for the annotated cache data may be added, that is, a cache processing mode for deleting the corresponding cache data when the global transaction class is subjected to a commit operation, and the cache processing mode for deleting the corresponding cache data when the global transaction class is subjected to a commit operation is registered in a manager in the distributed transaction middleware.
Step 120, determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, where the specified operation identifier is used to indicate the operation content of the cache data corresponding to the transaction operation of the specified global transaction class;
the annotation of the transaction operation of the global transaction class may be configured with a designated operation identifier and corresponding designated operation content, where the designated operation identifier is used to indicate operation content of the cache data corresponding to the transaction operation of the designated global transaction class, for example, when the transfer transaction rolls back, the operation content of the cache data is updated, and other specific cache data is updated.
Optionally, since there may be a plurality of global transaction classes in the distributed transaction middleware, when configuring a cache processing mode for annotations of transaction operations of the global transaction classes, it is not necessary to configure corresponding cache processing modes for the annotations of the transaction operations of all the global transaction classes, and some of the annotations of the transaction operations of the global transaction classes may not be configured with a cache processing mode. Specifically, after determining whether a specified operation identifier exists in an annotation of a transaction operation in a specified global transaction class, the method provided in the embodiment of the present application further includes:
if the annotation of the transaction operation of the designated global transaction class does not have the designated operation identifier, acquiring a default processing mode of the cache data corresponding to the transaction operation of the designated global transaction class;
and responding to the transaction operation aiming at the designated global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the designated global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the designated global transaction class and the data corresponding to the database.
The default processing mode for specifying the cache data corresponding to the transaction operation of the global transaction class may include: when the transaction operation of the designated global transaction class is a commit operation, the default processing mode of the cache data corresponding to the transaction operation of the designated global transaction class can be to delete the corresponding cache data; when the transaction operation of the designated global transaction class is a meeting place operation, the default processing mode of the cache data corresponding to the transaction operation of the designated global transaction class may be to reserve or update the corresponding cache data.
Step 130, if the annotation of the transaction operation of the designated global transaction class has a designated operation identifier, acquiring designated operation content corresponding to the designated operation identifier;
optionally, the specified operation identifier and the corresponding specified operation content exist in the annotation of the transaction operation of the specified global transaction class, or only the specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, but there is no corresponding specified operation content, so when determining how to perform the annotation processing on the cache data corresponding to the transaction operation of the specified global transaction class, it is further necessary to determine whether the specified operation content corresponding to the specified operation identifier exists in the annotation. Specifically, if a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, acquiring specified operation content corresponding to the specified operation identifier, including:
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, determining whether the appointed operation content corresponding to the appointed operation identifier exists in the annotation;
and if the appointed operation content corresponding to the appointed operation identifier exists in the annotation, acquiring the appointed operation content corresponding to the appointed operation identifier.
Optionally, when the user configures the annotations of the transaction operations of the specified global transaction class, a processing manner of cache data of the transaction operations of some global transaction classes may not be specifically set, and at this time, after determining whether the specified operation content corresponding to the specified operation identifier exists in the annotations, the method provided in the embodiment of the present application further includes:
if the appointed operation content corresponding to the appointed operation identification does not exist in the annotation, acquiring a default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class;
and responding to the transaction operation aiming at the designated global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the designated global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the designated global transaction class and the data corresponding to the database.
Step 140, in response to the transaction operation for the specified global transaction class, executing a corresponding operation on the cache data corresponding to the transaction operation for the specified global transaction class according to the specified operation content, so as to implement consistency between the cache data corresponding to the transaction operation for the specified global transaction class and the data corresponding to the database.
It should be understood that when the transaction operation for the specified global transaction class is executed, the corresponding operation may be executed on the cache data corresponding to the transaction operation of the specified global transaction class according to the specified operation content, so as to achieve consistency between the cache data corresponding to the transaction operation of the specified global transaction class and the data corresponding to the database. Taking the rollback operation of the transfer transaction as an example, when the rollback operation for the transfer transaction is executed, the cache operation can be updated according to the cache data updating operation corresponding to the rollback operation, so that the cache data of the rollback operation of the transfer transaction is consistent with the data of the transfer transaction corresponding to the database.
The cache processing method in the distributed transaction provided in the embodiments of the present specification can receive an instruction of a transaction operation for a specified global transaction class in the distributed transaction middleware, where the transaction operation includes one of a commit operation and a rollback operation; determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, wherein the specified operation identifier is used for indicating the operation content of the cache data corresponding to the transaction operation of the specified global transaction class; and when the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency between the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database. Due to the fact that the appointed operation content corresponding to the appointed operation identification used for indicating the cache data is configured in the annotation, the user can customize the processing mode of the cache data according to the requirement, and the processing mode of the cache data in the distributed transaction is effectively expanded.
Fig. 3 is a schematic structural diagram of a cache processing apparatus 300 in a distributed transaction provided in this specification. Referring to fig. 3, in a software implementation, the cache processing apparatus 300 in a distributed transaction may include an instruction receiving module 301, an identification determining module 302, a content obtaining module 303, and an operation response module 304, where:
an instruction receiving module 301, configured to receive an instruction of a transaction operation for a specified global transaction class in distributed transaction middleware, where the transaction operation includes one of a commit operation and a rollback operation;
an identifier determining module 302, configured to determine whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, where the specified operation identifier is used to indicate operation content of the cache data corresponding to the transaction operation of the specified global transaction class;
a content obtaining module 303, configured to obtain specified operation content corresponding to the specified operation identifier if the specified operation identifier exists in the annotation of the transaction operation in the specified global transaction class;
an operation response module 304, configured to, in response to the transaction operation for the specified global transaction class, perform a corresponding operation on the cache data corresponding to the transaction operation of the specified global transaction class according to the specified operation content, so as to implement consistency between the cache data corresponding to the transaction operation of the specified global transaction class and the data corresponding to the database.
Optionally, in an embodiment, before the instruction receiving module 301 receives a transaction operation for a specified global transaction class in the distributed transaction middleware, the apparatus further includes:
the class acquisition module is used for acquiring a plurality of global transaction classes in the distributed transaction middleware;
the method adding module is used for adding a method of transaction operation for the global transaction classes;
the annotation adding module is used for adding annotations to a method of the transaction operation of the specified global transaction class in the plurality of global transaction classes;
and the annotation configuration module is used for responding to the annotated configuration operation of the method aiming at the transaction operation, and configuring the mark for indicating the cache processing mode and the content of the cache processing mode when responding to the transaction operation in the annotation.
Optionally, in an embodiment, the content obtaining module 303 is configured to:
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, determining whether the appointed operation content corresponding to the appointed operation identifier exists in the annotation;
and if the annotation has the specified operation content corresponding to the specified operation identifier, acquiring the specified operation content corresponding to the specified operation identifier.
Optionally, in an embodiment, after the content obtaining module 303 determines whether the specified operation content corresponding to the specified operation identifier exists in the annotation, the apparatus further includes:
a first obtaining module, configured to obtain a default processing mode of the cache data corresponding to the transaction operation of the specified global transaction class if the specified operation content corresponding to the specified operation identifier does not exist in the annotation;
and the first operation response module is used for responding to the transaction operation aiming at the specified global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the specified global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the specified global transaction class and the data corresponding to the database.
Optionally, in an embodiment, after the identification determination module 302 determines whether a specified operation identification exists in the annotation of the transaction operation of the specified global transaction class, the apparatus further includes:
a second obtaining module, configured to obtain a default processing mode of the cache data corresponding to the transaction operation of the specified global transaction class if the specified operation identifier does not exist in the annotation of the transaction operation of the specified global transaction class;
and the second operation response module is used for responding to the transaction operation aiming at the specified global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the specified global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the specified global transaction class and the data corresponding to the database.
Optionally, in an embodiment, the operation response module 304 is responsive to a configuration operation of an annotation of the method for the transaction operation, and after configuring, in the annotation, an identifier indicating a cache processing manner and content of the cache processing manner in response to the transaction operation, the apparatus further includes:
and the annotation registration module is used for registering the cache processing mode in the annotation of the method aiming at the transaction operation in the manager in the distributed transaction middleware.
Optionally, in an embodiment, the class obtaining module is configured to:
and acquiring a plurality of global transaction classes in the distributed transaction middleware in a reflection mode.
The cache processing apparatus 300 in the distributed transaction can implement the method in the embodiments of the cache processing method in the distributed transaction shown in fig. 1 to fig. 2, which may specifically refer to the cache processing method in the distributed transaction shown in fig. 1 to fig. 2, and is not described again.
The embodiment of the invention also provides electronic equipment, and fig. 4 is a schematic structural diagram of the electronic equipment provided by the embodiment of the application. As shown in fig. 4, the electronic device may have a relatively large difference due to different configurations or performances, and may include one or more processors 401 and a memory 402, where one or more stored applications or data may be stored in the memory 402. Wherein memory 402 may be transient or persistent. The application program stored in memory 402 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a memory data loading device. Still further, the processor 401 may be configured to communicate with the memory 402 to execute a series of computer-executable instructions in the memory 402 on an in-memory data loading device. The memory data loading apparatus may also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input-output interfaces 405, one or more keyboards 406, etc.
In a particular embodiment, the electronic device 400 includes a memory, a processor, and computer-executable instructions stored on the memory and executable on the processor, which when executed by the processor implement the following:
receiving an instruction of a transaction operation aiming at a specified global transaction class in the distributed transaction middleware, wherein the transaction operation comprises one transaction operation of a commit operation and a rollback operation;
determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, wherein the specified operation identifier is used for indicating the operation content of the cache data corresponding to the transaction operation of the specified global transaction class;
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, acquiring appointed operation content corresponding to the appointed operation identifier;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
Optionally, the computer executable instructions, when executed by the processor,
obtaining a plurality of global transaction classes in distributed transaction middleware prior to receiving an instruction for a transaction operation of a specified global transaction class in the distributed transaction middleware;
means for adding transaction operations to the plurality of global transaction classes;
adding annotations to a method of transaction operation in a specified global transaction class of the plurality of global transaction classes;
and responding to the configuration operation of the annotation of the method aiming at the transaction operation, and configuring the identification of the cache processing mode and the content of the cache processing mode in the annotation when responding to the transaction operation.
If the specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, acquiring the specified operation content corresponding to the specified operation identifier, including:
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, determining whether the appointed operation content corresponding to the appointed operation identifier exists in the annotation;
and if the annotation has the specified operation content corresponding to the specified operation identifier, acquiring the specified operation content corresponding to the specified operation identifier.
After determining whether the specified operation content corresponding to the specified operation identifier exists in the annotation, the method further comprises:
if the annotation does not have the specified operation content corresponding to the specified operation identifier, acquiring a default processing mode of the cache data corresponding to the transaction operation of the specified global transaction class;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
After determining whether a specified operation identification exists in the annotation of the transaction operation of the specified global transaction class, the method further comprises:
if the appointed operation identifier does not exist in the annotation of the transaction operation of the appointed global transaction class, acquiring a default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
In response to a configuration operation of an annotation of the method for the transaction operation, after configuring, in the annotation, an identification indicating a cache processing manner and contents of the cache processing manner in response to the transaction operation, the method further includes:
registering a caching mode in the annotation for the method of the transaction operation in a manager in the distributed transaction middleware.
Acquiring a global transaction class in the distributed transaction middleware, including:
and acquiring a plurality of global transaction classes in the distributed transaction middleware in a reflection mode.
The cache processing method in the distributed transaction provided in the embodiments of the present specification can receive an instruction of a transaction operation for a specified global transaction class in the distributed transaction middleware, where the transaction operation includes one of a commit operation and a rollback operation; determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, wherein the specified operation identifier is used for indicating the operation content of the cache data corresponding to the transaction operation of the specified global transaction class; and when the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency between the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database. Due to the fact that the appointed operation content corresponding to the appointed operation identification used for indicating the cache data is configured in the annotation, the user can customize the processing mode of the cache data according to the requirement, and the processing mode of the cache data in the distributed transaction is effectively expanded.
Further, an embodiment of the present application also provides a computer-readable storage medium for storing computer-executable instructions, which when executed by a processor implement the following process:
receiving an instruction of a transaction operation aiming at a specified global transaction class in the distributed transaction middleware, wherein the transaction operation comprises one transaction operation of a commit operation and a rollback operation;
determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, wherein the specified operation identifier is used for indicating the operation content of the cache data corresponding to the transaction operation of the specified global transaction class;
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, acquiring appointed operation content corresponding to the appointed operation identifier;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
Optionally, the computer executable instructions, when executed by the processor,
obtaining a plurality of global transaction classes in distributed transaction middleware prior to receiving an instruction for a transaction operation of a specified global transaction class in the distributed transaction middleware;
means for adding transaction operations to the plurality of global transaction classes;
adding annotations to a method of transaction operation in a specified global transaction class of the plurality of global transaction classes;
and responding to the configuration operation of the annotation of the method aiming at the transaction operation, and configuring the identification of the cache processing mode and the content of the cache processing mode in the annotation when responding to the transaction operation.
If the specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, acquiring the specified operation content corresponding to the specified operation identifier, including:
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, determining whether the appointed operation content corresponding to the appointed operation identifier exists in the annotation;
and if the annotation has the specified operation content corresponding to the specified operation identifier, acquiring the specified operation content corresponding to the specified operation identifier.
After determining whether the specified operation content corresponding to the specified operation identifier exists in the annotation, the method further comprises:
if the annotation does not have the specified operation content corresponding to the specified operation identifier, acquiring a default processing mode of the cache data corresponding to the transaction operation of the specified global transaction class;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
After determining whether a specified operation identification exists in the annotation of the transaction operation of the specified global transaction class, the method further comprises:
if the appointed operation identifier does not exist in the annotation of the transaction operation of the appointed global transaction class, acquiring a default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
In response to a configuration operation of an annotation of the method for the transaction operation, after configuring, in the annotation, an identification indicating a cache processing manner and contents of the cache processing manner in response to the transaction operation, the method further includes:
registering a caching mode in the annotation for the method of the transaction operation in a manager in the distributed transaction middleware.
Acquiring a global transaction class in the distributed transaction middleware, including:
and acquiring a plurality of global transaction classes in the distributed transaction middleware in a reflection mode.
The cache processing method in the distributed transaction provided in the embodiments of the present specification can receive an instruction of a transaction operation for a specified global transaction class in the distributed transaction middleware, where the transaction operation includes one of a commit operation and a rollback operation; determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, wherein the specified operation identifier is used for indicating the operation content of the cache data corresponding to the transaction operation of the specified global transaction class; and when the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency between the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database. Due to the fact that the appointed operation content corresponding to the appointed operation identification used for indicating the cache data is configured in the annotation, the user can customize the processing mode of the cache data according to the requirement, and the processing mode of the cache data in the distributed transaction is effectively expanded.
The computer-readable storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. A method for cache processing in a distributed transaction, comprising:
receiving an instruction of a transaction operation aiming at a specified global transaction class in the distributed transaction middleware, wherein the transaction operation comprises one transaction operation of a commit operation and a rollback operation;
determining whether a specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, wherein the specified operation identifier is used for indicating the operation content of the cache data corresponding to the transaction operation of the specified global transaction class;
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, acquiring appointed operation content corresponding to the appointed operation identifier;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the appointed global transaction class according to the appointed operation content so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
2. The method of claim 1, wherein prior to receiving an instruction to a transaction operation in the distributed transactional middleware that specifies a global transaction class, the method further comprises:
acquiring a plurality of global transaction classes in the distributed transaction middleware;
means for adding transaction operations to the plurality of global transaction classes;
adding annotations to a method of transaction operation in a specified global transaction class of the plurality of global transaction classes;
and responding to the configuration operation of the annotation of the method aiming at the transaction operation, and configuring the identification of the cache processing mode and the content of the cache processing mode in the annotation when responding to the transaction operation.
3. The method according to claim 1 or 2, wherein if the specified operation identifier exists in the annotation of the transaction operation of the specified global transaction class, acquiring the specified operation content corresponding to the specified operation identifier, including:
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, determining whether the appointed operation content corresponding to the appointed operation identifier exists in the annotation;
and if the annotation has the specified operation content corresponding to the specified operation identifier, acquiring the specified operation content corresponding to the specified operation identifier.
4. The method of claim 3, wherein after determining whether specified operation content corresponding to the specified operation identification exists in the annotation, the method further comprises:
if the annotation does not have the specified operation content corresponding to the specified operation identifier, acquiring a default processing mode of the cache data corresponding to the transaction operation of the specified global transaction class;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
5. The method of claim 1, wherein after determining whether a specified operation identification is present in the annotation of the transaction operation of the specified global transaction class, the method further comprises:
if the appointed operation identifier does not exist in the annotation of the transaction operation of the appointed global transaction class, acquiring a default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class;
responding to the transaction operation aiming at the appointed global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the appointed global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the appointed global transaction class and the data corresponding to the database.
6. The method of claim 2, wherein in response to a configuration operation of an annotation for the method of the transaction operation, after configuring in the annotation an identification indicating a manner of cache processing and contents of the manner of cache processing in response to the transaction operation, the method further comprises:
registering a caching mode in the annotation for the method of the transaction operation in a manager in the distributed transaction middleware.
7. The method of claim 2, wherein obtaining the global transaction class in the distributed transactional middleware comprises:
and acquiring a plurality of global transaction classes in the distributed transaction middleware in a reflection mode.
8. An apparatus for cache processing in a distributed transaction, comprising:
the instruction receiving module is used for receiving an instruction aiming at a transaction operation of a specified global transaction class in the distributed transaction middleware, wherein the transaction operation comprises one transaction operation of a commit operation and a rollback operation;
an identifier determining module, configured to determine whether a specified operation identifier exists in an annotation of the transaction operation of the specified global transaction class, where the specified operation identifier is used to indicate an operation content of the cache data corresponding to the transaction operation of the specified global transaction class;
a content obtaining module, configured to obtain specified operation content corresponding to the specified operation identifier if the specified operation identifier exists in the annotation of the transaction operation in the specified global transaction class;
and the operation response module is used for responding to the transaction operation aiming at the specified global transaction class, and executing corresponding operation on the cache data corresponding to the transaction operation of the specified global transaction class according to the specified operation content so as to realize the consistency between the cache data corresponding to the transaction operation of the specified global transaction class and the data corresponding to the database.
9. The apparatus of claim 8, wherein prior to the instruction receiving module receiving the transaction operation for the specified global transaction class in the distributed transaction middleware, the apparatus further comprises:
the class acquisition module is used for acquiring a plurality of global transaction classes in the distributed transaction middleware;
the method adding module is used for adding a method of transaction operation for the global transaction classes;
the annotation adding module is used for adding annotations to a method of the transaction operation of the specified global transaction class in the plurality of global transaction classes;
and the annotation configuration module is used for responding to the annotated configuration operation of the method aiming at the transaction operation, and configuring the mark for indicating the cache processing mode and the content of the cache processing mode when responding to the transaction operation in the annotation.
10. The apparatus of claim 8 or 9, wherein the content acquisition module is to:
if the appointed operation identifier exists in the annotation of the transaction operation of the appointed global transaction class, determining whether the appointed operation content corresponding to the appointed operation identifier exists in the annotation;
and if the annotation has the specified operation content corresponding to the specified operation identifier, acquiring the specified operation content corresponding to the specified operation identifier.
11. The apparatus of claim 8, wherein after the identification determination module determines whether a specified operation identification is present in the annotation of the transaction operation of the specified global transaction class, the apparatus further comprises:
a second obtaining module, configured to obtain a default processing mode of the cache data corresponding to the transaction operation of the specified global transaction class if the specified operation identifier does not exist in the annotation of the transaction operation of the specified global transaction class;
and the second operation response module is used for responding to the transaction operation aiming at the specified global transaction class, and executing corresponding operation according to the default processing mode of the cache data corresponding to the transaction operation of the specified global transaction class so as to realize the consistency of the cache data corresponding to the transaction operation of the specified global transaction class and the data corresponding to the database.
12. The apparatus of claim 9, wherein the operation response module is responsive to a configuration operation of an annotation for the method of the transaction operation, the apparatus further comprising, after configuring in the annotation an identification indicating a manner of cache processing and contents of the manner of cache processing in response to the transaction operation:
and the annotation registration module is used for registering the cache processing mode in the annotation of the method aiming at the transaction operation in the manager in the distributed transaction middleware.
13. An electronic device, comprising: a memory, a processor and computer executable instructions stored on the memory and executable on the processor, which when executed by the processor implement the steps of a method of cache processing in a distributed transaction as claimed in any of claims 1 to 7.
14. A computer-readable storage medium for storing computer-executable instructions which, when executed by a processor, implement the steps of a method of caching in distributed transactions as claimed in any one of claims 1 to 7.
CN202011506605.XA 2020-12-18 2020-12-18 Cache processing method, device and equipment in distributed transaction Active CN112540834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011506605.XA CN112540834B (en) 2020-12-18 2020-12-18 Cache processing method, device and equipment in distributed transaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011506605.XA CN112540834B (en) 2020-12-18 2020-12-18 Cache processing method, device and equipment in distributed transaction

Publications (2)

Publication Number Publication Date
CN112540834A true CN112540834A (en) 2021-03-23
CN112540834B CN112540834B (en) 2023-04-14

Family

ID=75019177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011506605.XA Active CN112540834B (en) 2020-12-18 2020-12-18 Cache processing method, device and equipment in distributed transaction

Country Status (1)

Country Link
CN (1) CN112540834B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070204276A1 (en) * 2006-02-27 2007-08-30 Bea Systems, Inc. Method and apparatus for buffering requests to web services using annotations
CN102073505A (en) * 2011-01-31 2011-05-25 北京科技大学 Service composition-oriented declarative transaction integration method and system
CN110008224A (en) * 2019-03-08 2019-07-12 阿里巴巴集团控股有限公司 A kind of db transaction processing method and processing device
CN111596922A (en) * 2020-05-15 2020-08-28 山东汇贸电子口岸有限公司 Method for realizing custom cache annotation based on redis
CN111611241A (en) * 2020-04-29 2020-09-01 平安科技(深圳)有限公司 A dictionary data operation method, device, readable storage medium and terminal device
CN112052263A (en) * 2020-07-13 2020-12-08 浙江大搜车软件技术有限公司 Method, system, computer device, and readable storage medium for requesting instruction processing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070204276A1 (en) * 2006-02-27 2007-08-30 Bea Systems, Inc. Method and apparatus for buffering requests to web services using annotations
CN102073505A (en) * 2011-01-31 2011-05-25 北京科技大学 Service composition-oriented declarative transaction integration method and system
CN110008224A (en) * 2019-03-08 2019-07-12 阿里巴巴集团控股有限公司 A kind of db transaction processing method and processing device
CN111611241A (en) * 2020-04-29 2020-09-01 平安科技(深圳)有限公司 A dictionary data operation method, device, readable storage medium and terminal device
CN111596922A (en) * 2020-05-15 2020-08-28 山东汇贸电子口岸有限公司 Method for realizing custom cache annotation based on redis
CN112052263A (en) * 2020-07-13 2020-12-08 浙江大搜车软件技术有限公司 Method, system, computer device, and readable storage medium for requesting instruction processing

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
AJAY KUMAR JHA等: ""Annotation practices in Android apps"", 《2020 IEEE 20TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM)》 *
欧阳宏基等: "基于S2SH框架的煤炭企业生产统计管理系统", 《计算技术与自动化》 *
苏晓波: ""WEB快速开发框架的设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN112540834B (en) 2023-04-14

Similar Documents

Publication Publication Date Title
US11520770B2 (en) System and method for providing high availability data
US11288002B2 (en) System and method for providing high availability data
CN109144994B (en) Index updating method, system and related device
CN108304271B (en) Distributed transaction manager and management method under micro-service architecture
US8886609B2 (en) Backup and restore of data from any cluster node
CN112118565A (en) Multi-tenant service gray level publishing method and device, computer equipment and storage medium
JP5705869B2 (en) Apparatus and method for loading and updating code of a cluster-based JAVA application system
US20120158795A1 (en) Entity triggers for materialized view maintenance
US20050050106A1 (en) System and method for synchronizing distributed buffers when committing data to a database
US8600960B2 (en) Processing proposed changes to data
US10606805B2 (en) Object-level image query and retrieval
US11977559B2 (en) Providing instant and distributed access to a source blob via copy-on-read blobs and link blobs
CN112540834B (en) Cache processing method, device and equipment in distributed transaction
CN111399999B (en) Computer resource processing method, device, readable storage medium and computer equipment
CN113051279A (en) Data message storage method, storage device, electronic equipment and storage medium
US20240012835A1 (en) Synchronizing changes in a distributed system with intermittent connectivity
US20220191104A1 (en) Access management for a multi-endpoint data store
CN112988277B (en) Rule file loading method, device, server and medium
CN113992750A (en) Global transaction coordination method, device, equipment and medium
CN114238352A (en) Micro-service processing method and related device
JP2009301352A (en) Test unit and test method
CN113761075A (en) Method, device, equipment and computer readable medium for switching databases
US12099740B2 (en) Object storage based asynchronous mailbox, eventual consistency for cross-region communication
CN107729539B (en) Method and device for setting main named node
CN116800612A (en) Configuration management method and related device based on cloud service

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
GR01 Patent grant
GR01 Patent grant