CN111193785A - File cutting transmission method and device and electronic equipment - Google Patents

File cutting transmission method and device and electronic equipment Download PDF

Info

Publication number
CN111193785A
CN111193785A CN201911330794.7A CN201911330794A CN111193785A CN 111193785 A CN111193785 A CN 111193785A CN 201911330794 A CN201911330794 A CN 201911330794A CN 111193785 A CN111193785 A CN 111193785A
Authority
CN
China
Prior art keywords
file
cutting
terminal
information
cut
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.)
Granted
Application number
CN201911330794.7A
Other languages
Chinese (zh)
Other versions
CN111193785B (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.)
Beijing Qilu Information Technology Co Ltd
Original Assignee
Beijing Qilu Information Technology Co Ltd
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 Beijing Qilu Information Technology Co Ltd filed Critical Beijing Qilu Information Technology Co Ltd
Priority to CN201911330794.7A priority Critical patent/CN111193785B/en
Publication of CN111193785A publication Critical patent/CN111193785A/en
Application granted granted Critical
Publication of CN111193785B publication Critical patent/CN111193785B/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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • 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/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments

Abstract

The invention discloses a file cutting transmission method and device and electronic equipment. For transferring files from a first terminal to a second terminal, comprising: cutting an original file to be uploaded at a first terminal, generating a plurality of cut files, and recording cutting information; uploading the cut file to the second terminal, and simultaneously sending the cut information to the second terminal, wherein the second terminal stores the cut file in a specified file path; recording cutting information and file path information corresponding to the cutting file in a database of a second terminal; and the second terminal provides file query and download service according to the information recorded by the database. The invention can quickly and efficiently transmit the file, reduce the file transmission time and improve the user experience.

Description

File cutting transmission method and device and electronic equipment
Technical Field
The invention relates to the field of computer information processing, in particular to a file cutting and transmitting method and device, electronic equipment and a computer readable medium.
Background
It was not easy to transmit files on the Internet in the early days, and we know that the Internet is a very complex computer environment including PCs, workstations, MACs, servers, mainframes, etc., and these computers may run different operating systems including Unix, Dos, Windows, MacOS, etc., and file communication among various operating systems requires a uniform file transfer protocol to be established, which is called FTP. Although there are different FTP applications based on different operating systems, all of these applications adhere to the same protocol, so that a user can transfer his files to others or obtain files from other user environments. The problems of complicated file uploading, low speed and the like occur.
In the prior art, the problem that when a client uploads a file again, the file cannot be uploaded or cannot be uploaded due to the fact that the server and the server are easy to overflow in transmission is often caused. If the user has a file of 1G and needs to transmit the file to the server A, 4G is stored in the server A, and if the number of the uploaded files is large, the server A immediately stores the file and is fully filled to overflow, and the service is unavailable. After the file cutting technology is used, a file is cut into a plurality of small files (for example, 10M small files) during file transmission, and the small files are transmitted to an independent folder of a server, and the file is cut into a plurality of small files called test _ (n +1). txt. And after all the small files of the file are transmitted, storing the information of the file to mysql, wherein the information comprises a file name, a file suffix, the number of the files and a folder path. Therefore, the problem that the memory is immediately fully filled by a single file can be solved when the large file is transmitted, and the problem that the memory of the whole large file is occupied by reading the whole large file at one time can be solved.
Disclosure of Invention
The invention aims to solve the problem that a large file is easy to overflow in the transmission process of a server.
In order to solve the above technical problem, a first aspect of the present invention provides a file cutting and transmitting method, where the method includes: cutting an original file to be uploaded at a first terminal, generating a plurality of cut files, and recording cutting information; uploading the cut file to the second terminal, and simultaneously sending the cut information to the second terminal, wherein the second terminal stores the cut file in a specified file path; recording cutting information and file path information corresponding to the cutting file in a database of a second terminal; and the second terminal provides file query and download service according to the information recorded by the database.
According to a preferred embodiment of the present invention, the cutting information includes at least one of: original file name, cutting point information, cutting file number and cutting file sequence.
According to a preferred embodiment of the present invention, the file query and download service includes: and displaying file information for downloading according to requests from other terminals, wherein the file information is determined according to the cutting information and the file path information recorded in the database.
According to a preferred embodiment of the present invention, the file query and download service further comprises: and transmitting the cutting file to the terminal sending the request according to the file path information recorded in the database and simultaneously sending the cutting information to the terminal according to the request from other terminals.
According to a preferred embodiment of the present invention, further comprising: and the terminal receiving the cut file and the cut information combines the cut file into a new file according to the cut file and the cut information, and the content of the new file is the same as that of the original file.
According to a preferred embodiment of the present invention, further comprising: the visual interface can receive dragging operation of a user on a visual file icon, and the first terminal uploads and/or downloads files according to the dragging operation.
In order to solve the above technical problem, a second aspect of the present invention provides a document cutting and conveying apparatus, including: the transmission module is used for uploading the cut file to the second terminal and sending the cut information to the second terminal, and the second terminal stores the cut file in an appointed file path;
the recording module is used for recording the cutting information and the file path information corresponding to the cutting file in a database of the second terminal;
and the service module is used for providing file query and download service according to the information recorded by the database. According to a preferred embodiment of the present invention, the cutting information includes at least one of: original file name, cutting point information, cutting file number and cutting file sequence.
According to a preferred embodiment of the present invention, the file query and download service includes: and displaying file information for downloading according to requests from other terminals, wherein the file information is determined according to the cutting information and the file path information recorded in the database.
According to a preferred embodiment of the present invention, the file query and download service further comprises: and transmitting the cutting file to the terminal sending the request according to the file path information recorded in the database and simultaneously sending the cutting information to the terminal according to the request from other terminals.
According to a preferred embodiment of the invention, the device further comprises:
the receiving module is used for receiving the cutting file and the cutting information;
and the synthesis module is used for combining the cut files into a new file, and the content of the new file is the same as that of the original file.
According to a preferred embodiment of the present invention, the visual interface is capable of accepting a drag operation of a user on a visual file icon;
and the transmission module and the receiving module upload and/or download the file according to the dragging operation.
In addition, the present invention also provides an electronic device, wherein the electronic device includes: a processor; and a memory storing computer-executable instructions that, when executed, cause the processor to perform the ranking method for product recommendations according to the present invention.
Furthermore, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs which, when executed by a processor, implement the ranking method for product recommendation of the present invention.
Advantageous effects
The invention adopts a file cutting transmission mode, thereby avoiding the occurrence of the condition that overflow service is unavailable because the plurality of uploaded files cause the standhorse memory of the server to be fully filled. The problem that the memory is immediately fully filled by a single file can be solved when the large file is transmitted, and the problem that the memory occupies when the whole large file is read at one time can be solved.
Drawings
In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects obtained more clear, the following will describe in detail the embodiments of the present invention with reference to the accompanying drawings. It should be noted, however, that the drawings described below are only illustrations of exemplary embodiments of the invention, from which other embodiments can be derived by those skilled in the art without inventive step.
FIG. 1 is a flow chart of a method for file cutting transmission according to the present invention.
Fig. 2 shows a schematic block diagram of a file cutting at a first terminal.
Fig. 3 is a flow chart of the structure of the file transmission between the first terminal and the second terminal according to the present invention.
Fig. 4 is a schematic diagram of an upload/download initiation interface of one embodiment of the present invention.
FIG. 5 is a schematic diagram of an upload interface of one embodiment of the present invention.
FIG. 6 is a schematic diagram of a download interface of one embodiment of the present invention.
Fig. 7 is a schematic diagram of a transmission interface according to another embodiment of the invention.
Fig. 8 is a schematic structural block diagram of an embodiment of the device for cutting and transmitting a file of the present invention.
Fig. 9 is a block diagram of an exemplary embodiment of an electronic device according to the present invention.
Fig. 10 is a block diagram of an exemplary embodiment of a computer-readable medium according to the present invention.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention may be embodied in many specific forms, and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art.
The structures, properties, effects or other characteristics described in a certain embodiment may be combined in any suitable manner in one or more other embodiments, while still complying with the technical idea of the invention.
In describing particular embodiments, specific details of structures, properties, effects, or other features are set forth in order to provide a thorough understanding of the embodiments by one skilled in the art. However, it is not excluded that a person skilled in the art may implement the invention in a specific case without the above-described structures, performances, effects or other features.
The flow chart in the drawings is only an exemplary flow demonstration, and does not represent that all the contents, operations and steps in the flow chart are necessarily included in the scheme of the invention, nor does it represent that the execution is necessarily performed in the order shown in the drawings. For example, some operations/steps in the flowcharts may be divided, some operations/steps may be combined or partially combined, and the like, and the execution order shown in the flowcharts may be changed according to actual situations without departing from the gist of the present invention.
The block diagrams in the figures generally represent functional entities and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The same reference numerals denote the same or similar elements, components, or parts throughout the drawings, and thus, a repetitive description thereof may be omitted hereinafter. It will be further understood that, although the terms first, second, third, etc. may be used herein to describe various elements, components, or sections, these elements, components, or sections should not be limited by these terms. That is, these phrases are used only to distinguish one from another. For example, a first device may also be referred to as a second device without departing from the spirit of the present invention. Furthermore, the term "and/or", "and/or" is intended to include all combinations of any one or more of the listed items.
Next, a file cutting transmission method of the present invention is described with reference to fig. 1 to 4.
The technical scheme of the invention aims to transmit the file at the first terminal to the second terminal, and the memory overflow is not caused in the transmission process. Meanwhile, the invention does not need the user to carry out complicated operation when carrying out the transmission.
And step S101, cutting the original file to be uploaded at the first terminal, generating a plurality of cut files, and recording cutting information.
In the present invention, a terminal refers to any electronic device capable of performing data transmission with other electronic devices, including a desktop computer, a notebook computer, a tablet computer, a mobile phone, and the like, and also includes wearable devices such as a smart watch, smart glasses, and the like, which have data storage and transmission capabilities. The terminal may be a server, such as a file server. The server is not limited to a server for centralized processing, but includes a server for distributed processing, such as a cloud server.
The terminals are usually provided with a human-machine interaction interface, including for example a display or a display screen, a mouse, a keyboard, etc., which usually has a visual interaction interface. For mobile intelligent terminals such as mobile phones, the man-machine interaction interface is usually a touch screen and keys. In any case, the user may interact with the terminal through a human-machine interface.
The terminal itself generally has data storage and data processing capabilities. The invention is mainly applied to terminals storing data in a file mode, such as computers, mobile phones, servers and the like provided with windows, IOS, Android and other operating systems.
Specifically, fig. 2 is a schematic view showing a document cutting operation performed on the first terminal. Fig. 3 is a schematic view of a structural flow of transferring a file between a first terminal and a second terminal according to the present invention, as shown in fig. 2 and fig. 3, the first terminal stores a file to be uploaded, and first, the first terminal performs a file cutting operation to cut the file to be uploaded into a plurality of small files (for example, the size of the file to be uploaded is 1G, which can be cut into 10M small files) by using a file cutting technique. The present invention is not limited to any existing file cutting technique, and in principle, the present invention can be applied to any form of file of any file storage system as long as it can allow data contained in one file to be stored divided into two or more files. In the cutting, it is usually necessary to generate attribute information of a new file, such as a file name, header information, and file attribute information, from information of an original file.
Also, the invention does not exclude additional data processing, such as encryption, compression, etc. of the data when cutting. Meanwhile, when the file is cut, the file cutting information is also generated. The cutting information refers to any information related to the cutting operation generated in the execution of the file cutting operation. The cutting information should reflect what operation is performed when the file is cut, thereby helping to restore the cut file to the original file.
In a specific embodiment, the file cutting information may include an original file name, a cutting file name, cutting point information, a number of cutting files, a cutting file order, and the like. When the file cutting process additionally performs operations such as encryption or compression, the file cutting information should also include information related to the operations such as encryption or compression.
And step S102, uploading the cut file to the second terminal, and sending the cut information to the second terminal, wherein the second terminal stores the cut file in an appointed file path.
The first terminal and the second terminal can be connected in any connection mode, including connection through the internet and a local area network, and also can be directly connected in a Bluetooth mode, an infrared mode and the like, and the connection mode is not limited to a wired mode, but also includes a wireless mode, such as a wireless communication network and Wifi.
The present invention is also not limited to the way files or data are transferred. When transferring files, any existing file transfer protocol may be employed, such as FTP, HTTP protocol, and the like. The data transmission mode is wider, and the method can be applied to almost any protocol which can be used for transmitting data, including 4G, 5G, TCP/IP and the like.
The "designated file path" refers to an address of a folder for storing the transmitted cut file set by the user, and may be designated by the user of the terminal sending the file before sending the file, or preset by the user of the terminal receiving the file.
Step S103, recording the cutting information and the file path information corresponding to the cutting file in a database of the second terminal.
The database of the second terminal includes the file cutting information uploaded from the first terminal, and the file cutting information mainly includes: original file name, cutting file name, number of cutting files, cutting file sequence and path information generated during cutting of the files.
As shown in fig. 3, when a second terminal is used to receive a cut file, the second terminal receives the cut file and the cut information.
As shown in fig. 3, the first terminal includes file cutting information and cut files, where the file cutting information includes an original file name, a cut file name, the number of cut files, and a cut file sequence. And cutting the cut file into cut files with the same size, uploading the content of the second terminal to be the cut file, uploading the file information to a database of the second terminal, and recording the original file name, the cut file name, the number of the cut files, the sequence of the cut files and the file path by the database.
In the embodiment shown in fig. 3, after the file to be cut is cut into several small files at the first terminal, the file name format is named in the form of file name suffix according to the cutting sequence (n +1) of the file name suffix, and the cutting file name is named in turn according to the cutting file sequence of the large file during cutting in the manner of "original file name (n +1). suffix name". N is a natural number, and the number of files depends on the size of the large file and the size of the cut file. Txt, for example, a 20M text file is cut into 10 parts, the name of the cut file is named: test _1.txt to test _10. txt.
And step S104, the second terminal provides file query and download service according to the information recorded in the database.
Fig. 4 is a schematic diagram of an upload/download initiation interface of one embodiment of the present invention. In this embodiment, the first terminal is a mobile phone client, and the client uploads the cut file to a server serving as the second terminal and can also download the file from the server. As shown in fig. 4, the client interface includes an upload button and a download button, and when the upload button is selected, the interface enters the upload interface shown in fig. 5, and when the download button is selected, the interface enters the download interface shown in fig. 6.
It should be noted that the upload and download interface may be a next-level interface of the cutting transmission interface shown in fig. 4, where the upload interface shown in fig. 5 appears when uploading is selected on the cutting transmission interface, and the download interface shown in fig. 6 appears when downloading is selected.
Preferably, the query service is queryable by a terminal. As shown in fig. 5, the method further includes: and providing a file transmission management visual interface on the first terminal so as to display the local file information to be transmitted and the file information which is inquired from the second terminal and is provided for downloading.
When the upload button is selected through the cutting transmission interface as shown in fig. 4, the upload interface shown in fig. 5 appears, the interface includes a file name selection box and a file parameter selection box, the file name is the original file name, and the file parameters may include parameters describing file attributes, such as file type, file position, file size, creation time, and the like. And when the transmission button is selected, uploading the file to the first terminal, and when the cancel button is selected, returning to the terminal initial interface.
When the download button is selected through the cutting transmission interface as shown in fig. 4, the download interface as shown in fig. 6 appears, where the download interface includes a file name selection box, a storage location selection box, and a file parameter selection box, the file name is the original file name, and the file parameters may include parameters describing file attributes, such as file type, file location, file size, and creation time. When the transfer button is selected, the file downloads the server to the local, and when the cancel button is selected, the file returns to the initial interface.
It should be noted that, in this embodiment, the client interface shown in fig. 5 and 6 includes a file name selection box, a file parameter selection box, and an upload and/or download button. When the uploading button is selected, the file is cut at the client, the cut file and the file information are uploaded to the server, and the cut file and the file information are combined in the independent folder according to the file path, the original file name, the cut file name, the number of the cut files, the sequence of the cut files and the like. And downloading through a terminal interface.
Specifically, when a user downloads the file, the path information of the file is inquired according to the file name, all files in the folder are downloaded to the local of the user, when the last downloading is finished, the file merging is triggered, a stream file reading mode is utilized, the files are sorted, the minimum file is sequentially read, 2M Byte is read each time, a complete large file is written, and the name of the original file name is used.
Fig. 7 is a schematic diagram of a transmission interface according to another embodiment of the invention. As shown in fig. 7, the local file column is in the left file column, and the remote terminal (i.e., the second terminal, such as a server) file column is in the right file column. The method has the advantages that the local file information and the uploaded file information can be visually seen, a user can drag the local file to the uploaded file to upload through dragging operation of the file icon, and meanwhile, if the file is selected by mistake and needs to be removed from the uploaded file bar, the file only needs to be dragged out. The first terminal may upload and/or download the file according to the drag operation.
It should be noted that, in this embodiment, although the uploaded files are displayed in the form of a single file icon on the remote terminal (e.g., the server), the cut files are stored on the remote terminal, and are simply displayed as one file for the convenience of the user to operate and view. Therefore, the user feels insensitive to the background cutting and the transmission after the cutting and the storage of the cut file, but the efficiency and the stability of the file transmission are actually improved, so that the user experience is improved.
Those skilled in the art will appreciate that all or part of the steps for implementing the above-described embodiments are implemented as programs executed by data processing apparatuses (including computers), i.e., computer programs. When the computer program is executed, the method provided by the invention can be realized. Furthermore, the computer program may be stored in a computer readable storage medium, which may be a readable storage medium such as a magnetic disk, an optical disk, a ROM, a RAM, or a storage array composed of a plurality of storage media, such as a magnetic disk or a magnetic tape storage array. The storage medium is not limited to centralized storage, but may be distributed storage, such as cloud storage based on cloud computing.
Embodiments of the apparatus of the present invention are described below, which may be used to perform method embodiments of the present invention. The details described in the device embodiments of the invention should be regarded as complementary to the above-described method embodiments; reference is made to the above-described method embodiments for details not disclosed in the apparatus embodiments of the invention.
Fig. 8 is a schematic diagram of a document cutting and transferring apparatus according to the present invention, as shown in fig. 8,
the device comprises:
the file cutting method comprises the steps that a cutting module is used for cutting an original file to be uploaded of a first terminal, generating a plurality of cut files and recording cutting information, wherein the file to be uploaded is stored on the first terminal;
the transmission module is used for uploading the cut files to the second terminal and sending the cut information to the second terminal, the second terminal stores the cut files in an appointed file path, and the appointed file path refers to an address of a folder which is set by a user and used for storing the transmitted cut files, and the address can be appointed by the user of the terminal for sending the files before sending the files or preset by the user on the terminal for receiving the files;
the recording module is used for recording the cutting information and the file path information corresponding to the cutting file in a database of the second terminal, and the file cutting information mainly comprises: original file name, cutting file name, number of cutting files, cutting file sequence and path information generated during cutting of the files. (ii) a
And the service module is used for providing file query and download service according to the information recorded by the database, the first terminal is a mobile phone client, and the client not only uploads the cut file to a server serving as a second terminal, but also can download the file from the server.
Wherein the cutting information comprises at least one of: original file name, cutting point information, cutting file number and cutting file sequence.
The file query and download service includes: and displaying file information for downloading according to requests from other terminals, wherein the file information is determined according to the cutting information and the file path information recorded in the database, and the file parameters can comprise parameters for describing file attributes such as file types, file positions, file sizes, creation time and the like.
The file query and download service further comprises: and transmitting the cutting file to the terminal sending the request according to the file path information recorded in the database and simultaneously sending the cutting information to the terminal according to the request from other terminals.
In one embodiment, the apparatus further comprises:
the receiving module is used for receiving the cutting file and the cutting information;
and the synthesis module is used for merging the cut files into a new file, the content of the new file is the same as that of the original file, searching the path information of the file according to the file name, downloading all files under the folder to the local of a user, triggering the merged file when the last downloading is finished, reading the 2M bytes each time by using a streaming file reading mode, sequencing the files, sequentially reading the minimum files, writing the bytes into a complete large file, and naming the files by using the original file name.
The visual interface can accept the dragging operation of a user on the visual file icon;
the transmission module and the receiving module upload and/or download files according to the dragging operation, a user can drag local files to uploaded files to upload through the dragging operation of file icons, and meanwhile, if the files are mistakenly selected to be removed from an uploaded file column, the files only need to be dragged out. The first terminal may upload and/or download the file according to the drag operation.
Those skilled in the art will appreciate that the modules in the above-described embodiments of the apparatus may be distributed as described in the apparatus, and may be correspondingly modified and distributed in one or more apparatuses other than the above-described embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as an implementation in physical form for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 9 is a block diagram of an exemplary embodiment of an electronic device according to the present invention. The electronic device shown in fig. 9 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. 9, the electronic device 910 of the exemplary embodiment is represented in the form of a general-purpose data processing device. Components of the electronic device 910 may include, but are not limited to: at least one processing unit 911, at least one memory unit 912, a bus 916 that connects the various system components (including the memory unit 912 and the processing unit 911), a display unit 919, and the like.
The storage unit 912 stores a computer-readable program, which may be a code of a source program or a read-only program. The program may be executed by the processing unit 911 to cause the processing unit 210 to perform the steps of various embodiments of the present invention. For example, the processing unit 911 may perform the steps shown in fig. 1.
The storage unit 912 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)9121 and/or a cache storage unit 9122, and may further include a read-only memory unit (ROM) 9129. The storage unit 912 can also include a program/utility 9124 having a set (at least one) of program modules 9125, such program modules 9125 including, but 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.
The bus 916 can be any 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 a local bus using any of a variety of bus architectures.
The electronic device 910 may also communicate with one or more external devices 920 (e.g., keyboard, display, network device, bluetooth device, etc.), enable a user to interact with the electronic device 920 via the external devices 920, and/or enable the electronic device 910 to communicate with one or more other data processing devices (e.g., router, modem, etc.). Such communication can occur via an input/output (I/O) interface 914, and can also occur via a network adapter 915 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). The network adapter 915 may communicate with other modules of the electronic device 920 via the bus 916. It should be appreciated that although not shown, other hardware and/or software modules may be used in the electronic device 910, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
FIG. 10 is a schematic diagram of one computer-readable medium embodiment of the present invention. As shown in fig. 10, the computer program may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. A 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 disk, 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. The computer program, when executed by one or more data processing devices, enables the computer-readable medium to implement the above-described method of the invention, namely: for transferring files from a first terminal to a second terminal, comprising: cutting an original file to be uploaded at a first terminal, generating a plurality of cut files, and recording cutting information; uploading the cut file to the second terminal, and simultaneously sending the cut information to the second terminal, wherein the second terminal stores the cut file in a specified file path; recording cutting information and file path information corresponding to the cutting file in a database of a second terminal; and the second terminal provides file query and download service according to the information recorded by the database.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a data processing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention.
The computer readable storage 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 storage medium may also 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 storage 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 the case of a remote computing device, the remote computing device 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 an external computing device (e.g., through the internet using an internet service provider).
In summary, the present invention can be implemented as a method, an apparatus, an electronic device, or a computer-readable medium executing a computer program. Some or all of the functions of the present invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP).
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.

Claims (10)

1. A file cutting transmission method is used for transmitting files between terminals, and is characterized by comprising the following steps:
cutting an original file to be uploaded at a first terminal to generate a plurality of cut files, and recording cutting information;
uploading the cut file to the second terminal, and simultaneously sending the cut information to the second terminal, wherein the second terminal stores the cut file in a specified file path;
recording cutting information and file path information corresponding to the cutting file in a database of a second terminal;
and the second terminal provides file query and download service according to the information recorded by the database.
2. The document cutting transmission method according to claim 1, characterized in that: the cutting information includes at least one of: original file name, cutting point information, cutting file number and cutting file sequence.
3. The file cutting transmission method according to claims 1-2, characterized in that: the file query and download service includes: and displaying file information for downloading according to requests from other terminals, wherein the file information is determined according to the cutting information and the file path information recorded in the database.
4. The file cutting transmission method according to claims 1-3, characterized in that: the file query and download service further comprises: and transmitting the cutting file to the terminal sending the request according to the file path information recorded in the database and simultaneously sending the cutting information to the terminal according to the request from other terminals.
5. The file cutting transmission method according to claims 1-4, characterized in that: further comprising: and the terminal receiving the cut file and the cut information combines the cut file into a new file according to the cut file and the cut information, wherein the content of the new file is the same as that of the original file.
6. The file cutting transmission method according to claims 1-5, characterized in that: further comprising: and providing a file transmission management visual interface on the first terminal so as to display the local file information to be transmitted and the file information which is inquired from the second terminal and is provided for downloading.
7. The file cutting transmission method according to claims 1-6, characterized in that: the visual interface can receive dragging operation of a user on a visual file icon, and the first terminal uploads and/or downloads files according to the dragging operation.
8. A document cutting and conveying device is characterized by comprising:
the cutting module is used for cutting an original file to be uploaded of the first terminal, generating a plurality of cut files and recording cutting information;
the transmission module is used for uploading the cut file to the second terminal and sending the cut information to the second terminal, and the second terminal stores the cut file in an appointed file path;
the recording module is used for recording the cutting information and the file path information corresponding to the cutting file in a database of the second terminal;
and the service module is used for providing file query and download service according to the information recorded by the database.
9. An electronic device, comprising:
a processor; and
a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-7.
10. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-7.
CN201911330794.7A 2019-12-20 2019-12-20 File cutting and transmitting method and device and electronic equipment Active CN111193785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911330794.7A CN111193785B (en) 2019-12-20 2019-12-20 File cutting and transmitting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911330794.7A CN111193785B (en) 2019-12-20 2019-12-20 File cutting and transmitting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111193785A true CN111193785A (en) 2020-05-22
CN111193785B CN111193785B (en) 2023-05-02

Family

ID=70709330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911330794.7A Active CN111193785B (en) 2019-12-20 2019-12-20 File cutting and transmitting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111193785B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254402A (en) * 2021-05-18 2021-08-13 福州理工学院 Shared file management method and storage medium

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005011119A (en) * 2003-06-19 2005-01-13 Hitachi Software Eng Co Ltd Data transfer method
JP2008258755A (en) * 2007-04-02 2008-10-23 Hitachi Ltd Transceiving method of file and system
WO2012122543A1 (en) * 2011-03-09 2012-09-13 Sirius XM Radio, Inc. System and method for increasing transmission bandwidth efficiency
CN102739791A (en) * 2012-06-28 2012-10-17 奇智软件(北京)有限公司 File downloading and uploading method and device
CN102833294A (en) * 2011-06-17 2012-12-19 阿里巴巴集团控股有限公司 File processing method and system based on cloud storage, and server cluster system
CN103442090A (en) * 2013-09-16 2013-12-11 苏州市职业大学 Cloud computing system for data scatter storage
CN104378422A (en) * 2014-11-13 2015-02-25 中国联合网络通信有限公司保定市分公司 Mobile terminal and file transmission method and system thereof
CN104468843A (en) * 2014-12-31 2015-03-25 浪潮软件股份有限公司 File uploading method and device
CN105095300A (en) * 2014-05-16 2015-11-25 阿里巴巴集团控股有限公司 Method and system for database backup
CN106294585A (en) * 2016-07-28 2017-01-04 四川新环佳科技发展有限公司 A kind of storage method under cloud computing platform
CN106557518A (en) * 2015-09-29 2017-04-05 北大方正集团有限公司 A kind of method for transmitting file, device and terminal
CN106657213A (en) * 2016-09-14 2017-05-10 深圳峰创智诚科技有限公司 File transmission method and device
CN107360254A (en) * 2017-08-22 2017-11-17 北京奇艺世纪科技有限公司 A kind of document down loading method, device, server and terminal
JP2018073064A (en) * 2016-10-27 2018-05-10 合同会社サクセスナレッジ File division and combination system and method thereof
CN108234539A (en) * 2016-12-14 2018-06-29 北京金山云网络技术有限公司 A kind of file upload, download, transmission method and device
CN108933805A (en) * 2017-05-26 2018-12-04 武汉斗鱼网络科技有限公司 A kind of document transmission method and system
CN109040191A (en) * 2018-07-03 2018-12-18 平安科技(深圳)有限公司 Document down loading method, device, computer equipment and storage medium
US20190149594A1 (en) * 2017-11-13 2019-05-16 Heung Yeol KWON File transmission method and system performing the same
CN110401725A (en) * 2019-08-23 2019-11-01 深圳市鹰硕技术有限公司 File uploading method, device, terminal, server, system and storage medium

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005011119A (en) * 2003-06-19 2005-01-13 Hitachi Software Eng Co Ltd Data transfer method
JP2008258755A (en) * 2007-04-02 2008-10-23 Hitachi Ltd Transceiving method of file and system
WO2012122543A1 (en) * 2011-03-09 2012-09-13 Sirius XM Radio, Inc. System and method for increasing transmission bandwidth efficiency
CN102833294A (en) * 2011-06-17 2012-12-19 阿里巴巴集团控股有限公司 File processing method and system based on cloud storage, and server cluster system
CN102739791A (en) * 2012-06-28 2012-10-17 奇智软件(北京)有限公司 File downloading and uploading method and device
CN103442090A (en) * 2013-09-16 2013-12-11 苏州市职业大学 Cloud computing system for data scatter storage
CN105095300A (en) * 2014-05-16 2015-11-25 阿里巴巴集团控股有限公司 Method and system for database backup
CN104378422A (en) * 2014-11-13 2015-02-25 中国联合网络通信有限公司保定市分公司 Mobile terminal and file transmission method and system thereof
CN104468843A (en) * 2014-12-31 2015-03-25 浪潮软件股份有限公司 File uploading method and device
CN106557518A (en) * 2015-09-29 2017-04-05 北大方正集团有限公司 A kind of method for transmitting file, device and terminal
CN106294585A (en) * 2016-07-28 2017-01-04 四川新环佳科技发展有限公司 A kind of storage method under cloud computing platform
CN106657213A (en) * 2016-09-14 2017-05-10 深圳峰创智诚科技有限公司 File transmission method and device
JP2018073064A (en) * 2016-10-27 2018-05-10 合同会社サクセスナレッジ File division and combination system and method thereof
CN108234539A (en) * 2016-12-14 2018-06-29 北京金山云网络技术有限公司 A kind of file upload, download, transmission method and device
CN108933805A (en) * 2017-05-26 2018-12-04 武汉斗鱼网络科技有限公司 A kind of document transmission method and system
CN107360254A (en) * 2017-08-22 2017-11-17 北京奇艺世纪科技有限公司 A kind of document down loading method, device, server and terminal
US20190149594A1 (en) * 2017-11-13 2019-05-16 Heung Yeol KWON File transmission method and system performing the same
CN109040191A (en) * 2018-07-03 2018-12-18 平安科技(深圳)有限公司 Document down loading method, device, computer equipment and storage medium
CN110401725A (en) * 2019-08-23 2019-11-01 深圳市鹰硕技术有限公司 File uploading method, device, terminal, server, system and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
弯弯: "新版文件分割器上手指南" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254402A (en) * 2021-05-18 2021-08-13 福州理工学院 Shared file management method and storage medium
CN113254402B (en) * 2021-05-18 2022-08-30 福州理工学院 Shared file management method and storage medium

Also Published As

Publication number Publication date
CN111193785B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
JP6621543B2 (en) Automatic update of hybrid applications
CA2811372C (en) Group bookmarks
JP7377237B2 (en) Audio broadcasting method, apparatus, electronic device, computer-readable storage medium and computer program
US9342616B2 (en) User influenced asynchronous module definition loader
WO2022002066A1 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
JP2020009426A (en) Method, system, and non-transitory computer-readable recording medium for providing copied message list
KR20140101370A (en) Autonomous network streaming
EP4116894A1 (en) Method for processing model parameters, and apparatus
CN107479868A (en) A kind of interface loading method, device and equipment
CN107959932B (en) Method and device for processing wireless access point information and computer readable storage medium
CN109492200A (en) Cooperated documents restoring method, device, storage medium and electronic equipment
JP2022091904A (en) Mini program page skin changeover method, device, and electronic apparatus
WO2023092580A1 (en) Page display method and apparatus, storage medium, and electronic device
US9426109B1 (en) Selective forwarding of components of an attached archive in email system
CN113242244B (en) Data transmission method, device and system
CN111193785A (en) File cutting transmission method and device and electronic equipment
WO2023207543A1 (en) Media content publishing method and apparatus, and device, storage medium and program product
CN112394907A (en) Container-based delivery system construction method, application delivery method and delivery system
JP7217181B2 (en) WEARABLE DEVICE, INFORMATION PROCESSING METHOD, APPARATUS AND SYSTEM
CN113452733A (en) File downloading method and device
CN103139298A (en) Method for transmitting network data and device
US10554770B2 (en) Dynamic cognitive optimization of web applications
US11366613B2 (en) Method and apparatus for writing data
US9304830B1 (en) Fragment-based multi-threaded data processing
CN110647327A (en) Method and device for dynamic control of user interface based on card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant