CN112929407A - File transmission method, device, equipment and readable storage medium - Google Patents

File transmission method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN112929407A
CN112929407A CN202110071270.1A CN202110071270A CN112929407A CN 112929407 A CN112929407 A CN 112929407A CN 202110071270 A CN202110071270 A CN 202110071270A CN 112929407 A CN112929407 A CN 112929407A
Authority
CN
China
Prior art keywords
file
transmission
encryption
signal
transmitted
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.)
Pending
Application number
CN202110071270.1A
Other languages
Chinese (zh)
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN202110071270.1A priority Critical patent/CN112929407A/en
Publication of CN112929407A publication Critical patent/CN112929407A/en
Pending legal-status Critical Current

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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • 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/55Push-based network services
    • 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/60Digital content management, e.g. content distribution
    • H04L2209/608Watermarking

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a file transmission method, a device, equipment and a readable storage medium, wherein the file transmission method comprises the following steps: responding to a transmission request of a file to be transmitted of a file sender, and extracting configuration information in the transmission request, wherein the configuration information at least comprises an output mode, a storage address, encryption demand information and transmission target information of the file to be transmitted; downloading the file to be transmitted according to the storage address; adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted; converting the encrypted transmission file into an output signal conforming to the output mode; reading the address of a signal receiver in the transmission target information; and transmitting the output signal to a signal receiving party according to the address of the signal receiving party. The problem of prior art file transmission singleness and unsafe is solved.

Description

File transmission method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of multimedia file transmission technologies, and in particular, to a file transmission method, apparatus, device, and readable storage medium.
Background
In the cooperation and business exchange between multimedia platforms such as various television stations and media organizations, the requirement of file transmission is very extensive in order to enrich the content sources of the main business of various media platforms.
In the prior art, a file transmission mode between multimedia platforms is very single, cannot adapt to the diversity of service requirements, and has no complete and standardized solution for data security in the file transmission process.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a file transfer method, apparatus, device and readable storage medium that overcome or at least partially solve the above problems.
Responding to a transmission request of a file to be transmitted of a file sender, and extracting configuration information in the transmission request, wherein the configuration information at least comprises an output mode, a storage address, encryption demand information and transmission target information of the file to be transmitted;
downloading the file to be transmitted according to the storage address;
adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted;
converting the encrypted transmission file into an output signal conforming to the output mode;
reading the address of a signal receiver in the transmission target information;
and transmitting the output signal to a signal receiving party according to the address of the signal receiving party.
According to a second aspect of the present invention, an embodiment of the present invention discloses a file transfer apparatus, which specifically includes:
the file transmission device comprises a configuration information extraction module, a file transmission module and a file transmission module, wherein the configuration information extraction module is used for responding to a transmission request of a file to be transmitted of a file sender and extracting configuration information in the transmission request, and the configuration information at least comprises an output mode, a storage address, encryption demand information and transmission target information of the file to be transmitted;
the file downloading module is used for downloading the file to be transmitted according to the storage address;
the encryption module is used for adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted;
the signal conversion module is used for converting the encrypted transmission file into an output signal conforming to the output mode;
a receiving address reading module, configured to read a signal receiver address in the transmission target information;
and the file pushing module is used for transmitting the output signal to a signal receiver according to the address of the signal receiver.
According to a third aspect of the invention, there is provided an apparatus comprising: processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor implements a file transfer method as described in the foregoing when executing the program.
According to a fourth aspect of the present invention, there is provided a readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to implement the aforementioned file transfer method.
The embodiment of the invention has the advantages that the configuration information in the transmission request is extracted by responding to the transmission request of the file to be transmitted of a file sender, wherein the configuration information at least comprises the output mode, the storage address, the encryption demand information and the transmission target information of the file to be transmitted; downloading the file to be transmitted according to the storage address; adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted; converting the encrypted transmission file into an output signal conforming to the output mode; reading the address of a signal receiver in the transmission target information; and transmitting the output signal to a signal receiving party according to the address of the signal receiving party. The problem of prior art file transmission singleness and unsafe is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flowchart illustrating the steps of one embodiment of a file transfer method of the present invention;
FIG. 1A is a schematic external view of an integrated terminal device of the present invention;
FIG. 1B is a schematic diagram of a technical architecture of a file transmission method according to the present invention;
FIG. 2 is a flowchart illustrating the steps of one embodiment of a file transfer method of the present invention;
FIG. 2A is a data flow diagram illustrating a file transfer method according to the present invention;
FIG. 2B is a schematic diagram of a serial digital signal output process according to the present invention;
fig. 2C is a schematic diagram of a watermark encryption process according to the present invention;
fig. 3 is a block diagram of a file transfer apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a file transmission method according to the present invention is shown, which may specifically include the following steps:
step 101, responding to a transmission request of a file to be transmitted of a file sender, extracting configuration information in the transmission request, wherein the configuration information at least comprises an output mode, a storage address, encryption demand information and transmission target information of the file to be transmitted;
in the embodiment of the invention, the file transmission is suitable for audio and video file transmission among various television stations and other media mechanisms or platforms, and the safe transmission is realized by adopting terminal equipment integrating software and hardware based on multi-protocol transmission.
The terminal equipment selects a preset high-definition video editing card, supports 8-channel PCIe 2.0 videos, supports 4:2:2 and 4:4:4 sampling rates, and guarantees transmission stability. The hardware configuration parameters of the terminal equipment are as shown in the table I:
Figure BDA0002905867470000041
table-terminal equipment hardware configuration parameter example table
The appearance of the device is shown in fig. 1A, which includes a power socket, a USB interface, a network port, a VGA display interface, a signal output interface, a signal input interface, and a power switch.
In practical application, when software service on terminal equipment is started, a transmission request of whether a file is to be transmitted or not is read, if a file transmission request exists on a data input port on the equipment, including one of a signal input port, a USB port and a network port, a configuration file in the file transmission request is read, and a common configuration file comprises parameters of an output mode, a storage address, encryption demand information, transmission target information and the like of the file to be transmitted.
It can be understood that the above terminal device hardware configuration and the information of the file to be transmitted included in the configuration information are not limited to the above description, and the embodiment of the present invention does not limit this.
102, downloading the file to be transmitted according to the storage address;
in the embodiment of the invention, the transmission path of the file to be transmitted, namely the download address, acquired in the configuration information is downloaded according to the address and stored in the temporary folder, so that the subsequent processing such as encryption, signal conversion and the like of the file to be transmitted is facilitated.
Further, as shown in fig. 1B, the software service installed in the hardware of the terminal device mainly includes a File downloading component, a watermark encrypting component, a File2SDI playing component, and a File pushing component, and this step is completed by the File downloading component.
103, adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted;
in the embodiment of the invention, the encryption demand information of the file to be transmitted is read in the configuration file, the watermark adding encryption is generally confirmed according to the configuration parameter watermark required, and the encrypted transmission file is obtained after the watermark encryption is carried out on the transmission file according to the encryption mode.
The watermark encryption includes source information (transmission path) and copyright information of the file to be transmitted, and the source and copyright of the file to be transmitted can be tracked in the later period according to the watermark.
Further, as shown in fig. 1B, the software service installed in the hardware of the terminal device mainly includes a File downloading component, a watermark encrypting component, a File2SDI playing component, and a File pushing component, and this step is completed by the watermark encrypting component.
Of course, in practical applications, the encryption manner is not limited to watermark encryption, and the embodiment of the present invention does not limit this.
Step 104, converting the encrypted transmission file into an output signal conforming to the output mode;
in the embodiment of the invention, the output mode of the file to be transmitted is acquired in the configuration file, and the audio and video file which is normally transmitted between the media platforms is output by different signals, so that the audio and video file needs to be converted into different output signals and then transmitted according to the requirements of a specific platform or a terminal equipment interface, thereby ensuring that the radio recorder of a receiver can normally play audio and video stream.
Further, as shown in fig. 1B, the software service installed in the terminal device hardware mainly includes a File downloading component, a watermark encrypting component, a File2SDI playing component and a File pushing component, where the File2SDI playing component is a component that needs to convert the encrypted File to be transmitted into a Serial Digital signal that can be identified by SDI (Serial Digital Interface) for the File output mode, and if the File output mode is the SDI mode, the step is completed by the File2SDI playing component.
In practical applications, the file transmission manner is not limited to the above description, and the embodiment of the present invention is not limited by contrast.
Step 105, reading the address of a signal receiver in the transmission target information;
in the embodiment of the invention, the address of the receiver to be transmitted to the other party is read in the configuration file, and certainly, the receiver can also be a terminal output interface address, for example, an interface address of the terminal for outputting the converted audio/video signal.
And step 106, transmitting the output signal to a signal receiving party according to the address of the signal receiving party.
In the embodiment of the invention, the output signal is transmitted to the receiver according to the address of the receiver, if the receiver is not a third party, taking a radio recorder on the current equipment terminal as an example, the output signal is transmitted to the radio recorder, and the radio recorder is responsible for playing audio and video streams.
It is to be understood that the transmission file is not limited to the audio/video file, and may be any file transmitted between media platforms, and the embodiment of the present invention is not limited thereto.
Further, as shown in fig. 1B, the software service installed in the hardware of the terminal device mainly includes a File downloading component, a watermark encrypting component, a File2SDI playing component and a File pushing component, where the File outputting manner is other than SDI, the File pushing component mainly aims at that the File outputting manner is FTP (File transfer protocol), SAMBA protocol and ferry protocol, and the File pushing component converts the File according to the transmitting manner and then pushes the converted File.
In practical applications, the file transmission manner is not limited to the above description, and the embodiment of the present invention is not limited by contrast.
In the embodiment of the invention, the configuration information in the transmission request is extracted by responding to the transmission request of the file to be transmitted of a file sender, wherein the configuration information at least comprises the output mode, the storage address, the encryption demand information and the transmission target information of the file to be transmitted; downloading the file to be transmitted according to the storage address; adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted; converting the encrypted transmission file into an output signal conforming to the output mode; reading the address of a signal receiver in the transmission target information; and transmitting the output signal to a signal receiving party according to the address of the signal receiving party. The problem of prior art file transmission singleness and unsafe is solved.
Example two
Referring to fig. 2, a flowchart illustrating steps of an embodiment of a file transmission method according to the present invention is shown, which may specifically include the following steps:
step 201, in response to a transmission request of a file to be transmitted from a file sender, extracting configuration information in the transmission request, where the configuration information at least includes an output mode, a storage address, encryption requirement information, and transmission target information of the file to be transmitted;
this step is the same as step 101 and will not be described in detail here.
Step 202, downloading the file to be transmitted according to the storage address;
this step is the same as step 101 and will not be described in detail here.
Preferably, in another embodiment of the present invention, the method further includes:
step 203, if the encryption requirement information includes an encryption request, step 204 is executed, otherwise step 2031 is executed, the file to be transmitted is converted into an output signal conforming to the output mode, and step 207 is executed after step 2031 is executed.
In the embodiment of the present invention, as shown in fig. 2A, file encryption requirement information downloaded in a configuration file, that is, configuration parameter watermark required, determines whether watermark encryption needs to be added, if the parameter is 1, encryption is performed, if the parameter is 0, encryption is not performed,
if the file needs to be encrypted, step 204 is entered, otherwise the file to be transmitted is converted into an output signal conforming to the transmission mode.
Preferably, the output mode is a serial digital signal, and step 2031 includes:
substep D1, writing the file to be transmitted into a preset board card;
as shown in fig. 2B, if the file output mode is an SDI serial digital signal, the playlist file is queried, a specific path of the audio/video file is obtained by reading the playlist file, the audio/video file is read according to the path and written into the board card, and an SDI signal is output and received by the radio recorder.
And a substep D2, converting the encrypted transmission file into a serial digital interface signal by the preset board card.
The method comprises the steps that a program reads out broadcasting time from a configuration file of a program root directory, the broadcasting list file is stored in the program root directory, the broadcasting list file records the address of a specific video file, whether the file is broadcasted at the set broadcasting time is judged after the broadcasting list file is scanned to obtain the address of audio and video, if yes, the file is written into a preset board card and output in an SDI serial digital signal mode, the next file to be broadcasted on the broadcasting list is scanned after the output is successful, and if the pushing is not completed, the file is continuously requested to be written into the preset board card again.
Preferably, the output mode is a file transfer protocol, and step 2031 includes:
and a substep E1, copying the file to be transmitted to a preset file transfer protocol directory, and converting the file to a file transfer protocol signal.
And if the file transmission mode is an FTP file transmission protocol, copying the file to be transmitted to a target FTP folder.
Further, the FTP push target refers to the address and folder path of the FTP service, such as: ftp// 192.168.0.10@ admin: 123456/video.
Preferably, the output mode is the samba protocol, and step 2031 includes:
and a substep F1, copying the file to be transmitted to a preset Moreba protocol directory, and converting the file to be transmitted into a Moreba protocol signal.
Wherein, if the file transmission mode is SAMBA protocol, copying the file to the target SAMBA folder by SAMBA protocol, where SAMBA push target refers to the path of the shared folder, such as: \ \192.168.0.10\ video.
Step 204, adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted;
as shown in fig. 2C, when the terminal device software service is started, and the configuration parameters are read when the terminal device software service is started, the configuration parameters include a watermark encryption parameter watermark encrypted, whether watermark encryption needs to be added is judged according to the configuration parameter watermark encrypted, if watermark encryption needs to be added, a watermark image in a terminal program folder is read, a video file is recoded to add a watermark, and finally, an output watermark video is an encrypted transmission file.
Further, the file is downloaded from the content source, stored in the temporary directory, and still stored in the temporary directory after being subjected to the re-encoding encryption process.
It is to be understood that the encryption type is not limited to watermark encryption, and the embodiment of the present invention does not impose any limitation on this.
Step 205, the output mode is serial digital signals, and the encrypted transmission file is written into a preset board card;
in the embodiment of the invention, after the encryption step of the File is completed, because the output mode is confirmed to be the serial digital signal, the encrypted transmission File is written into a preset SDI board card, namely a File2SDI playing component, so that the encrypted File is converted into the serial digital signal which can be identified by the SDI.
Preferably, in another embodiment of the present invention, the method further comprises:
and step A1, the output mode is file transmission protocol, the encrypted transmission file is copied to a preset file transmission protocol directory and converted into a file transmission protocol signal.
Wherein, if it is FTP (file transfer protocol) output, copying the downloaded file to the target FTP folder by the FTP file transfer protocol to complete the conversion of the output mode of the audio/video file, the FTP push target refers to the address of the FTP service and the folder path, such as: ftp// 192.168.0.10@ admin: 123456/video.
Preferably, in another embodiment of the present invention, the method further comprises:
and step B1, copying the encrypted transmission file to a preset Morbus protocol directory to convert the encrypted transmission file into a Morbus protocol signal, wherein the output mode is the Morbus protocol.
If the output mode of the file is confirmed to be the SAMBA protocol (SAMBA protocol) according to the configuration information, copying the file to a target SAMBA folder through the SAMBA protocol to complete conversion of the output mode of the audio and video file, where the SAMBA push target refers to a path of a shared folder, for example: \ \192.168.0.10\ video.
Step 206, the preset board card converts the encrypted transmission file into a serial digital interface signal.
In the embodiment of the invention, when the encrypted file is converted into the SDI signal, the playing time of the file is firstly obtained through the play list file stored in the configuration information.
The broadcasting list file is stored in the program root directory, and records the address of a specific video file.
Step 207, reading the address of the signal receiver in the transmission target information;
wherein, the SDI signal is sent to the receiver according to the address of the specific video file recorded by the play list file.
Of course, the receiving party may also be a terminal interface address, such as an interface address of the terminal outputting the converted audio/video signal.
Step 208, transmitting the output signal to a signal receiver according to the address of the signal receiver.
When the receiver is a terminal interface address, the SDI video stream is input into the radio recorder, and the radio recorder is responsible for playing the video stream.
It is to be understood that the file transmission manner is not limited to the above description, and the embodiment of the present invention is not limited thereto.
In the embodiment of the invention, the configuration information in the transmission request is extracted by responding to the transmission request of the file to be transmitted of a file sender, wherein the configuration information at least comprises the output mode, the storage address, the encryption demand information and the transmission target information of the file to be transmitted; judging whether the file to be transmitted needs to be encrypted or not according to the encryption request contained in the encryption demand information, and if so, downloading the file to be transmitted according to the storage address; adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted; converting the encrypted transmission file into an output signal conforming to the output mode; reading the address of a signal receiver in the transmission target information; and transmitting the output signal to a signal receiving party according to the address of the signal receiving party. The problem of prior art file transmission singleness and unsafe is solved.
EXAMPLE III
Referring to fig. 3, a block diagram of a file transmission apparatus according to an embodiment of the present invention is shown, and specifically includes the following modules:
the configuration information extraction module 301 is configured to, in response to a transmission request of a file to be transmitted from a file sender, extract configuration information in the transmission request, where the configuration information at least includes an output mode, a storage address, encryption requirement information, and transmission target information of the file to be transmitted;
a file downloading module 302, configured to download the file to be transmitted according to the storage address;
preferably, the method further comprises the following steps:
and an encryption judgment module, configured to enter the encryption module 303 if the encryption requirement information includes an encryption request, and otherwise enter the signal conversion module 304.
The encryption module 303 is configured to add an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted;
a signal conversion module 304, configured to convert the encrypted transmission file into an output signal conforming to the output mode;
preferably, the output mode is a serial digital signal, and the signal conversion module 304 includes:
the file reading sub-module is used for writing the encrypted transmission file into a preset board card;
and the signal conversion submodule is used for converting the encrypted transmission file into a serial digital interface signal by the preset board card.
Preferably, the output mode is a file transfer protocol, and the signal conversion module 304 further includes:
and the file transmission protocol signal conversion submodule is used for copying the encrypted transmission file to a preset file transmission protocol directory and converting the encrypted transmission file into a file transmission protocol signal.
Preferably, the output mode is a samba protocol, and the signal conversion module 304 further includes:
and the mulberry protocol signal conversion submodule is used for copying the encrypted transmission file to a preset mulberry protocol directory and converting the encrypted transmission file into a mulberry protocol signal.
A receiving address reading module 305, configured to read a signal receiving party address in the transmission target information;
and the file pushing module 306 is configured to transmit the output signal to a signal receiver according to the address of the signal receiver.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an apparatus, including: a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to perform one or more of the file transfers described above.
Embodiments of the present invention also provide a readable storage medium, and when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the file transfer.
In summary, in the embodiments of the present invention,
the method comprises the steps that a configuration information extraction module is used for responding to a transmission request of a file to be transmitted of a file sender and extracting configuration information in the transmission request, wherein the configuration information at least comprises an output mode, a storage address, encryption demand information and transmission target information of the file to be transmitted; the file downloading module is used for downloading the file to be transmitted according to the storage address; the encryption module is used for adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted; the signal conversion module is used for converting the encrypted transmission file into an output signal conforming to the output mode; a receiving address reading module, configured to read a signal receiver address in the transmission target information; and the file pushing module is used for transmitting the output signal to a signal receiver according to the address of the signal receiver. The problem of prior art file transmission singleness and unsafe is solved.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The foregoing describes in detail a file transfer method, apparatus, device and readable storage medium provided by the present invention, and specific examples are applied herein to explain the principles and embodiments of the present invention, and the descriptions of the foregoing examples are only used to help understand the method and core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for file transfer, comprising:
responding to a transmission request of a file to be transmitted of a file sender, and extracting configuration information in the transmission request, wherein the configuration information at least comprises an output mode, a storage address, encryption demand information and transmission target information of the file to be transmitted;
downloading the file to be transmitted according to the storage address;
adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted;
converting the encrypted transmission file into an output signal conforming to the output mode;
reading the address of a signal receiver in the transmission target information;
and transmitting the output signal to a signal receiving party according to the address of the signal receiving party.
2. The method of claim 1, wherein the output means is a serial digital signal, and wherein converting the encrypted transmission file into an output signal conforming to the output means comprises:
writing the encrypted transmission file into a preset board card;
and the preset board card converts the encrypted transmission file into a serial digital interface signal.
3. The method of claim 1, wherein the output means is a file transfer protocol, and wherein converting the encrypted transmission file into an output signal conforming to the output means comprises:
and copying the encrypted transmission file to a preset file transmission protocol directory, and converting the encrypted transmission file into a file transmission protocol signal.
4. The method of claim 1, wherein the output mode is the samba protocol, and wherein converting the encrypted transmission file into an output signal conforming to the output mode comprises:
and copying the encrypted transmission file to a preset Morbus protocol directory, and converting the encrypted transmission file into a Morbus protocol signal.
5. The method according to claim 1, wherein before adding an encryption flag to the file to be transmitted according to the encryption requirement information to obtain an encrypted transmission file, the method further comprises:
if the encryption demand information contains an encryption request, adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file, otherwise, converting the file to be transmitted into an output signal according with the output mode.
6. A file transfer apparatus, comprising:
the file transmission device comprises a configuration information extraction module, a file transmission module and a file transmission module, wherein the configuration information extraction module is used for responding to a transmission request of a file to be transmitted of a file sender and extracting configuration information in the transmission request, and the configuration information at least comprises an output mode, a storage address, encryption demand information and transmission target information of the file to be transmitted;
the file downloading module is used for downloading the file to be transmitted according to the storage address;
the encryption module is used for adding an encryption mark to the file to be transmitted according to the encryption demand information to obtain an encrypted transmission file; the encryption mark at least comprises source information and copyright information of the file to be transmitted;
the signal conversion module is used for converting the encrypted transmission file into an output signal conforming to the output mode;
a receiving address reading module, configured to read a signal receiver address in the transmission target information;
and the file pushing module is used for transmitting the output signal to a signal receiver according to the address of the signal receiver.
7. The apparatus of claim 1, wherein the output means is a serial digital signal, and the signal conversion module comprises:
the file reading sub-module is used for writing the encrypted transmission file into a preset board card;
and the signal conversion submodule is used for converting the encrypted transmission file into a serial digital interface signal by the preset board card.
8. The apparatus of claim 1, wherein the output means is a file transfer protocol, and the signal conversion module comprises:
and the file transmission protocol signal conversion submodule is used for copying the encrypted transmission file to a preset file transmission protocol directory and converting the encrypted transmission file into a file transmission protocol signal.
9. An apparatus, comprising:
processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor implements the file transfer method according to any of claims 1-5 when executing the program.
10. A readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to implement the test file transfer method of any of claims 1-5.
CN202110071270.1A 2021-01-19 2021-01-19 File transmission method, device, equipment and readable storage medium Pending CN112929407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110071270.1A CN112929407A (en) 2021-01-19 2021-01-19 File transmission method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110071270.1A CN112929407A (en) 2021-01-19 2021-01-19 File transmission method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112929407A true CN112929407A (en) 2021-06-08

Family

ID=76163555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110071270.1A Pending CN112929407A (en) 2021-01-19 2021-01-19 File transmission method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112929407A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567506A (en) * 2022-08-08 2023-01-03 山东日照发电有限公司 Data transmission method and system based on FTP (File transfer protocol)
CN116095147A (en) * 2023-02-08 2023-05-09 中银金融科技有限公司 Data transmission method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330517A (en) * 2008-08-04 2008-12-24 上海维播信息技术有限公司 Method for distributing interactive paster advertisement
CN102014341A (en) * 2010-12-02 2011-04-13 深圳市同洲电子股份有限公司 Multi-media data transmission method and system
US20140379823A1 (en) * 2013-06-19 2014-12-25 Twilio, Inc. System and method for transmitting and receiving media messages
US20180262470A1 (en) * 2015-03-08 2018-09-13 Soreq Nuclear Research Center Secure document transmission
CN109474606A (en) * 2018-12-04 2019-03-15 平安科技(深圳)有限公司 Document transmission method, device, computer equipment and storage medium
CN111064978A (en) * 2019-12-26 2020-04-24 合肥道正企智大数据有限公司 Picture encryption transmission method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330517A (en) * 2008-08-04 2008-12-24 上海维播信息技术有限公司 Method for distributing interactive paster advertisement
CN102014341A (en) * 2010-12-02 2011-04-13 深圳市同洲电子股份有限公司 Multi-media data transmission method and system
US20140379823A1 (en) * 2013-06-19 2014-12-25 Twilio, Inc. System and method for transmitting and receiving media messages
US20180262470A1 (en) * 2015-03-08 2018-09-13 Soreq Nuclear Research Center Secure document transmission
CN109474606A (en) * 2018-12-04 2019-03-15 平安科技(深圳)有限公司 Document transmission method, device, computer equipment and storage medium
CN111064978A (en) * 2019-12-26 2020-04-24 合肥道正企智大数据有限公司 Picture encryption transmission method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567506A (en) * 2022-08-08 2023-01-03 山东日照发电有限公司 Data transmission method and system based on FTP (File transfer protocol)
CN116095147A (en) * 2023-02-08 2023-05-09 中银金融科技有限公司 Data transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US8732775B2 (en) Systems and methods of processing closed captioning for video on demand content
CN102571726B (en) Method, system and the state judgment server that multi-medium data is shared
CN104869467B (en) Information output method, device and system in media play
RU2480818C1 (en) Software updating system, display unit and software updating method
CN106534053B (en) Media file permission control method, server and equipment
US20080284905A1 (en) Schedulable multiple-formal video converting apparatus
US20100135638A1 (en) Receiving device and receiving method
US8290343B2 (en) Electronic apparatus, reproducing method and program
CN101669126B (en) Method and apparatus for composing a digital rights management license format
CN112929407A (en) File transmission method, device, equipment and readable storage medium
US20070189713A1 (en) Digital multimedia reproducing apparatus and method of providing digital multimedia broadcasting in the digital multimedia reproducing apparatus
CN101112089B (en) Method and apparatus for storing broadcast program
CN103152615B (en) The method and device of distribution of multimedia information
WO2015085862A1 (en) Method and apparatus for playing 3d film sources in smart tv
CN106851331B (en) Easy broadcast processing method and system
US20130160071A1 (en) Digital broadcast transmitter, digital broadcast receiver, and audio description descriptor processing methods thereof
CN101361364B (en) Electronic programming guide providing apparatus and method
US20100063984A1 (en) Method and device for the controlled editing and broadcasting of compressed multimedia files
WO2006079936A1 (en) Method and apparatus of digital program broadcasting, recording and playback
US20060115232A1 (en) Reproducing apparatus, reproducing system, and reproducing method
EP2690865A1 (en) Recording Device
EP3238451B1 (en) Multimedia content distribution system
CN112218101A (en) Method, equipment and system for realizing live broadcast and on-demand broadcast functions
CN101312060B (en) Video frequency file conversion device capable of programming and scheduling
US11232816B2 (en) Multi-window viewing system including editor for reaction video and method for producing reaction video by using same

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210608

RJ01 Rejection of invention patent application after publication