Heterogeneous Data Sending Method, Device, Storage Medium and Electronic Device

Through the outgoing strategy and interface docking method of dynamically matching heterogeneous data, the problem of poor outgoing reliability of heterogeneous data is solved and the user experience is improved.

CN116016635BActive Publication Date: 2025-07-18PING AN BANK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211614955.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2025-07-18
Estimated Expiration
2042-12-14

AI Technical Summary

Technical Problem

There is a problem of poor reliability during the outgoing process of heterogeneous data, resulting in poor user experience.

Method used

Heterogeneous data information is obtained through the isolation gateway, and dynamically match outbound policies and interface docking methods are used to ensure the reliability of data transmission.

Benefits of technology

Improve the reliability of heterogeneous data transmission and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016635B_ABST
    Figure CN116016635B_ABST
Patent Text Reader

Abstract

The present application discloses a heterogeneous data sending method, device, storage medium, and electronic device, which relate to the field of computer technology. The method is applied to an isolation gateway and includes: sending heterogeneous data information required by a data receiving device to a data transmission device; receiving data description information corresponding to heterogeneous data to be sent sent by the data transmission device, where the heterogeneous data to be sent is heterogeneous data corresponding to the heterogeneous data information; performing matching processing on the data description information according to a preset matching policy to obtain an outbound policy and an interface docking method corresponding to the heterogeneous data to be sent; docking with the data transmission device according to the interface docking method; receiving the heterogeneous data to be sent sent by the data transmission device, and sending the heterogeneous data to be sent to the data receiving device according to the outbound policy. The present application can effectively improve the sending reliability of heterogeneous data and enhance the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a method, device, storage medium, and electronic device for sending heterogeneous data. Background Art

[0002] Heterogeneous data refers to data with different structures. In various systems such as financial systems, there are usually a large amount of heterogeneous data, and the heterogeneous data in various systems usually has an external sending requirement.

[0003] Currently, for the external sending of heterogeneous data, it is usually sent to the data receiving device of the data requester in a fixed external sending manner according to the requirements of data requesters such as brand manufacturers. In the current manner, due to the different heterogeneous characteristics of heterogeneous data with different requirements, errors such as loss or incompleteness often occur in the external sending of heterogeneous data.

[0004] Therefore, there is currently a problem of poor reliability in sending heterogeneous data, resulting in a poor user experience. Summary of the Invention

[0005] Embodiments of this application provide a solution that can effectively improve the reliability of sending heterogeneous data and enhance the user experience.

[0006] To solve the above technical problems, embodiments of this application provide the following technical solutions:

[0007] According to an embodiment of this application, a method for sending heterogeneous data, which is applied to an isolation gateway, the method includes:

[0008] Sending heterogeneous data information required by a data receiving device to a data transmission device;

[0009] Receiving data description information corresponding to heterogeneous data to be sent sent by the data transmission device, where the heterogeneous data to be sent is the heterogeneous data corresponding to the heterogeneous data information;

[0010] Performing matching processing on the data description information according to a preset matching strategy to obtain an external sending strategy and an interface docking method corresponding to the heterogeneous data to be sent;

[0011] Docking with the data transmission device according to the interface docking method;

[0012] Receiving the heterogeneous data to be sent sent by the data transmission device, and sending the heterogeneous data to be sent to the data receiving device according to the external sending strategy.

[0013] In some embodiments of this application, before performing matching processing on the data description information according to a preset matching strategy to obtain an external sending strategy and an interface docking method corresponding to the heterogeneous data to be sent, the method further includes one of the following methods:

[0014] Receive a preset matching policy, which includes the matching relationship between data description information, outbound policies, and interface docking methods.

[0015] Receive an initial matching policy and negotiate with the data receiving device for the initial matching policy to obtain the preset matching policy, which includes the matching relationship between data description information, outbound policies, and interface docking methods.

[0016] In some embodiments of the present application, the data description information includes at least one of the source information and the structure information of the heterogeneous data to be sent.

[0017] Performing matching processing on the data description information according to the preset matching policy to obtain the outbound policy and interface docking method corresponding to the heterogeneous data to be sent, including one of the following methods:

[0018] Query the outbound policy and interface docking method corresponding to the source information from the preset matching policy to obtain the outbound policy and interface docking method corresponding to the heterogeneous data to be sent.

[0019] Query the outbound policy and interface docking method corresponding to the structure information from the preset matching policy to obtain the outbound policy and interface docking method corresponding to the heterogeneous data to be sent.

[0020] Query the outbound policy and interface docking method corresponding to the structure information and the source information from the preset matching policy to obtain the outbound policy and interface docking method corresponding to the heterogeneous data to be sent.

[0021] In some embodiments of the present application, the outbound policy includes a heterogeneous data extraction policy; sending the heterogeneous data to be sent to the data receiving device according to the outbound policy includes:

[0022] Extract outbound data from the heterogeneous data to be sent according to the heterogeneous data extraction policy.

[0023] Send the outbound data to the data receiving device.

[0024] In some embodiments of the present application, the outbound policy further includes a heterogeneous data processing policy; sending the outbound data to the data receiving device includes:

[0025] Preprocess the outbound data according to the heterogeneous data processing policy to obtain target data.

[0026] Send the target data to the data receiving device.

[0027] In some embodiments of the present application, extracting the outgoing data from the to-be-sent heterogeneous data according to the heterogeneous data extraction strategy includes:

[0028] Extracting the field data corresponding to the outgoing fields from the to-be-sent heterogeneous data according to the outgoing fields in the heterogeneous data extraction strategy;

[0029] Combining the extracted field data according to the heterogeneous combination method in the heterogeneous data extraction strategy to obtain the outgoing data.

[0030] In some embodiments of the present application, extracting the outgoing data from the to-be-sent heterogeneous data according to the heterogeneous data extraction strategy includes:

[0031] Extracting the feature information of the to-be-sent heterogeneous data according to the feature extraction method in the heterogeneous data extraction strategy;

[0032] Using the feature information as the outgoing data and transmitting it to the data receiving device.

[0033] According to an embodiment of the present application, a heterogeneous data sending device is applied to an isolation gateway. The device includes:

[0034] An information sending module, configured to send heterogeneous data information required by a data receiving device to a data transmission device;

[0035] An information receiving module, configured to receive data description information corresponding to the to-be-sent heterogeneous data sent by the data transmission device, where the to-be-sent heterogeneous data is heterogeneous data corresponding to the heterogeneous data information;

[0036] A matching processing module, configured to perform matching processing on the data description information according to a preset matching strategy to obtain an outgoing strategy and an interface docking method corresponding to the to-be-sent heterogeneous data;

[0037] A device docking module, configured to dock with the data transmission device according to the interface docking method;

[0038] A data sending module, configured to receive the to-be-sent heterogeneous data sent by the data transmission device and send the to-be-sent heterogeneous data to the data receiving device according to the outgoing strategy.

[0039] In some embodiments of the present application, the device further includes a strategy obtaining module, configured to implement one of the following methods:

[0040] Receiving a preset matching strategy, where the preset matching strategy includes a matching relationship between data description information and an outgoing strategy and an interface docking method;

[0041] Receive an initial matching policy, negotiate the initial matching policy with the data receiving device to obtain the preset matching policy, where the preset matching policy includes the matching relationship between data description information, an outbound policy, and an interface docking method.

[0042] In some embodiments of the present application, the data description information includes at least one of the source information and the structure information of the heterogeneous data to be sent; the matching processing module is used to implement one of the following methods:

[0043] Query the outbound policy and interface docking method corresponding to the source information from the preset matching policy to obtain the outbound policy and interface docking method corresponding to the heterogeneous data to be sent;

[0044] Query the outbound policy and interface docking method corresponding to the structure information from the preset matching policy to obtain the outbound policy and interface docking method corresponding to the heterogeneous data to be sent;

[0045] Query the outbound policy and interface docking method corresponding to the structure information and the source information from the preset matching policy to obtain the outbound policy and interface docking method corresponding to the heterogeneous data to be sent.

[0046] In some embodiments of the present application, the outbound policy includes a heterogeneous data extraction policy; the data sending module is used to:

[0047] Extract outbound data from the heterogeneous data to be sent according to the heterogeneous data extraction policy;

[0048] Send the outbound data to the data receiving device.

[0049] In some embodiments of the present application, the outbound policy further includes a heterogeneous data processing policy; the data sending module is used to:

[0050] Preprocess the outbound data according to the heterogeneous data processing policy to obtain target data;

[0051] Send the target data to the data receiving device.

[0052] In some embodiments of the present application, the data sending module is used to:

[0053] Extract the field data corresponding to the outbound field from the heterogeneous data to be sent according to the outbound field in the heterogeneous data extraction policy;

[0054] Combine the extracted field data according to the heterogeneous combination method in the heterogeneous data extraction policy to obtain the outbound data.

[0055] In some embodiments of the present application, the data sending module is configured to:

[0056] Extract the feature information of the heterogeneous data to be sent according to the feature extraction method in the heterogeneous data extraction strategy;

[0057] Use the feature information as the data to be sent out and transmit it to the data receiving device.

[0058] According to another embodiment of the present application, a computer-readable storage medium stores a computer program. When the computer program is executed by a processor of a computer, the computer is caused to execute the method described in the embodiments of the present application.

[0059] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; a processor reading the computer program stored in the memory to execute the method described in the embodiments of the present application.

[0060] According to another embodiment of the present application, a computer program product or a computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to execute the methods provided in the various alternative implementation manners described in the embodiments of the present application.

[0061] In the heterogeneous data sending solution of the embodiments of the present application, the isolation gateway may: send the heterogeneous data information required by the data receiving device to the data transmission device; receive the data description information corresponding to the heterogeneous data to be sent by the data transmission device, where the heterogeneous data to be sent is the heterogeneous data corresponding to the heterogeneous data information; perform a matching process on the data description information according to a preset matching strategy to obtain the outgoing strategy and interface docking method corresponding to the heterogeneous data to be sent; dock with the data transmission device according to the interface docking method; receive the heterogeneous data to be sent by the data transmission device, and send the heterogeneous data to be sent to the data receiving device according to the outgoing strategy.

[0062] In this way, by means of the isolation gateway, the data description information corresponding to the heterogeneous data to be sent is first obtained from the data transmission device for the heterogeneous data information, and further, according to the preset matching strategy and the data description information, the outbound strategy and the interface docking method are dynamically matched. Under the interface docking method dynamically matched, the heterogeneous data to be sent sent by the data transmission device is received, and further, the heterogeneous data to be sent is sent out according to the outbound strategy, which can avoid the problems existing in the way of sending in a fixed outbound manner, and avoid errors such as loss or incompleteness often occurring in the outbound of heterogeneous data due to different heterogeneous characteristics of heterogeneous data with different requirements, effectively improving the sending reliability of heterogeneous data and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained according to these drawings.

[0064] Figure 1 FIG. shows a schematic diagram of a system to which the embodiments of the present application can be applied.

[0065] Figure 2 FIG. shows a flowchart of a method for sending heterogeneous data according to an embodiment of the present application.

[0066] Figure 3 FIG. shows a flowchart of obtaining a matching strategy according to an embodiment of the present application.

[0067] Figure 4 FIG. shows a flowchart of matching processing according to an embodiment of the present application.

[0068] Figure 5 FIG. shows a flowchart of data sending according to an embodiment of the present application.

[0069] Figure 6 FIG. shows a flowchart of data extraction according to another embodiment of the present application.

[0070] Figure 7 FIG. shows a block diagram of a device for sending heterogeneous data according to an embodiment of the present application.

[0071] Figure 8 FIG. shows a block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0072] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.

[0073] It can be understood that in the specific implementation of the present application, related data such as heterogeneous data is involved. When the embodiments in the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use, and processing of related data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.

[0074] Figure 1 FIG. shows a schematic diagram of a system 100 to which the embodiments of the present application can be applied. As Figure 1 shown, the system 100 may include an isolation gateway 101, a data transmission device 102, and a data receiving device 103.

[0075] The data transmission device 102 and the data receiving device 103 may be servers or terminals. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal may be any device, including but not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, VR / AR devices, smart watches, and computers, etc. In one implementation, the server or terminal may be a node device in a blockchain network or a financial system.

[0076] In one implementation of this example, the isolation gateway 101 may: send the heterogeneous data information required by the data receiving device 103 to the data transmission device 102; receive the data description information corresponding to the heterogeneous data to be sent sent by the data transmission device 102, where the heterogeneous data to be sent is the heterogeneous data corresponding to the heterogeneous data information; perform matching processing on the data description information according to a preset matching strategy to obtain the outgoing strategy and interface docking method corresponding to the heterogeneous data to be sent; dock with the data transmission device 102 according to the interface docking method; receive the heterogeneous data to be sent sent by the data transmission device 102, and send the heterogeneous data to be sent to the data receiving device 103 according to the outgoing strategy.

[0077] Figure 2The flowchart of the heterogeneous data sending method according to an embodiment of the present application is schematically shown. The execution subject of the heterogeneous data sending method can be an isolation gateway as shown in Figure 1 shown.

[0078] As Figure 2 shown, the heterogeneous data sending method may include step S210 to step S250.

[0079] Step S210, sending the heterogeneous data information required by the data receiving device to the data transmission device;

[0080] Step S220, receiving the data description information corresponding to the heterogeneous data to be sent sent by the data transmission device, where the heterogeneous data to be sent is the heterogeneous data corresponding to the heterogeneous data information;

[0081] Step S230, performing matching processing on the data description information according to a preset matching policy to obtain the external sending policy and interface docking method corresponding to the heterogeneous data to be sent;

[0082] Step S240, docking with the data transmission device according to the interface docking method;

[0083] Step S250, receiving the heterogeneous data to be sent sent by the data transmission device, and sending the heterogeneous data to be sent to the data receiving device according to the external sending policy.

[0084] The data transmission device can be a device of a data owner such as an enterprise, institution or platform, etc. The data transmission device can be used to send the heterogeneous data of the data owner. The data receiving device is a device of the data requester. As a middleware set between the data transmission device and the data receiving device, the isolation gateway can be any device with data transfer function.

[0085] The data receiver can send the heterogeneous data information of the required heterogeneous data to the isolation gateway. The heterogeneous data information can be information describing the heterogeneous data. For example, the detailed information such as the name of the heterogeneous data. After receiving the heterogeneous data information, the isolation gateway sends the heterogeneous data information to the data transmission device in a predetermined docking method.

[0086] The data transmission device queries the heterogeneous data corresponding to the heterogeneous data information from the data owner, obtains the heterogeneous data to be sent, the data transmission device can parse to obtain the data description information corresponding to the heterogeneous data to be sent, and sends the data description information to the isolation gateway.

[0087] A preset matching policy is pre-configured in the isolation gateway. The preset matching policy can be the matching relationship between the preset data description information, the preset outbound policy, and the interface docking method. The isolation gateway can perform matching processing according to the preset matching policy to determine the outbound policy and the interface docking method that match the received data description information. Furthermore, the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent are obtained.

[0088] Furthermore, the isolation gateway switches from the predetermined docking method to the matching interface docking method to dock with the data transmission device, and receives the heterogeneous data to be sent from the data transmission device under the matching interface docking method of the heterogeneous data to be sent, so that the heterogeneous data to be sent can be reliably received. Furthermore, the isolation gateway sends the heterogeneous data to be sent to the data receiving device according to the outbound policy matching the heterogeneous data to be sent, and can reliably send the heterogeneous data to be sent to the data receiving device.

[0089] In this way, based on steps S210 to S250, the isolation gateway first obtains the data description information corresponding to the heterogeneous data to be sent of the heterogeneous data information from the data transmission device, and further dynamically matches the outbound policy and the interface docking method according to the preset matching policy and the data description information. Under the dynamically matched interface docking method, the heterogeneous data to be sent sent by the data transmission device is received, and the heterogeneous data to be sent is further sent according to the outbound policy, which can avoid the problems existing in the fixed outbound method, and avoid the errors such as loss or incompleteness of the outbound of heterogeneous data caused by the different heterogeneous characteristics of heterogeneous data with different requirements, effectively improving the sending reliability of heterogeneous data and enhancing the user experience.

[0090] The following description Figure 2 In the embodiments, when sending heterogeneous data, further specific optional embodiments under each step are described.

[0091] In some embodiments, referring to Figure 3 , before step S230 of performing matching processing on the data description information according to the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent, one of the following steps may also be included:

[0092] The first method: Step S310, receiving a preset matching policy, where the preset matching policy includes the matching relationship between the data description information, the outbound policy, and the interface docking method;

[0093] The second method: Step S320, receiving an initial matching policy and negotiating with the data receiving device for the initial matching policy to obtain the preset matching policy, where the preset matching policy includes the matching relationship between the data description information, the outbound policy, and the interface docking method.

[0094] In the first method, directly receive the preset matching policy sent by the relevant party (such as a data transmission device). The preset matching policy includes the matching relationship between data description information, the outbound policy, and the interface docking method. Store the received preset matching policy in the isolation gateway.

[0095] In the second method, after receiving the initial matching policy sent by the relevant party (such as a data transmission device), negotiate with the data receiving device about the initial matching policy, and modify the initial matching policy to obtain the modified initial matching policy, that is, the preset matching policy. The preset matching policy includes the matching relationship between data description information, the outbound policy, and the interface docking method. Store the finally negotiated preset matching policy in the isolation gateway.

[0096] In one embodiment, refer to Figure 4 , the data description information includes at least one of the source information and the structure information of the heterogeneous data to be sent; Step S230, perform matching processing on the data description information according to the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent, including one of the following methods:

[0097] In the first method, Step S410, query the outbound policy and the interface docking method corresponding to the source information from the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent;

[0098] In the second method, Step S420, query the outbound policy and the interface docking method corresponding to the structure information from the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent;

[0099] In the third method, Step S430, query the outbound policy and the interface docking method corresponding to the structure information and the source information from the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent.

[0100] The source information is the source information of the heterogeneous data to be sent. For example, the heterogeneous data to be sent specifically comes from the system information of multiple subsystems under the data owner. The structure information is the structure information of the data with different structures in the heterogeneous data to be sent.

[0101] In the first method, separately query the outbound policy and the interface docking method corresponding to the source information from the preset matching policy, and use the queried outbound policy and the interface docking method as the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent.

[0102] In the second method, the outbound policy and interface docking method corresponding to the structure information are separately queried from the preset matching policy, and the queried outbound policy and interface docking method are used as the outbound policy and interface docking method corresponding to the to-be-sent heterogeneous data.

[0103] In the third method, the outbound policy and interface docking method corresponding to both the structure information and the source information are jointly queried from the preset matching policy, and the queried outbound policy and interface docking method are used as the outbound policy and interface docking method corresponding to the to-be-sent heterogeneous data.

[0104] In one embodiment, referring to Figure 5 , the outbound policy includes a heterogeneous data extraction policy; in step S250, sending the to-be-sent heterogeneous data to the data receiving device according to the outbound policy includes: step S510, extracting outbound data from the to-be-sent heterogeneous data according to the heterogeneous data extraction policy; step S520, sending the outbound data to the data receiving device.

[0105] In one embodiment, in step S520, the outbound policy further includes a heterogeneous data processing policy; sending the outbound data to the data receiving device includes: preprocessing the outbound data according to the heterogeneous data processing policy to obtain target data; sending the target data to the data receiving device.

[0106] The heterogeneous data processing policy can be a preprocessing policy such as encrypting and format-converting the heterogeneous data. According to the heterogeneous data processing policy, the outbound data can be preprocessed such as encrypting and format-converting to obtain target data; sending the target data to the data receiving device.

[0107] In one embodiment, in step S520, sending the outbound data to the data receiving device includes: directly sending the outbound data to the data receiving device.

[0108] In one embodiment, referring to Figure 6 , in step S510, extracting outbound data from the to-be-sent heterogeneous data according to the heterogeneous data extraction policy includes:

[0109] Step S610, extracting the field data corresponding to the outbound field from the to-be-sent heterogeneous data according to the outbound field in the heterogeneous data extraction policy;

[0110] Step S620, combining the extracted field data according to the heterogeneous combination method in the heterogeneous data extraction policy to obtain the outbound data.

[0111] In this embodiment, the heterogeneous data extraction strategy includes outgoing fields and heterogeneous combination methods. According to the outgoing fields, the field data corresponding to the outgoing fields can be extracted from the to-be-sent heterogeneous data, and according to the heterogeneous combination methods, the field data corresponding to the outgoing fields can be combined to obtain the outgoing data. In this way, the to-be-sent heterogeneous data can be further subjected to field data extraction and combination to obtain the outgoing data, which is used for external transmission to the data receiving device, and can further avoid incorrect external transmission caused by the structural specificity of the heterogeneous data, and further improve the reliability of heterogeneous data external transmission.

[0112] In one embodiment, referring to Figure 6 , step S510, extracting the outgoing data from the to-be-sent heterogeneous data according to the heterogeneous data extraction strategy includes:

[0113] Step S630, extracting the feature information of the to-be-sent heterogeneous data according to the feature extraction method in the heterogeneous data extraction strategy;

[0114] Step S640, transmitting the feature information as the outgoing data to the data receiving device.

[0115] In this embodiment, the heterogeneous data extraction strategy includes a feature extraction method. The feature extraction method can be to respectively adopt information extraction methods corresponding to different structures of the to-be-sent heterogeneous data to extract the data information of the data with corresponding structures, so as to obtain the feature information of the to-be-sent heterogeneous data. Then, the feature information is used as the outgoing data and transmitted to the data receiving device. In this way, by extracting the feature information of the to-be-sent heterogeneous data through the feature extraction method as the outgoing data, it can also avoid incorrect external transmission caused by the structural specificity of the heterogeneous data, and further improve the reliability of heterogeneous data external transmission.

[0116] To facilitate better implementation of the heterogeneous data sending method provided by the embodiments of the present application, the embodiments of the present application also provide a heterogeneous data sending device based on the above heterogeneous data sending method. The meanings of the nouns are the same as those in the above heterogeneous data sending method, and the specific implementation details can refer to the descriptions in the method embodiments. Figure 7 FIG. shows a block diagram of a heterogeneous data sending device according to an embodiment of the present application.

[0117] As Figure 7 shown, for the heterogeneous data sending device 700, the device is applied to an isolation gateway, and the device includes:

[0118] The information sending module 710 can be used to send the heterogeneous data information required by the data receiving device to the data transmission device;

[0119] The information receiving module 720 can be used to receive the data description information corresponding to the heterogeneous data to be sent sent by the data transmission device, where the heterogeneous data to be sent is the heterogeneous data corresponding to the heterogeneous data information;

[0120] The matching processing module 730 can be used to perform matching processing on the data description information according to a preset matching policy to obtain the external sending policy and interface docking method corresponding to the heterogeneous data to be sent;

[0121] The device docking module 740 can be used to dock with the data transmission device according to the interface docking method;

[0122] The data sending module 750 can be used to receive the heterogeneous data to be sent sent by the data transmission device and send the heterogeneous data to be sent to the data receiving device according to the external sending policy.

[0123] In some embodiments of the present application, the device further includes a policy acquisition module, which is used to implement one of the following methods:

[0124] Receive a preset matching policy, where the preset matching policy includes the matching relationship between the data description information and the external sending policy and the interface docking method;

[0125] Receive an initial matching policy and negotiate with the data receiving device for the initial matching policy to obtain the preset matching policy, where the preset matching policy includes the matching relationship between the data description information and the external sending policy and the interface docking method.

[0126] In some embodiments of the present application, the data description information includes at least one of the source information and the structure information of the heterogeneous data to be sent; the matching processing module is used to implement one of the following methods:

[0127] Query the external sending policy and interface docking method corresponding to the source information from the preset matching policy to obtain the external sending policy and interface docking method corresponding to the heterogeneous data to be sent;

[0128] Query the external sending policy and interface docking method corresponding to the structure information from the preset matching policy to obtain the external sending policy and interface docking method corresponding to the heterogeneous data to be sent;

[0129] Query the external sending policy and interface docking method corresponding to the structure information and the source information from the preset matching policy to obtain the external sending policy and interface docking method corresponding to the heterogeneous data to be sent.

[0130] In some embodiments of the present application, the external sending policy includes a heterogeneous data extraction policy; the data sending module is used for:

[0131] Extract the outgoing data from the to-be-sent heterogeneous data according to the heterogeneous data extraction strategy;

[0132] Send the outgoing data to the data receiving device.

[0133] In some embodiments of the present application, the outgoing strategy further includes a heterogeneous data processing strategy; the data sending module is configured to:

[0134] Preprocess the outgoing data according to the heterogeneous data processing strategy to obtain target data;

[0135] Send the target data to the data receiving device.

[0136] In some embodiments of the present application, the data sending module is configured to:

[0137] Extract the field data corresponding to the outgoing fields from the to-be-sent heterogeneous data according to the outgoing fields in the heterogeneous data extraction strategy;

[0138] Combine the extracted field data according to the heterogeneous combination method in the heterogeneous data extraction strategy to obtain the outgoing data.

[0139] In some embodiments of the present application, the data sending module is configured to:

[0140] Extract the feature information of the to-be-sent heterogeneous data according to the feature extraction method in the heterogeneous data extraction strategy;

[0141] Use the feature information as the outgoing data and transmit it to the data receiving device.

[0142] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0143] In addition, the embodiments of the present application further provide an electronic device, which can be a terminal or a server. As Figure 8 shown, it shows a schematic structural diagram of the electronic device involved in the embodiments of the present application. Specifically:

[0144] The electronic device may include a processor 801 with one or more processing cores, a memory 802 with one or more computer-readable storage media, a power supply 803, an input unit 804, and other components. Those skilled in the art can understand,Figure 8 The structure of the electronic device shown does not constitute a limitation on the electronic device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements. Among them:

[0145] The processor 801 is the control center of the electronic device. It connects various parts of the entire computer device through various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 802, and by calling the data stored in the memory 802, it executes various functions of the computer device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interfaces, and application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 801 either.

[0146] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 mainly includes a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, image playback function, etc.); the data storage area can store the data created according to the use of the computer device. In addition, the memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. Correspondingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.

[0147] The electronic device also includes a power supply 803 that powers each component. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 803 may also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0148] The electronic device may further include an input unit 804, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0149] Although not shown, the electronic device may further include a display unit and the like, which will not be elaborated herein. Specifically, in this embodiment, the processor 801 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 802 according to the following instructions, and the processor 801 will run the computer programs stored in the memory 802 to implement various functions in the foregoing embodiments of the present application.

[0150] For example, the processor 801 may execute the following steps:

[0151] Send the heterogeneous data information required by the data receiving device to the data transmission device;

[0152] Receive the data description information corresponding to the heterogeneous data to be sent sent by the data transmission device, where the heterogeneous data to be sent is the heterogeneous data corresponding to the heterogeneous data information;

[0153] Perform matching processing on the data description information according to a preset matching strategy to obtain the outbound strategy and interface docking method corresponding to the heterogeneous data to be sent;

[0154] Dock with the data transmission device according to the interface docking method;

[0155] Receive the heterogeneous data to be sent sent by the data transmission device, and send the heterogeneous data to be sent to the data receiving device according to the outbound strategy.

[0156] In some embodiments of the present application, before performing matching processing on the data description information according to a preset matching strategy to obtain the outbound strategy and interface docking method corresponding to the heterogeneous data to be sent, the processor 801 may execute one of the following steps:

[0157] Receive a preset matching strategy, where the preset matching strategy includes the matching relationship between the data description information and the outbound strategy and interface docking method;

[0158] Receive an initial matching strategy, and negotiate with the data receiving device about the initial matching strategy to obtain the preset matching strategy, where the preset matching strategy includes the matching relationship between the data description information and the outbound strategy and interface docking method.

[0159] In some embodiments of the present application, the data description information includes at least one of the source information and structure information of the heterogeneous data to be sent;

[0160] The performing matching processing on the data description information according to a preset matching strategy to obtain the outbound strategy and interface docking method corresponding to the heterogeneous data to be sent includes one of the following methods:

[0161] Query the outbound policy and interface docking method corresponding to the source information from the preset matching policy to obtain the outbound policy and interface docking method corresponding to the to-be-sent heterogeneous data;

[0162] Query the outbound policy and interface docking method corresponding to the structure information from the preset matching policy to obtain the outbound policy and interface docking method corresponding to the to-be-sent heterogeneous data;

[0163] Query the outbound policy and interface docking method corresponding to the structure information and the source information from the preset matching policy to obtain the outbound policy and interface docking method corresponding to the to-be-sent heterogeneous data.

[0164] In some embodiments of the present application, the outbound policy includes a heterogeneous data extraction policy; the sending the to-be-sent heterogeneous data to the data receiving device according to the outbound policy includes:

[0165] Extract outbound data from the to-be-sent heterogeneous data according to the heterogeneous data extraction policy;

[0166] Send the outbound data to the data receiving device.

[0167] In some embodiments of the present application, the outbound policy further includes a heterogeneous data processing policy; the sending the outbound data to the data receiving device includes:

[0168] Preprocess the outbound data according to the heterogeneous data processing policy to obtain target data;

[0169] Send the target data to the data receiving device.

[0170] In some embodiments of the present application, the extracting the outbound data from the to-be-sent heterogeneous data according to the heterogeneous data extraction policy includes:

[0171] Extract the field data corresponding to the outbound field from the to-be-sent heterogeneous data according to the outbound field in the heterogeneous data extraction policy;

[0172] Combine the extracted field data according to the heterogeneous combination method in the heterogeneous data extraction policy to obtain the outbound data.

[0173] In some embodiments of the present application, the extracting the outbound data from the to-be-sent heterogeneous data according to the heterogeneous data extraction policy includes:

[0174] Extract the feature information of the to-be-sent heterogeneous data according to the feature extraction method in the heterogeneous data extraction policy;

[0175] Transmit the feature information as the external data to the data receiving device.

[0176] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by a computer program, or by controlling relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0177] Therefore, an embodiment of the present application further provides a storage medium, in which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any method provided by the embodiments of the present application.

[0178] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.

[0179] Since the computer program stored in the storage medium can execute the steps in any method provided by the embodiments of the present application, the beneficial effects achievable by the methods provided by the embodiments of the present application can be realized. See the previous embodiments for details and will not be elaborated here.

[0180] After considering the specification and practicing the disclosed embodiments herein, those skilled in the art will readily conceive of other embodiments of the present application. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include known common knowledge or conventional technical means in the technical field not disclosed in the present application.

[0181] It should be understood that the present application is not limited to the embodiments described above and shown in the drawings, and various modifications and changes can be made without departing from its scope.

Claims

1. A heterogeneous data sending method, characterized in that, The method is applied to an isolation gateway, and the method includes: Sending heterogeneous data information required by a data receiving device to a data transmission device; Receiving data description information corresponding to heterogeneous data to be sent sent by the data transmission device, where the heterogeneous data to be sent is the heterogeneous data corresponding to the heterogeneous data information; Performing a matching process on the data description information according to a preset matching policy to obtain an outbound policy and an interface docking method corresponding to the heterogeneous data to be sent; Docking with the data transmission device according to the interface docking method; Receiving the heterogeneous data to be sent sent by the data transmission device, and sending the heterogeneous data to be sent to the data receiving device according to the outbound policy.

2. The method according to claim 1, wherein Before performing the matching process on the data description information according to the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent, the method further includes one of the following methods: Receiving a preset matching policy, where the preset matching policy includes the matching relationship between data description information and an outbound policy and an interface docking method; Receiving an initial matching policy and negotiating with the data receiving device about the initial matching policy to obtain the preset matching policy, where the preset matching policy includes the matching relationship between data description information and an outbound policy and an interface docking method.

3. The method according to claim 1, wherein The data description information includes at least one of the source information and the structure information of the heterogeneous data to be sent; Performing the matching process on the data description information according to the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent, including one of the following methods: Querying the outbound policy and the interface docking method corresponding to the source information from the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent; Querying the outbound policy and the interface docking method corresponding to the structure information from the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent; Querying the outbound policy and the interface docking method corresponding to the structure information and the source information from the preset matching policy to obtain the outbound policy and the interface docking method corresponding to the heterogeneous data to be sent.

4. The method according to claim 1, wherein The outbound policy includes a heterogeneous data extraction policy; sending the heterogeneous data to be sent to the data receiving device according to the outbound policy includes: Extracting outbound data from the heterogeneous data to be sent according to the heterogeneous data extraction policy; Sending the outbound data to the data receiving device.

5. The method according to claim 4, wherein The outbound policy further includes a heterogeneous data processing policy; sending the outbound data to the data receiving device includes: Performing preprocessing on the outbound data according to the heterogeneous data processing policy to obtain target data; Sending the target data to the data receiving device.

6. The method according to claim 4, characterized in that, Extracting the outbound data from the heterogeneous data to be sent according to the heterogeneous data extraction policy includes: Extracting field data corresponding to the outbound field from the heterogeneous data to be sent according to the outbound field in the heterogeneous data extraction policy; The extracted field data are combined according to the heterogeneous combination method in the heterogeneous data extraction strategy to obtain the outbound data.

7. The method according to claim 4, characterized in that Extracting outbound data from the heterogeneous data to be sent according to the heterogeneous data extraction strategy includes: Extracting the feature information of the heterogeneous data to be sent according to the feature extraction method in the heterogeneous data extraction strategy; Taking the feature information as the outbound data and transmitting it to the data receiving device.

8. An apparatus for sending heterogeneous data, characterized in that The device is applied to an isolation gateway, and the device includes: An information sending module, configured to send heterogeneous data information required by a data receiving device to a data transmission device; An information receiving module, configured to receive data description information corresponding to the heterogeneous data to be sent sent by the data transmission device, where the heterogeneous data to be sent is the heterogeneous data corresponding to the heterogeneous data information; A matching processing module, configured to perform matching processing on the data description information according to a preset matching strategy to obtain an outbound strategy and an interface docking method corresponding to the heterogeneous data to be sent; A device docking module, configured to dock with the data transmission device according to the interface docking method; A data sending module, configured to receive the heterogeneous data to be sent sent by the data transmission device and send the heterogeneous data to be sent to the data receiving device according to the outbound strategy.

9. A computer-readable storage medium, characterized in that, A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that, It includes: A memory storing a computer program; A processor, reading the computer program stored in the memory to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data transmission method and device, electronic device and storage medium

    CN109194647A

  • Data docking method and device, equipment and storage medium

    CN115202717A