Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Pending Publication Date: 2020-04-10
RUN TECH CO LTD BEIJING
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, the method of realizing file data transmission through the API interface is only applicable to a single deployed software system, and for a large software system, since different subsystems may be deployed in different application scenarios, in this case, through the API The interface realizes the file data transmission between the various subsystems, and the API interface between the various subsystems needs to be continuously configured, which greatly reduces the file transmission efficiency, and the stability of the file data flow of each subsystem in the software system is poor.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File carrying method and device, computer equipment and storage medium
  • File carrying method and device, computer equipment and storage medium
  • File carrying method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a file carrying method and a device, computer equipment and a storage medium. The method comprises the steps: obtaining the content information of a target file through the channel of a receiver; obtaining a storage path of the target file, wherein the storage path is a pre-configured path of a receiver for storing the target file; and storing the target file according to the storage path. According to the scheme of the embodiment of the invention, the file carrying among the subsystems in the large-scale software system is realized through a Flume structure, and the file carrying stability of the subsystems in the software system can also be improved on the premise of realizing the file aggregation and load balancing capabilities.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a file handling method, device, computer equipment, and storage medium. Background technique [0002] In a large-scale software system, each subsystem will be deployed in different device nodes to ensure that the subsystems do not affect each other. Usually, the data flow between the subsystems is carried out through files. [0003] At present, the file data transfer of each subsystem in the software system is mainly implemented through an application programming interface (Application Programming Interface, API). [0004] In the prior art, the method of realizing file data transmission through the API interface is only applicable to a single deployed software system, and for a large software system, since different subsystems may be deployed in different application scenarios, in this case, through the API The interface realizes the file data tr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/11
CPCG06F16/119
Inventor 白晨旭张志远万月亮
Owner RUN TECH CO LTD BEIJING