File carrying method and device, computer equipment and storage medium
A computer program and file technology, applied in the computer field, can solve the problems of reducing file transmission efficiency, poor file data flow stability, etc., and achieve the effect of improving stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a flow chart of a file transfer method in Embodiment 1 of the present invention. This embodiment is applicable to the case of realizing file transfer between subsystems in a large-scale software system. This method can be executed by a file transfer device. The device can be realized by means of software and / or hardware, and integrated in the computer equipment for executing the method. Specifically, refer to figure 1 , the method mainly includes the following steps:
[0028] S110. Obtain the content information of the target file through the receiver's channel.
[0029] It should be noted that both the sender and the receiver involved in the embodiment of the present invention adopt a log collection system (Flume) structure, and Flume is a highly available, highly reliable, distributed massive log collection, aggregation and transmission system. Specifically, the sender and receiver mainly include source, channel, and sink. Among them, the source mai...
Embodiment 2
[0052] image 3 It is a flow chart of a file handling method in Embodiment 2 of the present invention. This embodiment refines the embodiment of the present invention on the basis of the above-mentioned embodiments, and can realize the collection of files; specifically, refer to image 3 , the method mainly includes the following steps:
[0053] S310. Obtain content information of at least two target files through the receiver's channel.
[0054] Specifically, in this embodiment, at least two senders may be included. Exemplarily, the number of senders may be two, three or more, and the specific number of senders is not specified in this embodiment of the present invention. limited.
[0055] Correspondingly, in this embodiment, the content information of two target files can be obtained from the receiver's channel; the content information of multiple target files can also be obtained from the receiver's channel.
[0056] Optionally, before obtaining the content information o...
Embodiment 3
[0068] Figure 5 It is a flow chart of a file handling method in Embodiment 3 of the present invention. This embodiment refines the embodiment of the present invention on the basis of the above-mentioned embodiments, and can realize file load balancing; specifically, refer to Figure 5 , the method mainly includes the following steps:
[0069] S510. Obtain the content information of the target file through at least two channels of the receiver.
[0070] S520. Obtain at least two storage paths of at least two target files respectively, where the storage paths are pre-configured paths used by the receiver to store the at least two target files.
[0071] S530. Store at least two target files respectively according to each storage path.
[0072] In order to better understand the embodiments of the present invention, Image 6 It is an application scenario diagram adapted to Embodiment 3. Specifically, from Image 6 As can be seen from , the receiver 610 in this application sce...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


