The invention provides a heterogeneous
system data sharing method and device based on a self-built gateway and a medium, and the method comprises the steps: receiving interface requests of a plurality of service parties through a flow gateway, and carrying out the
authentication, routing forwarding and flow control of the requests; in the self-built gateway,
field mapping,
cutting and customized
processing are carried out on request parameters according to target interface requirements, the
field mapping comprises field name conversion,
data type conversion and logical operation, the
cutting comprises screening, redundant field deletion and structure reorganization, and the customized
processing comprises condition judgment, calculation and format adjustment; and then, sending the processed request to a target service interface, receiving response data, further performing reverse
field mapping and field
cutting on the response data through the self-established gateway, and returning the response data to a service party. The method supports automatic generation of the field mapping rule, adapts to different interface requirements, and guarantees
data security and interface performance through data
encryption and decryption and flow control.