CN115378996B - Method, device, equipment and storage medium for data transmission between systems - Google Patents
Method, device, equipment and storage medium for data transmission between systems Download PDFInfo
- Publication number
- CN115378996B CN115378996B CN202211024819.2A CN202211024819A CN115378996B CN 115378996 B CN115378996 B CN 115378996B CN 202211024819 A CN202211024819 A CN 202211024819A CN 115378996 B CN115378996 B CN 115378996B
- Authority
- CN
- China
- Prior art keywords
- configuration
- target
- interface
- docked
- data
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 81
- 230000005540 biological transmission Effects 0.000 title claims abstract description 57
- 238000003032 molecular docking Methods 0.000 claims abstract description 21
- 238000004458 analytical method Methods 0.000 claims description 24
- 230000008569 process Effects 0.000 claims description 23
- 238000007405 data analysis Methods 0.000 claims description 18
- 238000013515 script Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 4
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 7
- 210000001503 joint Anatomy 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000011161 development Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 230000009471 action Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 3
- 230000011664 signaling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0843—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network 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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a method, a device, equipment and a storage medium for data transmission among 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 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 the configuration library according to the configuration information to be matched and the target configuration information 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 docking 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.
Description
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 great deal of systems are required to be butted with different systems to finish the butt joint of interfaces, data and business logic, and in the butt joint process, the adaptation is generally carried out by adopting the custom development of the opposite party or the custom development of the my party. For example, when synchronizing employee information of a company, a user of the other party makes a customized modification to an interface provided by the other party and then pushes data or the other party makes a customized development to pull data of the other party according to the interface provided by the other party.
In the above process, a custom development is required to adapt the program, the development workload is very large, and the efficiency of data transmission is very low when the system is in butt joint.
Therefore, how to improve the efficiency of data transmission between systems is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application aims to provide a method for data transmission among systems, and the technical scheme of the embodiment of the application can achieve the effect of improving the efficiency of data transmission among systems.
In a first aspect, an embodiment of the present application provides a method for data transmission between systems, including 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 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 docking of the different systems; and switching on the system to be docked and the target system according to the target configuration file.
In the embodiment of the application, a plurality of 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 butt joint between different interfaces is realized, the butt joint efficiency between the systems is improved, and the effect of improving the data transmission efficiency between the systems can be further achieved.
In some embodiments, the configuration template includes, including:
at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
In the embodiment of the application, the configuration template can comprise information of one or more interfaces, and data transmission among different systems can be realized through the 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 a data format of source data stored in a system to be docked and data stored in a target system;
and analyzing the source data into target data with a data format according to a preset analysis template by utilizing a data analysis script, wherein the source data format and the data format of the source data stored by the system to be docked are different.
In the embodiment of the application, the data stored in the system to be docked is analyzed, the format of the stored data is changed into the format of the data stored in the target system, the data in different formats is realized, and the data transmission between the systems can be performed.
In some embodiments, after obtaining the data format of the source data and the target system storage data to be stored by the docking system, further comprises:
updating the source data into the memory;
when the task of data transmission between systems is carried out again, the source data is acquired through the call of the memory interface.
In the embodiment of the application, when the source data is updated to the memory, the memory can be directly accessed when the data transmission task is carried out again, the retrieval of the system data to be docked is not required, 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 entry;
and calling an interface inlet through the system to be docked, the trigger or the interface scheduling task, and connecting the system to be docked and the target system.
In the embodiment of the application, the configured configuration file is called directly from the configuration library to complete interface butt joint and data transmission between different systems.
In some embodiments, 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 includes:
acquiring one or more configuration information to be matched corresponding to one or more systems to be docked from the systems to be docked through the one or more systems to be docked;
and acquiring one or more pieces of target configuration information corresponding to the one or more target systems from the target systems through the one or more target systems.
In the embodiment of the application, the configuration information is obtained through one or more interfaces, so that the interface parameters of different interfaces can be obtained, and the configuration of the interfaces between systems is realized.
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, which are respectively 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, and the updating of the content in the configuration file can be realized in an analytic mode, so that the interface butt joint and the data transmission between 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 control module and a control 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 source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information 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 docking of the different systems;
and the docking module is used for switching on the system to be docked and the target system according to the target configuration file.
Optionally, the configuration template includes:
at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
Optionally, the apparatus further includes:
the analysis module is used for acquiring the data format of the source data stored in the system to be docked and the data stored in the target system before acquiring 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 with a data format according to a preset analysis template by utilizing a data analysis script, wherein the source data format and the data format of the source data stored by the system to be docked are different.
Optionally, the apparatus further includes:
the storage module is used for updating the source data into the memory after the acquisition module acquires the data format of the source data stored by the system to be docked and the data stored by the target system;
when the task of data transmission between systems is carried out again, the source data is acquired through the call 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 the system to be docked, the trigger or the interface scheduling task, and connecting the system to be docked and the target system.
Optionally, the acquiring module is specifically configured to:
acquiring one or more configuration information to be matched corresponding to one or more systems to be docked from the systems to be docked through the one or more systems to be docked;
and acquiring one or more pieces of target configuration information corresponding to the one or more target systems from the target systems through the one or more target systems.
Optionally, the updating module is specifically configured to:
storing at least one of interface type, interface address, interface parameter and whether authentication is needed or not, which are respectively 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 comprising a processor and a memory storing computer readable instructions which, when executed by the processor, perform the steps of the method as provided in the first aspect above.
In a fourth aspect, embodiments of the present application provide a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as provided in the first aspect above.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof 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 needed 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 should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a method for data transmission between conventional systems according to an embodiment of the present application;
fig. 2 is a flowchart of a method for intersystem data transmission according to an embodiment of the present application;
fig. 3 is a schematic diagram of a system for data transmission between systems 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 application;
fig. 5 is a schematic block diagram of an apparatus for data transmission between systems according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Some of the terms involved in the embodiments of the present application will be described first to facilitate understanding by those skilled in the art.
SaaS: is an abbreviated name for Software-as-a-Service, meaning that Software is a Service, i.e., provides a Software Service over a network.
RESTFUL: is a design style and development mode of a network application program, and can be defined by using XML format or JSON format based on HTTP. The RESTFUL is suitable for a scene that a mobile internet manufacturer serves as a service interface, and achieves the function that a third party OTT calls mobile network resources, and the action types are newly added, changed and deleted.
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 standard generic markup language) standard for developing distributed interoperable applications.
DB: data base, database.
WebSocket: a protocol for full duplex communication over a single TCP connection.
A trigger: a (trigger) is a method by which SQL server provides programmers and data analysts with data integrity, and is a special stored procedure associated with a table event whose execution is not invoked by the program, or manually initiated, but is triggered by an event, such as an insert (delete, update) that is activated when it is performed on a table. Triggers are often used to enforce data integrity constraints, business rules, and the like. The TRIGGERS can be looked up from the DBA_TRIGGERS, USER_TRIGGERS data dictionary. The trigger of SQL3 is a statement that can be automatically executed by the system to modify the database.
The method is applied to the scene of data transmission, the specific scene is that the formats of data among different systems are different, the parameters of the interfaces are different, and the data among the different systems is transmitted through the configuration file.
However, at present, a great deal of systems are required to be docked for different systems to complete the docking of interfaces, data and business logic, and in the docking process, the adaptation is generally performed by adopting the development of opposite party customization or my party customization. For example, when synchronizing employee information of a company, a user of the other party makes a customized modification to an interface provided by the other party and then pushes data or the other party makes a customized development to pull data of the other party according to the interface provided by the other party. In the above process, a custom development is required to adapt the program, the development workload is very large, and the efficiency of data transmission is very low when the system is in butt joint.
Referring to fig. 1, fig. 1 is a schematic diagram of a method for transmitting data between conventional systems according to an embodiment of the present application, where the method shown in fig. 1 includes:
the external system 1, the external system 2 … … financial system n and the SaaS system respectively develop custom programs capable of realizing system docking by respectively customizing the adaptation programs, so that data transmission between the external system and the SaaS system is realized, and the effect of data transmission of 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 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 the configuration library according to the configuration information to be matched and the target configuration information 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 docking of the different systems; and switching on the system to be docked and the target system according to the target configuration file. According to the preset configuration template, a plurality of interface information among different systems is stored, and interface configuration information in a configuration file is updated, so that the butt joint among different interfaces is realized, the butt joint efficiency among the systems is improved, and the effect of improving the data transmission efficiency among the systems can be further achieved.
In the embodiment of the present application, the execution body may be an intersystem data transmission device in an intersystem data transmission system, and in practical application, the intersystem data transmission device may be electronic devices such as a terminal device and a server, which are not limited herein.
The method of inter-system 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 transmitting data between systems according to an embodiment of the present application, where the method for transmitting data between systems shown in fig. 2 includes:
step 210: and acquiring configuration information to be matched of an interface of the system to be docked and target configuration information of an interface of the target system.
Wherein the system to be docked includes one or more interfaces and the target system includes one or more interfaces. Interface parameters of the system to be docked and the target system are different, and formats of data stored in the systems are different. The configuration information to be matched comprises at least one of an interface type, an interface address, an interface parameter and whether authentication is required 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 a data format of source data stored in a system to be docked and data stored in a target system; and analyzing the source data into target data with a data format according to a preset analysis template by utilizing a data analysis script, wherein the source data format and the data format of the source data stored by the system to be docked are different.
In the process, the data stored in the system to be docked is analyzed, the format of the stored data is changed into the format of the data stored in the target system, the data in different formats is realized, and the data can be transmitted between the systems.
The source data may be data stored in the system to be docked, or may be system data before data analysis. The parsing 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, 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 includes: acquiring one or more configuration information to be matched corresponding to one or more systems to be docked from the systems to be docked through the one or more systems to be docked; and acquiring one or more pieces of target configuration information corresponding to the 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 the interface parameters of different interfaces can be acquired, and the configuration of the interfaces between systems is realized.
In some embodiments of the present application, after acquiring the data formats of the source data and the target system storage data stored by the system to be docked, the method shown in fig. 2 further includes: updating the source data into the memory; when the task of data transmission between systems is carried out again, the source data is acquired through the call of the memory interface.
In the process, when the source data is updated to the memory, the memory can be directly accessed when the data transmission task is carried out again, the retrieval of the system data to be docked is not required, the time is saved, and the data transmission efficiency is improved.
The parameters of the memory interface include at least one of interface type, interface address, interface parameters and whether authentication is needed.
Step 220: and updating the source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information and a preset configuration template to obtain the target configuration files.
The target configuration files comprise one or more configuration files, and are used for storing configuration information of interfaces of different systems and controlling docking of the different systems.
In some embodiments of the present application, the configuration template includes: at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
In the embodiment of the application, the configuration template can comprise information of one or more interfaces, and data transmission among different systems can be realized through the configuration of the template.
In the process, the application updates the source configuration file stored in the configuration library according to the configuration template to be matched and the target configuration information to obtain the target configuration file, and comprises the following steps: storing at least one of interface type, interface address, interface parameter and whether authentication is needed or not, which are respectively 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, and the updating of the content in the configuration file can be realized in an analytic mode, so that the interface butt joint and the data transmission between different systems can be realized by calling the configuration file.
Step 230: and switching on 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 entry; and calling an interface inlet through the system to be docked, the trigger or the interface scheduling task, and connecting the system to be docked and the target system.
In the process, the interface butt joint and data transmission between different systems can be completed by directly calling the configured configuration file from the configuration library.
The interface scheduling task may be a task of system docking initiated by a user, or may be a system docking request initiated by other systems to the target system.
In the process shown in fig. 2, 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 are obtained, 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 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 docking of the different systems; and switching on the system to be docked and the target system according to the target configuration file. According to the preset configuration template, a plurality of interface information among different systems is stored, and interface configuration information in a configuration file is updated, so that the butt joint among different interfaces is realized, the butt joint efficiency among the systems is improved, and the effect of improving the data transmission efficiency among the systems can be further achieved.
The method of inter-system 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 inter-system data transmission according to an embodiment of the present application, where the system for inter-system 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 process, a target system configuration acquisition process and an interface configuration flow;
the data analysis module comprises a data analysis flow;
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, tasks are scheduled to be executed through the interfaces, and update of configuration files among the different systems is achieved.
The data analysis flow comprises analysis configuration items, analysis templates, analysis scripts and result analysis.
Specifically, configuration items of data among different systems are obtained through a configuration library, and the data among different systems is transmitted through an analysis template and an analysis script.
Through the configuration, authentication and call connection of the Restful interface and the WebService interface can be realized, and a return result executed by the interface is returned according to a defined specification. The data analysis module can analyze, clean and convert the source data format to the target data format through dynamic script execution according to the rule of the template. All the configuration items are stored in the DB, and the configuration data are stored in the corresponding configuration library through the interface. In particular, the specific functions of the system described in fig. 3 can be referred to the method and steps shown in fig. 2, and will not be repeated here.
The system for data transmission between systems is described above by means of fig. 3, and the means for data transmission between systems are described below in connection with fig. 4-5.
Referring to fig. 4, a schematic block diagram of an apparatus 400 for intersystem data transmission according to an embodiment of the present application is provided, where the apparatus 400 may be a module, a program segment, or a code on an electronic device. The apparatus 400 corresponds to the above-described embodiment of the method of fig. 2, and is capable of performing the steps involved in the embodiment of the method of fig. 2, and specific functions of the apparatus 400 may be referred to as the following description, and detailed descriptions thereof are omitted herein as appropriate to avoid redundancy.
Optionally, the apparatus 400 includes:
the system comprises an acquisition module, a control module and a control 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 source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information 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 docking of the different systems;
and the docking module is used for switching on the system to be docked and the target system according to the target configuration file.
Optionally, the configuration template includes:
at least one of an interface type, an interface address, an interface parameter, and whether authentication is required.
Optionally, the apparatus further includes:
the analysis module is used for acquiring the data format of the source data stored in the system to be docked and the data stored in the target system before acquiring 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 with a data format according to a preset analysis template by utilizing a data analysis script, wherein the source data format and the data format of the source data stored by the system to be docked are different.
Optionally, the apparatus further includes:
the storage module is used for updating the source data into the memory after the acquisition module acquires the data format of the source data stored by the system to be docked and the data stored by the target system; when the task of data transmission between systems is carried out again, the source data is acquired through the call 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 the system to be docked, the trigger or the interface scheduling task, and connecting the system to be docked and the target system.
Optionally, the acquiring module is specifically configured to:
acquiring one or more configuration information to be matched corresponding to one or more systems to be docked from the systems to be docked through the one or more systems to be docked; and acquiring one or more pieces of target configuration information corresponding to the one or more target systems from the target systems through the one or more target systems.
Optionally, the updating module is specifically configured to:
storing at least one of interface type, interface address, interface parameter and whether authentication is needed or not, which are respectively 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 according to an 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 embodiment of the method of fig. 2, and can perform the steps involved in the embodiment of the method of fig. 2, and specific functions of the apparatus may be found in the following description.
In particular, the memory 510 is used to store computer readable instructions.
Processor 520, for processing the memory-stored readable instructions, is capable of performing the various steps in the method of fig. 2.
A communication interface 530 for communicating signaling or data with other node devices. For example: for communication with a server or terminal, or with other device nodes, although embodiments of the application are not limited in this regard.
A communication bus 540 for implementing direct connection communication of the above components.
The communication interface 530 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The memory 510 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. Memory 510 may also optionally be at least one storage device located remotely from the aforementioned processor. The memory 510 has stored therein computer readable instructions which, when executed by the processor 520, perform the method process described above in fig. 2. Processor 520 may be used on apparatus 400 and to perform functions in the present application. By way of example, the processor 520 described above may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, and the embodiments of the application are not limited in this regard.
The embodiment of the application also provides a storage medium, and the computer program, when executed by a processor, performs a method process performed by an electronic device in the embodiment of the method shown in fig. 1.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding procedure in the foregoing method for the specific working procedure of the apparatus described above, and this will not be repeated here.
In summary, 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 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 docking 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 several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that 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 a single part, or each module may exist alone, or two or more modules may be integrated to form a single 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 this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform 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, random Access Memory), a magnetic disk, or an optical disk, or 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 variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within 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 relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A method of 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 the configuration library according to the configuration information to be matched and the target configuration information 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 docking of the different systems;
according to the target configuration file, the system to be docked and the target system are connected;
the method is executed by a system for data transmission among systems, the system for data transmission among systems comprises an interface configuration module and a data analysis module, the interface configuration module comprises an acquisition source interface configuration process, an acquisition target system configuration process and an interface configuration process, the data analysis module comprises a data analysis process, the interface configuration process comprises analysis configuration items, interface authentication, interface scheduling execution and result packaging, and the data analysis process comprises analysis configuration items, an acquisition analysis template, an acquisition analysis script and result analysis.
2. The method of claim 1, wherein the configuration template comprises:
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 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 a data format 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 with the data format according to a preset analysis template by utilizing a data analysis script, wherein the source data format of the source data stored by the system to be docked is different from the data format.
4. A method according to claim 3, wherein after said obtaining the data format of the source data stored by the system to be docked and the target system stored data, the method further comprises:
updating the source data into a memory;
and when the inter-system data transmission task is performed again, the source data is acquired through the call of the memory interface.
5. The method according to claim 1 or 2, wherein said switching on the system to be docked and the target system according to the target profile comprises:
saving the target configuration file to a configuration library and generating a corresponding interface entry;
and calling the interface inlet through the system to be docked, a trigger or an interface scheduling task, and connecting the system to be docked and the target system.
6. The method according to claim 1 or 2, wherein the obtaining configuration information to be matched of an interface of the system to be docked and target configuration information of an interface of the target system includes:
acquiring one or more pieces of configuration information to be matched corresponding to one or more systems to be docked from the systems to be docked through the one or more systems to be docked;
and acquiring one or more pieces of target configuration information corresponding to one or more target systems from the target systems through the one or more target systems.
7. The method according to claim 1 or 2, wherein updating the source configuration file stored in the configuration library according to the configuration template 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, which are respectively 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 control module and a control 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 source configuration files stored in the configuration library according to the configuration information to be matched and the target configuration information 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 docking of the different systems;
the docking module is used for switching on the system to be docked and the target system according to the target configuration file;
the apparatus further comprises: the interface configuration module comprises an acquisition source interface configuration, an acquisition target system configuration and an interface configuration flow, the data analysis module comprises a data analysis flow, the interface configuration flow comprises analysis configuration items, interface authentication, interface scheduling execution and result packaging, and the data analysis flow comprises analysis configuration items, an acquisition analysis template, an acquisition analysis script and result analysis.
9. An electronic device, comprising:
a memory and a processor, the memory storing computer readable instructions that, when executed by the processor, perform the steps in the method of any of claims 1-7.
10. A computer storage medium, comprising:
computer program which, when run on a computer, causes the computer to perform the method according to any of claims 1-7.
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 CN115378996A (en) | 2022-11-22 |
CN115378996B true 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 (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10644937B2 (en) * | 2016-09-13 | 2020-05-05 | Oracle International Corporation | Techniques for managing SCIM-compliant systems |
-
2022
- 2022-08-25 CN CN202211024819.2A patent/CN115378996B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
---|---|
CN115378996A (en) | 2022-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200192646A1 (en) | Compiler and method for compiling business rules for a serverless runtime environment | |
US11538046B2 (en) | Page data acquisition method, apparatus, server, electronic device and computer readable medium | |
US9767008B2 (en) | Automatic test case generation | |
US8468391B2 (en) | Utilizing log event ontology to deliver user role specific solutions for problem determination | |
WO2018126964A1 (en) | Task execution method and apparatus and server | |
US11086763B2 (en) | Asynchronous consumer-driven contract testing in micro service architecture | |
US20100162225A1 (en) | Cross-product refactoring apparatus and method | |
CN112162915B (en) | Test data generation method, device, equipment and storage medium | |
CN111045683A (en) | Applet code compiling method, device, equipment and medium | |
US20060017947A1 (en) | Method and system for an XML-driven document conversion service | |
CN115329170A (en) | Webpage crawling method, device, equipment and storage medium | |
CN113297081B (en) | Execution method and device of continuous integrated pipeline | |
CN114489950A (en) | Component adapting method and device, electronic equipment and storage medium | |
CN113094026B (en) | Code processing method and device | |
CN110866022A (en) | Data analysis method, system and device based on log file | |
CN114443905A (en) | Interface document updating method and device, electronic equipment and readable storage medium | |
CN115378996B (en) | Method, device, equipment and storage medium for data transmission between systems | |
CN114461270A (en) | Project processing method and device | |
CN111143310A (en) | Log recording method and device and readable storage medium | |
CN112685016B (en) | Block chain application development method, device and equipment | |
US20170031884A1 (en) | Automated dependency management based on page components | |
CN114385128A (en) | Data processing method, device, apparatus, storage medium and program product | |
CN111026466A (en) | File processing method and device, computer readable storage medium and electronic equipment | |
US20190196945A1 (en) | Entity performance and usability analysis framework | |
US20230367786A1 (en) | Unified cloud storage data processing framework for multi-source systems |
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 |