CN115378996A - Method, device, equipment and storage medium for intersystem data transmission - Google Patents

Method, device, equipment and storage medium for intersystem data transmission Download PDF

Info

Publication number
CN115378996A
CN115378996A CN202211024819.2A CN202211024819A CN115378996A CN 115378996 A CN115378996 A CN 115378996A CN 202211024819 A CN202211024819 A CN 202211024819A CN 115378996 A CN115378996 A CN 115378996A
Authority
CN
China
Prior art keywords
target
configuration
interface
configuration information
docked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211024819.2A
Other languages
Chinese (zh)
Other versions
CN115378996B (en
Inventor
王凯健
常龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Beibeitong Technology Co ltd
Original Assignee
Beijing Beibeitong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Beibeitong Technology Co ltd filed Critical Beijing Beibeitong Technology Co ltd
Priority to CN202211024819.2A priority Critical patent/CN115378996B/en
Publication of CN115378996A publication Critical patent/CN115378996A/en
Application granted granted Critical
Publication of CN115378996B publication Critical patent/CN115378996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for data transmission between systems, wherein the method comprises the steps of obtaining configuration information to be matched of an interface of a system to be docked and target configuration information of the interface of a target system, wherein the system to be docked comprises one or more interfaces, and the target system comprises one or more interfaces; updating the source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information according to a preset configuration template to obtain target configuration files, wherein the target configuration files comprise one or more configuration files, and the target configuration files are used for storing the configuration information of interfaces of different systems and controlling the butt joint of the different systems; and connecting the system to be docked and the target system according to the target configuration file. The method can achieve the effect of improving the efficiency of data transmission between systems.

Description

Method, device, equipment and storage medium for intersystem data transmission
Technical Field
The present application relates to the field of data transmission, and in particular, to a method, an apparatus, a device, and a storage medium for intersystem data transmission.
Background
At present, a large number of systems are docked, and the docking of interfaces, data and service logic needs to be completed for different systems, and during the docking process, the adaptation is generally performed by adopting the customized development of the other party or the customized development of one party. For example, when company employee information is synchronized, the opposite party user performs customized transformation on the interface provided by the opposite party and then pushes data, or the opposite party performs customized development and pulls the data of the opposite party according to the interface provided by the opposite party.
In the above process, the program needs to be customized and developed for adaptation, and the workload of development is very large, so that the efficiency of data transmission is very low when the system is docked.
Therefore, how to improve the efficiency of data transmission between systems is a technical problem to be solved.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method for intersystem data transmission, which can achieve an effect of improving efficiency of intersystem data transmission through the technical solution of the embodiments of the present application.
In a first aspect, an embodiment of the present application provides a method for data transmission between systems, where the method includes obtaining configuration information to be matched of an interface of a system to be docked and target configuration information of an interface of a target system, where the system to be docked includes one or more interfaces, and the target system includes one or more interfaces; updating the source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information according to a preset configuration template to obtain target configuration files, wherein the target configuration files comprise one or more configuration files, and the target configuration files are used for storing the configuration information of interfaces of different systems and controlling the butt joint of the different systems; and connecting the system to be docked and the target system according to the target configuration file.
In the embodiment of the application, the interface information between different systems is stored according to the preset configuration template, and the interface configuration information in the configuration file is updated, so that the interface between different interfaces is butted, the efficiency of the interface butting between the systems is improved, and the effect of improving the efficiency of data transmission between the systems can be achieved.
In some embodiments, configuring the template includes, including:
at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
In the foregoing embodiments of the present application, the configuration template may include information of one or more interfaces, and data transmission between different systems may be implemented through configuration of the template.
In some embodiments, before obtaining the configuration information to be matched of the interface of the system to be docked and the target configuration information of the interface of the target system, the method further includes:
acquiring data formats of source data and target system storage data stored in a system to be docked;
and analyzing the source data into target data in a data format according to a preset analysis template by using the data analysis script, wherein the source data format and the data format of the source data stored in the system to be docked are different.
In the embodiment of the application, the format of the stored data is changed into the format of the data stored in the target system by analyzing the data stored in the system to be docked, so that the data in different formats is realized, and the data can be transmitted between the systems.
In some embodiments, after obtaining the data format of the source data stored by the system to be docked and the data stored by the target system, the method further includes:
updating the source data to the memory;
and when the intersystem data transmission task is carried out again, the source data is obtained through the calling of the memory interface.
In the embodiment of the application, when the source data is updated into the memory and the data transmission task is performed again, the memory can be directly accessed, and the data of the system to be docked does not need to be called again, so that the time is saved, and the data transmission efficiency is improved.
In some embodiments, switching on the system to be docked and the target system according to the target profile includes:
storing the target configuration file into a configuration library and generating a corresponding interface inlet;
and calling an interface inlet through the system to be docked, the trigger or the interface scheduling task to connect the system to be docked and the target system.
In the embodiment of the application, the configured configuration file is called, so that the calling can be directly carried out from the configuration library, and the interface docking and data transmission among different systems are completed.
In some embodiments, obtaining the configuration information to be matched of the interface of the system to be docked and the target configuration information of the interface of the target system includes:
acquiring one or more pieces of to-be-matched configuration information corresponding to one or more to-be-butted systems from the to-be-butted systems through the one or more to-be-butted systems;
and acquiring one or more target configuration information corresponding to one or more target systems from the target systems through the one or more target systems.
In the above embodiments, the configuration information is obtained through one or more interfaces, and interface parameters of different interfaces can be obtained, so as to implement configuration of interfaces between systems.
In some embodiments, updating the source configuration file stored in the configuration library according to the configuration information to be matched and the target configuration information according to a preset configuration template to obtain the target configuration file, including:
storing at least one of interface type, interface address, interface parameter and whether authentication is needed or not corresponding to the configuration information to be matched and the target configuration information in a configuration template to obtain configuration template information;
and analyzing the configuration template information to obtain a target configuration file.
In the embodiment of the application, the corresponding interface information is stored through the configuration template, the content in the configuration file can be updated in an analysis mode, and then the interface docking and data transmission among different systems can be realized by calling the configuration file.
In a second aspect, an embodiment of the present application provides an apparatus for intersystem data transmission, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring configuration information to be matched of an interface of a system to be docked and target configuration information of the interface of a target system, the system to be docked comprises one or more interfaces, and the target system comprises one or more interfaces;
the updating module is used for updating the configuration information to be matched and the target configuration information to a source configuration file stored in the configuration library according to a preset configuration template to obtain a target configuration file, wherein the target configuration file comprises one or more configuration files, and the target configuration file is used for storing the configuration information of the interfaces of different systems and controlling the butt joint of the different systems;
and the docking module is used for connecting the system to be docked and the target system according to the target configuration file.
Optionally, configuring the template includes:
at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
Optionally, the apparatus further comprises:
the analysis module is used for acquiring the data formats of source data and target system storage data stored in the system to be docked before the acquisition module acquires the configuration information to be matched of the interface of the system to be docked and the target configuration information of the interface of the target system;
and analyzing the source data into target data in a data format according to a preset analysis template by using the data analysis script, wherein the source data format and the data format of the source data stored in the system to be docked are different.
Optionally, the apparatus further comprises:
the storage module is used for updating the source data into the memory after the acquisition module acquires the data formats of the source data stored by the system to be docked and the data stored by the target system;
and when the intersystem data transmission task is carried out again, the source data is obtained through the calling of the memory interface.
Optionally, the docking module is specifically configured to:
storing the target configuration file into a configuration library and generating a corresponding interface inlet;
and calling an interface inlet through a system to be docked, a trigger or an interface scheduling task to connect the system to be docked and the target system.
Optionally, the obtaining module is specifically configured to:
acquiring one or more pieces of to-be-matched configuration information corresponding to one or more to-be-butted systems from the to-be-butted systems through the one or more to-be-butted systems;
and acquiring one or more target configuration information corresponding to one or more target systems from the target systems through the one or more target systems.
Optionally, the update module is specifically configured to:
storing at least one of interface type, interface address, interface parameter and whether authentication is needed or not corresponding to the configuration information to be matched and the target configuration information in a configuration template to obtain configuration template information;
and analyzing the configuration template information to obtain a target configuration file.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method as provided in the first aspect are executed.
In a fourth aspect, embodiments of the present application provide a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps in the method as provided in the first aspect.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic diagram illustrating a conventional inter-system data transmission method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for intersystem data transmission according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a system for intersystem data transmission according to an embodiment of the present application;
fig. 4 is a schematic block diagram of an apparatus for intersystem data transmission according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating a structure of an apparatus for intersystem data transmission according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not construed as indicating or implying relative importance.
First, some terms referred to in the embodiments of the present application will be described to facilitate understanding by those skilled in the art.
SaaS: is the abbreviation name of Software-as-a-Service, meaning Software as a Service, i.e. providing Software services over a network.
RESTFUL: the method is a design style and development mode of network application programs, and can use XML format definition or JSON format definition based on HTTP. RESTFUL is suitable for a scene that a mobile internet manufacturer serves as a service interface, the function that a third party OTT calls mobile network resources is achieved, and the action type is to add, change and delete the called resources.
Web Service: is a platform independent, low-coupling, self-contained, programmable web-based application that can be described, published, discovered, coordinated and configured using the open XML (a subset of the standard universal markup language) standard for developing distributed, interoperating applications.
DB: data base, database.
WebSocket: a protocol for full duplex communication over a single TCP connection.
A trigger: (trigger) is a method for SQL server to provide programmers and data analysts with data integrity, it is a special stored procedure related to table events, and its execution is not invoked by a program, nor initiated manually, but triggered by events, such as when an operation is performed on a table (insert, delete, update). Triggers are often used to enforce integrity constraints and business rules, etc. on the data. TRIGGERS can be retrieved from the DBA _ TRIGGERS, USER _ TRIGGERS data dictionary. The trigger for SQL3 is a statement that can be automatically executed by the system to modify the database.
The method and the device are applied to a data transmission scene, the specific scene is that the formats of data among different systems are different, the parameters of interfaces are different, and the data transmission among the different systems is realized through configuration files.
However, a large amount of system docking work at present needs to complete the docking of interfaces, data and service logic for different systems, and during the docking process, the adaptation is generally performed by adopting the customized development of the other party or the customized development of one party. For example, when company employee information is synchronized, the opposite party user performs customized transformation on the interface provided by the opposite party and then pushes data, or the opposite party performs customized development and pulls the data of the opposite party according to the interface provided by the opposite party. In the above process, the program needs to be customized and developed for adaptation, and the workload of development is very large, so that the efficiency of data transmission is very low when the system is docked.
Referring to fig. 1, fig. 1 is a schematic diagram of a conventional inter-system data transmission method according to an embodiment of the present application, where the method shown in fig. 1 includes:
the external system 1, the external system 2 … …, the financial system n and the SaaS system respectively develop custom programs capable of realizing system docking through respectively customizing the adaptive programs, so that data transmission between the external system and the SaaS system is realized, and the effect of data transmission in different data formats between different systems is achieved.
The method comprises the steps of obtaining configuration information to be matched of an interface of a system to be docked and target configuration information of the interface of a target system, wherein the system to be docked comprises one or more interfaces, and the target system comprises one or more interfaces; updating the source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information according to a preset configuration template to obtain target configuration files, wherein the target configuration files comprise one or more configuration files, and the target configuration files are used for storing the configuration information of interfaces of different systems and controlling the butt joint of the different systems; and connecting the system to be docked and the target system according to the target configuration file. The interface configuration information in the configuration file is updated, the different interfaces are connected, the efficiency of the interface connection between the systems is improved, and the effect of improving the efficiency of data transmission between the systems can be achieved.
In this embodiment of the application, the execution main body may be inter-system data transmission equipment in an inter-system data transmission system, and in practical application, the inter-system data transmission equipment may be electronic equipment such as terminal equipment and a server, which is not limited herein.
The method for intersystem data transmission according to the embodiment of the present application is described in detail below with reference to fig. 2.
Referring to fig. 2, fig. 2 is a flowchart of a method for intersystem data transmission according to an embodiment of the present application, where the method for intersystem data transmission shown in fig. 2 includes:
step 210: and acquiring the configuration information to be matched of the interface of the system to be butted and the target configuration information of the interface of the target system.
The system to be docked comprises one or more interfaces, and the target system comprises one or more interfaces. The interface parameters of the system to be docked and the target system are different, and the formats of data stored in the system are different. The configuration information to be matched comprises at least one of the interface type, the interface address, the interface parameter and whether authentication is needed of the system to be docked. The target configuration information includes at least one of an interface type, an interface address, an interface parameter, and whether authentication is required of the target system.
In some embodiments of the present application, before obtaining the configuration information to be matched of the interface of the system to be docked and the target configuration information of the interface of the target system, the method shown in fig. 2 further includes: acquiring data formats of source data and target system storage data stored in a system to be docked; and analyzing the source data into target data in a data format according to a preset analysis template by using the data analysis script, wherein the source data format and the data format of the source data stored in the system to be docked are different.
In the process, the format of the stored data is changed into the format of the data stored in the target system by analyzing the data stored in the system to be docked, so that the data in different formats can be realized, and the data can be transmitted among the systems.
The source data may be data stored in the system to be docked, or system data before data analysis. The resolution template includes at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
In some embodiments of the present application, acquiring configuration information to be matched of an interface of a system to be docked and target configuration information of an interface of a target system includes: acquiring one or more pieces of to-be-matched configuration information corresponding to one or more to-be-butted systems from the to-be-butted systems through the one or more to-be-butted systems; and acquiring one or more target configuration information corresponding to one or more target systems from the target systems through the one or more target systems.
In the process, the configuration information is acquired through one or more interfaces, so that interface parameters of different interfaces can be acquired, and the configuration of the interfaces between the systems is further realized.
In some embodiments of the present application, after obtaining the data format of the source data stored by the system to be docked and the data stored by the target system, the method shown in fig. 2 further includes: updating the source data to the memory; and when the intersystem data transmission task is carried out again, the source data is obtained through the calling of the memory interface.
In the process, when the source data are updated into the memory and the data transmission task is performed again, the memory can be directly accessed, the data of the system to be docked does not need to be called again, time is saved, and the data transmission efficiency is improved.
The parameters of the memory interface comprise at least one of interface type, interface address, interface parameters and whether authentication is needed.
Step 220: and updating the source configuration file stored in the configuration library according to the configuration information to be matched and the target configuration information according to a preset configuration template to obtain a target configuration file.
The target configuration file comprises one or more configuration files, and the target configuration file is used for storing configuration information of interfaces of different systems and controlling the connection of the different systems.
In some embodiments of the present application, configuring the template includes, including: at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
In the above embodiments of the present application, the configuration template may include information of one or more interfaces, and data transmission between different systems may be implemented through configuration of the template.
In the above process, the updating, according to a preset configuration template, the source configuration file stored in the configuration library for the configuration information to be matched and the target configuration information to obtain the target configuration file includes: storing at least one of interface type, interface address, interface parameter and whether authentication is needed or not corresponding to the configuration information to be matched and the target configuration information in a configuration template to obtain configuration template information; and analyzing the configuration template information to obtain a target configuration file.
In the embodiment of the application, the corresponding interface information is stored through the configuration template, the content in the configuration file can be updated in an analysis mode, and then the interface docking and data transmission among different systems can be realized by calling the configuration file.
Step 230: and connecting the system to be docked and the target system according to the target configuration file.
In some embodiments of the present application, switching on the system to be docked and the target system according to the target profile includes: storing the target configuration file into a configuration library and generating a corresponding interface inlet; and calling an interface inlet through a system to be docked, a trigger or an interface scheduling task to connect the system to be docked and the target system.
In the process, the configured configuration file is called, so that the calling can be directly carried out from the configuration library, and the interface butt joint and data transmission among different systems are completed.
The interface scheduling task may be a task initiated by a user for system docking, or may be a system docking request initiated by another system to a target system.
In the process shown in fig. 2, the present application obtains configuration information to be matched of an interface of a system to be docked and target configuration information of an interface of a target system, where the system to be docked includes one or more interfaces, and the target system includes one or more interfaces; updating the source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information according to a preset configuration template to obtain target configuration files, wherein the target configuration files comprise one or more configuration files, and the target configuration files are used for storing the configuration information of interfaces of different systems and controlling the butt joint of the different systems; and connecting the system to be docked and the target system according to the target configuration file. The interface configuration information in the configuration file is updated, the different interfaces are connected, the efficiency of the interface connection between the systems is improved, and the effect of improving the efficiency of data transmission between the systems can be achieved.
The method for intersystem data transmission according to the embodiment of the present application is described in detail below with reference to fig. 3.
Referring to fig. 3, fig. 3 is a schematic diagram of a system for intersystem data transmission according to an embodiment of the present application, where the system for intersystem data transmission shown in fig. 3 includes:
the interface configuration module and the data analysis module;
the interface configuration module comprises a source interface configuration acquisition module, a target system configuration acquisition module and an interface configuration flow;
the data analysis module comprises a data analysis process;
the interface configuration flow comprises analysis configuration items, interface authentication (optional), interface scheduling execution and result packaging;
specifically, configuration information of interfaces of different systems is obtained through a configuration library, and tasks are scheduled and executed through the interfaces, so that updating of configuration files among the different systems is achieved.
The data analysis process comprises the steps of analyzing configuration items, obtaining an analysis template, obtaining an analysis script and analyzing results.
Specifically, the configuration items of the data between different systems are obtained through the configuration library, and the transmission of the data between the different systems is realized through the analysis of the template and the analysis of the script.
The configuration can realize the authentication and call communication of the Restful interface and the WebService interface, and return the return result executed by the interfaces according to the defined specification. The data analysis module can realize analysis, cleaning and conversion from a source data format to a target data format through dynamic script execution according to the rule of the template. All configuration items are stored in the DB, and configuration data are stored in the corresponding configuration library through an interface. Specifically, the specific functions of the system described in fig. 3 can refer to the method and steps shown in fig. 2, which are not described in detail herein.
The system of intersystem data transmission is described above with reference to fig. 3, and the following describes the apparatus of intersystem data transmission with reference to fig. 4 to 5.
Referring to fig. 4, a schematic block diagram of an apparatus 400 for intersystem data transmission provided in the embodiment of the present application is shown, where the apparatus 400 may be a module, a program segment, or code on an electronic device. The apparatus 400 corresponds to the above-mentioned embodiment of the method of fig. 2, and can perform various steps related to the embodiment of the method of fig. 2, and specific functions of the apparatus 400 can be referred to the following description, and detailed descriptions are appropriately omitted herein to avoid redundancy.
Optionally, the apparatus 400 includes:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the configuration information to be matched of an interface of a system to be docked and the target configuration information of the interface of a target system, the system to be docked comprises one or more interfaces, and the target system comprises one or more interfaces;
the updating module is used for updating the source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information according to a preset configuration template to obtain target configuration files, wherein the target configuration files comprise one or more configuration files, and the target configuration files are used for storing the configuration information of interfaces of different systems and controlling the butt joint of the different systems;
and the docking module is used for connecting the system to be docked and the target system according to the target configuration file.
Optionally, configuring the template includes:
at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
Optionally, the apparatus further comprises:
the analysis module is used for acquiring the data formats of source data and target system storage data stored in the system to be docked before the acquisition module acquires the configuration information to be matched of the interface of the system to be docked and the target configuration information of the interface of the target system; and analyzing the source data into target data in a data format according to a preset analysis template by using the data analysis script, wherein the source data format and the data format of the source data stored in the system to be docked are different.
Optionally, the apparatus further comprises:
the storage module is used for updating the source data into the memory after the acquisition module acquires the data formats of the source data stored by the system to be docked and the data stored by the target system; and when the intersystem data transmission task is carried out again, the source data is obtained through the calling of the memory interface.
Optionally, the docking module is specifically configured to:
storing the target configuration file into a configuration library and generating a corresponding interface entry; and calling an interface inlet through a system to be docked, a trigger or an interface scheduling task to connect the system to be docked and the target system.
Optionally, the obtaining module is specifically configured to:
acquiring one or more pieces of to-be-matched configuration information corresponding to one or more to-be-butted systems from the to-be-butted systems through the one or more to-be-butted systems; and acquiring one or more target configuration information corresponding to one or more target systems from the target systems through the one or more target systems.
Optionally, the update module is specifically configured to:
storing at least one of interface type, interface address, interface parameter and whether authentication is needed or not corresponding to the configuration information to be matched and the target configuration information in a configuration template to obtain configuration template information; and analyzing the configuration template information to obtain a target configuration file.
Referring to fig. 5, a schematic block diagram of an apparatus 500 for intersystem data transmission provided in the embodiment of the present application may include a memory 510 and a processor 520. Optionally, the apparatus may further include: a communication interface 530 and a communication bus 540. The apparatus corresponds to the above-mentioned embodiment of the method of fig. 2, and can perform various steps related to the embodiment of the method of fig. 2, and specific functions of the apparatus can be referred to the following description.
In particular, memory 510 is used to store computer readable instructions.
Processor 520, for processing the memory-stored readable instructions, is capable of performing the steps of the method of fig. 2.
A communication interface 530 for communicating signaling or data with other node devices. For example: the method and the device for communication with the server or the terminal, or with other device nodes are used, and the embodiments of the application are not limited thereto.
And a communication bus 540 for realizing direct connection communication of the above components.
In the embodiment of the present application, the communication interface 530 of the device is used for performing signaling or data communication with other node devices. Memory 510 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The memory 510 may optionally be at least one memory device located remotely from the processor. The memory 510 stores computer readable instructions, which when executed by the processor 520, cause the electronic device to perform the method process of fig. 2. A processor 520 may be used on the apparatus 400 and to perform the functions herein. The Processor 520 may be, for example, a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components, and the embodiments of the present Application are not limited thereto.
Embodiments of the present application further provide a storage medium, and when being executed by a processor, the computer program performs a method process performed by an electronic device in the method embodiment shown in fig. 1.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method, and will not be described in too much detail herein.
To sum up, the embodiments of the present application provide a method, an apparatus, an electronic device, and a storage medium for data transmission between systems, where the method includes obtaining configuration information to be matched of an interface of a system to be docked and target configuration information of an interface of a target system, where the system to be docked includes one or more interfaces, and the target system includes one or more interfaces; updating the source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information according to a preset configuration template to obtain target configuration files, wherein the target configuration files comprise one or more configuration files, and the target configuration files are used for storing the configuration information of interfaces of different systems and controlling the butt joint of the different systems; and switching on the system to be docked and the target system according to the target configuration file. The method can achieve the effect of improving the efficiency of data transmission between systems.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for intersystem data transmission, comprising:
acquiring configuration information to be matched of an interface of a system to be docked and target configuration information of an interface of a target system, wherein the system to be docked comprises one or more interfaces, and the target system comprises one or more interfaces;
updating the source configuration files stored in a configuration library by the configuration information to be matched and the target configuration information according to a preset configuration template to obtain target configuration files, wherein the target configuration files comprise one or more configuration files, and the target configuration files are used for storing configuration information of interfaces of different systems and controlling the butt joint of the different systems;
and switching on the system to be docked and the target system according to the target configuration file.
2. The method of claim 1, wherein configuring the template comprises, including:
at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
3. The method according to claim 1 or 2, wherein before the obtaining of the configuration information to be matched of the interface of the system to be docked and the target configuration information of the interface of the target system, the method further comprises:
acquiring data formats of source data stored by the system to be docked and data stored by the target system;
and analyzing the source data into target data in the data format according to a preset analysis template by using a data analysis script, wherein the source data format of the source data stored in the system to be docked is different from the data format.
4. The method of claim 3, wherein after the obtaining of the data formats of the source data stored by the system to be docked and the target system storage data, the method further comprises:
updating the source data to a memory;
and when the intersystem data transmission task is carried out again, the source data is obtained through the calling of the memory interface.
5. The method according to claim 1 or 2, wherein the switching on the system to be docked and the target system according to the target profile comprises:
storing the target configuration file into a configuration library and generating a corresponding interface entry;
and calling the interface inlet through the system to be docked, the trigger or the interface scheduling task to connect the system to be docked and the target system.
6. The method according to claim 1 or 2, wherein the obtaining of the configuration information to be matched of the interface of the system to be docked and the target configuration information of the interface of the target system comprises:
acquiring one or more pieces of to-be-matched configuration information corresponding to one or more to-be-butted systems from the to-be-butted systems through the one or more to-be-butted systems;
through one or more target systems, one or more target configuration information corresponding to the one or more target systems is obtained from the target systems.
7. The method according to claim 1 or 2, wherein the updating the configuration information to be matched and the target configuration information according to a preset configuration template to a source configuration file stored in a configuration library to obtain a target configuration file comprises:
storing at least one of interface type, interface address, interface parameter and whether authentication is needed or not corresponding to the configuration information to be matched and the target configuration information in the configuration template to obtain configuration template information;
and analyzing the configuration template information to obtain the target configuration file.
8. An apparatus for intersystem data transmission, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring configuration information to be matched of an interface of a system to be docked and target configuration information of an interface of a target system, the system to be docked comprises one or more interfaces, and the target system comprises one or more interfaces;
the updating module is used for updating the configuration information to be matched and the target configuration information to a source configuration file stored in a configuration library according to a preset configuration template to obtain a target configuration file, wherein the target configuration file comprises one or more configuration files, and the target configuration file is used for storing the configuration information of interfaces of different systems and controlling the butt joint of the different systems;
and the docking module is used for connecting the system to be docked and the target system according to the target configuration file.
9. An electronic device, comprising:
a memory and a processor, the memory storing computer readable instructions which, when executed by the processor, perform the steps of the method of any one of claims 1 to 7.
10. A computer storage medium, comprising:
computer program, which, when run on a computer, causes the computer to carry out the method according to any one of claims 1-7.
CN202211024819.2A 2022-08-25 2022-08-25 Method, device, equipment and storage medium for data transmission between systems Active CN115378996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211024819.2A CN115378996B (en) 2022-08-25 2022-08-25 Method, device, equipment and storage medium for data transmission between systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211024819.2A CN115378996B (en) 2022-08-25 2022-08-25 Method, device, equipment and storage medium for data transmission between systems

Publications (2)

Publication Number Publication Date
CN115378996A true CN115378996A (en) 2022-11-22
CN115378996B CN115378996B (en) 2023-12-15

Family

ID=84066910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211024819.2A Active CN115378996B (en) 2022-08-25 2022-08-25 Method, device, equipment and storage medium for data transmission between systems

Country Status (1)

Country Link
CN (1) CN115378996B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180077015A1 (en) * 2016-09-13 2018-03-15 Oracle International Corporation Techniques for managing scim-compliant systems
CN111638983A (en) * 2020-05-28 2020-09-08 深圳壹账通智能科技有限公司 Interface calling method, interface calling device and terminal equipment
CN112306549A (en) * 2020-10-30 2021-02-02 康键信息技术(深圳)有限公司 Interface document configuration method, device, equipment and storage medium
CN112817883A (en) * 2021-01-11 2021-05-18 深圳力维智联技术有限公司 Method, device and system for adapting interface platform and computer readable storage medium
WO2021103580A1 (en) * 2019-11-27 2021-06-03 华为技术有限公司 Method for docking automatic driving application program between different development platforms
CN114035864A (en) * 2021-11-11 2022-02-11 中国建设银行股份有限公司 Interface processing method, interface processing device, electronic device, and storage medium
CN114721704A (en) * 2020-12-22 2022-07-08 杭州安存网络科技有限公司 Multi-platform docking method and device, electronic equipment and computer readable medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180077015A1 (en) * 2016-09-13 2018-03-15 Oracle International Corporation Techniques for managing scim-compliant systems
WO2021103580A1 (en) * 2019-11-27 2021-06-03 华为技术有限公司 Method for docking automatic driving application program between different development platforms
CN111638983A (en) * 2020-05-28 2020-09-08 深圳壹账通智能科技有限公司 Interface calling method, interface calling device and terminal equipment
CN112306549A (en) * 2020-10-30 2021-02-02 康键信息技术(深圳)有限公司 Interface document configuration method, device, equipment and storage medium
CN114721704A (en) * 2020-12-22 2022-07-08 杭州安存网络科技有限公司 Multi-platform docking method and device, electronic equipment and computer readable medium
CN112817883A (en) * 2021-01-11 2021-05-18 深圳力维智联技术有限公司 Method, device and system for adapting interface platform and computer readable storage medium
CN114035864A (en) * 2021-11-11 2022-02-11 中国建设银行股份有限公司 Interface processing method, interface processing device, electronic device, and storage medium

Also Published As

Publication number Publication date
CN115378996B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
US10678522B1 (en) Compiler and method for compiling business rules for a serverless runtime environment
US8543972B2 (en) Gateway data distribution engine
US11531573B2 (en) Asynchronous C#-JS data binding bridge
US11755461B2 (en) Asynchronous consumer-driven contract testing in micro service architecture
CN111090423B (en) Webhook framework system and method for realizing active calling and event triggering
CN117008923B (en) Code generation and compiling deployment method, platform and equipment based on AI large model
AU2022209333A1 (en) System and method for generating api development code for integrating platforms
US11327727B2 (en) Systems and methods for integrating modules into a software application
CN113227976A (en) Methods, systems, and computer readable media for data transformation using representational state transfer (REST) Application Programming Interfaces (APIs)
US20210334149A1 (en) Api adapter creation device, api adapter creation method, and api adapter creation program
US20130339488A1 (en) Enterprise services framework for mobile devices
CN111045683A (en) Applet code compiling method, device, equipment and medium
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
KR20150133902A (en) System and method for developing of service based on software product line
CN113127335A (en) System testing method and device
CN115378996A (en) Method, device, equipment and storage medium for intersystem data transmission
US20190188063A1 (en) Mapping computer programs to network protocol methods
Pop et al. A Service Oriented Architecture Approach for an E-Business Platform
CN112036576A (en) Data processing method and device based on data form and electronic equipment
KR100545348B1 (en) An integrated development system for a SyncML server application development
CN113111111A (en) Multi-data source database access method
WO2020150009A1 (en) Profile data store automation via bots
CN112306324B (en) Information processing method, apparatus, device and medium
Pop et al. An E-business service provided through mobile communications networks
CN114398189A (en) Method and device for returning analog interface data, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant