Data interfacing method, apparatus, electronic device, and storage medium

CN117827956BActive Publication Date: 2026-09-29CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410012059.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-03
Publication Date
2026-09-29
Estimated Expiration
2044-01-03

AI Technical Summary

Technical Problem

[0005]本申请提供一种数据对接方法、装置、电子设备及存储介质,用以解决数据对接效率低下的技术问题

Benefits of technology

[0042]存储器存储计算机执行指令;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117827956B_ABST
    Figure CN117827956B_ABST
Patent Text Reader

Abstract

The application provides a data docking method and device, electronic equipment and a storage medium. The method comprises the following steps: obtaining an initial data dictionary value, the initial data dictionary value being a data dictionary value sent by a target interface provider application system; determining a corresponding relationship between the initial data dictionary value and a business type according to the target interface provider application system; determining a target current data dictionary value in a current data dictionary value according to the corresponding relationship between the initial data dictionary value and the business type and a corresponding relationship between the business type and the current data dictionary value; determining a preset data dictionary value according to the target current data dictionary value and the initial data dictionary value; adjusting an interface specification of a target interface user according to the preset data dictionary value, and establishing data docking between the target interface user and the target interface provider according to the adjusted interface specification. The method improves the data docking efficiency and avoids repeated development and construction in the data docking process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a data interface method, apparatus, electronic device and storage medium. Background Technology

[0002] To meet customer and application development needs, more and more enterprises need to expand their business block data. In order to enable data flow, various application systems need to connect with each other.

[0003] Currently, the integration between multiple application systems generally requires multiple adjustments to the interface specifications of the user based on the interface specifications of different interface providers. When integrating with multiple application systems through a unified open platform, it is necessary to repeatedly integrate and adjust the relevant data dictionary values.

[0004] However, existing technical solutions suffer from low data integration efficiency and cannot meet business needs. Summary of the Invention

[0005] This application provides a data interface method, apparatus, electronic device, and storage medium to solve the technical problem of low data interface efficiency.

[0006] Firstly, this application provides a data interface method, including:

[0007] Obtain the initial data dictionary value, which is the data dictionary value sent by the target interface provider's application system;

[0008] Based on the target interface provider's application system, determine the correspondence between the initial data dictionary values ​​and the business types;

[0009] Based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, the target current data dictionary value is determined. The correspondence between the business type and the current data dictionary value is determined based on the application system of the target interface user, and the target interface user is determined based on the access information of the application system of the target interface provider.

[0010] Determine the preset data dictionary value based on the target's current data dictionary value and initial data dictionary value;

[0011] Based on the preset data dictionary values, the interface specifications of the target interface user are adjusted, and data connection between the target interface user and the target interface provider is established according to the adjusted interface specifications.

[0012] In this embodiment of the application, before determining the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, the method further includes:

[0013] The first and second interactive data for connecting to the unified open platform are determined. The first interactive data is data provided by the interface provider, and the second interactive data is data provided by the interface user.

[0014] Based on the first interaction data, construct the first correspondence relationship;

[0015] Based on the second interaction data, construct a second correspondence;

[0016] The first and second correspondences are stored in a unified open platform.

[0017] In this embodiment of the application, after storing the first correspondence and the second correspondence in the unified open platform, the method further includes:

[0018] Receive update instructions for the unified open platform;

[0019] Based on the update instructions for the unified open platform, the first and second correspondences are added or deleted to obtain the third correspondence;

[0020] Based on the third correspondence, adjustments are made to the target interface users and target interface providers for which data connections have been established.

[0021] In this embodiment of the application, the target current data dictionary value is determined based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, including:

[0022] Based on the target interface provider and the interface user, two corresponding relationships are determined from the unified open platform;

[0023] Based on the correspondence between the initial data dictionary values ​​and the business types, and the initial data dictionary values, determine the target business type;

[0024] Based on the correspondence between business types and current data dictionary values, and the target business type, determine the target current data dictionary value within the current data dictionary value.

[0025] In this embodiment of the application, determining the preset data dictionary value based on the target's current data dictionary value and the initial data dictionary value includes:

[0026] Retrieve the set data dictionary values ​​in the unified open platform;

[0027] Determine the preset data dictionary value based on the set data dictionary value, the target current data dictionary value, and the initial data dictionary value.

[0028] In this embodiment of the application, the interface specification of the target interface user is adjusted according to preset data dictionary values, and data connection between the target interface user and the target interface provider is established based on the adjusted interface specification, including:

[0029] Establish a mapping relationship between initial data dictionary values ​​and preset data dictionary values;

[0030] Based on the preset data dictionary values, adjust the interface specifications of the target interface user.

[0031] Based on the mapping relationship and the adjusted interface specifications of the target interface user, establish data connection between the target interface user and the target interface provider.

[0032] In this embodiment of the application, the method further includes:

[0033] When the target data dictionary is adjusted, the target interface user and the target interface provider are determined based on the mapping relationship;

[0034] Adjust the dictionary values ​​for the target interface user and rebuild the data connection between the target interface user and the target interface provider.

[0035] Secondly, this application provides a data docking device, comprising:

[0036] The acquisition module is used to obtain the initial data dictionary value, which is the data dictionary value sent by the target interface provider's application system.

[0037] The first determining module is used to determine the correspondence between the initial data dictionary values ​​and the business type based on the target interface provider's application system;

[0038] The second determining module is used to determine the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value. The correspondence between the business type and the current data dictionary value is determined based on the application system of the target interface user, and the target interface user is determined based on the access information of the application system of the target interface provider.

[0039] The third determining module is used to determine the preset data dictionary value based on the target's current data dictionary value and the initial data dictionary value;

[0040] The interface adjustment module is used to adjust the interface specifications of the target interface user based on preset data dictionary values, and to establish data connection between the target interface user and the target interface provider based on the adjusted interface specifications.

[0041] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0042] The memory stores the instructions that the computer executes;

[0043] The processor executes computer execution instructions stored in the memory to implement the data docking method of this application embodiment.

[0044] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the data docking method of the embodiments of this application.

[0045] The data integration method, apparatus, electronic device, and storage medium provided in this application obtain an initial data dictionary value, which is the data dictionary value sent by the target interface provider's application system; determine the correspondence between the initial data dictionary value and the business type based on the target interface provider's application system; determine the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, wherein the correspondence between the business type and the current data dictionary value is determined based on the target interface user's application system, and the target interface user determines it based on the access information of the target interface provider's application system; and determine the target current data dictionary value and the initial data dictionary value based on the correspondence between the initial data dictionary value and the current data dictionary value. The dictionary values ​​are used to determine the preset data dictionary values. Based on these preset values, the interface specifications of the target interface user are adjusted. Then, based on the adjusted specifications, a means of data connection between the target interface user and the target interface provider is established. By establishing the correspondence between the initial data dictionary values ​​and business types, as well as the correspondence between the current data dictionary values ​​and business types, the target current data dictionary values ​​for data connection are determined. Simultaneously, by determining the preset data dictionary values, the data dictionary values ​​of the interface provider are converted. This reduces repetitive interface construction work for the interface user, facilitates connection between the interface user and the interface provider, reduces the system's workload for interface management, and solves the problem of low data connection efficiency. Attached Figure Description

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

[0047] Figure 1A flowchart illustrating the data interface method provided in this application embodiment;

[0048] Figure 2 A flowchart illustrating another data docking method provided in an embodiment of this application;

[0049] Figure 3 This is a schematic diagram of the data docking device provided in the embodiments of this application;

[0050] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0051] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0052] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0053] In existing technologies, when data is connected, the user application system inevitably needs to debug the data dictionary values ​​when connecting to the provider application system. Since the definitions of common dictionary values ​​are different for each provider application system, the same business type field may have different dictionary values. For the interface user, it is necessary to adjust each interface, which is time-consuming and laborious, resulting in low connection efficiency.

[0054] To address the aforementioned issues, the data integration method provided in this application enables rapid retrieval of the target current data dictionary value by establishing a correspondence between initial data dictionary values ​​and business types, as well as a correspondence between current data dictionary values ​​and business types. Furthermore, the unified open platform pre-sets preset data dictionary values ​​for the initial data dictionary values ​​and their corresponding business relationships. The correspondence between the preset and initial data dictionary values ​​is determined based on the business type. Therefore, by adjusting the interface specifications of the interface user to the preset data dictionary values, a correspondence can be established with the initial data dictionary values, thus establishing data integration with the interface provider. This resolves the problems of low integration efficiency and difficult interface management.

[0055] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0056] The execution subject of the data docking method provided in this application embodiment can be a server. The server can be a device such as a mobile phone, tablet, or computer. This embodiment does not impose any particular restrictions on the implementation method of the execution subject, as long as the execution subject can obtain the initial data dictionary value, which is the data dictionary value sent by the target interface provider's application system; determine the correspondence between the initial data dictionary value and the business type based on the target interface provider's application system; determine the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, wherein the correspondence between the business type and the current data dictionary value is determined based on the target interface user's application system, and the target interface user determines it based on the access information of the target interface provider's application system; determine a preset data dictionary value based on the target current data dictionary value and the initial data dictionary value; adjust the interface specification of the target interface user based on the preset data dictionary value, and establish data docking between the target interface user and the target interface provider based on the adjusted interface specification.

[0057] Data interoperability refers to the interconnection of different systems, enabling the mutual transmission and utilization of data within the systems. Its basic function is that an isolated system, even if it has a lot of data, has limited functionality. Only by connecting with other systems and exchanging data can it play a greater role and improve work efficiency.

[0058] Figure 1 This is a flowchart illustrating the data docking method provided in an embodiment of this application.

[0059] S101. Obtain the initial data dictionary value. The initial data dictionary value is the data dictionary value sent by the target interface provider application system.

[0060] In this context, a data dictionary value refers to a code, recorded in a specific format, that provides a complete definition and description of the specific content and characteristics of each basic element (data flow, file, process, etc.) in the system data flow diagram. The data dictionary has two forms: the first is to encode the attributes of the subject and place them in a separate table, not together with the subject; the subject only retains the attribute codes, where the number of attributes is constant, but the number of attribute values ​​can vary. The second is to use a table to store all attribute information with the same structure, uniformly encoding different values ​​of different attributes, using "type" to distinguish different attributes; the subject retains a list of attribute codes, where the number of attributes possessed by the subject is variable. In this embodiment, a data dictionary value can refer to codes set according to the company's business knowledge for different business types, such as unit codes, material type codes, judgment codes, etc. The department dictionary value can be represented as: 01-functional department, 02-professional department, 03-other departments, etc.; or as: A01-functional department, A02-professional department, A03-other departments, etc.

[0061] The initial data dictionary value can refer to the data dictionary value set by the application system of the interface provider that needs to connect with the data, which is specific to the business type. The application system of the interface provider registers the data dictionary value of the interface with the unified open platform to establish data connection with the application system of the interface user.

[0062] An interface provider can refer to a data interface provided by one or more application systems developed by a business team, which can be called by different interface callers. A data interface can refer to a set of specifications or protocols used for data exchange and communication, which can enable different systems or applications to share data. It usually includes input interfaces and output interfaces for data transmission and reception. Data interfaces can be hardware interfaces, such as USB interfaces and network interfaces, or software interfaces, such as APIs (Application Programming Interfaces) and Web Services.

[0063] The target interface provider can refer to the provider of the data interface that, under the application construction requirements, submits an interaction request with the interface user for data connection and data flow. The target interface provider application system can refer to the application system configured by the target interface provider. In this embodiment, there can be one or more target interface providers, and one or more target interface users can send interface call requests to one or more target interface providers. This embodiment does not impose any special limitations here.

[0064] S102. Based on the target interface provider's application system, determine the correspondence between the initial data dictionary values ​​and the business types.

[0065] Here, "business type" can refer to the classification of different types of transactions that need to be processed in a related industry. In the embodiments of this application, "business type" can refer to the data type of business to be processed, which can be represented by a business field. In different application systems, the same business type field may have different data dictionary values. Here, a business field can refer to a field that reflects business requirements and can carry the display of business information.

[0066] The initial data dictionary value and business type correspondence can refer to the one-to-one correspondence between various business types of the application system and data dictionary values ​​as specified by the interface provider, and can be adjusted according to the business requirements of the application system.

[0067] S103. Based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, determine the target current data dictionary value in the current data dictionary value. The correspondence between the business type and the current data dictionary value is determined according to the application system of the target interface user, and the target interface user is determined according to the access information of the application system of the target interface provider.

[0068] Among them, the interface user, also known as the interface caller, can refer to the interface that needs to obtain calling permissions to connect with the interface provider for data exchange. The target interface user can refer to the interface in the interface user that sends the calling request. The target interface user application system can refer to the application system configured by the target interface user.

[0069] The correspondence between business types and current data dictionary values ​​can refer to the one-to-one correspondence between various business types of the application system and data dictionary values ​​as specified by the interface caller, and can be adjusted according to the business needs of the application system.

[0070] The current data dictionary value can refer to the data dictionary value set by the application system of the interface user that needs to connect with the interface provider for the business type. The target current data dictionary value can refer to the data dictionary value for a specific business name determined from the current data dictionary value by using the correspondence between the business type and the data dictionary value.

[0071] In this embodiment, the correspondence between the initial data dictionary value and the business type, as well as the correspondence between the business type and the current data dictionary value, can be pre-set according to the actual situation of the staff or the organization. When a large number of target interface users and target interface providers need to be matched, the matching requirements of different target interface users and target interface providers can be quickly and accurately determined through the pre-set correspondence. This can improve the problem of cumbersome process caused by the need for personnel matching in the existing method, especially for organizations with a large size and many departments.

[0072] The information to be accessed can refer to the information uploaded by the target interface provider's application system after its business data has been converted into the data format required by the unified open platform. Once accessed, this information can be accessed by the target interface user's application system. In this embodiment, the information to be accessed can refer to interactive data transmitted between different systems.

[0073] In this embodiment of the application, the method for determining the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, may include:

[0074] Based on the target interface provider and the interface user, two corresponding relationships are determined from the unified open platform;

[0075] Based on the correspondence between the initial data dictionary values ​​and the business types, and the initial data dictionary values, determine the target business type;

[0076] Based on the correspondence between business types and current data dictionary values, and the target business type, determine the target current data dictionary value within the current data dictionary value.

[0077] The target business type can refer to the business type of the data that needs to be connected in the application system of the interface provider.

[0078] In this embodiment of the application, the method prior to determining the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, may further include:

[0079] The first and second interactive data for connecting to the unified open platform are determined. The first interactive data is data provided by the interface provider, and the second interactive data is data provided by the interface user.

[0080] Based on the first interaction data, construct the first correspondence relationship;

[0081] Based on the second interaction data, construct a second correspondence;

[0082] The first and second correspondences can be stored in a unified open platform.

[0083] The first correspondence can refer to the correspondence between the business data types of the interface provider's application system and the data dictionary values.

[0084] The second correspondence can refer to the correspondence between the business data types of the application system used by the interface and the data dictionary values.

[0085] In some embodiments, the first and second correspondences can be stored in a database, which can be a distributed database set up according to the hierarchical relationship of the organization. This allows staff to easily add or delete various correspondences at any time, and the correspondences stored through the hierarchical relationship of the organization also facilitate the confirmation of the target correspondence.

[0086] In this embodiment of the application, the method after storing the first correspondence and the second correspondence in the unified open platform may further include:

[0087] Receive update instructions for the unified open platform;

[0088] Based on the update instructions for the unified open platform, the first and second correspondences are added or deleted to obtain the third correspondence;

[0089] Based on the third correspondence, adjustments are made to the target interface users and target interface providers for which data connections have been established.

[0090] The update instruction refers to an instruction that modifies non-compliant data dictionary values ​​when the interface user is conducting joint debugging of the correctness of the interfaces between modules, whether the data flow and control flow between modules are implementing their functions as designed, and the correctness of the overall function after integration. This ensures that the front-end and back-end code can collaborate accurately. In this embodiment, the update instruction can refer to an instruction that obtains the latest data in real time and updates the data source in a timely manner. This ensures that the interface provider's specifications are always up-to-date, guaranteeing the timeliness and accuracy of the data.

[0091] Adding and deleting data refers to the process where, as business develops and business types and data change (e.g., adding or deleting data), the corresponding data dictionary values ​​also need to be added or deleted accordingly. The addition and deletion processing can be determined by each application system based on the company's business, and the unified open platform responds to the operation by processing accordingly.

[0092] The third correspondence can refer to the correspondence between the business types and data dictionary values ​​of the target interface user and the target interface provider, which is obtained by updating the first and second correspondences.

[0093] S104. Determine the preset data dictionary value based on the target's current data dictionary value and the initial data dictionary value.

[0094] The preset data dictionary value refers to a public data dictionary pre-set by the unified open platform based on the application system's business knowledge. This public data dictionary is publicly available and is similar to, and corresponds to, the data dictionary values ​​corresponding to the business data types of the application system provided by the interface provider and the application system used by the interface. In this embodiment, the preset data dictionary value may be the same as or different from the initial data dictionary value, or it may be the same as or different from the current data dictionary value; no special restrictions are imposed here. For example, the preset data dictionary value for a department may be represented as: K093 - Functional Department, K094 - Professional Department, K097 - Other Departments, etc.

[0095] In this embodiment of the application, the method for determining the preset data dictionary value based on the current data dictionary value and the initial data dictionary value may include:

[0096] Retrieve the set data dictionary values ​​in the unified open platform;

[0097] Determine the preset data dictionary value based on the set data dictionary value, the target current data dictionary value, and the initial data dictionary value.

[0098] Among them, the set data dictionary value can refer to the data dictionary value set in the unified open platform for the business type completed by the registered interface.

[0099] S105. Adjust the interface specifications of the target interface user according to the preset data dictionary values, and establish data connection between the target interface user and the target interface provider according to the adjusted interface specifications.

[0100] The interface specification refers to the defined pattern for inter-system integration, consisting of methods, URIs (Uniform Resource Identifiers), request parameters, and return parameters. Through the interface specification, information calls between application system services can be completed, including time, interface, layer, and result. In this embodiment, the interface specification can refer to a unified standard for data dictionary values; that is, the data dictionary values ​​of the target interface user must be consistent with the data dictionary values ​​of the target interface provider to establish data interoperability between the two.

[0101] The adjusted interface specification can refer to adjusting the target current data dictionary value of the target interface user to the preset data dictionary value, so that only one adjustment is needed to complete the connection with multiple target interface providers.

[0102] In this embodiment of the application, the method for adjusting the interface specification of the target interface user according to preset data dictionary values, and establishing data connection between the target interface user and the target interface provider based on the adjusted interface specification, may include:

[0103] Establish a mapping relationship between initial data dictionary values ​​and preset data dictionary values;

[0104] Based on the preset data dictionary values, adjust the interface specifications of the target interface user.

[0105] Based on the mapping relationship and the adjusted interface specifications of the target interface user, establish data connection between the target interface user and the target interface provider.

[0106] The mapping relationship between the initial data dictionary value and the preset data dictionary value refers to the unified open platform comparing the data dictionary value (initial data dictionary value) of the interface provider with the data dictionary value (preset data dictionary value) stored by the provider itself. When the business types are consistent, the correspondence between the two is established.

[0107] In this embodiment of the application, the method may further include:

[0108] When the target data dictionary is adjusted, the target interface user and the target interface provider are determined based on the mapping relationship;

[0109] Adjust the dictionary values ​​for the target interface user and rebuild the data connection between the target interface user and the target interface provider.

[0110] The target data dictionary can refer to the data dictionary values ​​of the interface provider. Since the interface call information may change during business development, the target data dictionary will also be adjusted.

[0111] The data integration method provided in this application can determine the target current data dictionary value to be integrated by establishing the correspondence between the initial data dictionary value and the business type, as well as the correspondence between the current data dictionary value and the business type. At the same time, by determining the preset data dictionary value, the data dictionary value of the interface provider is converted, which reduces the repetitive construction work of the interface user, facilitates the integration between the interface user and the interface provider, reduces the workload of the system in interface management, and solves the problem of low data integration efficiency.

[0112] Figure 2This is a flowchart illustrating another data interface method provided in an embodiment of this application. The executing entity of this method can be a server; however, this embodiment does not impose any particular limitation. Figure 2 As shown, the method may include:

[0113] S201. The unified open platform makes public data dictionary values ​​available to the public based on business knowledge.

[0114] Among them, business knowledge can refer to the systematic knowledge corresponding to the business type of the application system registered with the unified open platform. It can maintain a relatively stable state within a certain range and will not change easily.

[0115] Public data dictionary values ​​can refer to the data dictionary values ​​set by the unified open platform for different business types and data.

[0116] S202. The first and second interface providers register their interfaces with the unified open platform. The platform obtains the data dictionary values ​​of the interfaces in real time and compares them with the data dictionary values ​​stored in its own database to establish a mapping relationship.

[0117] Here, the first interface provider and the second interface provider can refer to the interfaces of two different application systems, and their data dictionary values ​​are also different.

[0118] S203. When an interface user requests the unified open platform to connect to the interface provider, the platform provides public data dictionary values ​​to the interface user.

[0119] S204. The interface user shall complete the connection with the first interface provider and the second interface provider in accordance with the latest interface specifications.

[0120] The latest interface specification may refer to the unified open platform adjusting the data dictionary values ​​of the interface provider to the public data dictionary values.

[0121] For example: the data dictionary values ​​of the first interface provider are 01-functional department, 02-professional department, and 03-other department; the data dictionary values ​​of the second interface provider are A01-functional department, A02-professional department, and A03-other department. The unified open platform presets the common data dictionary values ​​K093-functional department, K094-professional department, and K097-other department. The common data dictionary values ​​are compared with the data dictionary values ​​of the interface providers. A mapping relationship is established between the data dictionary values ​​with consistent business type fields. The adjusted data dictionary values ​​are then provided to the interface user. The interface user sets the data dictionary values ​​to K093-functional department, K094-professional department, and K097-other department, thus completing the connection with the first and second interface providers.

[0122] S205. When the interface user goes live during integration testing, if there are any updates to the data dictionary values, the platform will automatically update the data dictionary value information based on the latest dictionary values.

[0123] Another data integration method provided in this application embodiment can preset public dictionary values ​​through a unified open platform, and then establish a mapping relationship between the public dictionary values ​​and the data dictionary values ​​of the interface providers according to the business type. In this way, the interface users can adjust the interface specifications according to the public dictionary values ​​to complete the integration with multiple interface providers. This solves the one-to-many data integration situation from the perspective of the interface users, avoids repeated development and construction in the data integration process, and the unified open platform manages the common data dictionary values ​​in a unified manner, so that the public dictionary values ​​can be obtained in a timely manner.

[0124] Figure 3 This is a schematic diagram of the data docking device provided in an embodiment of this application. Figure 3 As shown, the data docking device 30 includes: an acquisition module 301, a first determination module 302, a second determination module 303, a third determination module 304, and an interface adjustment module 305. Wherein:

[0125] The acquisition module 301 is used to acquire the initial data dictionary value, which is the data dictionary value sent by the target interface provider application system.

[0126] The first determining module 302 is used to determine the correspondence between the initial data dictionary values ​​and the business type based on the target interface provider's application system;

[0127] The second determining module 303 is used to determine the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value. The correspondence between the business type and the current data dictionary value is determined based on the application system of the target interface user, and the target interface user is determined based on the access information of the application system of the target interface provider.

[0128] The third determining module 304 is used to determine the preset data dictionary value based on the target's current data dictionary value and the initial data dictionary value;

[0129] The interface adjustment module 305 is used to adjust the interface specifications of the target interface user according to the preset data dictionary values, and to establish data connection between the target interface user and the target interface provider according to the adjusted interface specifications.

[0130] In this embodiment of the application, the second determining module 303 may also be specifically used for:

[0131] The first and second interactive data for connecting to the unified open platform are determined. The first interactive data is data provided by the interface provider, and the second interactive data is data provided by the interface user.

[0132] Based on the first interaction data, construct the first correspondence relationship;

[0133] Based on the second interaction data, construct a second correspondence;

[0134] The first and second correspondences are stored in a unified open platform.

[0135] In this embodiment of the application, the second determining module 303 may also be specifically used for:

[0136] Receive update instructions for the unified open platform;

[0137] Based on the update instructions for the unified open platform, the first and second correspondences are added or deleted to obtain the third correspondence;

[0138] Based on the third correspondence, adjustments are made to the target interface users and target interface providers for which data connections have been established.

[0139] In this embodiment of the application, the second determining module 303 may also be specifically used for:

[0140] Based on the target interface provider and the interface user, two corresponding relationships are determined from the unified open platform;

[0141] Based on the correspondence between the initial data dictionary values ​​and the business types, and the initial data dictionary values, determine the target business type;

[0142] Based on the correspondence between business types and current data dictionary values, and the target business type, determine the target current data dictionary value within the current data dictionary value.

[0143] In this embodiment of the application, the third determining module 304 may also be specifically used for:

[0144] Retrieve the set data dictionary values ​​in the unified open platform;

[0145] Determine the preset data dictionary value based on the set data dictionary value, the target current data dictionary value, and the initial data dictionary value.

[0146] In this embodiment of the application, the interface adjustment module 305 can also be specifically used for:

[0147] Establish a mapping relationship between initial data dictionary values ​​and preset data dictionary values;

[0148] Based on the preset data dictionary values, adjust the interface specifications of the target interface user.

[0149] Based on the mapping relationship and the adjusted interface specifications of the target interface user, establish data connection between the target interface user and the target interface provider.

[0150] In this embodiment of the application, the interface adjustment module 305 can also be specifically used for:

[0151] When the target data dictionary is adjusted, the target interface user and the target interface provider are determined based on the mapping relationship;

[0152] Adjust the dictionary values ​​for the target interface user and rebuild the data connection between the target interface user and the target interface provider.

[0153] As can be seen from the above, the data docking device 30 of this application embodiment comprises: an acquisition module 301 for acquiring an initial data dictionary value, wherein the initial data dictionary value is the data dictionary value sent by the target interface provider application system; a first determining module 302 for determining the correspondence between the initial data dictionary value and the business type according to the target interface provider application system; a second determining module 303 for determining the target current data dictionary value in the current data dictionary value according to the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, wherein the correspondence between the business type and the current data dictionary value is determined according to the target interface user application system, and the target interface user is determined according to the access information of the target interface provider application system; a third determining module 304 for determining a preset data dictionary value according to the target current data dictionary value and the initial data dictionary value; and an interface adjustment module 305 for adjusting the interface specification of the target interface user according to the preset data dictionary value, and establishing data docking between the target interface user and the target interface provider according to the adjusted interface specification. Therefore, by establishing the correspondence between initial data dictionary values ​​and business types, as well as the correspondence between current data dictionary values ​​and business types, the target current data dictionary value for data integration is determined. At the same time, by determining the preset data dictionary value, the data dictionary value of the interface provider is transformed, reducing the repetitive construction work of interface users, facilitating the integration between interface users and interface providers, reducing the workload of the system in interface management, and solving the problem of low data integration efficiency.

[0154] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 As shown, the electronic device 40 includes:

[0155] The electronic device 40 may include a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a communication component 403, and other components. The processor 401, memory 402, and communication component 403 are connected via a bus 404.

[0156] In the specific implementation process, at least one processor 401 executes computer execution instructions stored in memory 402, causing at least one processor 401 to execute the data docking method described above.

[0157] The specific implementation process of processor 401 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0158] In the above Figure 4 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0159] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0160] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0161] In some embodiments, a computer program product is also provided, including a computer program or instructions that, when executed by a processor, implement the steps in any of the above-described data interface methods.

[0162] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0163] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0164] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute the steps in any of the data interfacing methods provided in embodiments of this application.

[0165] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0166] According to one aspect of this application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium.

[0167] Since the instructions stored in the storage medium can execute the steps of any of the data docking methods provided in the embodiments of this application, the beneficial effects that any of the data docking methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0168] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0169] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A data docking method, characterized in that, Applied to a unified open platform, the method includes: Obtain the initial data dictionary value, which is the data dictionary value sent by the target interface provider's application system; Based on the target interface provider's application system, determine the correspondence between the initial data dictionary values ​​and the business types; Based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, the target current data dictionary value in the current data dictionary value is determined, wherein the correspondence between the business type and the current data dictionary value is determined according to the target interface user application system, and the target interface user is determined according to the access information of the target interface provider application system; Determine the preset data dictionary value based on the target's current data dictionary value and the initial data dictionary value; Based on the preset data dictionary values, the interface specifications of the target interface user are adjusted, and based on the adjusted interface specifications, data connection between the target interface user and the target interface provider is established. The step of determining the preset data dictionary value based on the target current data dictionary value and the initial data dictionary value includes: Obtain the set data dictionary values ​​in the unified open platform, wherein the set data dictionary values ​​are set in the unified open platform for the business type completed by the registered interface; The preset data dictionary value is determined based on the set data dictionary value, the target current data dictionary value, and the initial data dictionary value.

2. The method according to claim 1, characterized in that, Before determining the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, the method further includes: The first interactive data and the second interactive data connected to the unified open platform are determined. The first interactive data is data provided by the interface provider, and the second interactive data is data provided by the interface user. Based on the first interaction data, a first correspondence relationship is constructed; Based on the second interaction data, a second correspondence relationship is constructed; The first and second correspondences are stored in the unified open platform.

3. The method according to claim 2, characterized in that, After storing the first correspondence and the second correspondence in the unified open platform, the method further includes: Receive update instructions for the unified open platform; According to the update instruction for the unified open platform, the first and second correspondences are added or deleted to obtain the third correspondence; Based on the third correspondence, adjustments are made to the target interface users and target interface providers for which data connections have been established.

4. The method according to claim 1, characterized in that, The step of determining the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, includes: Based on the target interface provider and the interface user, two corresponding relationships are determined from the unified open platform; Based on the correspondence between the initial data dictionary values ​​and the business types, and the initial data dictionary values, the target business type is determined; Based on the correspondence between the business type and the current data dictionary value, and the target business type, determine the target current data dictionary value in the current data dictionary value.

5. The method according to claim 1, characterized in that, The step of adjusting the interface specification of the target interface user according to the preset data dictionary values, and establishing data connection between the target interface user and the target interface provider according to the adjusted interface specification, includes: Construct a mapping relationship between the initial data dictionary values ​​and the preset data dictionary values; Based on the preset data dictionary values, the interface specifications of the target interface user are adjusted; Based on the mapping relationship and the adjusted interface specifications of the target interface user, a data connection is established between the target interface user and the target interface provider.

6. The method according to claim 5, characterized in that, The method further includes: When the target data dictionary is adjusted, the target interface user and the target interface provider are determined according to the mapping relationship; The dictionary values ​​of the target interface user are adjusted, and the data connection between the target interface user and the target interface provider is reconstructed.

7. A data docking device, characterized in that, include: The acquisition module is used to acquire the initial data dictionary value, which is the data dictionary value sent by the target interface provider application system; The first determining module is used to determine the correspondence between the initial data dictionary values ​​and the business types based on the target interface provider application system; The second determining module is used to determine the target current data dictionary value in the current data dictionary value based on the correspondence between the initial data dictionary value and the business type, and the correspondence between the business type and the current data dictionary value, wherein the correspondence between the business type and the current data dictionary value is determined according to the target interface user application system, and the target interface user is determined according to the access information of the target interface provider application system; The third determining module is used to determine a preset data dictionary value based on the current data dictionary value of the target and the initial data dictionary value; The interface adjustment module is used to adjust the interface specification of the target interface user according to the preset data dictionary value, and to establish data connection between the target interface user and the target interface provider according to the adjusted interface specification. The third determining module is specifically used for: Obtain the set data dictionary values ​​in the unified open platform, wherein the set data dictionary values ​​are set in the unified open platform for the business type completed by the registered interface; The preset data dictionary value is determined based on the set data dictionary value, the target current data dictionary value, and the initial data dictionary value.

8. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the data docking method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the data docking method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Interface data calling method, device and equipment and computer readable storage medium

    CN110069248A

  • Hospital interface data interaction implementation method, device and equipment and medium

    CN112511591A