A method and apparatus for determining a master system
Patent Information
- Application Number
- CN202211043017.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-29
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2042-08-29
AI Technical Summary
并且,随着开发小组变得越来越大,让每个开发人员的想法都保持一致,把精力放在相同的设计方法上变得越来越难,进而会导致数据项的命名规则不同,出现数据项名字相同意义不同、名字不同意义相同的现象,导致理解不一致的问题
[0032] This application provides a method for determining the responsible system. When executing the method, registration information of the target system is first received, then the registration information is analyzed to obtain a first target system data item and a first data asset data item. Then, based on a first correspondence and the first data asset data item, a first responsible system is determined. Finally, the first responsible system is determined as the responsible system for the first target system data item. In this way, the responsible system is confirmed through registration information and correspondence, efficiently tracing the source of data items. Furthermore, because all data items correspond to data asset data items, inconsistencies in understanding caused by data interaction between systems can be avoided, facilitating subsequent statistical analysis.
Smart Images

Figure CN115373739B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data analysis technology, and in particular to a method and apparatus for determining the primary responsible system. Background Technology
[0002] In recent years, the banking industry has experienced significant growth, and its systems have also undergone various phases. Because different personnel were involved in different phases of banking systems, developers in later phases had to work extremely hard to find meaningful data items in earlier systems to avoid incompatibility issues. Furthermore, as development teams grew larger, it became increasingly difficult to ensure that every developer maintained a consistent perspective and focused on the same design methodologies. This led to different naming conventions for data items, resulting in instances where data items with the same name had different meanings, or vice versa, causing misunderstandings.
[0003] The existing system cannot trace the data source, making it impossible to define the meaning of a particular data item. This leads to data items being unable to understand each other, easily resulting in the duplication of data items with the same meaning, and causing great inconvenience to the subsequent statistical analysis of the data items.
[0004] Therefore, how to provide a method for determining the primary responsibility system is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] In view of this, embodiments of this application provide a method and apparatus for determining the responsible system, aiming to confirm the responsible system, efficiently trace the source of data items, avoid inconsistencies in understanding caused by data interaction between systems, and facilitate subsequent statistical analysis.
[0006] In a first aspect, embodiments of this application provide a method for determining the primary responsible system, including:
[0007] Receive registration information from the target system; the registration information includes fields in a first interface, which is the interface used by the target system.
[0008] Analyzing the registration information yields a first target system data item and a first data asset data item; the first target system data item is the target system data item corresponding to the field, and the first data asset data item is the data asset data item corresponding to the field.
[0009] Based on the first correspondence and the first data asset data item, a first primary responsible system is determined; the first correspondence is a correspondence between at least one data asset data item and the primary responsible system, and the primary responsible system is the system that generates the data asset data item;
[0010] The first responsible system is determined to be the responsible system for the data item of the first target system.
[0011] Preferably, the fields in the first interface are the fields in the interface published by the first source system.
[0012] Preferably, the method further includes:
[0013] Analyzing the registration information yields the first source system;
[0014] Determine whether the first source system is the primary responsible system;
[0015] In response to the fact that the first source system is not the primary responsible system, a second source system is determined based on the registration information of the first source system, and the second source system is the superior system of the first source system;
[0016] The second source system is identified as the first primary responsible system.
[0017] Preferably, the first interface includes an online interface and an offline batch interface.
[0018] Secondly, embodiments of this application provide an apparatus for determining the primary responsible system, comprising:
[0019] A registration module is used to receive registration information from a target system; the registration information includes fields in a first interface, which is an interface used by the target system.
[0020] The analysis module is used to analyze the registration information to obtain a first target system data item and a first data asset data item; the first target system data item is the target system data item corresponding to the field, and the first data asset data item is the data asset data item corresponding to the field.
[0021] The first primary responsibility system determination module determines the first primary responsibility system based on the first correspondence relationship and the first data asset data item; the first correspondence relationship is the correspondence relationship between at least one data asset data item and the primary responsibility system, and the primary responsibility system is the system that generates the data asset data item;
[0022] The result module is used to determine that the first responsible system is the responsible system for the data item of the first target system.
[0023] Preferably, the fields in the first interface are the fields in the interface published by the first source system.
[0024] Preferably, the device further includes:
[0025] The analysis module is also used to analyze the registration information to obtain the first source system;
[0026] The judgment module is used to determine whether the first source system is the primary responsible system;
[0027] The second source system determination module is used to determine the second source system based on the registration information of the first source system in response to the first source system not being the primary responsible system. The second source system is the superior system of the first source system.
[0028] The first primary responsibility system determination module is also used to determine the second source system as the first primary responsibility system.
[0029] Preferably, the first interface includes an online interface and an offline batch interface.
[0030] Thirdly, embodiments of this application provide an apparatus including a memory and a processor. The memory is used to store instructions or code, and the processor is used to execute the instructions or code to cause the apparatus to perform the method for determining the responsible system as described in any of the first aspects above.
[0031] Fourthly, embodiments of this application provide a computer storage medium storing code, wherein when the code is executed, a device running the code implements the method for determining the responsible system as described in any of the first aspects above.
[0032] This application provides a method for determining the responsible system. When executing the method, registration information of the target system is first received, then the registration information is analyzed to obtain a first target system data item and a first data asset data item. Then, based on a first correspondence and the first data asset data item, a first responsible system is determined. Finally, the first responsible system is determined as the responsible system for the first target system data item. In this way, the responsible system is confirmed through registration information and correspondence, efficiently tracing the source of data items. Furthermore, because all data items correspond to data asset data items, inconsistencies in understanding caused by data interaction between systems can be avoided, facilitating subsequent statistical analysis. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings used in the description of the embodiment or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 A flowchart of a method for determining the primary responsibility system provided in the embodiments of this application;
[0035] Figure 2 A flowchart illustrating another method for determining the primary responsibility system provided in this application embodiment;
[0036] Figure 3 A schematic diagram of the apparatus for determining the primary responsibility system provided in the embodiments of this application;
[0037] Figure 4 This is a schematic diagram of a device for determining the primary responsibility system provided in an embodiment of this application. Detailed Implementation
[0038] With the long-term development of the banking industry, numerous banking systems have emerged. Because these systems were designed by different people at different times, developers must work very hard to find data items with the same meaning when creating complex systems to avoid incompatibility. However, as development teams grow larger, it becomes increasingly difficult to keep everyone's ideas aligned and focus on the same design methods. This leads to different naming conventions for data items, resulting in data items with the same name but different meanings, and vice versa. This makes data items difficult to understand, easily leading to the duplication of data items with the same meaning, and causing significant inconvenience for later statistical analysis.
[0039] The method provided in this application embodiment is executed by a computer device and is used to determine the responsible system for data items in the target system.
[0040] Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0041] See Figure 1 , Figure 1 A flowchart of a method for determining the primary responsibility system provided in the embodiments of this application includes:
[0042] Step S101: Receive the registration information of the target system.
[0043] The target system is the system that uses data items and fields from the source system. When the target system uses fields from the source system's interface, it needs to register the source system it uses and every field in the source system's interface. Each field in the source system's interface will be mapped to a data item in the target system's database, and simultaneously mapped to a data item in the data assets. For example, if the first target system uses fields from the first source system's interface, the registration information can include the first source system and every field used.
[0044] Step S102: Analyze the registration information to obtain the first target system data item and the first data asset data item.
[0045] Because each field in the source system interface corresponds to a data item in its own database and also to a corresponding data asset data item, after registering information in the target system, the target system data item and data asset data item corresponding to each used field can be obtained by analyzing the registration information. For example, by analyzing the fields used by the first target system, the first target system data item and the first data asset data item can be obtained.
[0046] Step S103: Determine the first primary responsible system based on the first correspondence relationship and the first data asset data item.
[0047] Because each data item corresponds to a primary system responsible for generating it, this data item can be registered in the data asset data item list, and its correspondence recorded. Therefore, the first correspondence is a pre-defined correspondence established when the data item is generated. Furthermore, based on the first correspondence and the first data asset data item, the primary system responsible for generating this data asset data item can be identified, i.e., the first primary responsible system.
[0048] At this point, if the first source system is the system that initially generated this data item, then the first source system is the system primarily responsible for this data item. This can be understood as the target system data item and the first source system data item being data items of the same meaning, therefore their primary responsible system is the same system, namely the first source system.
[0049] If the parent system of the first source system is the system that initially generated this data item, then the parent system of the first source system is the system primarily responsible for this data item. This can be understood as the target system data item, the source system data item, and the parent system data item being data items of the same meaning; therefore, their primary responsible system is the same system, namely, the parent system of the first source system.
[0050] Step S104: Determine that the first responsible system is the responsible system for the data item of the first target system.
[0051] Because both data asset data items and target system data items correspond to each field used, data asset data items and target system data items also correspond. That is, the responsible system for the data asset data item corresponding to the first target system data item is the same as the responsible system for the first target system data item.
[0052] In summary, by registering information and establishing corresponding relationships, the system of primary responsibility can be confirmed, data items can be traced efficiently, and since all data items correspond to data asset data items, inconsistencies in understanding caused by data interaction between systems can be avoided, facilitating subsequent statistical analysis.
[0053] In the embodiments of this application, the above Figure 1 There are multiple possible implementations of steps S102 and S103, which will be described below. It should be noted that the implementations given below are merely illustrative examples and do not represent all implementations of the embodiments of this application.
[0054] See Figure 2 , Figure 2 Another method flowchart for determining the responsible system provided in the embodiments of this application includes:
[0055] Step S201: Receive the registration information of the target system.
[0056] The target system is the system that uses data items and fields from the source system. When the target system uses fields from the source system's interface, it needs to register the source system it uses and every field in the source system's interface. Each field in the source system's interface is mapped to a data item in the target system's database, and simultaneously mapped to data items in the data assets. For example: if the first target system uses fields from the first source system's interface, the first source system and every field used are registered.
[0057] Step S202: Analyze the registration information to obtain the first source system.
[0058] Because when the target system uses fields in the interface of the source system, it needs to register the source system it uses and every field in the source system's interface, so by analyzing the registration information, the source system used by the target system can be obtained, namely the first source system.
[0059] Step S203: Determine whether the first source system is the primary responsible system.
[0060] Because the primary responsible system is the system that generates the data items, when a data item is generated, it is registered in the data asset data items list. Simultaneously, the system that generated this data item is registered as the primary responsible system for that data item. Therefore, you can check the registration information to see if a system is the primary responsible system for a particular data item.
[0061] Step S204: In response to the first source system not being the primary responsible system, determine the second source system based on the registration information of the first source system. The second source system is the superior system of the first source system.
[0062] Step S205: The second source system is identified as the first primary responsible system.
[0063] When the primary source system is the responsible system, it is the system that initially generated this data item; that is, the primary source system is the responsible system for this data item. This can be understood as the target system data item and the primary source system data item being data items of the same meaning, therefore their responsible system is the same system, namely the primary source system.
[0064] When the primary source system is not the responsible system, it means that the primary source system also references its superior system. Therefore, we query its registration information to find the superior system when the primary source system is the target system. If this superior system is the one that initially generated the data item for the primary target system, then this superior system is the responsible system for the data item. It can be understood that the data item for the primary target system, the data item for the primary source system, and the data item for the superior system are essentially the same data item; therefore, their responsible system is the same system, namely, the superior system of the primary source system.
[0065] Therefore, in response to the first source system not being the primary responsible system, the second source system is determined to be the first primary responsible system based on the registration information of the first source system, and the second source system is the superior system of the first source system.
[0066] Step S206: Determine that the first responsible system is the responsible system for the data item of the first target system.
[0067] Because the data items of the first target system, the data items of the first source system, and the data items of the superior system are essentially data items with the same meaning, their primary responsible system is the same system.
[0068] In summary, by querying registration information step by step, the system responsible for the main responsibility can be confirmed, and the source of data items can be traced. At the same time, since all data items correspond to data asset data items, the problem of inconsistent understanding caused by data interaction between systems can be avoided, which facilitates subsequent statistical analysis.
[0069] The above are some specific implementations of the method for determining the primary responsibility system provided in the embodiments of this application. Based on this, this application also provides a corresponding apparatus. The apparatus provided in the embodiments of this application will be described below from the perspective of functional modularity.
[0070] See Figure 3 The diagram shows a structural schematic of a device 300 for determining the primary responsibility system. The device 300 includes a registration module 301, an analysis module 302, a first primary responsibility system determination module 303, and a result module 304.
[0071] Registration module 201 is used to receive registration information from the target system; the registration information includes fields in a first interface, the first interface being the interface used by the target system.
[0072] Analysis module 302 is used to analyze the registration information to obtain a first target system data item and a first data asset data item; the first target system data item is the target system data item corresponding to the field, and the first data asset data item is the data asset data item corresponding to the field;
[0073] The first primary responsibility system determination module 303 determines the first primary responsibility system based on the first correspondence relationship and the first data asset data item; the first correspondence relationship is the correspondence relationship between at least one data asset data item and the primary responsibility system, and the primary responsibility system is the system that generates the data asset data item;
[0074] Result module 304 is used to determine that the first responsible system is the responsible system for the data item of the first target system.
[0075] The fields in the first interface are the fields in the interface published by the first source system.
[0076] The device further includes:
[0077] Analysis module 302 is also used to analyze the registration information to obtain the first source system;
[0078] The judgment module is used to determine whether the first source system is the primary responsible system;
[0079] The second source system determination module is used to determine the second source system based on the registration information of the first source system in response to the first source system not being the primary responsible system. The second source system is the superior system of the first source system.
[0080] The first primary responsibility system determination module 303 is also used to determine the second source system as the first primary responsibility system.
[0081] The first interface includes an online interface and an offline batch interface.
[0082] This application also provides corresponding devices and computer storage media for implementing the solutions provided in this application.
[0083] The device includes a memory and a processor. The memory stores instructions or code, and the processor executes the instructions or code to cause the device to perform the method for determining the responsible system as described in any embodiment of this application.
[0084] The computer storage medium stores code, and when the code is executed, the device running the code implements the method for determining the responsible system as described in any embodiment of this application.
[0085] In practical applications, the computer-readable storage medium can be any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. For example, a computer-readable storage medium can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0086] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0087] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0088] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0089] The method, apparatus, device, and medium for determining the responsible system provided by this invention can be used in the financial field or other fields. For example, it can be used in application scenarios generated by systems in the financial field. Other fields refer to any field other than finance, such as the data processing field. The above are merely examples and do not limit the application fields of the invention.
[0090] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0091] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on its differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0092] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for determining the primary responsible system, characterized in that, include: Receive registration information from the target system; The registration information includes fields in the first interface, which is the interface used by the target system; Analyzing the registration information yields the first target system data item and the first data asset data item; The first target system data item is the target system data item corresponding to the field, and the first data asset data item is the data asset data item corresponding to the field; Based on the first correspondence and the first data asset data item, a first primary responsible system is determined; the first correspondence is a correspondence between at least one data asset data item and the primary responsible system, and the primary responsible system is the system that generates the data asset data item; The first responsible system is identified as the responsible system for the data item of the first target system. The target system is the system that uses data items and fields from the source system. When the target system uses fields from the source system's interface, the source system used and each field in the source system's interface are registered. Each field in the source system's interface is mapped to a data item in the target system's database, corresponding to a data asset data item. Each field in the source system's interface corresponds to a data item in its own database and also to a corresponding data asset data item. After registering information in the target system, the target system's data item and data asset data item corresponding to each used field are obtained by analyzing the registered information. The fields in the first interface are the fields in the interface published by the first source system.
2. The method according to claim 1, characterized in that, The method further includes: Analyzing the registration information yields the first source system; Determine whether the first source system is the primary responsible system; In response to the fact that the first source system is not the primary responsible system, a second source system is determined based on the registration information of the first source system, and the second source system is the superior system of the first source system; The second source system is identified as the first primary responsible system.
3. The method according to claim 1, characterized in that, The first interface includes an online interface and an offline batch interface.
4. An apparatus for determining the primary responsibility system, characterized in that, include: The registration module is used to receive registration information from the target system; The registration information includes fields in the first interface, which is the interface used by the target system; The analysis module is used to analyze the registration information to obtain the first target system data item and the first data asset data item; The first target system data item is the target system data item corresponding to the field, and the first data asset data item is the data asset data item corresponding to the field; The first primary responsibility system determination module determines the first primary responsibility system based on the first correspondence relationship and the first data asset data item; the first correspondence relationship is the correspondence relationship between at least one data asset data item and the primary responsibility system, and the primary responsibility system is the system that generates the data asset data item; The result module is used to determine that the first responsible system is the responsible system for the data item of the first target system. The target system is the system that uses data items and fields from the source system. When the target system uses fields from the source system's interface, the source system used and each field in the source system's interface are registered. Each field in the source system's interface is mapped to a data item in the target system's database, corresponding to a data asset data item. Each field in the source system's interface corresponds to a data item in its own database and also to a corresponding data asset data item. After registering information in the target system, the target system's data item and data asset data item corresponding to each used field are obtained by analyzing the registered information. The fields in the first interface are the fields in the interface published by the first source system.
5. The apparatus according to claim 4, characterized in that, The device further includes: The analysis module is also used to analyze the registration information to obtain the first source system; The judgment module is used to determine whether the first source system is the primary responsible system; The second source system determination module is used to determine the second source system based on the registration information of the first source system in response to the first source system not being the primary responsible system. The second source system is the superior system of the first source system. The first primary responsibility system determination module is also used to determine the second source system as the first primary responsibility system.
6. The apparatus according to claim 4, characterized in that, The first interface includes an online interface and an offline batch interface.
7. An apparatus comprising a memory and a processor, the memory for storing instructions or code, the processor for executing the instructions or code to cause the apparatus to perform the method for determining a responsible system as described in any one of claims 1 to 3.
8. A computer storage medium storing code, wherein when the code is executed, a device executing the code implements the method for determining the responsible system as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Index traceability management system based on metadata technology
CN112506892A
Method and device for constructing metadata consanguinity map and related equipment
CN114510611A