CN116303649A - A multi-data source management method, device, equipment and storage medium - Google Patents
A multi-data source management method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN116303649A CN116303649A CN202310285419.5A CN202310285419A CN116303649A CN 116303649 A CN116303649 A CN 116303649A CN 202310285419 A CN202310285419 A CN 202310285419A CN 116303649 A CN116303649 A CN 116303649A
- Authority
- CN
- China
- Prior art keywords
- data source
- target
- method function
- annotation
- preset
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
- G06F16/24573—Query processing with adaptation to user needs using data annotations, e.g. user-defined metadata
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed queries
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Library & Information Science (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术及数据处理技术领域,更为具体来说,本申请涉及一种多数据源管理方法、装置、设备和存储介质。The present application relates to the fields of computer technology and data processing technology, and more specifically, the present application relates to a method, device, device and storage medium for managing multiple data sources.
背景技术Background technique
数据是所有工程系统必需的,外部请求访问工程系统数据时,工程系统将数据加工后返回给外部。从某种程度上讲,工程系统就是数据加算法的结合体。Data is required by all engineering systems. When an external request accesses engineering system data, the engineering system will process the data and return it to the outside. To some extent, an engineering system is a combination of data and algorithms.
数据被存于数据库中,一般而言工程系统只使用一个数据库,但是针对比较大的系统或是比较复杂的系统,将存在多类型或多个数据库的使用,这样不得不将数据分散地存储在多个数据库即多数据源中。现有技术中会根据不同的业务需求对存储在多数据源中的数据进行相关处理,在进行相关处理时,一般会链接多个数据源,采用不同目录链接不同的数据源的方式,然而这样管理数据源的方法不够灵活,也不够高效,且处理数据库切换问题较为繁琐。The data is stored in the database. Generally speaking, the engineering system only uses one database, but for relatively large or complex systems, there will be multiple types or multiple databases, so the data has to be stored in a distributed manner. Multiple databases are multiple data sources. In the existing technology, data stored in multiple data sources will be processed according to different business requirements. When performing related processing, multiple data sources are generally linked, and different directories are used to link different data sources. However, this The method of managing data sources is not flexible enough, and it is not efficient enough, and it is cumbersome to deal with the problem of database switching.
发明内容Contents of the invention
基于上述技术问题,本发明提供了一种多数据源管理方法,在接收到针对目标应用程序的执行指令时,拦截所述目标应用程序的目标方法函数,并确定所述目标方法函数中的数据源提取对象,根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源。Based on the above technical problems, the present invention provides a multi-data source management method, which intercepts the target method function of the target application program when receiving an execution instruction for the target application program, and determines the data in the target method function The source extraction object is used to query the target data source according to the data source extraction object and the preset annotation associated with the target method function.
本发明第一方面提供了一种多数据源管理方法,应用于微服务应用系统,所述方法包括:The first aspect of the present invention provides a method for managing multiple data sources, which is applied to a microservice application system, and the method includes:
在接收到针对目标应用程序的执行指令时,拦截所述目标应用程序的目标方法函数;Intercepting the target method function of the target application program when receiving the execution instruction for the target application program;
确定所述目标方法函数中的数据源提取对象;Determine the data source extraction object in the target method function;
根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,并基于业务需求对所述目标数据源中的数据进行目标处理;Querying the target data source according to the data source extraction object combined with the preset annotation associated with the target method function, and performing target processing on the data in the target data source based on business requirements;
在接收到针对目标应用程序的切换指令时,根据所述切换指令继续执行所述拦截所述目标应用程序的目标方法函数的步骤。When receiving the switching instruction for the target application program, continue to execute the step of intercepting the target method function of the target application program according to the switching instruction.
在本发明的一些实施例中,所述确定所述目标方法函数中的数据源提取对象,包括:In some embodiments of the present invention, the determining the data source extraction object in the target method function includes:
从所述目标方法函数中获取所述目标方法函数对应的连接点信息;Acquiring connection point information corresponding to the target method function from the target method function;
对所述连接点信息进行解析并确定数据源提取对象。Analyzing the connection point information and determining a data source extraction object.
在本发明的一些实施例中,所述根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,包括:In some embodiments of the present invention, the querying the target data source according to the data source extraction object combined with the preset annotation associated with the target method function includes:
建立预设名称的注解,并将所述预设名称的注解与所述目标方法函数关联;creating an annotation with a preset name, and associating the annotation with the preset name with the target method function;
将所述预设名称的注解通过Spring容器的面向切面编程实现所述目标方法函数的切面增强;Realize the aspect enhancement of the target method function through the aspect-oriented programming of the Spring container through the annotation of the preset name;
根据所述数据源提取对象,并结合所述预设名称的注解查询出目标数据源。Objects are extracted according to the data source, and the target data source is queried in combination with the annotation of the preset name.
在本发明的一些实施例中,所述将所述预设名称的注解通过Spring容器的面向切面编程实现所述目标方法函数的切面增强,包括:In some embodiments of the present invention, implementing the aspect enhancement of the target method function through the aspect-oriented programming of the Spring container through the annotation of the preset name includes:
通过Spring容器的面向切面编程的附加配置文件存储所述预设名称的注解;An annotation of the preset name is stored through an additional configuration file for aspect-oriented programming of the Spring container;
在所述预设名称的注解中存放键值对,其中,所述键值对表征所述数据源提取对象与所述目标数据源的映射关系及所述目标数据源的链接路径。A key-value pair is stored in the annotation of the preset name, wherein the key-value pair represents a mapping relationship between the data source extraction object and the target data source and a link path of the target data source.
在本发明的一些实施例中,所述根据所述数据源提取对象,并结合所述预设名称的注解查询出目标数据源,包括:In some embodiments of the present invention, the extracting the object according to the data source, and querying the target data source in combination with the annotation of the preset name includes:
根据所述数据源提取对象与所述目标数据源的映射关系查找与所述数据源提取对象对应的数据源ID;Searching for a data source ID corresponding to the data source extraction object according to the mapping relationship between the data source extraction object and the target data source;
根据所述目标数据源的链接路径、所述数据源ID和线程信息查询出所述数据源提取对象对应的数据源。The data source corresponding to the data source extraction object is queried according to the link path of the target data source, the data source ID and thread information.
在本发明的一些实施例中,所述将所述预设名称的注解通过Spring容器的面向切面编程实现所述目标方法函数的切面增强之前,还包括织入前置通知以获取Spring容器的连接资源;所述将所述预设名称的注解通过Spring容器的面向切面编程实现所述目标方法函数的切面增强之后,还包括织入后置通知以释放Spring容器的连接资源。In some embodiments of the present invention, before the annotation of the preset name is implemented through the aspect-oriented programming of the Spring container to enhance the aspect of the target method function, it also includes weaving into the pre-advice to obtain the connection of the Spring container resources; after the annotation of the preset name is implemented through the aspect-oriented programming of the Spring container to enhance the aspect of the target method function, it also includes weaving into the post-notification to release the connection resources of the Spring container.
在本发明的一些实施例中,所述查询出目标数据源之后还包括采用数据源链接模板的方式连接所述目标数据源,所述采用数据源链接模板的方式连接所述目标数据源包括:In some embodiments of the present invention, after querying the target data source, it also includes connecting the target data source by using a data source link template, and connecting the target data source by using a data source link template includes:
定义预设数据源链接模板;Define preset data source link templates;
根据所述预设数据源链接模板建立与数据源的连接信息,所述连接信息中至少包括数据源ID、数据源名称、数据源账号密码和数据源所在路径;Establish connection information with the data source according to the preset data source link template, the connection information at least includes a data source ID, a data source name, a data source account password, and a path where the data source is located;
根据所述数据源的连接信息获得欲连接数据源中的数据源提取对象。The data source extraction object in the data source to be connected is obtained according to the connection information of the data source.
本发明第二方面提供了一种多数据源管理装置,所述装置包括:The second aspect of the present invention provides a multi-data source management device, the device comprising:
方法确定模块,被配置为在接收到针对目标应用程序的执行指令时,拦截所述目标应用程序的目标方法函数;The method determination module is configured to intercept the target method function of the target application program when receiving an execution instruction for the target application program;
对象确定模块,被配置为确定所述目标方法函数中的数据源提取对象;an object determination module configured to determine the data source extraction object in the target method function;
处理模块,被配置为根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,并基于业务需求进行数据处理;The processing module is configured to query the target data source according to the data source extraction object combined with the preset annotation associated with the target method function, and perform data processing based on business requirements;
切换模块,被配置为在接收到针对目标应用程序的切换指令时,根据所述切换指令继续执行拦截所述目标应用程序的目标方法函数的步骤。The switching module is configured to continue to execute the step of intercepting the target method function of the target application program according to the switching command when receiving the switching command for the target application program.
本发明第三方面提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时,使得处理器执行以下步骤:The third aspect of the present invention provides a computer device, including a memory and a processor, where computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, the processor is made to perform the following steps:
在接收到针对目标应用程序的执行指令时,拦截所述目标应用程序的目标方法函数;Intercepting the target method function of the target application program when receiving the execution instruction for the target application program;
确定所述目标方法函数中的数据源提取对象;Determine the data source extraction object in the target method function;
根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,并基于业务需求对所述目标数据源中的数据进行目标处理;Querying the target data source according to the data source extraction object combined with the preset annotation associated with the target method function, and performing target processing on the data in the target data source based on business requirements;
在接收到针对目标应用程序的切换指令时,根据所述切换指令继续执行所述拦截所述目标应用程序的目标方法函数的步骤。When receiving the switching instruction for the target application program, continue to execute the step of intercepting the target method function of the target application program according to the switching instruction.
本发明第四方面提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以下步骤:A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
在接收到针对目标应用程序的执行指令时,拦截所述目标应用程序的目标方法函数;Intercepting the target method function of the target application program when receiving the execution instruction for the target application program;
确定所述目标方法函数中的数据源提取对象;Determine the data source extraction object in the target method function;
根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,并基于业务需求对所述目标数据源中的数据进行目标处理;Querying the target data source according to the data source extraction object combined with the preset annotation associated with the target method function, and performing target processing on the data in the target data source based on business requirements;
在接收到针对目标应用程序的切换指令时,根据所述切换指令继续执行所述拦截所述目标应用程序的目标方法函数的步骤。When receiving the switching instruction for the target application program, continue to execute the step of intercepting the target method function of the target application program according to the switching instruction.
本申请实施例中提供的技术方案,至少具有如下技术效果或优点:The technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
本申请在接收到针对目标应用程序的执行指令时,拦截所述目标应用程序的目标方法函数,确定所述目标方法函数中的数据源提取对象,根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,并基于业务需求对所述目标数据源中的数据进行目标处理,解决了现有技术中管理数据源的方法不够灵活高效且处理数据库切换问题较为繁琐的技术问题,使对数据源的管理灵活高效;本申请提出在接收到针对目标应用程序的切换指令时,根据所述切换指令继续执行确定并所述拦截所述目标应用程序的目标方法函数的步骤,能实现多数据源自如地动态切换,从而大大提升了多数据源的管理效率。不仅如此,现有技术中过于依赖采用不同目录链接不同的数据源的方式,而本申请所述方法能解除使用多数据源时对目录或者文件名称的限制,实现了更加简洁高效的多数据源管理。When the present application receives an execution instruction for the target application program, intercept the target method function of the target application program, determine the data source extraction object in the target method function, and combine the target method according to the data source extraction object The preset annotations associated with the function query the target data source, and perform target processing on the data in the target data source based on business requirements, which solves the problem that the method of managing data sources in the prior art is not flexible enough and efficient, and it is relatively difficult to handle database switching. The cumbersome technical issues make the management of the data source flexible and efficient; the application proposes that when a switching instruction for the target application program is received, continue to execute the target method function of determining and intercepting the target application program according to the switching instruction The steps of multiple data sources can be dynamically switched, thus greatly improving the management efficiency of multiple data sources. Not only that, the prior art relies too much on the way of using different directories to link different data sources, but the method described in this application can remove the restrictions on directory or file names when using multiple data sources, and realize a more concise and efficient multi-data source manage.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本申请的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the application. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1示出了本申请一示例性实施例中的多数据源管理方法步骤示意图;FIG. 1 shows a schematic diagram of the steps of a method for managing multiple data sources in an exemplary embodiment of the present application;
图2示出了本申请一示例性实施例中的多数据源管理方法的效果示意图;Fig. 2 shows a schematic diagram of the effect of a multi-data source management method in an exemplary embodiment of the present application;
图3示出了本申请一示例性实施例中多数据源管理方法中动态切换数据源过程示意图;FIG. 3 shows a schematic diagram of a process of dynamically switching data sources in a multi-data source management method in an exemplary embodiment of the present application;
图4示出了本申请一示例性实施例中的微服务应用系统结构示意图;FIG. 4 shows a schematic structural diagram of a microservice application system in an exemplary embodiment of the present application;
图5示出了本申请一示例性实施例所提供的一种计算机设备的结构示意图。Fig. 5 shows a schematic structural diagram of a computer device provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
以下,将参照附图来描述本申请的实施例。但是应该理解的是,这些描述只是示例性的,而并非要限制本申请的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本申请的概念。对于本领域技术人员来说显而易见的是,本申请可以无需一个或多个这些细节而得以实施。在其他的例子中,为了避免与本申请发生混淆,对于本领域公知的一些技术特征未进行描述。Hereinafter, embodiments of the present application will be described with reference to the drawings. However, it should be understood that these descriptions are illustrative only and are not intended to limit the scope of the present application. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present application. It will be apparent to those skilled in the art that the present application may be practiced without one or more of these details. In other examples, some technical features known in the art are not described in order to avoid confusion with the present application.
应予以注意的是,这里所使用的术语仅是为了描述具体实施例,而非意图限制根据本申请的示例性实施例。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式。此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或附加一个或多个其他特征、整体、步骤、操作、元件、组件和/或它们的组合。It should be noted that the terminology used herein is only for describing specific embodiments, and is not intended to limit the exemplary embodiments according to the present application. As used herein, singular forms are intended to include plural forms unless the context clearly dictates otherwise. In addition, it should also be understood that when the terms "comprising" and/or "comprising" are used in this specification, it indicates the presence of the features, integers, steps, operations, elements and/or components, but does not exclude the presence or One or more other features, integers, steps, operations, elements, components and/or combinations thereof are added.
现在,将参照附图更详细地描述根据本申请的示例性实施例。然而,这些示例性实施例可以多种不同的形式来实施,并且不应当被解释为只限于这里所阐述的实施例。附图并非是按比例绘制的,其中为了清楚表达的目的,可能放大了某些细节,并且可能省略了某些细节。图中所示出的各种区域、层的形状以及它们之间的相对大小、位置关系仅是示例性的,实际中可能由于制造公差或技术限制而有所偏差,并且本领域技术人员根据实际所需可以另外设计具有不同形状、大小、相对位置的区域/层。Now, exemplary embodiments according to the present application will be described in more detail with reference to the accompanying drawings. These example embodiments may, however, be embodied in many different forms and should not be construed as limited to only the embodiments set forth herein. The figures are not drawn to scale, in which certain details may be exaggerated and certain details may be omitted for the purpose of clarity of presentation. The shapes of the various regions and layers shown in the figure, as well as their relative sizes and positional relationships are only exemplary, and may deviate due to manufacturing tolerances or technical limitations in practice, and those skilled in the art will Regions/layers with different shapes, sizes, and relative positions can be additionally designed as needed.
下面结合说明书附图1-附图5给出几个实施例来描述根据本申请的示例性实施方式。需要注意的是,下述应用场景仅是为了便于理解本申请的精神和原理而示出,本申请的实施方式在此方面不受任何限制。相反,本申请的实施方式可以应用于适用的任何场景。Several embodiments are given below in conjunction with accompanying
数据是所有工程系统所必需的资源,外部请求访问工程系统的数据,工程系统将数据加工后返回给外部。从某种程度上而言工程系统就是数据加算法的结合体。数据会存于数据库中,一般来说工程系统只会使用一个数据库,但是针对比较大的系统,或者是比较复杂的系统,就会存在多类型或多个数据库的使用。比如较大型的工程系统,因为领域模型划分或者数据庞大,不得不将数据分散在多个数据库中。或者在比较复杂的工程系统,其内部可能链接到多个不同类型的数据库源,如Oracel类型的数据库,Mysql类型的数据库。这种复杂的大型的工程系统,在处理这种多类型的多个数据库时,会链接多个数据源,采用不同目录下链接(在不同目录中设置不同的数据源)不同数据源的方式。这种方式是原先工程系统支持的方式,不同的目录下面的sql.xml(数据库的数据执行方法)去链接不同的数据库,以目录作为标识,做到链接不同类型数据库和多个数据库。然而这样管理数据源的方法不够灵活,也不够高效,且处理数据库切换问题较为繁琐。Data is a necessary resource for all engineering systems. External requests access to the data of the engineering system, and the engineering system processes the data and returns it to the outside. To some extent, an engineering system is a combination of data and algorithms. The data will be stored in the database. Generally speaking, the engineering system will only use one database, but for relatively large systems or complex systems, there will be multiple types or multiple databases used. For example, larger engineering systems have to disperse data in multiple databases because of domain model division or huge data. Or in a relatively complex engineering system, it may be linked to multiple different types of database sources, such as Oracle-type databases and Mysql-type databases. This complex large-scale engineering system will link multiple data sources when dealing with multiple databases of this type, and use the method of linking different data sources under different directories (setting different data sources in different directories). This method is supported by the original engineering system. The sql.xml (data execution method of the database) under different directories is used to link different databases, and the directory is used as an identifier to link different types of databases and multiple databases. However, this method of managing data sources is not flexible enough, nor efficient enough, and it is cumbersome to deal with the problem of database switching.
因此在本申请的一些实施例中,提供了一种多数据源管理方法,如图1所示,所述方法包括:Therefore, in some embodiments of the present application, a method for managing multiple data sources is provided, as shown in FIG. 1 , the method includes:
S1、在接收到针对目标应用程序的执行指令时,拦截所述目标应用程序的目标方法函数;S1. Intercepting a target method function of the target application when receiving an execution instruction for the target application;
S2、确定所述目标方法函数中的数据源提取对象;S2. Determine the data source extraction object in the target method function;
S3、根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,并基于业务需求对所述目标数据源中的数据进行目标处理;S3. Query the target data source according to the data source extraction object combined with the preset annotation associated with the target method function, and perform target processing on the data in the target data source based on business requirements;
S4、在接收到针对目标应用程序的切换指令时,根据所述切换指令继续执行所述拦截所述目标应用程序的目标方法函数的步骤。S4. When receiving a switching instruction for the target application program, continue to execute the step of intercepting the target method function of the target application program according to the switching instruction.
首先需要说明的是,微服务应用系统是部署有所述微服务应用的集群;所述集群,包括:N个节点,N为正整数;每个节点对应一台服务器或一台云主机。本质上属于一种微服务架构,其中单个应用程序由许多松散耦合且可独立部署的较小组件或服务组成。First of all, it should be explained that the microservice application system is a cluster in which the microservice application is deployed; the cluster includes: N nodes, where N is a positive integer; each node corresponds to a server or a cloud host. Essentially a microservices architecture in which a single application is composed of many smaller components or services that are loosely coupled and independently deployable.
在一种具体的实现方式中,确定所述目标方法函数中的数据源提取对象时,先从所述目标方法函数中获取所述目标方法函数对应的连接点信息,再对所述连接点信息进行解析并确定数据源提取对象。这里的数据源提取对象可以是数据表,也可以是数据表中的不同字段,具体以从函数中提取到的结果为准。In a specific implementation manner, when determining the data source extraction object in the target method function, the connection point information corresponding to the target method function is first obtained from the target method function, and then the connection point information is Parse and determine the data source extraction object. The data source extraction object here can be a data table, or it can be different fields in the data table, depending on the result extracted from the function.
在本申请的一些实施方式中,根据数据源提取对象结合目标方法函数所关联的预设注解查询出目标数据源,包括:建立预设名称的注解,并将所述预设名称的注解与所述目标方法函数关联;将所述预设名称的注解通过Spring容器的面向切面编程实现所述目标方法函数的切面增强;根据所述数据源提取对象,并结合所述预设名称的注解查询出目标数据源。In some implementations of the present application, querying the target data source according to the preset annotation associated with the data source extraction object and the target method function includes: creating an annotation with a preset name, and combining the annotation with the preset name with the The target method function is associated; the annotation of the preset name is implemented through the aspect-oriented programming of the Spring container to enhance the aspect of the target method function; the object is extracted according to the data source, and combined with the annotation of the preset name to query target data source.
在一种优选的实现方式中,将所述预设名称的注解通过Spring容器的面向切面编程实现所述目标方法函数的切面增强时,先通过Spring容器的面向切面编程的附加配置文件存储所述预设名称的注解,在所述预设名称的注解中存放键值对,其中,所述键值对表征所述数据源提取对象与所述目标数据源的映射关系及所述目标数据源的链接路径。例如:微服务应用系统引用switchdata.jar,并在指定的附加流程方法上添加注解DynamicSwitchDataSource,这里的DynamicSwitchDataSource就是以Spring的AOP即面向切面编程作为底层技术来配置的,DynamicSwitchDataSource存储键值对,即关键字Key和其对应的Value值。In a preferred implementation mode, when the annotation of the preset name is implemented through the aspect-oriented programming of the Spring container to enhance the aspect of the target method function, the additional configuration file of the aspect-oriented programming of the Spring container is first stored. An annotation with a preset name, storing a key-value pair in the annotation with a preset name, wherein the key-value pair represents the mapping relationship between the data source extraction object and the target data source and the target data source link path. For example: the microservice application system refers to switchdata.jar, and adds the annotation DynamicSwitchDataSource to the specified additional process method. The DynamicSwitchDataSource here is configured with Spring’s AOP, that is, aspect-oriented programming, as the underlying technology. DynamicSwitchDataSource stores key-value pairs, that is, the key Word Key and its corresponding Value.
需要说明的是,Spring容器是Spring框架的核心,是用来管理对象的。容器将创建对象,把它们连接在一起,配置它们,并由其通过IoC技术管理,串联他们的整个生命周期从创建到销毁。AOP(Aspect-Oriented Programming的简称),也就是面向切面编程的意思,它是一种编程思想,在Spring的官方文档中描述:面向切面编程(AOP)提供了另一种思考程序结构的方式来对面向对象编程(OOP)的进行补充和完善,面向对象编程(OOP)中关键的是对象,而面向切面编程(AOP)中关键的是切面。OOP针对的是业务处理过程中的实体的属性和行为,而不像AOP,其是面对业务处理过程中的某个步骤或阶段。AOP中切面可以实现关注点的模块化(即统一抽取,提高复用),例如跨越多种类型和对象的事务管理,这种关注点在AOP文献中通常被称为横切关注点。因此,上述将预设名称的注解通过Spring容器的面向切面编程实现目标应用中目标方法的切面增强,根本上是利用了AOP的动态代理功能,且以注解的方式让目标方法更有“特质”,以增强了其被执行性。It should be noted that the Spring container is the core of the Spring framework and is used to manage objects. The container will create objects, connect them together, configure them, and manage them through IoC technology, serializing their entire life cycle from creation to destruction. AOP (abbreviation for Aspect-Oriented Programming), which means aspect-oriented programming, is a programming idea described in Spring's official documentation: Aspect-Oriented Programming (AOP) provides another way to think about program structure. To supplement and improve object-oriented programming (OOP), the key in object-oriented programming (OOP) is the object, and the key in aspect-oriented programming (AOP) is the aspect. OOP is aimed at the attributes and behaviors of entities in the process of business processing, unlike AOP, which is aimed at a certain step or stage in the process of business processing. Aspects in AOP can realize the modularization of concerns (that is, unified extraction and improved reuse), such as transaction management across multiple types and objects. This concern is usually called cross-cutting concern in AOP literature. Therefore, the above-mentioned annotation of the preset name realizes the aspect enhancement of the target method in the target application through the aspect-oriented programming of the Spring container, which basically uses the dynamic proxy function of AOP, and makes the target method more "characteristic" in the way of annotation , to enhance its enforceability.
在本申请的一些实施例中,根据所述数据源提取对象,并结合所述预设名称的注解查询出目标数据源时,首先根据所述数据源提取对象与所述目标数据源的映射关系查找与所述数据源提取对象对应的数据源ID例如具体执行时,获取注解上的数据源的信息,可以通过“String dataSourceKey=annotationClass.dataSource()”的代码从远程config或redis中获取动态配置信息,获取真实的值。然后再根据所述目标数据源的链接路径、所述数据源ID和线程信息查询出所述数据源提取对象对应的数据源。例如,键值对中设置a.1=Master,b.2=Slave,c.3=Oracle,等等,数据源ID分别是1、2、3,目标数据对象分别是a、b、c。如图2所示,根据切面增强后的目标方法查找目标数据对象对应的不同的数据源,简单高效。上述的数据源指代数据库,如Oracle。In some embodiments of the present application, when extracting the object according to the data source, and querying the target data source in combination with the annotation of the preset name, first extract the mapping relationship between the object and the target data source according to the data source Find the data source ID corresponding to the data source extraction object. For example, during specific execution, to obtain the information of the data source on the annotation, the dynamic configuration can be obtained from the remote config or redis through the code of "String dataSourceKey=annotationClass.dataSource()" information to get the real value. Then query the data source corresponding to the data source extraction object according to the link path of the target data source, the data source ID and thread information. For example, a.1=Master, b.2=Slave, c.3=Oracle, etc. are set in the key-value pair, the data source IDs are 1, 2, and 3 respectively, and the target data objects are a, b, and c respectively. As shown in Figure 2, it is simple and efficient to search for different data sources corresponding to the target data object according to the target method after aspect enhancement. The aforementioned data sources refer to databases, such as Oracle.
在本申请的一些实施例中,将预设名称的注解通过Spring容器的面向切面编程实现所述目标方法函数的切面增强之前,还包括织入前置通知以获取Spring容器的连接资源;所述将所述预设名称的注解通过Spring容器的面向切面编程实现所述目标方法函数的切面增强之后,还包括织入后置通知以释放Spring容器的连接资源。具体而言,@Before:前置通知,在方法执行之前执行,是做好铺垫工作即连接资源,@After:后置通知,在方法执行之后执行,即释放资源。In some embodiments of the present application, before the annotation of the preset name is implemented through the aspect-oriented programming of the Spring container to enhance the aspect of the target method function, it also includes weaving the pre-advice to obtain the connection resource of the Spring container; After the annotation of the preset name is implemented through the aspect-oriented programming of the Spring container to enhance the aspect of the target method function, it also includes weaving post notifications to release the connection resources of the Spring container. Specifically, @Before: pre-notification, executed before the method is executed, is to prepare for the connection of resources, @After: post-notification, executed after the method is executed, that is, to release resources.
在本申请其它的一些实施例中,在查询出目标数据源之后还包括采用数据源链接模板的方式连接所述目标数据源,采用数据源链接模板的方式连接所述目标数据源时,先定义预设数据源链接模板,然后根据所述预设数据源链接模板建立与数据源的连接信息,其中,连接信息中至少包括数据源ID、数据源名称、数据源账号密码和数据源所在路径,根据数据源的连接信息获得欲连接数据源中的数据源提取对象。这里所谓的定义预设数据源链接模板,例如可采用代码:class.forName(“com.mysql.jdbc.Driver”),而建立与数据源的连接可采用代码conn DriverManger.getConnection建立,其参数包含数据源ID、数据源名称、数据源账号密码和数据源所在路径,即可以获取到运行时数据源JDBC URL地址。如图3所示,利用Spring容器的Aop(切面编程),针对要修改的方法(目标方法)进行切面增强,应用启动生成一个动态代理类,主要负责监控方法的数据源,从远程config或者redis配置中获取真实数据源信息,将数据源传递给spring的jdbc(数据库链接模板)去处理,以帮助spring去处理数据库相关的操作,当jdbc拿到切面编程获取的数据源信息然后再去链接该数据源,当发生数据库操作时就会去访问该数据源,从而达到动态切换数据源,优化多数据源使用方式的技术效果。In some other embodiments of the present application, after the target data source is queried, it also includes connecting the target data source by means of a data source link template. When connecting the target data source by means of a data source link template, first define Preset the data source link template, and then establish connection information with the data source according to the preset data source link template, wherein the connection information includes at least the data source ID, the data source name, the data source account password and the path where the data source is located, Obtain the data source extraction object in the data source to be connected according to the connection information of the data source. The so-called definition of the default data source link template here, for example, can use the code: class.forName("com.mysql.jdbc.Driver"), and the establishment of a connection with the data source can be established with the code conn DriverManger.getConnection, and its parameters include The data source ID, data source name, data source account password, and data source path can be used to obtain the runtime data source JDBC URL address. As shown in Figure 3, use the Aop (aspect programming) of the Spring container to enhance the aspect of the method (target method) to be modified, and generate a dynamic proxy class when the application starts, which is mainly responsible for monitoring the data source of the method, from the remote config or redis Get the real data source information in the configuration, and pass the data source to spring's jdbc (database link template) for processing to help spring handle database-related operations. When jdbc gets the data source information obtained by aspect programming, then go to link the Data source, when a database operation occurs, the data source will be accessed, so as to achieve the technical effect of dynamically switching data sources and optimizing the use of multiple data sources.
在具体实施时,基于业务需求对所述目标数据源中的数据进行目标处理,所述目标处理可以是增加新数据记录、删除已有的数据记录或修改数据的操作,具体地,根据实际的业务需求而定。During specific implementation, target processing is performed on the data in the target data source based on business requirements. The target processing may be an operation of adding new data records, deleting existing data records, or modifying data. Specifically, according to actual Depends on business needs.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
在本申请示例性实施例中,还提供了一种多数据源管理装置,其执行各实施例中的所述多数据源管理方法,如图4所示,所述装置包括:In an exemplary embodiment of the present application, a multi-data source management device is also provided, which executes the multi-data source management method in each embodiment. As shown in FIG. 4, the device includes:
方法确定模块401,被配置为在接收到针对目标应用程序的执行指令时,拦截所述目标应用程序的目标方法函数;The
对象确定模块402,被配置为确定所述目标方法函数中的数据源提取对象;The
处理模块403,被配置为根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,并基于业务需求进行数据处理;The
切换模块404,被配置为在接收到针对目标应用程序的切换指令时,根据所述切换指令继续执行拦截所述目标应用程序的目标方法函数的步骤。The
在本申请的一些实施方式中,处理模块403在实现根据数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,并基于业务需求进行数据处理的功能时,具体执行以下步骤:建立预设名称的注解,并将所述预设名称的注解与所述目标方法函数关联;将所述预设名称的注解通过Spring容器的面向切面编程实现所述目标方法函数的切面增强;根据所述数据源提取对象,并结合所述预设名称的注解查询出目标数据源。In some embodiments of the present application, when the
还需要强调的是,本申请实施例中提供的系统可以基于人工智能技术对相关的数据进行获取和处理。其中,人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。人工智能基础技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理技术、操作/交互系统、机电一体化等技术。人工智能软件技术主要包括计算机视觉技术、机器人技术、生物识别技术、语音处理技术、自然语言处理技术以及机器学习/深度学习等几大方向。It should also be emphasized that the system provided in the embodiment of the present application can acquire and process related data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. . Artificial intelligence basic technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation/interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning/deep learning.
下面请参考图5,其示出了本申请的一些实施方式所提供的一种计算机设备的示意图。如图5所示,所述计算机设备2包括:处理器200,存储器201,总线202和通信接口203,所述处理器200、通信接口203和存储器201通过总线202连接;所述存储器201中存储有可在所述处理器200上运行的计算机程序,所述处理器200运行所述计算机程序时执行本申请前述任一实施方式所提供的多数据源管理方法。Please refer to FIG. 5 below, which shows a schematic diagram of a computer device provided by some embodiments of the present application. As shown in Figure 5, described
其中,存储器201可能包含高速随机存取存储器(RAM:Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口203(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网、广域网、本地网、城域网等。Wherein, the
总线202可以是ISA总线、PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。其中,存储器201用于存储程序,所述处理器200在接收到执行指令后,执行所述程序,前述本申请实施例任一实施方式揭示的所述多数据源管理方法可以应用于处理器200中,或者由处理器200实现。The
处理器200可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器200中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器200可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器201,处理器200读取存储器201中的信息,结合其硬件完成上述方法的步骤。The
本申请实施方式还提供一种与前述实施方式所提供的多数据源管理方法对应的计算机可读存储介质,其上存储有计算机程序,所述计算机程序在被处理器运行时,会执行前述任意实施方式所提供的多数据源管理方法。Embodiments of the present application also provide a computer-readable storage medium corresponding to the multi-data source management method provided in the foregoing embodiments, on which a computer program is stored, and when the computer program is run by a processor, it will execute any of the foregoing The multi-data source management method provided by the embodiment.
另外,所述计算机可读存储介质的例子还可以包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他光学、磁性存储介质,在此不再一一赘述。In addition, examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be repeated here.
本申请实施方式还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现前述任意实施方式所提供的多数据源管理方法的步骤,包括:在接收到针对目标应用程序的执行指令时,拦截所述目标应用程序的目标方法函数;确定所述目标方法函数中的数据源提取对象;根据所述数据源提取对象结合所述目标方法函数所关联的预设注解查询出目标数据源,并基于业务需求对所述目标数据源中的数据进行目标处理;在接收到针对目标应用程序的切换指令时,根据所述切换指令继续执行所述拦截所述目标应用程序的目标方法函数的步骤。Embodiments of the present application also provide a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the multi-data source management method provided in any of the foregoing embodiments are implemented, including: When executing the instruction, intercept the target method function of the target application program; determine the data source extraction object in the target method function; query the target according to the data source extraction object combined with the preset annotation associated with the target method function data source, and perform target processing on the data in the target data source based on business requirements; when receiving a switching instruction for the target application program, continue to execute the target method for intercepting the target application program according to the switching instruction The steps of the function.
需要说明的是:在此提供的算法和显示不与任何特定计算机、虚拟装置或者其它设备有固有相关。各种通用装置也可以与基于在此的示教一起使用。根据上面的描述,构造这类装置所要求的结构是显而易见的。此外,本申请也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本申请的内容,并且上面对特定语言所做的描述是为了披露本申请的最佳实施方式。在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本申请的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。It should be noted that the algorithms and displays presented here are not inherently related to any particular computer, virtual appliance, or other device. Various general purpose devices can also be used with the teachings based on this. The structure required to construct such an apparatus will be apparent from the foregoing description. Furthermore, this application is not directed to any particular programming language. It should be understood that various programming languages can be used to implement the content of the application described here, and the description of specific languages above is to disclose the best implementation mode of the application. In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features and/or procedures or elements disclosed in this specification, as well as all procedures or elements of any method or apparatus so disclosed, may be combined in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. Unless expressly stated otherwise, each feature disclosed in this specification may be replaced by alternative features serving the same, equivalent or similar purpose.
本申请的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本申请实施例的虚拟机的创建装置中的一些或者全部部件的一些或者全部功能。本申请还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序。实现本申请的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present application may be realized in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the device for creating a virtual machine according to the embodiment of the present application. The present application can also be implemented as a device or an apparatus program for performing a part or all of the methods described herein. The program implementing the present application may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
以上所述,仅为本申请较佳的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a preferred embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person familiar with the technical field can easily conceive of changes or changes within the technical scope disclosed in this application Replacement should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310285419.5A CN116303649A (en) | 2023-03-15 | 2023-03-15 | A multi-data source management method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310285419.5A CN116303649A (en) | 2023-03-15 | 2023-03-15 | A multi-data source management method, device, equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116303649A true CN116303649A (en) | 2023-06-23 |
Family
ID=86779446
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310285419.5A Pending CN116303649A (en) | 2023-03-15 | 2023-03-15 | A multi-data source management method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116303649A (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110765187A (en) * | 2018-07-09 | 2020-02-07 | 北京京东尚科信息技术有限公司 | Data source route management method and device |
| CN111414391A (en) * | 2020-03-25 | 2020-07-14 | 平安资产管理有限责任公司 | Method and system for accessing multiple data sources |
| CN114840598A (en) * | 2022-07-04 | 2022-08-02 | 好享家舒适智能家居股份有限公司 | Method and system for creating runtime data source and automatically switching |
| CN114840272A (en) * | 2022-07-04 | 2022-08-02 | 好享家舒适智能家居股份有限公司 | A multi-data source dynamic planning and monitoring system and method |
-
2023
- 2023-03-15 CN CN202310285419.5A patent/CN116303649A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110765187A (en) * | 2018-07-09 | 2020-02-07 | 北京京东尚科信息技术有限公司 | Data source route management method and device |
| CN111414391A (en) * | 2020-03-25 | 2020-07-14 | 平安资产管理有限责任公司 | Method and system for accessing multiple data sources |
| CN114840598A (en) * | 2022-07-04 | 2022-08-02 | 好享家舒适智能家居股份有限公司 | Method and system for creating runtime data source and automatically switching |
| CN114840272A (en) * | 2022-07-04 | 2022-08-02 | 好享家舒适智能家居股份有限公司 | A multi-data source dynamic planning and monitoring system and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI718375B (en) | Data processing method and equipment based on blockchain | |
| US10853356B1 (en) | Persistent metadata catalog | |
| US10437564B1 (en) | Object mapping and conversion system | |
| CN107430611B (en) | Filtering data lineage graph | |
| WO2020232569A1 (en) | Database access layer representation method and device | |
| CN115269632A (en) | SQL statement processing method and device, electronic equipment and storage medium | |
| CN111949650A (en) | Multi-language fusion query method and multi-mode database system | |
| US10783193B2 (en) | Program, method, and system for execution of software services | |
| JP2017515183A (en) | Manage data profiling operations related to data types | |
| CN108345691B (en) | Data source general processing framework construction method, data source processing method and device | |
| US10782935B2 (en) | Method and system to provide a generalized framework for dynamic creation of module analytic applications | |
| US12141161B1 (en) | Automated non-relational to relational database streaming | |
| CN110866029A (en) | sql statement construction method, device, server and readable storage medium | |
| US10019473B2 (en) | Accessing an external table in parallel to execute a query | |
| CN110046170A (en) | Sentence based on multifile management executes method, apparatus, equipment and medium | |
| US12455727B2 (en) | System and method for a heterogenous software platform | |
| CA3089289A1 (en) | System and methods for loading objects from hash chains | |
| CN114297204A (en) | Data storage and retrieval method and device for heterogeneous data source | |
| CN103778239A (en) | Multi-database data management method and system | |
| CN119322802A (en) | Interaction method, device, medium and system of business system and third party database | |
| CN114138240A (en) | Java object generation method, system, computer device and readable storage medium | |
| CN112347794A (en) | Data translation method, apparatus, device and computer storage medium | |
| CN104808970B (en) | A kind of method and system for realizing internationalized software | |
| CN116302219B (en) | Data stream batch processing method, device, equipment and medium | |
| CN117573199B (en) | Model difference comparison analysis method, device, equipment and medium |
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 | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20250424 Address after: Unit 3509, 35th Floor, No. 1333 Lujiazui Ring Road, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai, 200120 Applicant after: Ping An Pay Electronic Payment Co.,Ltd. Country or region after: China Address before: Unit 2605, 26th Floor, Zhaobangji Financial Building, No. 319, Fuhua Road, Futian Street, Futian District, Shenzhen, Guangdong 518048 Applicant before: Pingan Payment Technology Service Co.,Ltd. Country or region before: China |
|
| TA01 | Transfer of patent application right |