CN109688190B - Method, device, computer equipment and storage medium for transmitting financial data - Google Patents

Method, device, computer equipment and storage medium for transmitting financial data Download PDF

Info

Publication number
CN109688190B
CN109688190B CN201811239123.5A CN201811239123A CN109688190B CN 109688190 B CN109688190 B CN 109688190B CN 201811239123 A CN201811239123 A CN 201811239123A CN 109688190 B CN109688190 B CN 109688190B
Authority
CN
China
Prior art keywords
server
financial
data
time
sftp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811239123.5A
Other languages
Chinese (zh)
Other versions
CN109688190A (en
Inventor
李其刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201811239123.5A priority Critical patent/CN109688190B/en
Publication of CN109688190A publication Critical patent/CN109688190A/en
Application granted granted Critical
Publication of CN109688190B publication Critical patent/CN109688190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/72Signcrypting, i.e. digital signing and encrypting simultaneously
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/168Implementing security features at a particular protocol layer above the transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a method and a device for transmitting financial data by a server, computer equipment and a storage medium, belonging to the technical field of cloud storage, wherein the method comprises the following steps: receiving a transmission request of the financial data from a first financial server, wherein the transmission request is provided with a requested data fetching time; according to the processing load of each Secure File Transfer Protocol (SFTP) server, selecting the SFTP server with the processing load lower than a preset threshold value as a transfer node; and sending a notice of the transit node to a first financial server and a second financial server, and sending a notice of the data fetch time to a second financial server so that the first financial server sends the financial data to the transit node, and the second financial server fetches the financial data from the transit node at the data fetch time. Therefore, the problem of paralysis caused by overload due to the fact that insurance data are fixed on an SFTP server is avoided, and meanwhile emergency transactions can be processed in time.

Description

Method, device, computer equipment and storage medium for transmitting financial data
Technical Field
The invention relates to the technical field of cloud storage, in particular to a method and a device for transmitting financial data from a first financial server to a second financial server, computer equipment and a storage medium.
Background
In insurance businesses, insurance data for an applicant is often transferred between different departments, and even between different companies or entities. For example, the insurance application/compensation request data of the applicant can be sent to a third party appraisal company for appraisal, a relevant government department for examination, and the like, and finally whether compensation is carried out or not is determined according to the appraisal and examination results. Insurance data needs to be circulated between servers of different departments, even different companies or entities. Currently, Secure File Transfer Protocol (SFTP) mode is generally adopted for the transmission of insurance data between servers of a plurality of entities. That is, server a sends insurance data to server B, typically by first transferring the data to an SFTP server. The existing SFTP mechanism requires that server B must periodically take insurance data from server a to the SFTP server at an agreed time (e.g., 12 o' clock in the middle of the night each day). Because server A will produce a large amount of insurance data every day, need to finish appraising or examining and examining for server B, take away insurance data in batches every day a fixed time point, be favorable to the treatment effeciency.
In this case, the SFTP server node that functions as the transit is fixed, and the recipient must take insurance data from the SFTP server at a fixed time each day. As such, it tends to be inflexible to implement. First, the SFTP server may be disabled due to the large load of the SFTP server, and the fixed time data may cause some emergency tasks to be unable to be executed urgently, for example, the emergency insurance data that needs to be authenticated immediately may not be available for a fixed time.
Disclosure of Invention
Based on the above, in order to solve the technical problem of low efficiency of manual agent policy handling in the related art, the invention provides a method, a device, computer equipment and a storage medium for a first financial server to transmit financial data to a second financial server.
In a first aspect, there is provided a method of a first financial server transmitting financial data to a second financial server, comprising:
receiving a transmission request for the financial data from a first financial server, the transmission request having a requested data fetch time;
according to the processing load of each Secure File Transfer Protocol (SFTP) server, selecting the SFTP server with the processing load lower than a preset threshold value as a transfer node;
and sending a notice of the transit node to a first financial server and a second financial server, and sending a notice of the data fetch time to a second financial server so that the first financial server sends the financial data to the transit node, and the second financial server fetches the financial data from the transit node at the data fetch time.
In one embodiment, the load of the SFTP processor includes an occupied storage amount or an unoccupied storage amount, and the SFTP server serving as the transit node selects the occupied storage amount or the unoccupied storage amount according to the occupied storage amount or the unoccupied storage amount.
In one embodiment, the first financial server transmits the financial data to the transit node at a time point a predetermined period of time before the data fetch time,
the selecting, according to the processing load of each SFTP server, an SFTP server whose processing load is lower than a predetermined threshold as a transfer node includes:
receiving occupied storage or unoccupied storage reported by the SFTP server at regular time;
according to the occupied storage amount or unoccupied storage amount information sent by each SFTP server at regular time, the occupied storage amount or unoccupied storage amount of each SFTP server at the data fetching time or the time point of the preset time period before the data fetching time is predicted;
and selecting the SFTP server with the predicted occupied storage amount or the predicted unoccupied storage amount lower than a preset threshold value as the transfer node.
In one embodiment, the predicting, according to the information of occupied storage or unoccupied storage sent by each SFTP server at regular time, the occupied storage or unoccupied storage of each SFTP server at the data fetch time or at the time point of the predetermined time period before the data fetch time includes:
the method comprises the steps that each SFTP server periodically reports sequences of occupied storage or unoccupied storage to serve as a sample, all the SFTP servers periodically report the sequences of the occupied storage or the unoccupied storage to form a sample set, each sample in the sample set randomly selects the occupied storage or the unoccupied storage of a plurality of continuous time points from the samples, the samples are input into a machine learning model to learn, the machine learning model outputs the occupied storage or the unoccupied storage of the next time point, and the occupied storage or the unoccupied storage of the next time point in the samples are compared with the occupied storage or the unoccupied storage of the next time point in the samples, so that the machine learning model is adjusted, and the occupied storage or the unoccupied storage of the next time point in the machine learning model and the occupied storage or the unoccupied storage of the next time point in the samples at one time point after the occupied storage or the unoccupied storage of the next time point in the samples are adjusted The reserves or unoccupied capacity are the same.
In one embodiment, the selecting, as the transfer node, an SFTP server with a predicted occupied storage amount or an unoccupied storage amount lower than a predetermined threshold includes:
and when the unoccupied storage capacity of the SFTP server with the minimum occupied storage capacity or the maximum unoccupied storage capacity at the predicted data taking time or the time point of the preset time period before the data taking time cannot meet the size of the financial data, sequentially occupying the SFTP server with the second small occupied storage capacity or the SFTP server with the second large unoccupied storage capacity until the sum of the unoccupied storage capacities of the selected SFTP server meets the size of the financial data.
In one embodiment, the first financial server sends the financial data to the transfer node and sends a confirmation file at the same time, the financial data is encrypted, and the confirmation file contains digital signature information and encryption information of the financial data.
And the second financial server fetches the financial data from the transfer node at the data fetching time and simultaneously fetches the confirmation file, decrypts the financial data through the encryption information in the confirmation file, and verifies the financial data by using the digital signature information in the confirmation file.
In one embodiment, after the second financial server retrieves the financial data from the transit node at the data retrieval time, a notification of the retrieved information is sent by the transit node to the first financial server.
In a second aspect, an apparatus for a first financial server to transmit financial data to a second financial server, the apparatus comprising:
a request receiving unit for receiving a transmission request of the financial data from a first financial server, wherein the transmission request has a requested data fetching time;
a node selection unit, configured to select, according to a processing load of each SFTP server, an SFTP server whose processing load is lower than a predetermined threshold as a transfer node;
and a notification transmission unit that transmits the notification of the transit node to the first financial server and the second financial server, and transmits the notification of the data fetch time to the second financial server so that the first financial server transmits the financial data to the transit node, and the second financial server fetches the financial data from the transit node at the data fetch time.
In a third aspect, there is provided a computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the above method for the first financial server to transmit financial data to a second financial server.
In a fourth aspect, a storage medium is provided having stored thereon computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the above method for the first financial server to transmit financial data to a second financial server.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method, the device, the computer equipment and the storage medium for transmitting the financial data from the first financial server to the second financial server receive the transmission request of the financial data from the first financial server, wherein the transmission request is provided with the requested data fetching time; according to the processing load of each Secure File Transfer Protocol (SFTP) server, selecting the SFTP server with the processing load lower than a preset threshold value as a transfer node; and sending a notice of the transfer node to a first financial server and a second financial server, and sending a notice of the data fetch time to a second financial server so that the first financial server sends the financial data to the transfer node, and the second financial server fetches the financial data from the transfer node at the data fetch time.
Therefore, the problem of paralysis caused by heavy burden due to the fact that insurance data is fixed on an SFTP server in the prior art is solved, and the problems that time is inflexible and emergency affairs cannot be processed due to the fact that data is fetched at all times at a fixed moment are solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a diagram of an environment for implementation of a method for a first financial server to transmit financial data to a second financial server as provided in one embodiment.
FIG. 2 is a flow diagram illustrating a method for a first financial server to transmit financial data to a second financial server in accordance with an exemplary embodiment.
Fig. 3 is a flowchart illustrating a specific implementation of step S120 in a method for a first financial server to transmit financial data to a second financial server according to the corresponding embodiment of fig. 2.
Fig. 4 is a flow diagram illustrating another method by which a first financial server transmits financial data to a second financial server, according to a corresponding embodiment of fig. 2.
FIG. 5 is a block diagram illustrating an apparatus for a first financial server to transmit financial data to a second financial server in accordance with an exemplary embodiment.
FIG. 6 schematically illustrates an example block diagram of an electronic device for implementing the above-described method for a first financial server to transmit financial data to a second financial server.
Fig. 7 schematically illustrates a computer-readable storage medium for implementing the above-described method for a first financial server to transmit financial data to a second financial server.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Fig. 1 is a diagram of an implementation environment of a method for a first financial server to transmit financial data to a second financial server according to an embodiment, as shown in fig. 1, in the implementation environment, including a first financial server 100, a second financial server 200, an SFTP server 300, and a scheduling node 400.
The dispatch node 400 is a control center for dispatching and arranging the first financial server 100 to transmit data to the second financial server 200, and it selects a transfer node for data transmission, which may be any form of dispatch control device. The scheduling node 400 receives a transmission request of the financial data from the first financial server 100, the transmission request having a requested data fetch time; selecting an SFTP server 300 as a transfer node according to a processing load of each SFTP server 300; the notification of the transit node is transmitted to the first financial server 100 and the second financial server 200, and the notification of the data fetch time is transmitted to the second financial server 200 so that the first financial server 100 transmits the financial data to the transit node, and the second financial server 200 fetches the financial data from the transit node at the data fetch time.
It should be noted that the first financial server 100 and the second financial server 200 may be a desktop computer server, a mainframe computer server, a cloud server, a server cluster, and the like, but are not limited thereto. The SFTP server may be connected between the first financial server 100, the second financial server 200, the SFTP server 300, and the scheduling node 400 through wired, wireless, or other communication connection methods, which is not limited herein.
As shown in fig. 2, in an embodiment, a method for a first financial server to transmit financial data to a second financial server is provided, where the method for the first financial server to transmit financial data to the second financial server may be applied in the scheduling node 400, and specifically may include the following steps:
step S110, receiving a transmission request of the financial data from a first financial server, wherein the transmission request has requested data fetching time;
step S120, selecting an SFTP server with the processing load lower than a preset threshold value as a transfer node according to the processing load of each SFTP server;
step S130, sending the notification of the transit node to the first financial server and the second financial server, and sending the notification of the data fetch time to the second financial server, so that the first financial server sends the financial data to the transit node, and the second financial server fetches the financial data from the transit node at the data fetch time.
The Processing load of the SFTP server may be a Central Processing Unit (CPU) utilization rate, a memory occupancy rate, a networking utilization rate, an occupied or unoccupied storage amount, and the like.
The predetermined threshold may be 128 megabits, 256 gigabits, etc., and is flexibly set according to different application environments, and the present invention is not limited again.
Therefore, the problems that in the prior art, the server is easy to be paralyzed and emergency data cannot be processed emergently due to the fact that one SFTP server is fixed for transmission at fixed time are solved.
Optionally, in step S120 of the method for transmitting financial data from the first financial server to the second financial server proposed in fig. 2, the load of the SFTP processor includes an occupied storage amount or an unoccupied storage amount, and the SFTP server serving as the transfer node is selected according to the occupied storage amount or the unoccupied storage amount.
Alternatively, fig. 3 is a detailed description of step S120 in the method for transmitting financial data from a first financial server to a second financial server according to fig. 2, in which the first financial server transmits the financial data to the transit node at a time point a predetermined time period before the data fetch time, and step S120 may include the steps of:
step S121, receiving the occupied storage or the unoccupied storage reported by the SFTP server at regular time;
step S122, according to the occupied storage amount or unoccupied storage amount information sent by each SFTP server at regular time, predicting the occupied storage amount or unoccupied storage amount of each SFTP server at the data fetching time or the time point of the preset time period before the data fetching time;
step S123, selecting an SFTP server with the predicted occupied storage amount or unoccupied storage amount lower than a predetermined threshold as a transfer node.
The regular reporting may be every 10 minutes, every 20 minutes, every half hour, every 1 hour, every 2 hours, and the like. The predetermined time period may be 10 minutes, 20 minutes, half an hour, 1 hour, 2 hours, etc. Therefore, the occupied time of the SFTP server is reduced, and the resources of the SFTP server are saved. The predetermined threshold may be 128 mbit, 256 gigat, etc., and is flexibly set according to different application environments, and the present invention is not limited again.
Optionally, step S122 in the method for transmitting financial data from the first financial server to the second financial server according to fig. 3 includes:
the method comprises the steps that each SFTP server periodically reports sequences of occupied storage or unoccupied storage to serve as a sample, all the SFTP servers periodically report the sequences of the occupied storage or the unoccupied storage to form a sample set, each sample in the sample set randomly selects the occupied storage or the unoccupied storage of a plurality of continuous time points from the samples, the samples are input into a machine learning model to learn, the machine learning model outputs the occupied storage or the unoccupied storage of the next time point, and the occupied storage or the unoccupied storage of the next time point in the samples are compared with the occupied storage or the unoccupied storage of the next time point in the samples, so that the machine learning model is adjusted, and the occupied storage or the unoccupied storage of the next time point in the machine learning model and the occupied storage or the unoccupied storage of the next time point in the samples at one time point after the occupied storage or the unoccupied storage of the next time point in the samples are adjusted The reserves or unoccupied capacity are the same.
Wherein, the learning mode of the machine learning model is as follows: and continuously changing the connection weight of the network under the stimulation of external input samples. The essence of learning is to dynamically adjust the connection weights. The idea of the neural network algorithm is: the error of the direct leading layer of the output layer is estimated by using the error after the output, namely the error between the actual output and the expected output, and the error of the more previous layer is estimated by using the error, so that the error estimation of all other layers is obtained after the layer-by-layer reverse propagation. The BP neural network model topological structure comprises an input layer, a hidden layer and an output layer.
Optionally, step S123 in the method for transmitting financial data from the first financial server to the second financial server according to fig. 3 includes:
and when the unoccupied storage capacity of the SFTP server with the minimum occupied storage capacity or the maximum unoccupied storage capacity at the time point of a preset time period before the predicted data taking time or the data taking time cannot meet the size of the financial data, sequentially occupying the SFTP server with the second small occupied storage capacity or the SFTP server with the second large unoccupied storage capacity until the sum of the unoccupied storage capacities of the selected SFTP server meets the size of the financial data.
Wherein the predetermined period of time may be 10 minutes, 20 minutes, half an hour, 1 hour, 2 hours, etc. Therefore, the problems that large data files cannot be stored and are difficult to store are solved.
Optionally, in the method for transmitting financial data from the first financial server to the second financial server according to fig. 2, the first financial server sends the financial data to the transit node and also sends a confirmation file, where the financial data is encrypted, and the confirmation file includes digital signature information and encryption information of the financial data.
And the second financial server fetches the financial data from the transit node at the data fetching time and also fetches the confirmation file, decrypts the financial data through the encryption information in the confirmation file, and verifies the financial data by using the digital signature information in the confirmation file.
Therefore, through the double guarantee of signature and encryption, the insurance data can not be tampered, or can be retransmitted after being identified to be tampered. Thus, the security of the transmission of the insurance data is improved.
Optionally, fig. 4 is a method step S130 of the first financial server transmitting financial data to the second financial server according to fig. 2, where the method of the first financial server transmitting financial data to the second financial server further includes:
step S140, after the second financial server fetches the financial data from the transit node at the data fetching time, a notification of the fetched information is sent by the transit node to the first financial server.
Therefore, the problem that the sender cannot be informed of the interactive result in time in the prior art, and the sender cannot know the progress of insurance data transmission is solved.
As shown in fig. 5, in an embodiment, an apparatus for transmitting financial data from a first financial server to a second financial server is provided, and the apparatus for transmitting financial data from the first financial server to the second financial server may be integrated in the scheduling node 400, and specifically may include a request receiving unit 410, a node selecting unit 420, and a notification transmitting unit 430.
A request receiving unit 410, configured to receive a transmission request of the financial data from a first financial server, where the transmission request carries a requested data fetch time;
a node selecting unit 420, configured to select, according to a processing load of each SFTP server, an SFTP server whose processing load is lower than a predetermined threshold as a transfer node;
a notification transmission unit 430 that transmits the notification of the transit node to the first financial server and the second financial server, and transmits the notification of the data fetch time to the second financial server so that the first financial server transmits the financial data to the transit node, and the second financial server fetches the financial data from the transit node at the data fetch time.
The implementation process of the functions and actions of each module in the above device is specifically detailed in the implementation process of the corresponding step in the above policy assignment method, and is not described again here.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 500 according to this embodiment of the invention is described below with reference to fig. 6. The electronic device 500 shown in fig. 6 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the electronic device 500 is embodied in the form of a general purpose computing device. The components of the electronic device 500 may include, but are not limited to: the at least one processing unit 510, the at least one memory unit 520, and a bus 530 that couples various system components including the memory unit 520 and the processing unit 510.
Wherein the storage unit stores program code that is executable by the processing unit 510 to cause the processing unit 510 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" of the present specification. For example, the processing unit 510 may execute step S110 shown in fig. 2, receiving a transmission request of the financial data from a first financial server, the transmission request having a requested data fetch time; step S120, according to the processing load of each Secure File Transfer Protocol (SFTP) server, selecting the SFTP server with the processing load lower than a preset threshold value as a transfer node; step S130, sending the notification of the transit node to the first financial server and the second financial server, and sending the notification of the data fetch time to the second financial server, so that the first financial server sends the financial data to the transit node, and the second financial server fetches the financial data from the transit node at the data fetch time.
The memory unit 520 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)5201 and/or a cache memory unit 5202, and may further include a read only memory unit (ROM) 5203.
Storage unit 520 may also include a program/utility 5204 having a set (at least one) of program modules 5205 such program modules 5205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 530 may be a local bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or any of a variety of bus architectures.
The electronic device 500 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 500, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 550. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 560. As shown, the network adapter 560 communicates with the other modules of the electronic device 500 over the bus 530. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary method" of this description, when said program product is run on said terminal device.
Referring to fig. 7, a program product 600 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In situations involving remote computing devices, the remote computing devices may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to external computing devices (e.g., through the internet using an internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for a first financial server to transmit financial data to a second financial server, the method comprising:
receiving a transmission request of the financial data from a first financial server, wherein the transmission request is provided with a requested data fetching time;
selecting an SFTP server with the processing load lower than a preset threshold value as a transfer node according to the processing load of each SFTP server;
and sending a notice of the transfer node to a first financial server and a second financial server, and sending a notice of the data fetch time to a second financial server so that the first financial server sends the financial data to the transfer node, and the second financial server fetches the financial data from the transfer node at the data fetch time.
2. The method of claim 1, wherein the load of the SFTP server comprises an occupied storage amount or an unoccupied storage amount, and the SFTP server as the transit node is selected according to the occupied storage amount or the unoccupied storage amount.
3. The method of claim 2, wherein the first financial server transmits the financial data to the transit node at a point in time that is a predetermined period of time before the data fetch time,
the selecting, according to the processing load of each SFTP server, an SFTP server whose processing load is lower than a predetermined threshold as a transfer node includes:
receiving occupied storage or unoccupied storage reported by the SFTP server at regular time;
according to the occupied storage amount or unoccupied storage amount information sent by each SFTP server at regular time, the occupied storage amount or unoccupied storage amount of each SFTP server at the data taking time or the time point of the preset time period before the data taking time is predicted;
and selecting the SFTP server with the predicted occupied storage amount or the predicted unoccupied storage amount lower than a preset threshold value as the transfer node.
4. The method as claimed in claim 3, wherein said predicting the occupied storage amount or the unoccupied storage amount of each SFTP server at the data fetch time or at the time point of the predetermined time period before the data fetch time according to the information of the occupied storage amount or the unoccupied storage amount periodically transmitted by each SFTP server, comprises:
the method comprises the steps that a sequence of occupied storage capacity or unoccupied storage capacity reported by each SFTP server at regular time serves as a sample, all the SFTP servers report the sequence of the occupied storage capacity or the unoccupied storage capacity at regular time to form a sample set, each sample in the sample set randomly selects the occupied storage capacity or the unoccupied storage capacity of a plurality of continuous time points from the samples, inputs the selected sample into a machine learning model for learning, outputs the occupied storage capacity or the unoccupied storage capacity of the next time point by the machine learning model, and compares the occupied storage capacity or the unoccupied storage capacity of the next time point in the sample with the occupied storage capacity or the unoccupied storage capacity of the time point after the occupied storage capacity or the unoccupied storage capacity of the time points, so that the machine learning model is adjusted, and the occupied storage capacity or the unoccupied storage capacity of the next time point output by the machine learning model and the occupied storage capacity or the unoccupied storage capacity of the time point after the occupied storage capacity or the unoccupied storage capacity of the time points in the sample are obtained The reserves or unoccupied capacity are the same.
5. The method of claim 3, wherein selecting an SFTP server with predicted occupied or unoccupied storage below a predetermined threshold as a transit node comprises:
and when the unoccupied storage capacity of the SFTP server with the minimum occupied storage capacity or the maximum unoccupied storage capacity at the time point of a preset time period before the predicted data taking time or the data taking time cannot meet the size of the financial data, sequentially occupying the SFTP server with the second small occupied storage capacity or the SFTP server with the second large unoccupied storage capacity until the sum of the unoccupied storage capacities of the selected SFTP server meets the size of the financial data.
6. The method of claim 1,
the first financial server sends the financial data to the transfer node and simultaneously sends a confirmation file, wherein the financial data is encrypted, and the confirmation file contains digital signature information and encryption information of the financial data;
and the second financial server fetches the financial data from the transfer node at the data fetching time and simultaneously fetches the confirmation file, decrypts the financial data through the encryption information in the confirmation file, and verifies the financial data by using the digital signature information in the confirmation file.
7. The method of claim 1, wherein the method further comprises:
sending, by the transit node, a notification to the first financial server that the information was fetched after the second financial server fetches the financial data from the transit node at the data fetch time.
8. An apparatus for a first financial server to transmit financial data to a second financial server, the apparatus comprising:
a request receiving unit, configured to receive a transmission request of the financial data from a first financial server, where the transmission request includes a requested data fetch time;
a node selection unit, configured to select, according to a processing load of each SFTP server, an SFTP server whose processing load is lower than a predetermined threshold as a transfer node;
and a notification transmission unit that transmits a notification of the transfer node to a first financial server and a second financial server, and transmits a notification of the data fetch time to the second financial server so that the first financial server transmits the financial data to the transfer node, and the second financial server fetches the financial data from the transfer node at the data fetch time.
9. A computer device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1 to 7.
10. A storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the method of any one of claims 1-7.
CN201811239123.5A 2018-10-23 2018-10-23 Method, device, computer equipment and storage medium for transmitting financial data Active CN109688190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811239123.5A CN109688190B (en) 2018-10-23 2018-10-23 Method, device, computer equipment and storage medium for transmitting financial data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811239123.5A CN109688190B (en) 2018-10-23 2018-10-23 Method, device, computer equipment and storage medium for transmitting financial data

Publications (2)

Publication Number Publication Date
CN109688190A CN109688190A (en) 2019-04-26
CN109688190B true CN109688190B (en) 2022-07-26

Family

ID=66184615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811239123.5A Active CN109688190B (en) 2018-10-23 2018-10-23 Method, device, computer equipment and storage medium for transmitting financial data

Country Status (1)

Country Link
CN (1) CN109688190B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114945020B (en) * 2022-05-17 2023-08-08 宝信软件(武汉)有限公司 Cloud edge cooperative data access method and system based on cloud platform
CN115205041B (en) * 2022-07-15 2023-07-07 山东大学 Financial big data processing system and method based on blockchain

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848158A (en) * 2010-05-18 2010-09-29 深圳市恒扬科技有限公司 Load balance method and device for data channels and network exchange equipment
CN102238607A (en) * 2010-04-29 2011-11-09 鸿富锦精密工业(深圳)有限公司 Base station signal transmission system and method
CN102870374A (en) * 2012-06-21 2013-01-09 华为技术有限公司 Load-sharing method and apparatus, and veneer,
CN103312613A (en) * 2012-03-16 2013-09-18 中兴通讯股份有限公司 Service message forwarding method and device
CN106302213A (en) * 2016-08-02 2017-01-04 无锡天脉聚源传媒科技有限公司 A kind of method and device of data transmission
CN107239239A (en) * 2016-03-28 2017-10-10 平安科技(深圳)有限公司 Data transmission method and system
CN107431688A (en) * 2015-03-12 2017-12-01 华为技术有限公司 Data transmission method, device, processor and mobile terminal
CN207133811U (en) * 2017-09-22 2018-03-23 北京融通高科微电子科技有限公司 Digital independent apparatus and system
CN108206781A (en) * 2016-12-16 2018-06-26 华为技术有限公司 The method and apparatus for selecting forward-path

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0108791D0 (en) * 2001-04-07 2001-05-30 Pace Micro Tech Plc Improvements to control systems for network servers

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238607A (en) * 2010-04-29 2011-11-09 鸿富锦精密工业(深圳)有限公司 Base station signal transmission system and method
CN101848158A (en) * 2010-05-18 2010-09-29 深圳市恒扬科技有限公司 Load balance method and device for data channels and network exchange equipment
CN103312613A (en) * 2012-03-16 2013-09-18 中兴通讯股份有限公司 Service message forwarding method and device
CN102870374A (en) * 2012-06-21 2013-01-09 华为技术有限公司 Load-sharing method and apparatus, and veneer,
CN107431688A (en) * 2015-03-12 2017-12-01 华为技术有限公司 Data transmission method, device, processor and mobile terminal
CN107239239A (en) * 2016-03-28 2017-10-10 平安科技(深圳)有限公司 Data transmission method and system
CN106302213A (en) * 2016-08-02 2017-01-04 无锡天脉聚源传媒科技有限公司 A kind of method and device of data transmission
CN108206781A (en) * 2016-12-16 2018-06-26 华为技术有限公司 The method and apparatus for selecting forward-path
CN207133811U (en) * 2017-09-22 2018-03-23 北京融通高科微电子科技有限公司 Digital independent apparatus and system

Also Published As

Publication number Publication date
CN109688190A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
US10819648B2 (en) Retry handling in messaging queues
TW200915186A (en) Management of grid computing resources based on service level requirements
CN109688190B (en) Method, device, computer equipment and storage medium for transmitting financial data
CN113793139A (en) Payment abnormity processing method, processing device, storage medium and electronic equipment
CN114221954A (en) File transmission method and device, electronic equipment and storage medium
CN114202130A (en) Flow transfer amount prediction multitask model generation method, scheduling method, device and equipment
CN112181307A (en) Block chain based distributed data redundancy storage method and electronic equipment
US20110145191A1 (en) Proxy-Based, Distributed Computer-Aided Dispatch System
CN103608801A (en) Presentation software automation services
CN115766875A (en) Edge computing power resource scheduling method, device, system, electronic equipment and medium
CN115512814A (en) Doctor allocation method and device for on-line inquiry
CN111610938B (en) Distributed data code storage method, electronic device and computer readable storage medium
CN111385150A (en) Method and device for acquiring information
CN115952050A (en) Reporting method and device for organization service buried point data
US8433763B2 (en) Fault tolerant distributed messaging architecture for computer-aided dispatch system
CN115250276A (en) Distributed system and data processing method and device
CN117472555A (en) Computing power resource allocation method, system, device, equipment and storage medium
CN114265692A (en) Service scheduling method, device, equipment and storage medium
CN115080197A (en) Computing task scheduling method and device, electronic equipment and storage medium
CN110888770B (en) Method and device for transmitting information
CN109088929B (en) Method and device for sending information
CN111709787B (en) Method, device, electronic equipment and medium for generating user retention time
CN104427003A (en) Transmission apparatus, transmission method, and relay system
US20240015595A1 (en) Distributed Network Management System
CN117076119A (en) Super-calculation operation scheduling method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 201, room 518000, building A, No. 1, front Bay Road, Qianhai Shenzhen Guangdong Shenzhen Hong Kong cooperation zone (Qianhai business secretary)

Applicant after: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A

Applicant before: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant