Code set management method, system and equipment

By uniformly managing the code set of the business system on the public parameter server and determining the data synchronization method based on subscription information, the problems of code set differences and high maintenance costs caused by decentralized management are solved, and efficient unified management and quality improvement of the code set are achieved.

CN119556966APending Publication Date: 2025-03-04BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411593930.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In the prior art, various business systems manage code sets in a distributed manner, resulting in differences and conflicts between code sets, which are difficult to integrate and coordinate, have high maintenance costs and low management efficiency.

Method used

By uniformly managing the code sets of multiple business systems on the public parameter server, receiving the code data to be updated uploaded by the client, determining the data synchronization method based on the subscription information of the business system, and distributing the updated code data to the target business system.

Benefits of technology

It realizes unified management of code sets of multiple business systems, improves the quality of code sets, reduces maintenance costs, and improves management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119556966A_ABST
    Figure CN119556966A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a code set management method, system and equipment. The method can be used in distributed fields. The method is applied to a public parameter server in a code set management system, and comprises the following steps: after to-be-updated code data uploaded by any code set management client is received, determining at least one target service system needing data synchronization according to data items subscribed by a plurality of service systems in advance; for each target service system, determining a data synchronization mode of the target service system according to the subscription information of the target service system; and issuing the to-be-updated code data to the target business system by adopting the data synchronization mode. The method is used for uniformly managing code sets of multiple service systems, and the effects of improving the quality of the code sets, reducing the maintenance cost and improving the management efficiency are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a code set management method, system and device. Background Art

[0002] Bank information systems store massive amounts of data. For data items with list values, enumeration code sets are usually used to effectively classify, organize and manage them. For example, certificate types, guarantee method codes, account opening channel identification codes, etc. are all stored in the form of code sets.

[0003] In the prior art, each business department manages its own code set in a decentralized manner.

[0004] However, different systems may use different data standards to store the same data item, and there are differences and conflicts between the code sets formed according to different data standards, which makes it difficult to integrate and coordinate the code sets between systems. In addition, since the code sets are managed separately by various systems, the cost of code set maintenance is high, and the timeliness and accuracy of maintenance are poor, which leads to low efficiency in code set management. Summary of the invention

[0005] The embodiments of the present application provide a code set management method, system and device for uniformly managing the code sets of multiple business systems, so that each system can obtain a unified standard code set in a timely manner, thereby improving the quality of the code set, reducing maintenance costs and improving management efficiency.

[0006] In a first aspect, an embodiment of the present application provides a code set management method, which is applied to a public parameter server in a code set management system, and the method includes:

[0007] After receiving the code data to be updated uploaded by any code set management client, at least one target business system that needs to be synchronized with data is determined according to the data items pre-subscribed by multiple business systems;

[0008] For each target business system, determine the data synchronization method of the target business system according to the subscription information of the target business system;

[0009] Use data synchronization to send the code data to be updated to the target business system.

[0010] In a possible implementation, the subscription information of each target business system includes a pre-selected timeliness requirement;

[0011] Determine the data synchronization method of the target business system based on the subscription information of the target business system, including:

[0012] If the timeliness requirement corresponding to the target business system is real-time synchronization, determining that the data synchronization mode of the target business system is MQ message;

[0013] If the timeliness requirement corresponding to the target business system is that real-time synchronization is not required, it is determined that the data synchronization mode of the target business system is batch delivery.

[0014] In a possible implementation, before determining at least one target business system for which data synchronization is required based on data items pre-subscribed by multiple business systems, the method further includes:

[0015] Receiving a subscription request sent by any business system, the subscription request including an identifier of the business system, at least one data item and a timeliness requirement;

[0016] The subscription information corresponding to the business system is configured according to the subscription request, and a subscription confirmation message is returned to the business system, wherein the subscription information also includes an identifier of the business system and at least one data item.

[0017] In a possible implementation, the method further includes:

[0018] Obtain multiple code sets that need to be managed uniformly in multiple business systems, each code set includes data items and code data;

[0019] According to a pre-configured code standard, a plurality of code sets are standardized to obtain a plurality of processed code sets;

[0020] The multiple processed code sets are stored in the data storage area in the public parameter server.

[0021] In a possible implementation, the method further includes:

[0022] The code set stored in the data storage area is updated according to the code data to be updated.

[0023] In a possible implementation manner, the method is applied to any business system in a code set management system, and includes:

[0024] Receiving code data to be updated issued by the public parameter server in a data synchronization manner corresponding to the timeliness requirement of the business system;

[0025] The locally stored code set is updated according to the code data to be updated.

[0026] In a possible implementation manner, if the timeliness requirement of the business system is real-time synchronization, after the locally stored code set is updated according to the code data to be updated, the method further includes:

[0027] Cache the code data to be updated in the preset Redis cache.

[0028] In a possible implementation manner, receiving the code data to be updated sent by the public parameter server in a data synchronization manner corresponding to the timeliness requirement of the business system includes:

[0029] In response to at least one data item and timeliness requirement selected by the user, sending a subscription request to the public parameter server, the subscription request including an identifier of the business system, at least one data item and timeliness requirement;

[0030] Receive the subscription confirmation message returned by the public parameter server.

[0031] In a second aspect, an embodiment of the present application provides a code set management system, including:

[0032] At least one code set management client, a public parameter server and at least one business system;

[0033] The public parameter server is used to execute the first aspect and / or the first four possible implementation modes of the first aspect;

[0034] Any business system is used to execute the first aspect and / or the fifth to seventh possible implementation modes of the first aspect as described above.

[0035] In a specific implementation of the system, the public parameter server can be implemented in the following ways:

[0036] The public parameter server includes:

[0037] A first determination module is used to determine at least one target business system that needs to be synchronized with data based on data items pre-subscribed by multiple business systems after receiving the code data to be updated uploaded by any code set management client;

[0038] A second determination module is used to determine, for each target business system, a data synchronization mode of the target business system according to subscription information of the target business system;

[0039] The sending module is used to send the code data to be updated to the target business system by using data synchronization.

[0040] In a possible implementation manner, the subscription information of each target business system includes a pre-selected timeliness requirement; correspondingly, the second determination module is specifically configured to:

[0041] According to the subscription information of the target business system, the data synchronization method of the target business system is determined, including: if the timeliness requirement corresponding to the target business system is real-time synchronization, then the data synchronization method of the target business system is determined to be MQ message; if the timeliness requirement corresponding to the target business system is that real-time synchronization is not required, then the data synchronization method of the target business system is determined to be batch delivery.

[0042] In a possible implementation manner, the public parameter server provided by the present application further includes:

[0043] A receiving module, used to receive a subscription request sent by any business system, wherein the subscription request includes an identifier of the business system, at least one data item and a timeliness requirement;

[0044] The configuration module is used to configure the subscription information corresponding to the business system according to the subscription request, and return a subscription confirmation message to the business system, wherein the subscription information also includes an identifier of the business system and at least one data item.

[0045] In a possible implementation manner, the public parameter server provided by the present application further includes:

[0046] An acquisition module is used to acquire multiple code sets that need to be uniformly managed in multiple business systems, each code set including data items and code data;

[0047] A processing module, used for performing standardization processing on multiple code sets according to a pre-configured code standard to obtain multiple processed code sets;

[0048] The storage module is used to store the multiple processed code sets in the data storage area of ​​the public parameter server.

[0049] In a possible implementation manner, the public parameter server provided by the present application further includes:

[0050] The updating module is used to update the code set stored in the data storage area according to the code data to be updated.

[0051] In a specific implementation of the system, any business system can be implemented in the following ways:

[0052] Any business system includes:

[0053] A receiving module, used for receiving code data to be updated, which is sent by the public parameter server in a data synchronization manner corresponding to the timeliness requirement of the business system;

[0054] The update module is used to update the locally stored code set according to the code data to be updated.

[0055] In a possible implementation manner, the code set management device provided in the embodiment of the present application further includes:

[0056] The cache module is used to cache the code data to be updated in the preset Redis cache.

[0057] In a possible implementation, the receiving module is specifically used to: in response to at least one data item and timeliness requirement selected by a user, send a subscription request to a common parameter server, wherein the subscription request includes an identifier of the business system, at least one data item and timeliness requirement; and receive a subscription confirmation message returned by the common parameter server.

[0058] In a third aspect, an embodiment of the present application provides a code set management device, including: a memory, a processor;

[0059] The memory stores computer-executable instructions;

[0060] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.

[0061] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.

[0062] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.

[0063] The code set management method, system and device provided in the embodiments of the present application, after receiving the code data to be updated uploaded by any code set management client, determine at least one target business system that needs to be synchronized with the data according to the data items pre-subscribed by multiple business systems, and then for each target business system, determine the data synchronization method of the target business system according to the subscription information of the target business system, and finally adopt the data synchronization method corresponding to the system to send the code data to be updated to the target business system, thereby realizing unified management of the code sets of multiple business systems, achieving the effect of improving the quality of code sets, reducing maintenance costs and improving management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0065] Figure 1A flowchart of the first embodiment of the code set management method provided by the present application;

[0066] Figure 2 A flowchart of the second embodiment of the code set management method provided by the present application;

[0067] Figure 3 A specific embodiment of the code set management method provided by this application;

[0068] Figure 4 A schematic diagram of the structure of the code set management system provided for this application;

[0069] Figure 5 A schematic diagram of the structure of an embodiment of a public parameter server provided in this application;

[0070] Figure 6 A schematic diagram of the structure of an embodiment of the business system provided by this application;

[0071] Figure 7 A schematic diagram of the structure of the code set management device provided in this application.

[0072] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0073] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0074] First, the terms involved in this application are explained:

[0075] Code set: refers to the set of enumeration values ​​of data items, which can be divided into standard code set and public code set. Standard code set is a code set with relevant national standards, such as national region code set, administrative division code set, enterprise scale code set, etc. Public code set is a code set commonly used by various business systems within the bank, such as certificate type code set, guarantee method code set, account opening channel identification code set, etc.

[0076] Combined with the above technical background, it can be known that in the prior art, each business system manages its own stored code set in a decentralized manner. Since different business systems may adopt different data standards, there may be differences and conflicts between code sets, which hinders the integration and coordination of code sets between various business systems. At the same time, there is no data dictionary for group processes, which causes inconvenience to the management of code sets. For example, in business system a, the enumeration class value of the data item "document type" is: 1-resident identity card, 2-Hong Kong and Macao pass, 3-passport, etc.; while in business system b, the enumeration class value of the data item "document type" is: A-resident identity card, B-Hong Kong and Macao pass, C-passport, etc. Business system 1 uses different data standards for the same data item in business system 2, so its code set in Xicheng is difficult to integrate and coordinate, causing inconvenience to the maintenance and management of the code set.

[0077] In addition, due to improper decentralized management of code sets, the data quality of each code set will generally decline, affecting business decisions and regulatory compliance. Moreover, with the development and changes of the business and the update of relevant industry standards, the code set must also be continuously updated. The decentralized management method of each business system managing its own code set has high maintenance costs and is difficult to ensure the timeliness and accuracy of maintenance, which leads to low management efficiency.

[0078] Based on the description of the above-mentioned prior art, the code set management method provided by the present application establishes a centralized public parameter server for unified management of the full code set in the information system, which is the only entry point for code set updates; and, for each business system, a data synchronization method that responds to their respective business needs is provided, ensuring that each business system can obtain unified code set data to be updated in a timely and accurate manner, solving technical problems such as the difficulty in integrating and coordinating code sets between systems, poor code set data quality, high maintenance costs, and low management efficiency caused by the decentralized management of code sets by various business systems.

[0079] It should be noted that the code set management method, system and device of the present application can be used in distributed fields, and can also be used in any field other than distributed fields. The application field of the code set management method, system and device of the present application is not limited.

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

[0081] Figure 1 The flowchart of the first embodiment of the code set management method provided by this application is as follows: Figure 1As shown, the method is applied to a public parameter server in a code set management system, including:

[0082] S101. After receiving code data to be updated uploaded by any code set management client, determine at least one target business system that needs to be synchronized with data according to data items pre-subscribed by multiple business systems.

[0083] In this solution, the public parameter server is the only entry point for code set updates, which can provide online management services to the code set management client, and can also provide read-only query services and data synchronization services to any business system. Among them, managers can view all existing code sets through the code set management client, and perform maintenance and management operations such as adding, deleting and modifying the code data therein; any business system can also send subscription information to the public parameter server based on the system's own use of the code set, to clarify the data that the public parameter server needs to synchronize with the system and the method of data synchronization for the system.

[0084] In this step, each business system only needs to subscribe to the data items it is concerned about. For example, the business system responsible for loan transactions needs to subscribe to data items such as "loan business type", "certificate type", and "guarantee method code", but does not need to subscribe to data items such as "securities trading code" and "futures trading code". First, the administrator adds, deletes, modifies, and other update operations on at least one data item through the code set management client. After uploading the code data to be updated through the code set management client, the public parameter server receives the uploaded code data to be updated and synchronizes the code data to the target business system that has subscribed to the updated data item.

[0085] For example, if a bank manager modifies the code data in the data item "certificate type" through the code set management client, the public parameter server will synchronize the code data that needs to be updated to the business system that has subscribed to the data item "certificate type" after receiving the code data that needs to be updated, such as the business system responsible for loan transactions, the bank account opening system, etc.

[0086] S102: For each target business system, determine a data synchronization method for the target business system according to subscription information of the target business system.

[0087] In this step, after receiving the data to be updated and determining the target business system that needs to be synchronized, for each target business system that needs to be synchronized, it is necessary to determine the synchronization method for the public parameter server to synchronize the data of the business system based on the subscription information sent by the business system, where the subscription information is determined based on the scenario of the business system using the code set and the requirements for consistency. For example, according to the actual needs of the business system, the public parameter server can adopt multiple synchronization methods such as publish-subscribe mode, polling mechanism, and final consistency for the target business system to ensure that each system can flexibly and accurately obtain the latest code set data.

[0088] In a specific implementation, the subscription information of each target business system includes a pre-selected timeliness requirement. Accordingly, the data synchronization mode of the target business system is determined based on the subscription information of the target business system. The method may be: if the timeliness requirement corresponding to the target business system is real-time synchronization, the data synchronization mode of the target business system is determined to be message queue (MQ) message; if the timeliness requirement corresponding to the target business system is that real-time synchronization is not required, the data synchronization mode of the target business system is determined to be batch delivery.

[0089] It should be understood that for the target business system that needs to update the code set in real time, the timeliness requirement of the business system is high, and its subscription information includes the timeliness requirement that needs real-time synchronization. Then the public parameter server needs to adopt the MQ message synchronization method of the publish-subscribe mode for the target business system. Specifically, after the code data corresponding to the data item is changed, the public parameter server will send an MQ message in real time to notify the external business system that subscribes to the data item.

[0090] It should be understood that for the target business system that does not require real-time updates to the code set, the timeliness requirement of the business system is low, and its subscription information includes timeliness requirements that do not require real-time synchronization. Then the public parameter server needs to adopt a batch delivery synchronization method for the target business system, wherein the termination time of the batch delivery in the batch delivery synchronization method is further determined according to the timeliness requirement of the business, for example, it can be a batch delivery method at the end of the day, a batch delivery method at the end of the month, etc. For the batch delivery synchronization method, when the preset time threshold is reached, the public parameter server automatically delivers the updated data within the time threshold to the target business system. The time threshold is determined according to the actual business needs of the business system, such as one day, one month, etc., and this application does not limit the time threshold.

[0091] In a specific implementation, before determining at least one target business system that needs to be synchronized with data based on data items pre-subscribed by multiple business systems, the method also includes: receiving a subscription request sent by any business system, wherein the subscription request includes an identifier of the business system, at least one data item, and a timeliness requirement; configuring subscription information corresponding to the business system according to the subscription request, and returning a subscription confirmation message to the business system, wherein the subscription information also includes an identifier of the business system and at least one data item.

[0092] It should be understood that the public parameter server determines the target business system that needs to be synchronized based on the subscription information of each business system, as well as the data synchronization method used for the target system. Therefore, before confirmation, the public parameter server can receive a subscription request sent by any business system and configure the subscription information corresponding to the business system according to the subscription request.

[0093] Specifically, the subscription request sent by the business system includes the business system identifier, at least one data item, and a timeliness requirement. The business system identifier is used to indicate the business system that sent the request; the code data corresponding to the data item is the data that the business system needs to synchronize, and the number of data items is determined according to the business needs of the business system; the timeliness requirement is used to indicate the synchronization method of the business system. Correspondingly, in addition to the timeliness requirement, the subscription information configured according to the subscription request also includes the business system identifier and at least one data item.

[0094] S103: Using data synchronization, send the code data to be updated to the target business system.

[0095] In this step, the code data to be updated needs to be sent to the target business system according to the data synchronization method for the target system determined in the above steps.

[0096] In a specific implementation, if the MQ message synchronization method is adopted, the public parameter server encapsulates the updated data to be synchronized into a message and sends it to a designated message queue.

[0097] In a specific implementation, if a batch synchronization method is used, the time conditions for batch data delivery can be further determined according to the timeliness requirements of the specific application of the business system. In this implementation, a synchronization method of batch delivery at the end of the day is used. Specifically, at the end of each day, the public parameter server sends the updated data of the day in batches to the corresponding target business system.

[0098] The code set management method provided in this embodiment is that after receiving the code data to be updated uploaded by any code set management client, the public parameter server first determines at least one target business system that needs to be synchronized based on the data items pre-subscribed by multiple business systems, and then for each target business system, determines the data synchronization method of the target business system based on the subscription information of the target business system, and uses the synchronization method to synchronize the code data to be updated to the corresponding target business system. This method decouples the management and maintenance of the code set from each business system, so that the code data is uniformly maintained by the code set management server, realizes the unified management of the code set, improves the accuracy, timeliness and consistency of data obtained by each business system, optimizes the quality of code data, reduces the cost of code set maintenance and improves business management efficiency, and further, helps the development of the business and ensures regulatory compliance.

[0099] Based on the previous embodiment, the code set management method provided by the present application also includes the following implementation methods:

[0100] In one implementation, before the code set is uniformly managed using the first embodiment, the following steps are also included:

[0101] Step 1: Obtain multiple code sets that need to be uniformly managed in multiple business systems, each code set including data items and code data;

[0102] In this step, it is necessary to sort out the code sets currently used in various business systems and determine the code sets that need to be managed uniformly. Specifically, it is necessary to give the code standards corresponding to the data items in each code set.

[0103] Step 2: performing standardization processing on multiple code sets according to a pre-configured code standard to obtain multiple processed code sets;

[0104] Step 3: Store the multiple processed code sets in the data storage area of ​​the public parameter server.

[0105] In the above steps, the code sets currently used in each business system need to be migrated to the data storage area in the public parameter server. Before being stored in the public parameter server, the migrated data needs to be standardized according to the standard code data corresponding to the data items in each code set, and a processed code set with a unified standard is obtained. Finally, multiple processed code sets can be stored in the data storage area in the public parameter server.

[0106] In a specific implementation, it should be understood that a parameter code table needs to be designed based on a code set and the description information corresponding to the code set. The description information may include: an explanation of the data item, a business department managing the code set, etc. Accordingly, the code set in the parameter code table needs to be standardized, and the processed parameter code table is stored in the data storage area in the public parameter server.

[0107] The code set management method provided in this embodiment provides a basis for the unified maintenance and update of subsequent code sets by standardizing the code sets that need to be uniformly managed and storing them in the data storage area of ​​the common parameter server. This enables the code sets subsequently used by various business systems to uniformly adopt the unique standard code set stored in the common parameter server, thus achieving the same source and unified standards.

[0108] In one implementation, in the code set management method of the present application, the public parameter server may also update the code set stored in the data storage area according to the code data to be updated.

[0109] It should be understood that the public parameter server updates the code set stored in the data storage area according to the code data to be updated, which can ensure that the code set used in subsequent queries is the updated code set, thereby improving the accuracy of the code data.

[0110] Figure 2 This is a flow chart of the second embodiment of the code set management method provided by the present application. The method is applied to any business system in the code set management system, such as Figure 2 As shown, based on the above embodiment, the code set management method provided by the present application also includes:

[0111] S201, receiving code data to be updated issued by the public parameter server in a data synchronization manner corresponding to the timeliness requirement of the business system;

[0112] S202: Update the locally stored code set according to the code data to be updated.

[0113] In the above steps, each business system needs to receive the data that needs to be synchronized issued by the public parameter service. For business systems that have high requirements for timeliness and need to use MQ messages for synchronization, they can obtain the data to be updated in real time by monitoring MQ messages in real time, and update the locally stored code set according to the data to be updated; for business systems that have low requirements for timeliness and use batch delivery for synchronization, when the preset time threshold is reached, such as at the end of each day, the code data updated within the time threshold can be obtained, and the locally stored code set can be updated according to the code data updated within the time threshold.

[0114] In the specific application of this solution, it should be understood that the public parameter server maintains the only master copy of the code set; each business system uses part of the code set data according to its own business scenario, that is, it uses a data copy. Therefore, after receiving the data to be updated sent by the public parameter server, the target business system needs to update the data copy it uses according to the data to be updated.

[0115] The code set management method provided in this embodiment receives the code data to be updated issued by the public parameter server in a data synchronization manner corresponding to the timeliness requirements of the business system, and updates the locally stored code set according to the code data to be updated. Using this method, each business system can use the same set of the latest standard code sets, and the code sets in each business system are uniformly managed by the public parameter server. Each business system can only access the code set but cannot read or write it. This method improves the accuracy, timeliness and consistency of data acquired by each business system, optimizes the quality of code data, reduces the cost of code set maintenance and improves business management efficiency. Furthermore, it also helps business development and ensures regulatory compliance.

[0116] In one embodiment, if the timeliness requirement of the business system is real-time synchronization, after updating the locally stored code set according to the code data to be updated, the code set management method provided by the present application also includes: caching the code data to be updated in a preset remote dictionary service (Remote Dictionary Server, Redis) cache.

[0117] Specifically, a trigger can be set in the data storage area of ​​the business system that needs to synchronize and update data in real time. The trigger monitors the code set stored in the data storage area. When there is an update to the code set in the data storage area, the trigger is triggered. After being triggered, the trigger calls the function of the data storage area to cache the code data to be updated in the preset Redis cache.

[0118] Exemplarily, a business system that needs to update data synchronously in real time listens to MQ messages and receives the data to be updated in the MQ messages in real time. When the data to be updated is updated to the relational database (My Structured Query Language, MySQL), the trigger responsible for monitoring the code set in MySQL is triggered, and the MySQL user-defined function (UserDefined Function, UDF) is called to update the data to be updated to the Redis cache.

[0119] It should be understood that, in general, business systems with high timeliness requirements also correspond to a large number of highly concurrent code set query usage scenarios, which will lead to bottleneck problems in database performance. Therefore, this implementation method caches the code data to be updated in the preset Redis cache. The business system can query the code set in the Redis cache, which effectively alleviates the performance bottleneck problem caused by frequent queries, optimizes the query mechanism, and improves query performance.

[0120] In one implementation, the code set management method provided by the present application, any business system receives the code data to be updated issued by the public parameter server in a data synchronization manner corresponding to the timeliness requirement of the business system, and further includes:

[0121] In response to at least one data item and timeliness requirement selected by the user, a subscription request is sent to the common parameter server, wherein the subscription request includes an identifier of the business system, at least one data item and timeliness requirement; and a subscription confirmation message returned by the common parameter server is received.

[0122] It should be understood that for each business system, the user needs to select the data items that need to be subscribed according to the business scenarios applied by the business system to ensure that they can obtain the latest standard code sets in a timely and accurate manner. In addition, the user must also determine the timeliness requirements of the business system based on the business needs of the business system. Based on this, the business system can send a subscription request to the public parameter server in response to at least one data item and timeliness requirements selected by the user. After the public parameter server receives the subscription request sent by the business system, it will configure the subscription information of the business system according to the subscription request and return a subscription confirmation message to the business system. Therefore, the business system also needs to receive the subscription confirmation message returned by the public parameter server. At this point, the configuration of the subscription information corresponding to the business system is completed.

[0123] Figure 3 This is a specific embodiment of the code set management method provided by this application. Figure 3 As shown, the business system includes business system 1 and business system 2. The code set management client performs online service with the public parameter server; DB1 and DB2 are databases for local storage of code sets of business system 1 and business system 2 respectively.

[0124] In an embodiment, after receiving the code data to be updated uploaded by the code set management client, the public parameter server determines the target business system that needs to be synchronized with the data based on the data items pre-subscribed by the business system, and then determines the data synchronization method of the target business system for each target business system based on the subscription information of the target business system. Finally, the code data to be updated is sent to the target business system using the data synchronization method corresponding to the business system.

[0125] Specifically, after the user modifies the code set corresponding to data item A through the code set management client, the public parameter server receives the code data to be updated. Since business system 1 and business system 2 in the business system have subscribed to data item A, the public parameter server needs to synchronize data for both business system 1 and business system 2. Among them, the subscription information of business system 1 indicates that the data synchronization method of the business system is MQ message; the subscription information of business system 2 indicates that the data synchronization method of the business system is batch delivery. For business system 1 and business system 1, after receiving the code data to be updated issued by the public parameter server in a data synchronization method corresponding to the timeliness requirements of the business system, the locally stored code set is updated according to the code data to be updated. Furthermore, for business system 1, after updating the locally stored code set, the code data to be updated can also be cached in a preset Redis cache.

[0126] Figure 4 The schematic diagram of the structure of the code set management system provided for this application is as follows: Figure 4 As shown, the code set management system 40 provided by the present application includes: at least one code set management client 401, a public parameter server 402 and at least one business system 403;

[0127] The public parameter server 402 is used to execute the code set management method in the first embodiment and / or various implementations of the first embodiment; any business system 403 is used to execute the code management method in the second embodiment and / or various implementations of the second embodiment. The implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0128] In a specific implementation of the system, the public parameter server 402 may be implemented in the following manner:

[0129] Figure 5 A schematic diagram of the structure of the public parameter server embodiment provided in this application, such as Figure 5 As shown, the public parameter server 402 provided in this embodiment includes:

[0130] The first determination module 501 is used to determine at least one target business system that needs to be synchronized with data according to data items pre-subscribed by multiple business systems after receiving the code data to be updated uploaded by any code set management client;

[0131] The second determination module 502 is used to determine, for each target business system, a data synchronization mode of the target business system according to the subscription information of the target business system;

[0132] The sending module 503 is used to send the code data to be updated to the target business system in a data synchronization manner.

[0133] In a possible implementation manner, the subscription information of each target business system includes a pre-selected timeliness requirement; accordingly, the second determination module 502 is specifically configured to:

[0134] According to the subscription information of the target business system, the data synchronization method of the target business system is determined, including: if the timeliness requirement corresponding to the target business system is real-time synchronization, then the data synchronization method of the target business system is determined to be MQ message; if the timeliness requirement corresponding to the target business system is that real-time synchronization is not required, then the data synchronization method of the target business system is determined to be batch delivery.

[0135] The public parameter server 402 provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.

[0136] In a possible implementation manner, the public parameter server 402 provided by the present application further includes:

[0137] The receiving module 504 is used to receive a subscription request sent by any business system, where the subscription request includes an identifier of the business system, at least one data item, and a timeliness requirement;

[0138] The configuration module 505 is used to configure the subscription information corresponding to the business system according to the subscription request, and return a subscription confirmation message to the business system, wherein the subscription information also includes an identifier of the business system and at least one data item.

[0139] In a possible implementation manner, the public parameter server 402 provided by the present application further includes:

[0140] An acquisition module 506 is used to acquire multiple code sets that need to be uniformly managed in multiple business systems, each code set including data items and code data;

[0141] A processing module 507, configured to perform standardization processing on multiple code sets according to a pre-configured code standard to obtain multiple processed code sets;

[0142] The storage module 508 is used to store the multiple processed code sets in the data storage area of ​​the public parameter server.

[0143] In a possible implementation manner, the public parameter server 402 provided by the present application further includes:

[0144] The updating module 509 is used to update the code set stored in the data storage area according to the code data to be updated.

[0145] The public parameter server 402 provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.

[0146] Figure 6 A schematic diagram of the structure of the business system embodiment provided in this application, such as Figure 6 As shown, the business system 403 provided in this embodiment includes:

[0147] A receiving module 601 is used to receive code data to be updated, which is sent by the public parameter server in a data synchronization manner corresponding to the timeliness requirement of the business system;

[0148] The updating module 602 is used to update the locally stored code set according to the code data to be updated.

[0149] In a possible implementation manner, the code set management device provided in the embodiment of the present application further includes:

[0150] The cache module 603 is used to cache the code data to be updated in a preset Redis cache.

[0151] In a possible implementation, the receiving module 601 is specifically used to: in response to at least one data item and timeliness requirement selected by a user, send a subscription request to a common parameter server, wherein the subscription request includes an identifier of the business system, at least one data item and timeliness requirement; and receive a subscription confirmation message returned by the common parameter server.

[0152] The business system 403 provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.

[0153] Figure 7 This is a schematic diagram of the structure of the code set management device provided by this application. Figure 7 As shown, the electronic device 70 provided in this embodiment includes: at least one processor 701 and a memory 702. Optionally, the device 70 further includes a communication component 703. The processor 701, the memory 702 and the communication component 703 are connected via a bus 704.

[0154] In a specific implementation process, at least one processor 701 executes the computer-executable instructions stored in the memory 702, so that at least one processor 701 executes the above method.

[0155] The specific implementation process of the processor 701 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0156] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0157] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.

[0158] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0159] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0160] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.

[0161] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0162] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0163] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0164] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0165] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0166] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory ROM, random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0167] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0168] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A code set management method, characterized in that: Applied to a public parameter server in a code set management system, the method comprises: After receiving the code data to be updated uploaded by any code set management client, at least one target business system that needs to be synchronized with data is determined according to the data items pre-subscribed by multiple business systems; For each target business system, determining a data synchronization mode of the target business system according to subscription information of the target business system; The data synchronization method is adopted to send the code data to be updated to the target business system.

2. The method according to claim 1, characterized in that: The subscription information of each target business system includes pre-selected timeliness requirements; The determining, according to the subscription information of the target business system, a data synchronization mode of the target business system includes: If the timeliness requirement corresponding to the target business system is real-time synchronization, determining that the data synchronization mode of the target business system is MQ message; If the timeliness requirement corresponding to the target business system is that real-time synchronization is not required, it is determined that the data synchronization mode of the target business system is batch delivery.

3. The method according to claim 2, characterized in that Before determining at least one target business system that needs to be synchronized with data based on the data items pre-subscribed by the multiple business systems, the method further includes: Receiving a subscription request sent by any business system, wherein the subscription request includes an identifier of the business system, at least one data item, and a timeliness requirement; The subscription information corresponding to the business system is configured according to the subscription request, and a subscription confirmation message is returned to the business system, wherein the subscription information also includes an identifier of the business system and the at least one data item.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Obtain multiple code sets that need to be managed uniformly in multiple business systems, each code set includes data items and code data; According to a pre-configured code standard, the plurality of code sets are standardized to obtain a plurality of processed code sets; The multiple processed code sets are stored in a data storage area in the public parameter server.

5. The method according to claim 4, characterized in that The method further comprises: The code set stored in the data storage area is updated according to the code data to be updated.

6. A code set management method, characterized in that: Applied to any business system in a code set management system, the method comprises: Receiving code data to be updated sent by the public parameter server in a data synchronization manner corresponding to the timeliness requirement of the business system; The locally stored code set is updated according to the code data to be updated.

7. The method according to claim 6, characterized in that If the timeliness requirement of the business system is real-time synchronization, after updating the locally stored code set according to the code data to be updated, the method further includes: The code data to be updated is cached in a preset Redis cache.

8. The method according to claim 6 or 7, characterized in that: The receiving public parameter server sends the code data to be updated in a data synchronization manner corresponding to the timeliness requirement of the business system, including: In response to at least one data item and timeliness requirement selected by a user, sending a subscription request to the common parameter server, wherein the subscription request includes an identifier of the business system, the at least one data item and the timeliness requirement; Receive a subscription confirmation message returned by the public parameter server.

9. A code set management system, characterized in that: include: At least one code set management client, a public parameter server and at least one business system; Wherein, the public parameter server is used to execute the code set management method according to any one of claims 1 to 5; Any business system is used to execute the code set management method described in any one of claims 6 to 8.

10. A code set management device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 8.