Data resending method, device, equipment and storage medium

By accessing heterogeneous databases during data docking, filtering target outbound interfaces, transmitting data using isolated gateways, and applying data reissue strategy in the event of failure, the problem of high data docking error rate in the existing technology is solved, and data is realized Transmission integrity and accuracy.

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

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, the error rate during the data docking process is high, and the integrity of the data cannot be guaranteed, resulting in increasing the workload of the version process and extending the online time.

Method used

By responding to data docking requests, accessing heterogeneous databases, obtaining target data, and filtering target outgoing interfaces based on business type and data type. Use a preset isolation gateway to transmit data and receive the transmission results. If the sending fails, the corresponding data reissue policy is obtained and the data is resent according to the policy.

Benefits of technology

It realizes the timely detection of the transmission results of data docking, and when the data docking fails, data reissue is performed through the data reissue strategy to ensure the integrity and accuracy of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116015561B_ABST
    Figure CN116015561B_ABST
Patent Text Reader

Abstract

The present application provides a data resending method, device, equipment and storage medium; the method in the present application includes: responding to a data docking request, accessing a heterogeneous database, and obtaining the first heterogeneous data pointed to by the data docking request; reading the business type and data type of the first heterogeneous data, and filtering the target outbound interface according to the business type and the data type; transmitting the first heterogeneous data to the target business terminal associated with the data docking request according to the target outbound interface and the preset isolation gateway, and receiving the sending result fed back by the target business terminal; if the sending result is a sending failure, obtaining the second heterogeneous data corresponding to the sending result, and the data resending strategy corresponding to the second heterogeneous data, and resending the second heterogeneous data according to the data resending strategy. The technical solution of the present application can ensure the integrity and accuracy of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data resending method, device, equipment and storage medium. Background Art

[0002] At present, existing financial, banking and other service companies generally need to connect data with multiple brand manufacturers during operation. The existing data connection method is customized according to the requirements of brand manufacturers, and the table structure is designed according to the outbound fields to store data and outbound data, and whether the data is sent successfully is not detected. The existing data connection method will increase the data error rate and cannot guarantee the integrity of the data, resulting in an increase in the workload of the version process and a prolonged online time to quickly connect to the online scenario application requirements. Summary of the invention

[0003] The embodiments of the present application provide a data resending method, device, equipment and storage medium, aiming to solve the technical problem of high error rate in the data docking process in the prior art.

[0004] On the one hand, an embodiment of the present application provides a data resending method, the data resending method comprising the following steps:

[0005] In response to the data connection request, access the heterogeneous database to obtain the first heterogeneous data pointed to by the data connection request;

[0006] Reading the service type and data type of the first heterogeneous data, and screening the target outgoing interface according to the service type and the data type;

[0007] Transmitting the first heterogeneous data to the target service terminal associated with the data connection request according to the target outbound interface and the preset isolation gateway, and receiving the sending result fed back by the target service terminal;

[0008] If the sending result is a sending failure, the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data are obtained, and the second heterogeneous data are retransmitted according to the data retransmission strategy.

[0009] In a possible implementation of the present application, transmitting the first heterogeneous data to the target service terminal associated with the data connection request according to the target outbound interface and the preset isolation gateway, and receiving the sending result fed back by the target service terminal, includes:

[0010] Obtaining a terminal identifier of a target service terminal, and driving a preset isolation gateway to establish a communication connection with the target service terminal according to the terminal identifier;

[0011] Transmitting the first heterogeneous data to the target outgoing interface, and sending the first heterogeneous data to the isolation gateway through the target outgoing interface;

[0012] The isolation gateway is driven to transmit the first heterogeneous data to the target service terminal pointed to by the data connection request, and a sending result fed back by the target service terminal is received.

[0013] In a possible implementation of the present application, if the sending result is a sending failure, obtaining the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data, and retransmitting the second heterogeneous data according to the data retransmission strategy, including:

[0014] If the sending result is a sending failure, obtaining second heterogeneous data corresponding to the sending result, and obtaining a data type of the second heterogeneous data and a device to be resent corresponding to the second heterogeneous data;

[0015] Accessing a reissue policy database to obtain a data reissue policy corresponding to the data type and the device to be reissued;

[0016] The number of retry retransmissions and the retry retransmission time in the data retransmission strategy are obtained, and the second heterogeneous data is retransmitted to the target service terminal according to the number of retry retransmissions and the retry retransmission time.

[0017] In a possible implementation of the present application, before accessing the reissue policy database to obtain the data reissue policy corresponding to the data type and the device to be reissued, the method further includes:

[0018] Accessing the heterogeneous database to obtain heterogeneous data stored in the heterogeneous database;

[0019] Acquire the service type and data type of the heterogeneous data, and configure the number of retry outgoing transmissions and the retry outgoing transmission time of the heterogeneous data according to the service type, the data type and a preset retransmission rule;

[0020] Inputting the number of retry outgoing transmissions and the retry outgoing transmission time into a preset policy template to generate a data retransmission policy for the heterogeneous data;

[0021] A data reissue strategy for each of the heterogeneous data is obtained, and each of the data reissue strategies is stored in the reissue strategy database.

[0022] In a possible implementation of the present application, before responding to the data connection request, accessing the heterogeneous database, and acquiring the first heterogeneous data pointed to by the data connection request, the method further includes:

[0023] Acquire the data type of the heterogeneous data to be collected, configure a preset script template file according to the data type, and generate a heterogeneous data script;

[0024] The heterogeneous data script is called to connect with a preset big data platform, the heterogeneous data of the big data platform is collected, and the heterogeneous data is stored in a preset heterogeneous database.

[0025] In a possible implementation of the present application, before responding to the data connection request, accessing the heterogeneous database, and acquiring the first heterogeneous data pointed to by the data connection request, the method further includes:

[0026] Acquire the data type of the heterogeneous data to be collected, configure a preset script template file according to the data type, and generate a heterogeneous data script;

[0027] The heterogeneous data script is called to connect with a preset big data platform, the heterogeneous data of the big data platform is collected, and the heterogeneous data is stored in a preset heterogeneous database.

[0028] In a possible implementation of the present application, calling the heterogeneous data script to connect with a preset big data platform, collecting heterogeneous data of the big data platform, and storing the heterogeneous data in a preset heterogeneous database includes:

[0029] Accessing the heterogeneous data script to obtain the heterogeneous data text file in the heterogeneous data script;

[0030] Performing text recognition on the heterogeneous data text file to obtain heterogeneous data corresponding to the heterogeneous data;

[0031] The heterogeneous data are stored in a preset heterogeneous database according to the data types of the heterogeneous data.

[0032] On the other hand, the present application provides a data re-issuing device, the data re-issuing device comprising:

[0033] A data acquisition module is configured to respond to a data connection request, access a heterogeneous database, and acquire first heterogeneous data pointed to by the data connection request;

[0034] An interface screening module, configured to read the service type and data type of the first heterogeneous data, and screen the target outgoing interface according to the service type and the data type;

[0035] a data transmission module, configured to transmit the first heterogeneous data to the target service terminal associated with the data connection request according to the target outgoing interface and a preset isolation gateway, and receive a sending result fed back by the target service terminal;

[0036] The data retransmission module is configured to obtain the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data if the sending result is a sending failure, and retransmit the second heterogeneous data according to the data retransmission strategy.

[0037] On the other hand, the present application further provides a data re-issuing device, the data re-issuing device comprising:

[0038] one or more processors;

[0039] Memory; and

[0040] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps of the data resending method.

[0041] On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the data resending method.

[0042] In the present application, by responding to the data connection request, accessing the heterogeneous database, and obtaining the first heterogeneous data pointed to by the data connection request;

[0043] In this application, the business type and data type of the first heterogeneous data are read, and the target outbound interface is screened according to the business type and the data type; the first heterogeneous data is transmitted to the target business terminal associated with the data docking request according to the target outbound interface and the preset isolation gateway, and the sending result fed back by the target business terminal is received; if the sending result is a sending failure, the second heterogeneous data corresponding to the sending result and the data resending strategy corresponding to the second heterogeneous data are obtained, and the second heterogeneous data is resent according to the data resending strategy. The sending result of data docking is detected in time, and when data docking fails, the data resending strategy of the heterogeneous data that failed to dock is obtained, and the data resending is performed according to the data resending strategy to ensure the integrity and accuracy of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 A schematic diagram of a scenario of a data resending method according to an embodiment of the present application;

[0046] Figure 2 A flowchart of an embodiment of a method for reissuing data in an embodiment of the present application;

[0047] Figure 3 A flow chart of an embodiment of performing data resending according to a data resending strategy in a data resending method provided in an embodiment of the present application;

[0048] Figure 4 A schematic diagram of a flow chart of an embodiment of collecting heterogeneous data in a data resending method provided in an embodiment of the present application;

[0049] Figure 5 A schematic diagram of the structure of an embodiment of a data re-issuing device provided in an embodiment of the present application;

[0050] Figure 6 This is a schematic diagram of the structure of an embodiment of a data resending device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0052] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0053] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0054] At present, existing financial, banking and other service companies generally need to connect data with multiple brand manufacturers during operation. The existing data connection method is customized according to the requirements of brand manufacturers, and the table structure is designed according to the outbound fields to store data and outbound data, and whether the data is sent successfully is not detected. The existing data connection method will increase the data error rate and cannot guarantee the integrity of the data, resulting in an increase in the workload of the version process and a prolonged online time to quickly connect to the online scenario application requirements.

[0055] Based on this, the present application proposes a data resending method, device, equipment and computer-readable storage medium to solve the technical problem of high error rate in the data docking process in the prior art.

[0056] The data resending method in the embodiment of the present invention is applied to a data resending device, and the data resending device is arranged in the data resending device. The data resending device is provided with one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the data resending method; wherein the data resending device can be an intelligent terminal, such as a mobile phone, a tablet computer, a network device, and a smart computer; optionally, the data resending device can also be a server, or a service cluster composed of multiple servers.

[0057] like Figure 1 As shown, Figure 1 The data resending scenario of the data resending method of the embodiment of the present application includes a data resending device 100 (a data resending device 100 is integrated with a data resending apparatus) and a target service terminal 200. The data resending device 100 runs a computer-readable storage medium corresponding to the data resending method to execute the steps of the data resending method. The target service terminal 200 is a service terminal for data connection with the data resending device 100.

[0058] Understandably, Figure 1 The data resending device in the data resending method scenario shown, or the devices included in the data resending device, does not constitute a limitation on the embodiments of the present invention, that is, the number of devices and types of devices of the data resending device included in the data resending method scenario, or the number of devices and types of devices included in each device, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected in the embodiments of the present invention.

[0059] The data re-issuing device 100 in the embodiment of the present invention is mainly used to: respond to a data connection request, access a heterogeneous database, and obtain the first heterogeneous data pointed to by the data connection request;

[0060] Reading the service type and data type of the first heterogeneous data, and screening the target outgoing interface according to the service type and the data type;

[0061] Transmitting the first heterogeneous data to the target service terminal associated with the data connection request according to the target outbound interface and the preset isolation gateway, and receiving the sending result fed back by the target service terminal;

[0062] If the sending result is a sending failure, the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data are obtained, and the second heterogeneous data are retransmitted according to the data retransmission strategy.

[0063] The data retransmission device 100 in the embodiment of the present invention can be an independent data retransmission device, such as a smart terminal such as a mobile phone, a tablet computer, a network device, a server, and a smart computer, or it can be a data retransmission network or a data retransmission cluster composed of multiple data retransmission devices.

[0064] The embodiments of the present application provide a data resending method, apparatus, device, and computer-readable storage medium, which are described in detail below.

[0065] It can be understood by those skilled in the art that Figure 1 The application environment shown in is only one of the application scenarios related to the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer data retransmission devices, or data retransmission network connection relationships shown, such as Figure 1 Only one data resending device is shown. It can be understood that the scenario of the data resending method can also include one or more data resending devices, which is not specifically limited here. The data resending device 100 can also include a memory for storing heterogeneous data and other data.

[0066] It should be noted that Figure 1The scenario diagram of the data resending method shown is only an example. The scenario of the data resending method described in the embodiment of the present invention is to more clearly illustrate the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.

[0067] Based on the scenario of the above data resending method, various embodiments of the data resending method disclosed in the present invention are proposed.

[0068] like Figure 2 As shown, Figure 2 This is a flow chart of an embodiment of a data resending method in an embodiment of the present application. The data resending method includes the following steps 201 to 204:

[0069] 201. Respond to a data connection request, access a heterogeneous business database, and obtain target heterogeneous data pointed to by the data connection request;

[0070] The data resending method in this embodiment is applied to a data resending device, and the type and quantity of the data resending device are not specifically limited, that is, the data resending device can be one or more intelligent terminals or servers. In a specific embodiment, the data resending device is a smart computer.

[0071] Specifically, the data retransmission device is configured to collect heterogeneous data from various business systems and transmit the heterogeneous data to each target business terminal. When transmission fails, data retransmission is performed according to the data retransmission strategy corresponding to the heterogeneous data, thereby ensuring the integrity and accuracy of data transmission.

[0072] Specifically, during operation, the data reissue device receives a data connection request, wherein the data connection request is an operation instruction for driving the data reissue device to send heterogeneous data to a specific target business terminal. The triggering method of the data connection request is not specifically limited here, wherein the data connection request can be actively triggered by the user, for example, the user is a data connection personnel of a financial enterprise or a banking enterprise, and by clicking the data connection button of the data reissue device, actively triggers a data connection request to one or more connected manufacturers. In addition, the data connection request can also be automatically triggered by the data reissue device, and the data reissue device also pre-sets a timed connection process to automatically trigger the data connection request within a preset time period.

[0073] Specifically, after receiving the data connection request, the data re-issuing device accesses the preset heterogeneous database to obtain the first heterogeneous data pointed to by the data connection request in the heterogeneous database. The data re-issuing device parses the data connection request to obtain the terminal identifier of the target service terminal and the service type of the heterogeneous data to be transmitted carried in the data connection request. The target service terminal is an intelligent terminal to receive the heterogeneous data transmitted by the data re-issuing device. The first heterogeneous data is the heterogeneous service data to be transmitted to the target service in this data transmission.

[0074] Specifically, after obtaining the terminal identification and service type, the data reissue device inputs the terminal identification and service type into a heterogeneous database, queries the heterogeneous database for heterogeneous data associated with the terminal identification and service type, i.e., heterogeneous data in which the target terminal identification matches the terminal identification and the service identification matches the service type, and sets the heterogeneous data associated with the terminal identification and service type as the first heterogeneous data.

[0075] 202. Read the service type and data type of the first heterogeneous data, and select the target outgoing interface according to the service type and the data type;

[0076] After acquiring the first heterogeneous data, the data retransmission device further reads the service type and data type of the first heterogeneous data, and selects a target outbound interface according to the service type and data type.

[0077] Specifically, the data retransmission device pre-sets different data outbound interfaces for different service types and data types of heterogeneous data, and different data outbound interfaces correspond to heterogeneous data of different service types and data types. After acquiring the first heterogeneous data to be transmitted, the data retransmission device parses the first heterogeneous data, acquires the service type and data type in the first heterogeneous data, and matches the service type with the preset service identifier of the data outbound interface, and matches the data type of the first heterogeneous data with the data identifier of the data outbound interface.

[0078] Optionally, if the business type of the first heterogeneous data is the same as the preset business identifier of the data outbound interface, and the data type of the first heterogeneous data is the same as the data identifier of the data outbound interface, the data retransmission device determines that the data outbound interface is the target outbound interface of the first heterogeneous data, and the data retransmission device transmits the first heterogeneous data through the target outbound interface.

[0079] Optionally, the data resending device can also match the outgoing interface according to the terminal identifier of the target service terminal and the data type of the first heterogeneous data, so as to obtain the target outgoing interface of the first heterogeneous data.

[0080] 203. Transmitting the first heterogeneous data to the target service terminal associated with the data connection request according to the target outbound interface and the preset isolation gateway, and receiving the sending result fed back by the target service terminal;

[0081] After matching the outbound docking interface of the first heterogeneous data according to the data type, service type and terminal identifier of the first heterogeneous data, the data re-issuing device docks with the preset isolation gateway according to the outbound docking interface, and transmits the first heterogeneous data to the target service terminal corresponding to the terminal identifier. The isolation gateway is a protocol converter preset by the data re-issuing device for connecting with terminals of different manufacturers, and transmitting the first heterogeneous data to the corresponding terminal according to different outbound docking interfaces.

[0082] Specifically, the data retransmission device drives the isolation gateway to establish a communication connection with the terminal corresponding to the terminal identifier according to the terminal identifier. After the isolation gateway establishes a communication connection with the terminal, the isolation gateway is driven to switch the outbound docking interface corresponding to the outbound data, and the first heterogeneous data is transmitted to the outbound docking interface, and the isolation gateway is docked based on the outbound docking interface. After the docking is completed, the isolation gateway is driven to transmit the first heterogeneous data to the target business terminal corresponding to the terminal identifier to realize data docking.

[0083] After transmitting the first heterogeneous data to the target service terminal, the data retransmission device also receives the transmission result fed back by the target service terminal within a preset time, parses the transmission result, obtains the transmission status code in the transmission result, and thus determines the data transmission status of the first heterogeneous data.

[0084] Optionally, if the data resending device receives the sending result within a preset time, and the sending status code carried in the sending result is sending success, the data resending device determines that the sending result of the first heterogeneous data is sending success.

[0085] Optionally, if the data resending device does not receive the sending result fed back by the target service terminal within a preset time, or the sending status code received by the data resending device contains a sending failure status code, the data resending device determines that the sending result of the first heterogeneous data is a sending failure.

[0086] 204. If the sending result is a sending failure, obtain the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data, and retransmit the second heterogeneous data according to the data retransmission strategy.

[0087] After detecting that there is first heterogeneous data with a transmission result of transmission failure, the data retransmission device sets the first heterogeneous data with transmission failure as second heterogeneous data, wherein the second heterogeneous data is heterogeneous data that fails to be transmitted partially or completely. After acquiring the second heterogeneous data, the data retransmission device further acquires a data retransmission strategy corresponding to the second heterogeneous data, and retransmits the second heterogeneous data according to the data retransmission strategy.

[0088] Specifically, when the data resending device is powered on and started, it pre-accesses the heterogeneous database to obtain the heterogeneous data stored in the heterogeneous database. The data resending device obtains the service and data type of each heterogeneous data, and configures the number of retry outgoing times and the retry outgoing time of the heterogeneous data according to the service type, data type and preset resending rule. Among them, the preset resending rule is a resending rule for heterogeneous data corresponding to different service types and different data types.

[0089] The data resending device enters the configured retry outgoing times and retry outgoing time into a preset policy template, thereby obtaining a data resending policy for the heterogeneous data, and associates the data resending policy with the to-be-resending device associated with the heterogeneous data and stores it in a preset resending policy database.

[0090] In this embodiment, the data retransmission device reads the business type and data type of the first heterogeneous data, and selects the target outbound interface according to the business type and data type; transmits the first heterogeneous data to the target business terminal associated with the data docking request according to the target outbound interface and the preset isolation gateway, and receives the sending result fed back by the target business terminal; if the sending result is a sending failure, the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data are obtained, and the second heterogeneous data is retransmitted according to the data retransmission strategy. The sending result of data docking is detected in a timely manner, and when data docking fails, the data retransmission strategy of the heterogeneous data that failed to dock is obtained, and data retransmission is performed according to the data retransmission strategy to ensure the integrity and accuracy of data transmission.

[0091] like Figure 3 As shown, Figure 3 A flow chart of an embodiment of performing data retransmission according to a data retransmission strategy in a data retransmission method provided in an embodiment of the present application, specifically, comprising steps 301 to 303:

[0092] 301. If the sending result is a sending failure, obtain second heterogeneous data corresponding to the sending result, and obtain a data type of the second heterogeneous data and a to-be-re-sent device corresponding to the second heterogeneous data;

[0093] 302. Access a reissue policy database to obtain a data reissue policy corresponding to the data type and the device to be reissued;

[0094] 303. Obtain a retry retransmission number and a retry retransmission time in the data retransmission strategy, and retransmit the second heterogeneous data to the target service terminal according to the retry retransmission number and the retry retransmission time.

[0095] Based on the above embodiments, in this embodiment, the data retransmission device receives the sending results returned by each target service terminal, parses the sending results, obtains the second heterogeneous data whose sending result is sending failure, and retransmits the second heterogeneous data.

[0096] Specifically, after acquiring the second heterogeneous data, the data resending device acquires the data type of the second heterogeneous data and the device to be resent corresponding to the second heterogeneous data, wherein the device to be resent is the original service terminal associated with the second heterogeneous data.

[0097] Specifically, after obtaining the data type of the second heterogeneous data and the second heterogeneous data, the data reissue device accesses the reissue policy database, inputs the device to be reissued and the data type into the reissue policy database, and obtains the data reissue policy corresponding to the data type and the device to be reissued stored in the reissue policy database.

[0098] After obtaining the data retransmission strategy for the second heterogeneous data, the data retransmission device reads the number of retry retransmissions and the retry retransmission time in the data retransmission strategy, and retransmits all or part of the second heterogeneous data to the target service terminal according to the number of retry retransmissions at the retry retransmission time.

[0099] In this embodiment, if the sending result is a sending failure, the data resending device obtains the second heterogeneous data corresponding to the sending result, obtains the data type of the second heterogeneous data and the device to be resent corresponding to the second heterogeneous data; accesses the resending strategy database to obtain the data resending strategy corresponding to the data type and the device to be resent; obtains the number of retry resending times and the retry resending time in the data resending strategy, and resends the second heterogeneous data to the target service terminal according to the number of retry resending times and the retry resending time, so as to ensure the integrity and accuracy of data transmission.

[0100] like Figure 4 As shown, Figure 4 A flowchart of an embodiment of collecting heterogeneous data in the data resending method provided in the embodiment of the present application, specifically, including steps 401 to 402:

[0101] 401. Obtain the data type of the heterogeneous data to be collected, configure a preset script template file according to the data type, and generate a heterogeneous data script;

[0102] 402. Call the heterogeneous data script to connect with a preset big data platform, collect heterogeneous data from the big data platform, and store the heterogeneous data in a preset heterogeneous database.

[0103] Based on the above embodiments, in this embodiment, after being powered on, the data re-issuing device receives a data collection request and collects heterogeneous data from various service vendors.

[0104] After receiving the data connection request, the data re-issuing device calls the preset heterogeneous data script to collect the heterogeneous data to be connected with the target manufacturer. Specifically, the smart terminals of each manufacturer and the data re-issuing device are connected to the preset big data platform for data connection, and the smart terminals corresponding to each manufacturer transmit the heterogeneous data to be connected to the big data platform. The data re-issuing device establishes a communication connection with the big data platform and calls the preset heterogeneous data script to collect the heterogeneous data to be connected with the target manufacturer from the big data platform at a regular interval.

[0105] Specifically, after receiving the data connection request, the data resending device obtains the data type of the heterogeneous data to be collected, configures a preset script template file according to the data type, and generates a heterogeneous data script for collecting the heterogeneous data to be collected.

[0106] After completing the configuration of the heterogeneous data, the data re-issuing device calls the heterogeneous data and connects it with the preset big data platform to collect some heterogeneous data of the big data platform. Optionally, the heterogeneous data script can also set a timed connection command in the heterogeneous data script to configure the heterogeneous data script to collect data from the big data platform at a regular time. Optionally, the heterogeneous data script can be a DSP big data script.

[0107] Optionally, in a specific embodiment, the big data platform is communicatively connected with the automotive finance core system and the automotive finance channel system, the automotive finance core system and the automotive finance channel system upload heterogeneous data to the big data platform, and the data re-issuance device generates a heterogeneous data script corresponding to the heterogeneous data of the automotive finance core system and the automotive finance channel system, and collects the heterogeneous data of the automotive finance core system and the automotive finance channel system through the heterogeneous data script.

[0108] Specifically, the data re-issuing device accesses the heterogeneous data script after a preset time of data collection, obtains the heterogeneous data text file generated in the heterogeneous data script, and stores the heterogeneous data text file in a preset heterogeneous database. The heterogeneous database stores data tables corresponding to several different types of heterogeneous data.

[0109] Specifically, after obtaining the heterogeneous data text file, the data reissue device generates a parsing task queue, asynchronously performs natural language recognition on the heterogeneous data in the heterogeneous data text file, and thereby obtains the heterogeneous data carried in the heterogeneous data text file, wherein the heterogeneous data includes text fields and corresponding parameters. The heterogeneous data text has different fields depending on the docking manufacturer. Optionally, when the docking manufacturer is an automobile manufacturer, the heterogeneous data text fields include document number, contract number, parking lot type, sending date, creation date, etc.

[0110] After the data reissue device performs asynchronous text recognition on the heterogeneous data text file and determines the heterogeneous data in the heterogeneous data text file, it stores the identified heterogeneous data in a preset field in the heterogeneous database according to the data type of the heterogeneous data. Optionally, in a specific embodiment, after the data reissue device performs asynchronous text recognition on the automobile-financing heterogeneous data text file and determines that the parking lot type in the automobile-financing heterogeneous data text file is the first parking lot type, the data reissue device stores the first parking lot type in the parking lot type of the heterogeneous database corresponding to the automobile-financing heterogeneous data. The automobile-financing heterogeneous data is stored in the warehouse.

[0111] In this embodiment, the data reissue device obtains the data type of the heterogeneous data to be collected, configures a preset script template file according to the data type, generates a heterogeneous data script, calls the heterogeneous data script to connect with the preset big data platform, collects the heterogeneous data of the big data platform, and stores the heterogeneous data in a preset heterogeneous database. It realizes the configuration connection of different heterogeneous data, and can realize the connection of heterogeneous data from different manufacturers without the need for development and programming, thereby improving the efficiency of data connection, reducing the data error rate, and reducing the cost of data connection.

[0112] In order to better implement the data resending method in the embodiment of the present application, based on the data resending method, the embodiment of the present application also provides a data resending device, such as Figure 5 As shown, Figure 5 The structure diagram of the data re-issuing device provided in the embodiment of the present application is as follows. Specifically, the data re-issuing device 500 includes:

[0113] The data acquisition module 501 is configured to respond to a data connection request, access a heterogeneous database, and acquire first heterogeneous data pointed to by the data connection request;

[0114] The interface screening module 502 is configured to read the service type and data type of the first heterogeneous data, and screen the target outgoing interface according to the service type and the data type;

[0115] The data transmission module 503 is configured to transmit the first heterogeneous data to the target service terminal associated with the data connection request according to the target outgoing interface and the preset isolation gateway, and receive the sending result fed back by the target service terminal;

[0116] The data retransmission module 504 is configured to obtain the second heterogeneous data corresponding to the transmission result and the data retransmission strategy corresponding to the second heterogeneous data if the transmission result is a transmission failure, and retransmit the second heterogeneous data according to the data retransmission strategy.

[0117] In some embodiments of the present application, the data retransmission device 500 transmits the first heterogeneous data to the target service terminal associated with the data connection request according to the target outbound interface and the preset isolation gateway, and receives the sending result fed back by the target service terminal, including:

[0118] Obtaining a terminal identifier of a target service terminal, and driving a preset isolation gateway to establish a communication connection with the target service terminal according to the terminal identifier;

[0119] Transmitting the first heterogeneous data to the target outgoing interface, and sending the first heterogeneous data to the isolation gateway through the target outgoing interface;

[0120] The isolation gateway is driven to transmit the first heterogeneous data to the target service terminal pointed to by the data connection request, and a sending result fed back by the target service terminal is received.

[0121] In some embodiments of the present application, if the sending result is a sending failure, the data retransmission device 500 obtains the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data, and retransmits the second heterogeneous data according to the data retransmission strategy, including:

[0122] If the sending result is a sending failure, obtaining second heterogeneous data corresponding to the sending result, and obtaining a data type of the second heterogeneous data and a device to be resent corresponding to the second heterogeneous data;

[0123] Accessing a reissue policy database to obtain a data reissue policy corresponding to the data type and the device to be reissued;

[0124] The number of retry retransmissions and the retry retransmission time in the data retransmission strategy are obtained, and the second heterogeneous data is retransmitted to the target service terminal according to the number of retry retransmissions and the retry retransmission time.

[0125] In some embodiments of the present application, before the data re-issuing device 500 accesses the re-issuing strategy database to obtain the data re-issuing strategy corresponding to the data type and the device to be re-issuing, the method further includes:

[0126] Accessing the heterogeneous database to obtain heterogeneous data stored in the heterogeneous database;

[0127] Acquire the service type and data type of the heterogeneous data, and configure the number of retry outgoing transmissions and the retry outgoing transmission time of the heterogeneous data according to the service type, the data type and a preset retransmission rule;

[0128] Inputting the number of retry outgoing transmissions and the retry outgoing transmission time into a preset policy template to generate a data retransmission policy for the heterogeneous data;

[0129] A data reissue strategy for each of the heterogeneous data is obtained, and each of the data reissue strategies is stored in the reissue strategy database.

[0130] In some embodiments of the present application, before the data re-issuing device 500 responds to the data docking request, accesses the heterogeneous database, and obtains the first heterogeneous data pointed to by the data docking request, the device further includes:

[0131] Acquire the data type of the heterogeneous data to be collected, configure a preset script template file according to the data type, and generate a heterogeneous data script;

[0132] The heterogeneous data script is called to connect with a preset big data platform, the heterogeneous data of the big data platform is collected, and the heterogeneous data is stored in a preset heterogeneous database.

[0133] In some embodiments of the present application, the data re-issuing device 500 calls the heterogeneous data script to connect with a preset big data platform, collects heterogeneous data from the big data platform, and stores the heterogeneous data in a preset heterogeneous database, including:

[0134] Accessing the heterogeneous data script to obtain the heterogeneous data text file in the heterogeneous data script;

[0135] Performing text recognition on the heterogeneous data text file to obtain heterogeneous data corresponding to the heterogeneous data;

[0136] The heterogeneous data are stored in a preset heterogeneous database according to the data types of the heterogeneous data.

[0137] In some embodiments of the present application, the data re-issuing device 500 obtains the first heterogeneous data pointed to by the data connection request, including:

[0138] In response to the data connection request, obtain the terminal identifier and service type of the target service terminal associated with the data connection request;

[0139] Acquire heterogeneous data associated with the terminal identifier and the service type in the heterogeneous database;

[0140] The heterogeneous data associated with the terminal identifier and the service type is set as first heterogeneous data.

[0141] In this embodiment, the data retransmission device reads the business type and data type of the first heterogeneous data, and selects the target outbound interface according to the business type and data type; transmits the first heterogeneous data to the target business terminal associated with the data docking request according to the target outbound interface and the preset isolation gateway, and receives the sending result fed back by the target business terminal; if the sending result is a sending failure, the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data are obtained, and the second heterogeneous data is retransmitted according to the data retransmission strategy. The sending result of data docking is detected in time, and when data docking fails, the data retransmission strategy of the heterogeneous data that failed to dock is obtained, and the data retransmission is performed according to the data retransmission strategy to ensure the integrity and accuracy of data transmission.

[0142] The embodiment of the present invention also provides a data re-sending device, such as Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of an embodiment of a data resending device provided in an embodiment of the present application.

[0143] The data re-issuing device integrates any one of the data re-issuing devices provided in the embodiments of the present invention, and the data re-issuing device includes:

[0144] one or more processors;

[0145] Memory; and

[0146] One or more applications, wherein the one or more applications are stored in the memory and are configured so that the processor executes the steps of the data resending method described in any of the above data resending method embodiments.

[0147] Specifically, the data retransmission device may include one or more processing core processors 601, one or more computer-readable storage media memories 602, a power supply 603, an input unit 604 and other components. Those skilled in the art will understand that Figure 6 The data resending device structure shown in the figure does not constitute a limitation on the data resending device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0148] The processor 601 is the control center of the data re-issuing device. It uses various interfaces and lines to connect various parts of the entire data re-issuing device. By running or executing software programs and / or modules stored in the memory 602 and calling data stored in the memory 602, it executes various functions of the data re-issuing device and processes data, thereby monitoring the data re-issuing device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

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

[0150] The data re-issuing device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 603 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0151] The data re-issuing device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0152] Although not shown, the data resending device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 601 in the data resending device will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application programs stored in the memory 602, thereby realizing various functions, as follows:

[0153] In response to the data connection request, access the heterogeneous database to obtain the first heterogeneous data pointed to by the data connection request;

[0154] Reading the service type and data type of the first heterogeneous data, and screening the target outgoing interface according to the service type and the data type;

[0155] Transmitting the first heterogeneous data to the target service terminal associated with the data connection request according to the target outbound interface and the preset isolation gateway, and receiving the sending result fed back by the target service terminal;

[0156] If the sending result is a sending failure, the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data are obtained, and the second heterogeneous data are retransmitted according to the data retransmission strategy.

[0157] To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the data resending methods provided in the embodiments of the present invention. For example, the computer program may be loaded by a processor to execute the following steps:

[0158] In response to the data connection request, access the heterogeneous database to obtain the first heterogeneous data pointed to by the data connection request;

[0159] Reading the service type and data type of the first heterogeneous data, and screening the target outgoing interface according to the service type and the data type;

[0160] Transmitting the first heterogeneous data to the target service terminal associated with the data connection request according to the target outbound interface and the preset isolation gateway, and receiving the sending result fed back by the target service terminal;

[0161] If the sending result is a sending failure, the second heterogeneous data corresponding to the sending result and the data retransmission strategy corresponding to the second heterogeneous data are obtained, and the second heterogeneous data are retransmitted according to the data retransmission strategy.

[0162] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0163] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.

[0164] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0165] The above is a detailed introduction to a data reissue method provided in an embodiment of the present application. Specific embodiments are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A data resending method, characterized in that: The data resending method comprises: In response to the data connection request, access the heterogeneous database to obtain the first heterogeneous data pointed to by the data connection request; Reading the business type and data type of the first heterogeneous data, and screening a target outgoing interface according to the business type and the data type; Transmitting the first heterogeneous data to the target service terminal associated with the data connection request according to the target outbound interface and the preset isolation gateway, and receiving the sending result fed back by the target service terminal; If the sending result is a sending failure, obtaining the second heterogeneous data corresponding to the sending result and the data resending strategy corresponding to the second heterogeneous data, and resending the second heterogeneous data according to the data resending strategy; If the sending result is a sending failure, obtaining second heterogeneous data corresponding to the sending result and a data retransmission strategy corresponding to the second heterogeneous data, and retransmitting the second heterogeneous data according to the data retransmission strategy, including: If the sending result is a sending failure, obtaining second heterogeneous data corresponding to the sending result, and obtaining a data type of the second heterogeneous data and a device to be resent corresponding to the second heterogeneous data; Accessing a reissue policy database to obtain a data reissue policy corresponding to the data type and the device to be reissued; Obtaining the number of retry retransmissions and the retry retransmission time in the data retransmission strategy, and retransmitting the second heterogeneous data to the target service terminal according to the number of retry retransmissions and the retry retransmission time; Before accessing the reissue policy database to obtain the data reissue policy corresponding to the data type and the device to be reissued, the method further includes: Accessing the heterogeneous database to obtain heterogeneous data stored in the heterogeneous database; Acquire the service type and data type of the heterogeneous data, and configure the number of retry outgoing transmissions and the retry outgoing transmission time of the heterogeneous data according to the service type, the data type and a preset retransmission rule; Inputting the number of retry outgoing transmissions and the retry outgoing transmission time into a preset policy template to generate a data retransmission policy for the heterogeneous data; A data reissue strategy for each of the heterogeneous data is obtained, and each of the data reissue strategies is stored in the reissue strategy database.

2. The data resending method according to claim 1, characterized in that: The transmitting the first heterogeneous data to the target service terminal associated with the data connection request according to the target outgoing interface and the preset isolation gateway, and receiving the sending result fed back by the target service terminal, includes: Obtaining a terminal identifier of a target service terminal, and driving a preset isolation gateway to establish a communication connection with the target service terminal according to the terminal identifier; Transmitting the first heterogeneous data to the target outgoing interface, and sending the first heterogeneous data to the isolation gateway through the target outgoing interface; The isolation gateway is driven to transmit the first heterogeneous data to the target service terminal pointed to by the data connection request, and a sending result fed back by the target service terminal is received.

3. The data resending method according to claim 1, characterized in that: Before responding to the data connection request, accessing the heterogeneous database, and acquiring the first heterogeneous data pointed to by the data connection request, the method further includes: Acquire the data type of the heterogeneous data to be collected, configure a preset script template file according to the data type, and generate a heterogeneous data script; The heterogeneous data script is called to connect with a preset big data platform, the heterogeneous data of the big data platform is collected, and the heterogeneous data is stored in a preset heterogeneous database.

4. The data resending method according to claim 3, characterized in that: The calling of the heterogeneous data script to connect with a preset big data platform, collecting heterogeneous data of the big data platform, and storing the heterogeneous data in a preset heterogeneous database includes: Accessing the heterogeneous data script to obtain the heterogeneous data text file in the heterogeneous data script; Performing text recognition on the heterogeneous data text file to obtain heterogeneous data corresponding to the heterogeneous data; The heterogeneous data are stored in a preset heterogeneous database according to the data types of the heterogeneous data.

5. The data resending method according to any one of claims 1 to 4, characterized in that: The obtaining the first heterogeneous data pointed to by the data connection request includes: In response to the data connection request, obtain the terminal identifier and service type of the target service terminal associated with the data connection request; Acquire heterogeneous data associated with the terminal identifier and the service type in the heterogeneous database; The heterogeneous data associated with the terminal identifier and the service type is set as first heterogeneous data.

6. A data re-issuing device, characterized in that: The data re-issuing device comprises: A data acquisition module is configured to respond to a data connection request, access a heterogeneous database, and acquire first heterogeneous data pointed to by the data connection request; an interface screening module, configured to read the service type and data type of the first heterogeneous data, and screen a target outgoing interface according to the service type and the data type; a data transmission module, configured to transmit the first heterogeneous data to the target service terminal associated with the data connection request according to the target outgoing interface and a preset isolation gateway, and receive a sending result fed back by the target service terminal; a data retransmission module configured to, if the transmission result is a transmission failure, obtain second heterogeneous data corresponding to the transmission result and a data retransmission strategy corresponding to the second heterogeneous data, and retransmit the second heterogeneous data according to the data retransmission strategy; If the sending result is a sending failure, obtaining second heterogeneous data corresponding to the sending result and a data retransmission strategy corresponding to the second heterogeneous data, and retransmitting the second heterogeneous data according to the data retransmission strategy, including: If the sending result is a sending failure, obtaining second heterogeneous data corresponding to the sending result, and obtaining a data type of the second heterogeneous data and a device to be resent corresponding to the second heterogeneous data; Accessing a reissue policy database to obtain a data reissue policy corresponding to the data type and the device to be reissued; Obtaining the number of retry retransmissions and the retry retransmission time in the data retransmission strategy, and retransmitting the second heterogeneous data to the target service terminal according to the number of retry retransmissions and the retry retransmission time; Before accessing the reissue policy database to obtain the data reissue policy corresponding to the data type and the device to be reissued, the method further includes: Accessing the heterogeneous database to obtain heterogeneous data stored in the heterogeneous database; Acquire the service type and data type of the heterogeneous data, and configure the number of retry outgoing transmissions and the retry outgoing transmission time of the heterogeneous data according to the service type, the data type and a preset retransmission rule; Inputting the number of retry outgoing transmissions and the retry outgoing transmission time into a preset policy template to generate a data retransmission policy for the heterogeneous data; A data reissue strategy for each of the heterogeneous data is obtained, and each of the data reissue strategies is stored in the reissue strategy database.

7. A data re-issuing device, characterized in that: The data resending device comprises: one or more processors; Memory; and One or more application programs, wherein the one or more application programs are stored in the memory and are configured to be executed by the processor to implement the steps of the data resending method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps of the data reissuing method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Isomerous data synchronous implementation method

    CN103051729A

  • Data transmission method, device, equipment and medium

    CN111026735A