CN113067866A - Batch file transmission method and device between heterogeneous systems - Google Patents

Batch file transmission method and device between heterogeneous systems Download PDF

Info

Publication number
CN113067866A
CN113067866A CN202110289045.5A CN202110289045A CN113067866A CN 113067866 A CN113067866 A CN 113067866A CN 202110289045 A CN202110289045 A CN 202110289045A CN 113067866 A CN113067866 A CN 113067866A
Authority
CN
China
Prior art keywords
interactive
application system
target
data
data file
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
CN202110289045.5A
Other languages
Chinese (zh)
Other versions
CN113067866B (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110289045.5A priority Critical patent/CN113067866B/en
Publication of CN113067866A publication Critical patent/CN113067866A/en
Application granted granted Critical
Publication of CN113067866B publication Critical patent/CN113067866B/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/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a batch file transmission method and a device between heterogeneous systems, wherein the method comprises the following steps: the user strategy definition device receives a batch interaction request instruction submitted by a host application system, determines the IP address of a server and target interaction interface information, analyzes and simplifies service data to obtain simplified structure service data, and generates a general data file; the data transmission device processes the batch interactive request instructions in the general data file according to preset processing parameters to generate an interactive data file; the strategy analysis and execution device establishes a connection path with a target platform application system based on the server IP address and the target interactive interface information, restores the simplified structure service data, obtains complete structure service data, and generates a transmission data file; and the platform application system completes the data processing task according to the transmission data file, and obtains a data processing result and returns the data processing result to the host application system. The invention effectively solves the problem of high reusability of large data transmission between heterogeneous systems.

Description

Batch file transmission method and device between heterogeneous systems
Technical Field
The invention relates to the technical field of batch file transmission among heterogeneous systems, in particular to a batch file transmission method and device among heterogeneous systems.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
In recent years, the traditional large-scale host centralized system is difficult to adapt to the increasing large-traffic demand of large commercial banks, the bank system architecture gradually changes to a distributed open platform architecture, during the transition period, a host and a plurality of platform subsystems are closely connected, and batch data processing often involves interaction of a plurality of heterogeneous subsystems.
The data processing method comprises the steps of generating data files in a host system, and realizing account inquiry and account entry processing through file transmission interaction with a target application system.
In the traditional thought, when a file is added every time a data interaction file is transmitted between a host and a platform, a link is required to be added on the host and the platform, and a new table for storing file data is required to be added on the platform. The traditional scheme has poor reusability and long development period, cannot save storage resources, has high development cost along with the increase of business volume, cannot well meet the requirement of quick iteration of a bank system, and urgently needs a high-reusability realization method.
Disclosure of Invention
The embodiment of the invention provides a batch file transmission method among heterogeneous systems, which is used for solving the problem of high reusability of large data transmission among the heterogeneous systems and comprises the following steps:
the method comprises the steps that a host application system submits batch interactive request instructions to a user strategy definition device, wherein each interactive request instruction comprises a target platform application system identifier, an interactive request type and service data;
the user strategy definition device receives the batch interaction request instruction, determines the server IP address and the target interaction interface information of a target platform application system according to the target platform application system identification, determines a target interaction interface rule according to the interaction request type, analyzes and simplifies the service data according to the target interaction interface rule to obtain simplified structure service data, and generates a processed interaction request instruction, wherein the processed interaction request instruction comprises the server IP address, the target interaction interface information, the interaction request type and the simplified structure service data of the target platform application system; combining the processed batch interactive request instructions into a general data file;
the data transmission device receives the general data file, processes the batch interaction request instructions in the general data file according to preset processing parameters, and generates an interaction data file;
the strategy analysis and execution device receives the interactive data file, establishes a connection path with the target platform application system based on the server IP address and the target interactive interface information of the target platform application system in the interactive data file, determines a target interactive interface rule based on the interactive request type in the interactive data file, restores the simplified structure service data in the interactive data file according to the target interactive interface rule, obtains complete structure service data, and generates a transmission data file, wherein the transmission data file comprises the interactive request type and the complete structure service data;
and the platform application system receives the transmission data file, completes a data processing task according to the transmission data file, and obtains a data processing result and returns the data processing result to the host application system.
The embodiment of the invention also provides a batch file transmission device between heterogeneous systems, which is used for solving the problem of high reusability of large data transmission between heterogeneous systems, and comprises the following components: the system comprises a host application system, a user strategy definition device, a data transmission device, a strategy analysis and execution device and a platform application system;
the host application system is to: submitting batch interactive request instructions to a user strategy definition device, wherein each interactive request instruction comprises a target platform application system identifier, an interactive request type and service data;
the user policy definition means is for: receiving the batch interactive request instruction, determining a server IP address and target interactive interface information of a target platform application system according to the target platform application system identification, determining a target interactive interface rule according to an interactive request type, analyzing and simplifying service data according to the target interactive interface rule to obtain simplified structure service data, and generating a processed interactive request instruction, wherein the processed interactive request instruction comprises the server IP address, the target interactive interface information, an interactive request type and the simplified structure service data of the target platform application system; combining the processed batch interactive request instructions into a general data file;
the data transfer device is used for: receiving the general data file, and processing batch interactive request instructions in the general data file according to preset processing parameters to generate an interactive data file;
the strategy analysis and execution device is used for: receiving the interactive data file, establishing a connection path with a target platform application system based on a server IP address and target interactive interface information of the target platform application system in the interactive data file, determining a target interactive interface rule based on an interactive request type in the interactive data file, restoring simplified structure service data in the interactive data file according to the target interactive interface rule, obtaining complete structure service data, and generating a transmission data file, wherein the transmission data file comprises an interactive request type and the complete structure service data;
the platform application system is to: and receiving the transmission data file, finishing a data processing task according to the transmission data file, and returning a data processing result to the host application system.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the batch file transmission method among the heterogeneous systems is realized.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the batch file transmission method between heterogeneous systems.
In the embodiment of the invention, compared with the technical scheme that in the prior art, when a file is newly added, a link is always required to be newly added on a host and a platform and file data is required to be stored in a platform newly added table, a host application system submits batch interactive request instructions to a user policy definition device, wherein each interactive request instruction comprises a target platform application system identifier, an interactive request type and service data; the user strategy definition device receives the batch interaction request instruction, determines the server IP address and the target interaction interface information of a target platform application system according to the target platform application system identification, determines a target interaction interface rule according to the interaction request type, analyzes and simplifies the service data according to the target interaction interface rule to obtain simplified structure service data, and generates a processed interaction request instruction, wherein the processed interaction request instruction comprises the server IP address, the target interaction interface information, the interaction request type and the simplified structure service data of the target platform application system; combining the processed batch interactive request instructions into a general data file; the data transmission device receives the general data file, processes the batch interaction request instructions in the general data file according to preset processing parameters, and generates an interaction data file; the strategy analysis and execution device receives the interactive data file, establishes a connection path with the target platform application system based on the server IP address and the target interactive interface information of the target platform application system in the interactive data file, determines a target interactive interface rule based on the interactive request type in the interactive data file, restores the simplified structure service data in the interactive data file according to the target interactive interface rule, obtains complete structure service data, and generates a transmission data file, wherein the transmission data file comprises the interactive request type and the complete structure service data; and the platform application system receives the transmission data file, completes a data processing task according to the transmission data file, and obtains a data processing result and returns the data processing result to the host application system. The problem of poor reusability of batch file transmission between the host and the platforms can be effectively solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a diagram illustrating a batch file transfer apparatus between heterogeneous systems according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a structure of a user policy definition device in a bulk file transfer device between heterogeneous systems according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a data transfer apparatus in a batch file transfer apparatus between heterogeneous systems according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a policy parsing and executing device in a bulk file transfer device between heterogeneous systems according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating data interaction of a bulk file transfer apparatus between heterogeneous systems according to an embodiment of the present invention;
FIG. 6 is a flowchart of an interaction scenario for querying and posting between a host and platform A according to an embodiment of the present invention;
fig. 7 is a flowchart of an interaction scenario applied to add access and platform B query and posting in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The invention provides a batch file transmission device with high reusability. By means of technical means such as a user strategy definition device, a data transmission device, a strategy analysis and execution device, general table storage, simplified file structure data storage and the like, high reusability of multi-platform application batch file interaction is achieved, development iteration efficiency can be effectively improved, a research and development period is shortened, and a disk storage space is saved. Meanwhile, the flexible configuration of the transmission file structure is supported, and the usability is greatly improved.
The technical scheme of the invention is explained in detail in the following with the accompanying drawings:
fig. 1 is a structural diagram of a bulk file transfer device between heterogeneous systems according to the present invention, and as shown in fig. 1, the bulk file transfer device between heterogeneous systems includes a host application system 1, a user policy definition device 2, a data transmission device 3, a policy analysis and execution device 4, and a platform application system 5. The host application system 1 is connected with the user strategy definition device 2; the user strategy definition device 2 is connected with the data transmission device 3; the data transmission device 3 is connected with the strategy analysis and execution device 4; the strategy analysis and execution device 4 is connected with the platform application system 5. Wherein:
the host application system 1 is configured to initiate interactive requests such as query and posting, and submit batch interactive request instructions to the user policy definition apparatus 2, where each interactive request instruction includes information such as a target system identifier (such as a name), an interactive request type, and service data.
The user strategy definition device 2 is used for packaging interactive request instructions initiated by the host application, including configuring target system server information, target interfaces, instruction structure codes and simplified instruction structure data information, and then combining all interactive request instructions into a general data file to be downloaded to the data transmission device 3 for processing.
And the data transmission device 3 is used for connecting the user strategy definition device 2 and the strategy analysis and execution device 4 in series, receiving the universal data file downloaded by the user strategy definition device 2, reading the file record and storing the file record into a universal intermediate table (data persistence), and then transmitting the interaction request instruction to the strategy analysis and execution device 4 for processing.
And the strategy analysis and execution device 4 is used for identifying the target system, identifying and analyzing the interaction request instruction, and then pushing the interaction request instruction to the platform application system 5.
And the platform application system 5 receives the interactive request instruction and completes data processing tasks (inquiry, account entry and the like).
Fig. 2 is a block diagram of the user policy definition apparatus 2, and the user policy definition apparatus 2 includes a target system definition module 21, an interactive interface definition module 22, and a file data assembling module 23. Wherein:
and the target system definition module 21 is configured to configure information of the target platform application system, including a system name, an application name, a server IP address, a port number, and the like.
The interactive interface definition module 22 is configured to configure a protocol rule code for interacting with the target system, for example, a protocol of a data processing task such as a query request and an accounting request.
The file data assembling module 23 is configured to receive a batch interaction request instruction, determine a server IP address and target interaction interface information of a target platform application system according to a target platform application system identifier, determine a target interaction interface rule according to an interaction request type, read service data (such as date, area, website, account, currency and the like) in the interaction request instruction, parse and reduce (remove field data of a default value) the service data according to the target interaction interface rule to obtain simplified structure service data, and generate a processed interaction request instruction, where the processed interaction request instruction includes the server IP address, the target interaction interface information, the interaction request type and the simplified structure service data of the target platform application system; and combining the processed batch interactive request instructions into a general data file.
Specifically, an instruction structure code is determined according to a target interactive interface rule, service data are analyzed according to the instruction structure code, a default value field and a non-default value field in a service data field are determined, the default value field is coded to be 0, the non-default value field is coded to be 1, and simplified structure service data are generated.
Specifically, the user policy definition device 2 may pre-configure the physical address information and the instruction simplified structure of the target system, the target system name downloaded by the host application system is a logical name (e.g., F-CDBS), and the actual server address and port number may be read in the device by comparison. The purpose of simplifying the instruction structure is to reduce the overhead of data transmission and data storage and achieve the purpose of improving the efficiency, and if the service data of the host computer is 50 fields, wherein 20 fields are default values, the simplified instruction structure only needs to reserve 30 fields of data which are not default values, so that the overhead of transmission and storage can be saved by 40% theoretically, and the processing efficiency can also be improved; the complete instruction structure of 50 fields is restored in the policy resolution and execution device 4. The overhead of data transmission and data storage can be reduced by simplifying the service data, and the effect of improving the data processing efficiency is achieved.
Fig. 3 is a structural diagram of the data transfer device 3, and the data transfer device 3 includes a general data file transmission module 31 and a general data storage module 32. Wherein:
the universal data file transmission module 31 is used for receiving the universal data file output by the user policy definition device 2.
A general data storage module 32, which is used for reading the general data file and storing the data in the general intermediate table; reading the interactive request instructions of the universal intermediate table one by one, processing the batch interactive request instructions in the universal data file according to preset processing parameters, generating an interactive data file, and pushing the interactive data file to the strategy analysis and execution device 4 for processing.
Specifically, the preset processing parameter is a size adjustment parameter; the general data storage module is specifically configured to: and storing the general data file into a general intermediate table, and acquiring the general data file from the general intermediate table according to the size adjustment parameter to generate an interactive data file.
For example, the size of the interactive data file can be flexibly adjusted through parameterization configuration, and the file size with proper granularity can improve the interactive processing efficiency. Assuming that the record number of the parameter configuration interactive data files is 10 ten thousand, a plurality of common data small files can be combined into one large interactive data file; an ultra-large general data file may be split into multiple interactive data files.
Fig. 4 is a block diagram of the policy analysis and execution device 4, and the policy analysis and execution device 4 includes a target system identification module 41, an interactive interface identification module 42, and a file data analysis module 43. Wherein:
and the target system identification module 41 is configured to identify information of the target platform application system (i.e., based on the server IP address of the target platform application system and the target interaction interface information in the interaction data file), and establish a connection path with the target platform system.
And the interactive interface identification module 42 is configured to identify a protocol rule code of the interactive request with the target system (i.e., determine a target interactive interface rule based on the type of the interactive request in the interactive data file), and identify an interactive request instruction structure code according to the target interactive interface rule.
And the file data analysis module 43 is configured to identify the interaction request type, extract a record to be interacted from the general data file according to the interaction request type, restore the simplified structure service data in the interaction request instruction to complete structure service data according to the interaction interface rule, and generate a transmission data file, where the transmission data file includes the interaction request type and the complete structure service data.
Specifically, the file data analysis module 43 is specifically configured to: determining an instruction structure code according to a target interactive interface rule, analyzing simplified structure service data according to the instruction structure code, and determining a default value field and a non-default value field in the simplified structure service data; and assigning the default value field as a default value to obtain the complete structure service data.
As shown in fig. 5, the process of the batch file transmission method between heterogeneous systems provided by the present invention specifically includes the following processing steps:
step S01: the host application system 1 performs data processing. Specifically, the host application system 1 is started, the service system initiates an interactive request (for example, an inquiry request or an entry request), and submits batch interactive request instructions to the user policy definition apparatus, where each interactive request instruction includes a target platform application system identifier, an interactive request type, and service data.
Step S02: the user strategy definition device 2 defines a target system, defines an interactive interface and assembles transmission data. Specifically, receiving a batch of interaction request instructions, determining a server IP address and target interaction interface information of a target platform application system according to a target platform application system identifier, determining a target interaction interface rule according to an interaction request type, analyzing and simplifying service data according to the target interaction interface rule to obtain simplified structure service data, and generating a processed interaction request instruction, wherein the processed interaction request instruction comprises the server IP address, the target interaction interface information, an interaction request type and the simplified structure service data of the target platform application system; combining the processed batch interactive request instructions into a general data file; starting to read an interactive request instruction, and identifying information such as an actual IP address, a port number and the like of a target system server through a target system name (such as a platform system A) according to pre-configured information; the method comprises the steps of identifying an instruction structure code through an interactive request type, analyzing service data according to the instruction structure code, and then performing field simplification on the service data (eliminating field data with default values) to form simplified structure service data (assuming that the service data provided by a certain query transaction is 10 fields, the corresponding instruction structure AQ1, the fields 1, 2, 3, 7 and 8 of the analyzed service data are non-default values, the fields 4, 5, 6, 9 and 10 are default values, the simplified instruction structure code is 1110001100, the N bit in the code is 1, the corresponding field N is a non-default value, and the simplified service data only needs to reserve 5 fields with the non-default values). Finally, all the interactive request instructions are combined into a general data file and sent to the data transmission device 3.
Step S03: the data transfer device 3 receives the general data file.
Step S04: the data transmission device 3 reads the general data file and stores the data in the general intermediate table; and reading the interactive request instruction of the universal intermediate table one by one to generate an interactive data file. And processing the batch interactive request instructions in the general data file according to preset processing parameters to generate an interactive data file, and finally pushing the interactive data file to the strategy analysis and execution device 4 for processing.
Step S05: the policy parsing and executing device 4 starts to read the interactive data file, identifies the interactive request type, determines a target interactive interface rule based on the interactive request type in the interactive data file, parses the interactive request command, restores the simplified structure service data in the interactive data file according to the target interactive interface rule, obtains the complete structure service data (for example, assuming that the command structure AQ1 has 10 fields, the simplified command structure is coded to 1110001100, 5 fields of the simplified service data are parsed, corresponding to the fields 1, 2, 3, 7, and 8 in the AQ1 structure, and the fields 4, 5, 6, 9, and 10 in the AQ1 structure are assigned as default values, the AQ1 is the complete service data structure), generates a transmission data file, the transmission data file includes the interactive request type and the complete structure service data, and identifies the target application system and the target interactive interface, and establishing a connection path with the target platform application system based on the server IP address and the target interactive interface information of the target platform application system in the interactive data file so as to realize interactive file transmission.
Step S06: the policy analysis and execution device 4 generates a transmission data file and pushes the transmission data file to the platform application system 5.
Step S07: the platform application system 5 receives the transmission data file, completes the data processing task, and returns the processing result information.
The following demonstrates the process of the host application system interacting with the platform application system a in the query and posting scenario with reference to fig. 6. The flow of adding the interaction scenario between the access host application system and the platform application system B in query and posting on the basis of fig. 6 is demonstrated by fig. 7.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the high-reusability batch file transmission method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above-mentioned batch file transmission method with high reusability.
In the embodiment of the invention, compared with the technical scheme that in the prior art, when a file is newly added, a link is always required to be newly added on a host and a platform and file data is required to be stored in a platform newly added table, a host application system submits batch interactive request instructions to a user policy definition device, wherein each interactive request instruction comprises a target platform application system identifier, an interactive request type and service data; the user strategy definition device receives the batch interaction request instruction, determines the server IP address and the target interaction interface information of a target platform application system according to the target platform application system identification, determines a target interaction interface rule according to the interaction request type, analyzes and simplifies the service data according to the target interaction interface rule to obtain simplified structure service data, and generates a processed interaction request instruction, wherein the processed interaction request instruction comprises the server IP address, the target interaction interface information, the interaction request type and the simplified structure service data of the target platform application system; combining the processed batch interactive request instructions into a general data file; the data transmission device receives the general data file, processes the batch interaction request instructions in the general data file according to preset processing parameters, and generates an interaction data file; the strategy analysis and execution device receives the interactive data file, establishes a connection path with the target platform application system based on the server IP address and the target interactive interface information of the target platform application system in the interactive data file, determines a target interactive interface rule based on the interactive request type in the interactive data file, restores the simplified structure service data in the interactive data file according to the target interactive interface rule, obtains complete structure service data, and generates a transmission data file, wherein the transmission data file comprises the interactive request type and the complete structure service data; and the platform application system receives the transmission data file, completes a data processing task according to the transmission data file, and obtains a data processing result and returns the data processing result to the host application system. The problem of poor reusability of batch file transmission between the host and the platforms can be effectively solved. Meanwhile, the invention reduces the storage content of the transmission information and can effectively save the storage resources of the disk by utilizing the technical means of storing the general data file, the general intermediate table and the simplified file structure data. Meanwhile, the flexible configuration of the transmission file structure is supported, and the usability is greatly improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A batch file transmission method between heterogeneous systems is characterized by comprising the following steps:
the method comprises the steps that a host application system submits batch interactive request instructions to a user strategy definition device, wherein each interactive request instruction comprises a target platform application system identifier, an interactive request type and service data;
the user strategy definition device receives the batch interaction request instruction, determines the server IP address and the target interaction interface information of a target platform application system according to the target platform application system identification, determines a target interaction interface rule according to the interaction request type, analyzes and simplifies the service data according to the target interaction interface rule to obtain simplified structure service data, and generates a processed interaction request instruction, wherein the processed interaction request instruction comprises the server IP address, the target interaction interface information, the interaction request type and the simplified structure service data of the target platform application system; combining the processed batch interactive request instructions into a general data file;
the data transmission device receives the general data file, processes the batch interaction request instructions in the general data file according to preset processing parameters, and generates an interaction data file;
the strategy analysis and execution device receives the interactive data file, establishes a connection path with the target platform application system based on the server IP address and the target interactive interface information of the target platform application system in the interactive data file, determines a target interactive interface rule based on the interactive request type in the interactive data file, restores the simplified structure service data in the interactive data file according to the target interactive interface rule, obtains complete structure service data, and generates a transmission data file, wherein the transmission data file comprises the interactive request type and the complete structure service data;
and the platform application system receives the transmission data file, completes a data processing task according to the transmission data file, and obtains a data processing result and returns the data processing result to the host application system.
2. The method for bulk file transfer between heterogeneous systems according to claim 1, further comprising:
the user strategy definition device configures information of a target platform application system and configures a protocol rule of an interactive request with the target platform application system, wherein the information of the target platform application system comprises a system name, an application name, a server IP address and a port number;
determining the server IP address and the target interaction interface information of the target platform application system according to the target platform application system identifier, wherein the steps comprise:
and according to the target platform application system identification, corresponding to a system name in the information of the target platform application system, and further corresponding to a server IP address and a port number.
3. The method for bulk file transmission between heterogeneous systems according to claim 1, wherein the user policy definition device parses and simplifies the service data according to the target interactive interface rule to obtain simplified structure service data, comprising:
determining an instruction structure code according to a target interactive interface rule, analyzing service data according to the instruction structure code, and determining a default value field and a non-default value field in a service data field;
and coding the default value field into 0 and coding the non-default value field into 1 to generate the simplified structure service data.
4. The method of claim 1, wherein the predetermined processing parameter is a resizing parameter;
the data transmission device processes the batch interactive request instructions in the general data file according to the preset processing parameters to generate an interactive data file, and the method comprises the following steps:
and storing the general data file into a general intermediate table, and acquiring the general data file from the general intermediate table according to the size adjustment parameter to generate an interactive data file.
5. The method for bulk file transmission between heterogeneous systems according to claim 1, wherein the policy parsing and executing device restores the simplified structure service data in the interactive data file according to the target interactive interface rule to obtain the complete structure service data, comprising:
determining an instruction structure code according to a target interactive interface rule, analyzing simplified structure service data according to the instruction structure code, and determining a default value field and a non-default value field in the simplified structure service data;
and assigning the default value field as a default value to obtain the complete structure service data.
6. A batch file transmission device between heterogeneous systems is characterized by comprising: the system comprises a host application system, a user strategy definition device, a data transmission device, a strategy analysis and execution device and a platform application system;
the host application system is to: submitting batch interactive request instructions to a user strategy definition device, wherein each interactive request instruction comprises a target platform application system identifier, an interactive request type and service data;
the user policy definition means is for: receiving the batch interactive request instruction, determining a server IP address and target interactive interface information of a target platform application system according to the target platform application system identification, determining a target interactive interface rule according to an interactive request type, analyzing and simplifying service data according to the target interactive interface rule to obtain simplified structure service data, and generating a processed interactive request instruction, wherein the processed interactive request instruction comprises the server IP address, the target interactive interface information, an interactive request type and the simplified structure service data of the target platform application system; combining the processed batch interactive request instructions into a general data file;
the data transfer device is used for: receiving the general data file, and processing batch interactive request instructions in the general data file according to preset processing parameters to generate an interactive data file;
the strategy analysis and execution device is used for: receiving the interactive data file, establishing a connection path with a target platform application system based on a server IP address and target interactive interface information of the target platform application system in the interactive data file, determining a target interactive interface rule based on an interactive request type in the interactive data file, restoring simplified structure service data in the interactive data file according to the target interactive interface rule, obtaining complete structure service data, and generating a transmission data file, wherein the transmission data file comprises an interactive request type and the complete structure service data;
the platform application system is to: and receiving the transmission data file, finishing a data processing task according to the transmission data file, and returning a data processing result to the host application system.
7. The apparatus for bulk file transfer between heterogeneous systems of claim 6, wherein the user policy definition means is specifically configured to:
configuring information of a target platform application system, and configuring a protocol rule of an interactive request with the target platform application system, wherein the information of the target platform application system comprises a system name, an application name, a server IP address and a port number;
and according to the target platform application system identification, corresponding to a system name in the information of the target platform application system, and further corresponding to a server IP address and a port number.
8. The apparatus for bulk file transfer between heterogeneous systems of claim 6, wherein the user policy definition means is specifically configured to:
determining an instruction structure code according to a target interactive interface rule, analyzing service data according to the instruction structure code, and determining a default value field and a non-default value field in a service data field;
and coding the default value field into 0 and coding the non-default value field into 1 to generate the simplified structure service data.
9. The apparatus for bulk file transfer between heterogeneous systems according to claim 6, wherein the predetermined processing parameter is a resizing parameter;
the data transfer device is specifically configured to:
and storing the general data file into a general intermediate table, and acquiring the general data file from the general intermediate table according to the size adjustment parameter to generate an interactive data file.
10. The apparatus for bulk file transfer between heterogeneous systems of claim 6, wherein the policy parsing and executing apparatus is specifically configured to:
determining an instruction structure code according to a target interactive interface rule, analyzing simplified structure service data according to the instruction structure code, and determining a default value field and a non-default value field in the simplified structure service data;
and assigning the default value field as a default value to obtain the complete structure service data.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for bulk file transfer between heterogeneous systems according to any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for bulk file transfer between heterogeneous systems according to any one of claims 1 to 5.
CN202110289045.5A 2021-03-18 2021-03-18 Batch file transmission method and device between heterogeneous systems Active CN113067866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110289045.5A CN113067866B (en) 2021-03-18 2021-03-18 Batch file transmission method and device between heterogeneous systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110289045.5A CN113067866B (en) 2021-03-18 2021-03-18 Batch file transmission method and device between heterogeneous systems

Publications (2)

Publication Number Publication Date
CN113067866A true CN113067866A (en) 2021-07-02
CN113067866B CN113067866B (en) 2022-07-05

Family

ID=76561220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110289045.5A Active CN113067866B (en) 2021-03-18 2021-03-18 Batch file transmission method and device between heterogeneous systems

Country Status (1)

Country Link
CN (1) CN113067866B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687878A (en) * 2021-08-23 2021-11-23 北京京东振世信息技术有限公司 Information interaction method, device, equipment and storage medium
CN114172890A (en) * 2021-11-03 2022-03-11 阿里巴巴(中国)有限公司 File second-pass processing method and device, storage medium and electronic equipment
CN114531289A (en) * 2022-02-21 2022-05-24 平安普惠企业管理有限公司 System interaction method based on artificial intelligence and related equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996854A (en) * 2006-12-22 2007-07-11 中国建设银行股份有限公司 Integrated processing system and method for the data exchange between different application systems
CN101719153A (en) * 2009-12-09 2010-06-02 中国工商银行股份有限公司 Device and method for carrying out transmission processing on massive data files
US20190347254A1 (en) * 2018-05-11 2019-11-14 Visa International Service Association System, Method, and Apparatus for Generating Analytics with Structured Query Files
CN111355791A (en) * 2020-02-25 2020-06-30 腾讯科技(深圳)有限公司 File transmission method and device, computer equipment and storage medium
CN111459640A (en) * 2020-04-03 2020-07-28 中国工商银行股份有限公司 Cross-platform batch job scheduling method and system
CN111930690A (en) * 2020-08-13 2020-11-13 中国工商银行股份有限公司 File generation method and device
CN112395177A (en) * 2020-11-17 2021-02-23 平安普惠企业管理有限公司 Interactive processing method, device and equipment of service data and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996854A (en) * 2006-12-22 2007-07-11 中国建设银行股份有限公司 Integrated processing system and method for the data exchange between different application systems
CN101719153A (en) * 2009-12-09 2010-06-02 中国工商银行股份有限公司 Device and method for carrying out transmission processing on massive data files
US20190347254A1 (en) * 2018-05-11 2019-11-14 Visa International Service Association System, Method, and Apparatus for Generating Analytics with Structured Query Files
CN111355791A (en) * 2020-02-25 2020-06-30 腾讯科技(深圳)有限公司 File transmission method and device, computer equipment and storage medium
CN111459640A (en) * 2020-04-03 2020-07-28 中国工商银行股份有限公司 Cross-platform batch job scheduling method and system
CN111930690A (en) * 2020-08-13 2020-11-13 中国工商银行股份有限公司 File generation method and device
CN112395177A (en) * 2020-11-17 2021-02-23 平安普惠企业管理有限公司 Interactive processing method, device and equipment of service data and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687878A (en) * 2021-08-23 2021-11-23 北京京东振世信息技术有限公司 Information interaction method, device, equipment and storage medium
CN113687878B (en) * 2021-08-23 2023-12-01 北京京东振世信息技术有限公司 Information interaction method, device, equipment and storage medium
CN114172890A (en) * 2021-11-03 2022-03-11 阿里巴巴(中国)有限公司 File second-pass processing method and device, storage medium and electronic equipment
CN114172890B (en) * 2021-11-03 2024-02-27 阿里巴巴(中国)有限公司 File second transmission processing method and device, storage medium and electronic equipment
CN114531289A (en) * 2022-02-21 2022-05-24 平安普惠企业管理有限公司 System interaction method based on artificial intelligence and related equipment

Also Published As

Publication number Publication date
CN113067866B (en) 2022-07-05

Similar Documents

Publication Publication Date Title
CN113067866B (en) Batch file transmission method and device between heterogeneous systems
CN109597655B (en) Method and device for configuring application program
US10523754B2 (en) Methods for integrating applications with a data storage network and devices thereof
CN112256772A (en) Data service method, device and readable storage medium
US9537940B2 (en) Exchange of information between processing servers
CN110826004A (en) Front-end request data processing method and related device
CN108365976B (en) Network service optimization method and device
CN113704295A (en) Service request processing method and system and electronic equipment
CN112491940A (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN113268507B (en) Database data reading system, method and device and electronic equipment
CN114327770A (en) Container cluster management system and method
CN113656374A (en) Method and device for processing service message with attachment
CN113010377A (en) Method and device for collecting operation logs of operation
CN113742302A (en) Service request processing method and device
CN112597119A (en) Method and device for generating processing log and storage medium
CN108076067B (en) Method and system for authorized crawler configuration simulation login
CN107220031B (en) Operation method and device of service system
CN111797337A (en) Method and device for generating export page
CN115552369A (en) Compiling method, compiling device, compiling system, storage medium and electronic device
CN112270601B (en) Information transfer method, information transfer device, electronic equipment and readable storage medium
CN117407092B (en) Device configuration changing method and device, electronic device and storage medium
CN118093730A (en) Data double-writing method, device, computer equipment and program product
CN116954611A (en) Front-end project compiling and packaging method, device and equipment
CN117785930A (en) Data query method and cloud service system
CN117033107A (en) Debugging method, device, storage medium and equipment supporting different interfaces

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