CN110392105A - A kind of document transmission method, device, system and electronic equipment and storage medium - Google Patents

A kind of document transmission method, device, system and electronic equipment and storage medium Download PDF

Info

Publication number
CN110392105A
CN110392105A CN201910656865.6A CN201910656865A CN110392105A CN 110392105 A CN110392105 A CN 110392105A CN 201910656865 A CN201910656865 A CN 201910656865A CN 110392105 A CN110392105 A CN 110392105A
Authority
CN
China
Prior art keywords
service end
file
file transfer
application service
client
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
CN201910656865.6A
Other languages
Chinese (zh)
Other versions
CN110392105B (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201910656865.6A priority Critical patent/CN110392105B/en
Publication of CN110392105A publication Critical patent/CN110392105A/en
Application granted granted Critical
Publication of CN110392105B publication Critical patent/CN110392105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/16Implementing security features at a particular protocol layer
    • H04L63/168Implementing security features at a particular protocol layer above the transport layer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of document transmission method, device and a kind of electronic equipment and computer readable storage mediums, this method comprises: obtaining file transfer applications from application service end;Wherein, the file transfer applications are the application program based on SSH agreement;File transmission is carried out using the file transfer applications and the application service end.Document transmission method provided by the present application, the file transfer applications that will be present in application service end first are locally downloading and run, this document transmission application is realized based on SSH to be transmitted with the file at application service end, and then transmittable super large file, without carrying out sliced transmission, file transmission efficiency is improved.

Description

A kind of document transmission method, device, system and electronic equipment and storage medium
Technical field
This application involves fields of communication technology, more specifically to a kind of document transmission method, device, system and one Kind electronic equipment and a kind of computer readable storage medium.
Background technique
As information technology develops rapidly and is widely applied, the information technology concept of cloud computing, big data emerges one after another, answers Web for all trades and professions is using many kinds of, and file uploads, download function substantially belongs to necessary functions.But it is super when encountering Big file, for example, operating system mirror image, large software installation kit upload downloading when, can be very slow.For big file uploading Conventional process in the industry is to be transmitted big file division at multiple small documents using sliced transmission, and all small documents pass It is finished into and remerges into big file later.Union operation of the scheme of file transmission after file is transmitted is realized based on fragment It takes a long time, the time is directly proportional to file size, and the file mergences time of 4G or more is even more than 5 minutes, and user experience is poor.
Therefore, how to improve the efficiency of transmission of big file is those skilled in the art's technical issues that need to address.
Summary of the invention
The application's is designed to provide a kind of document transmission method, device, system and a kind of electronic equipment and a kind of meter Calculation machine readable storage medium storing program for executing, improves the efficiency of transmission of big file.
To achieve the above object, this application provides a kind of document transmission methods, are applied to client, comprising:
File transfer applications are obtained from application service end;Wherein, the file transfer applications are the application based on SSH agreement Program;
File transmission is carried out using the file transfer applications and the application service end.
It is wherein, described to obtain file transfer applications from application service end, comprising:
Target thin-client is obtained from the application service end, and determines the storage path of the file transfer applications;
It is obtained from the storage path in the application service end using the authentication key in the target thin-client Take the file transfer applications.
Wherein, the authentication key includes user name, password and the port at the application service end.
Wherein, the target thin-client is specially JNLP client.
To achieve the above object, this application provides a kind of file transfer means, are applied to client, comprising:
Module is obtained, for obtaining file transfer applications from application service end;Wherein, the file transfer applications be based on The application program of SSH agreement;
Transmission module, for carrying out file transmission using the file transfer applications and the application service end.
Wherein, the acquisition module includes:
First acquisition unit for obtaining target thin-client from the application service end, and determines the file transmission The storage path of application;
Second acquisition unit, for utilizing the authentication key in the target thin-client from the application service end The file transfer applications are obtained in the storage path.
Wherein, the target thin-client is specially JNLP client.
To achieve the above object, this application provides a kind of electronic equipment, comprising:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the step of above-mentioned document transmission method.
To achieve the above object, this application provides a kind of computer readable storage medium, the computer-readable storages It is stored with computer program on medium, the step such as above-mentioned document transmission method is realized when the computer program is executed by processor Suddenly.
To achieve the above object, this application provides a kind of document transmission systems, comprising:
Application service end is used for storage file transmission application;
Client for obtaining the file transfer applications from the application service end, and is answered using file transmission File transmission is carried out with the application service end.
By above scheme it is found that a kind of document transmission method provided by the present application, comprising: obtain text from application service end Part transmission application;Wherein, the file transfer applications are the application program based on SSH agreement;Utilize the file transfer applications File transmission is carried out with the application service end.
Document transmission method provided by the present application, the file transfer applications that will be present in application service end first download to this Ground is simultaneously run, and it is real that this document transmission application is based on SSH (Chinese name: safety shell protocol, full name in English: Secure Shell) It is now transmitted with the file at application service end, and then transmittable super large file, without carrying out sliced transmission, improves file transmission effect Rate.Disclosed herein as well is a kind of file transfer means, system and a kind of electronic equipment and a kind of computer readable storage medium, Equally it is able to achieve above-mentioned technical effect.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited Application.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.Attached drawing is and to constitute specification for providing further understanding of the disclosure A part, be used to explain the disclosure together with following specific embodiment, but do not constitute the limitation to the disclosure.Attached In figure:
Fig. 1 is a kind of architecture diagram of document transmission system shown according to an exemplary embodiment;
Fig. 2 is the architecture diagram of another document transmission system shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of document transmission method shown according to an exemplary embodiment;
Fig. 4 is the flow chart of another document transmission method shown according to an exemplary embodiment;
Fig. 5 is a kind of structure chart of file transfer means shown according to an exemplary embodiment;
Fig. 6 is the structure chart according to a kind of electronic equipment shown in an exemplary embodiment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
In order to understand document transmission method provided by the present application, the system being applied to first is introduced, such as Fig. 1 institute It states, document transmission system includes:
Application service end 100 is used for storage file transmission application;
Client 200 for obtaining the file transfer applications from the application service end, and is transmitted using the file File transmission is carried out using with the application service end.
Preferably, as shown in Fig. 2, the system may include web client, JNLP (full name in English: Java Network Launching Protocol) client, file transfer applications, application service end.
Web client, i.e., common browser are applied by the accessible web of browser, and the present embodiment is in web page Middle increase " file upload/downloading " button downloads JNLP client by the button.
JNLP client is a kind of thin-client based on browser, it can be from browser or desktop load application Program.In the present embodiment, JNLP client will be present in application service end file transfer applications it is locally downloading and start, It realizes web and calls long-range java application.JNLP client is substantially the configuration file of a .jnlp format, file Content contains the authentication key at application service end, such as service end system user name, password and port, file transfer applications Store the information such as path and enabled instruction.
File transfer applications are the JAVA application programs based on SSH protocol development, are supported through SSH agreement and application Server-side carries out file transmission, the transmission of super large file can be realized without fragment, including upload and download.
Application service end, it is desirable that be Linux the or Unix server for being equipped with SSH service, housed in designated position JNLP client and file transfer applications.When the user clicks when " file upload/downloading " button, triggering JNLP client is downloaded To user local.
The embodiment of the present application discloses a kind of document transmission method, improves the efficiency of transmission of big file.
Referring to Fig. 3, a kind of flow chart of document transmission method shown according to an exemplary embodiment, as shown in figure 3, packet It includes:
S101: file transfer applications are obtained from application service end;Wherein, the file transfer applications are based on SSH agreement Application program;
The purpose of the present embodiment is that realizing the transmission of big file between application service end and client, big file herein The file more than 1G or more such as file, such as operating system mirror image, large software installation kit for being greater than threshold value for file size, this The executing subject of embodiment is above-mentioned client, which can be web client, i.e. browser.
In this step, client obtains file transfer applications from application service end first, it should be noted that Mei Geke File transfer applications, i.e. application service end and file transfer applications are all stored with the application service end communicated with client It corresponds, each file transfer applications are used to upload from its corresponding application service end downloading file or to the application service end File.
Preferably, this step may include target thin-client being obtained from the application service end, and determine the file The storage path of transmission application;Using the authentication key in the target thin-client from the application service end described in deposit It puts and obtains the file transfer applications in path.
In specific implementation, client downloads target thin-client from application service end first, target Thin clients herein The preferably above-mentioned JNLP client in end is transmitted wherein being stored with file in the authentication key and application service end at application service end The storage path of application.Authentication key herein may include user name, password and port etc..Target thin-client utilizes certification Key obtains file transfer applications from storage path.
S102: file transmission is carried out using the file transfer applications and the application service end.
In the present embodiment, file transfer applications are realized based on SSH and are transmitted with the file of server-side, and then in this step It can use this document transmission application and realize that the super large file between client and application service end transmits.
Document transmission method provided by the embodiments of the present application is will be present in first under the file transfer applications at application service end It is downloaded to local and runs, this document transmission application is realized based on SSH to be transmitted with the file at application service end, and then transmittable super large File improves file transmission efficiency without carrying out sliced transmission.
The embodiment of the present application discloses a kind of document transmission method, and relative to a upper embodiment, the present embodiment is to technical side Case has made further instruction and optimization.It is specific:
Referring to fig. 4, the flow chart of another document transmission method shown according to an exemplary embodiment, as shown in figure 4, Include:
S201: JNLP client is obtained from application service end, and determines the storage path of the file transfer applications;
S202: using the authentication key in the target thin-client from the storage path in the application service end It is middle to obtain the file transfer applications;
S203: file transmission is carried out using the file transfer applications and the application service end.
It can be seen that the file transfer applications that will be present in server-side are locally downloading simultaneously the present invention is based on JNLP agreement Operation, this document transmission application is realized based on SSH to be transmitted with the file of server-side, and then transmittable super large file, such as is operated The file more than 1G or more such as system image, large software installation kit.It is truly realized and transmits super large using web without fragment File improves file transmission efficiency.
A kind of Application Example of the application is described below, can specifically include following steps:
Step 1: user clicks " file upload/downloading " button in web client, that is, browser, and triggering browser is from answering JNLP client is downloaded with server;
Step 2: cooperate the java environment automatic running JNLP client of user local, JNLP client after the completion of downloading According to included configuration from application server downloading file transfer applications to local, and by the user name of server-side, password and Port is as parameter startup file transmission application (the jar packet based on ssh exploitation).
Step 3: will pop up after file transfer applications starting with upload, the dialog box of download component, user can be according to mentioning Show and carries out uploading and downloading for file.After the completion of uploading and downloading, close box completes this upload/downloading process.
A kind of file transfer means provided by the embodiments of the present application are introduced below, a kind of file described below passes Defeated device can be cross-referenced with a kind of above-described document transmission method.
Referring to Fig. 5, a kind of structure chart of file transfer means shown according to an exemplary embodiment, as shown in figure 5, packet It includes:
Module 501 is obtained, for obtaining file transfer applications from application service end;Wherein, the file transfer applications are Application program based on SSH agreement;
Transmission module 502, for carrying out file transmission using the file transfer applications and the application service end.
File transfer means provided by the embodiments of the present application are will be present in first under the file transfer applications at application service end It is downloaded to local and runs, this document transmission application is realized based on SSH to be transmitted with the file at application service end, and then transmittable super large File improves file transmission efficiency without carrying out sliced transmission.
On the basis of the above embodiments, the acquisition module 501 includes: as a preferred implementation manner,
First acquisition unit for obtaining target thin-client from the application service end, and determines the file transmission The storage path of application;
Second acquisition unit, for utilizing the authentication key in the target thin-client from the application service end The file transfer applications are obtained in the storage path.
On the basis of the above embodiments, the target thin-client is specially JNLP as a preferred implementation manner, Client.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Present invention also provides a kind of electronic equipment, i.e., above-mentioned client is provided by the embodiments of the present application referring to Fig. 6 The structure chart of a kind of electronic equipment 600, as shown in fig. 6, may include processor 11 and memory 12.The electronic equipment 600 is also It may include multimedia component 13, one or more of input/output (I/O) interface 14 and communication component 15.
Wherein, processor 11 is used to control the integrated operation of the electronic equipment 600, to complete above-mentioned document transmission method In all or part of the steps.Memory 12 is used to store various types of data to support the operation in the electronic equipment 600, These data for example may include the instruction of any application or method for operating on the electronic equipment 600, and The relevant data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc..The memory 12 can By any kind of volatibility or non-volatile memory device or their combination realization, such as static random access memory Device (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), erasable programmable Read-only memory (Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory (Programmable Read-Only Memory, abbreviation PROM), and read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or CD.Multimedia component 13 may include screen and audio component.Wherein shield Curtain for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component may include one A microphone, microphone is for receiving external audio signal.The received audio signal can be further stored in memory It 12 or is sent by communication component 15.Audio component further includes at least one loudspeaker, is used for output audio signal.I/O interface 14 provide interface between processor 11 and other interface modules, other above-mentioned interface modules can be keyboard, mouse, button Deng.These buttons can be virtual push button or entity button.Communication component 15 for the electronic equipment 600 and other equipment it Between carry out wired or wireless communication.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communication Component 15 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 600 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device, Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member Part is realized, for executing above-mentioned document transmission method.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should The step of above-mentioned document transmission method is realized when program instruction is executed by processor.For example, the computer readable storage medium can Think the above-mentioned memory 12 including program instruction, above procedure instruction can be executed by the processor 11 of electronic equipment 600 with complete At above-mentioned document transmission method.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of document transmission method, which is characterized in that be applied to client, comprising:
File transfer applications are obtained from application service end;Wherein, the file transfer applications are the application journey based on SSH agreement Sequence;
File transmission is carried out using the file transfer applications and the application service end.
2. document transmission method according to claim 1, which is characterized in that described to be answered from application service end acquisition file transmission With, comprising:
Target thin-client is obtained from the application service end, and determines the storage path of the file transfer applications;
Institute is obtained from the storage path in the application service end using the authentication key in the target thin-client State file transfer applications.
3. document transmission method according to claim 2, which is characterized in that the authentication key includes the application service end User name, password and port.
4. document transmission method according to claim 2, which is characterized in that the target thin-client is specially JNLP client End.
5. a kind of file transfer means, which is characterized in that be applied to client, comprising:
Module is obtained, for obtaining file transfer applications from application service end;Wherein, the file transfer applications are based on SSH The application program of agreement;
Transmission module, for carrying out file transmission using the file transfer applications and the application service end.
6. file transfer means according to claim 5, which is characterized in that the acquisition module includes:
First acquisition unit for obtaining target thin-client from the application service end, and determines the file transfer applications Storage path;
Second acquisition unit, for using the authentication key in the target thin-client from the application service end described in Storage obtains the file transfer applications in path.
7. file transfer means according to claim 6, which is characterized in that the target thin-client is specially JNLP client End.
8. a kind of electronic equipment characterized by comprising
Memory, for storing computer program;
Processor, realizing the document transmission method as described in any one of Claims 1-4 when for executing the computer program Step.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the step of the document transmission method as described in any one of Claims 1-4 when the computer program is executed by processor Suddenly.
10. a kind of document transmission system characterized by comprising
Application service end is used for storage file transmission application;
Client, for obtaining the file transfer applications from the application service end, and using the file transfer applications with The application service end carries out file transmission.
CN201910656865.6A 2019-07-19 2019-07-19 File transmission method, device and system, electronic equipment and storage medium Active CN110392105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910656865.6A CN110392105B (en) 2019-07-19 2019-07-19 File transmission method, device and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910656865.6A CN110392105B (en) 2019-07-19 2019-07-19 File transmission method, device and system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110392105A true CN110392105A (en) 2019-10-29
CN110392105B CN110392105B (en) 2022-07-08

Family

ID=68286755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910656865.6A Active CN110392105B (en) 2019-07-19 2019-07-19 File transmission method, device and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110392105B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020174010A1 (en) * 1999-09-08 2002-11-21 Rice James L. System and method of permissive data flow and application transfer
CN107995222A (en) * 2017-12-26 2018-05-04 中国广核电力股份有限公司 A kind of exchange method of business's ciphertext part
CN109861973A (en) * 2018-12-21 2019-06-07 北京天融信网络安全技术有限公司 Information transferring method, device, electronic equipment and computer-readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020174010A1 (en) * 1999-09-08 2002-11-21 Rice James L. System and method of permissive data flow and application transfer
CN107995222A (en) * 2017-12-26 2018-05-04 中国广核电力股份有限公司 A kind of exchange method of business's ciphertext part
CN109861973A (en) * 2018-12-21 2019-06-07 北京天融信网络安全技术有限公司 Information transferring method, device, electronic equipment and computer-readable medium

Also Published As

Publication number Publication date
CN110392105B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
US12003605B2 (en) System and method for improving internet communication by using intermediate nodes
US20200304562A1 (en) Instance backed mobile devices
JP2014528198A (en) Mobile solution for signing and storing third-party documents
US9047308B2 (en) Methods and apparatus for providing unified access to various data resources using virtualized services
US11523260B2 (en) Delivery of configuration information for cross-platform application integration
JP2017501517A (en) Method, apparatus, and system for pushing an application program, and device
US20130325944A1 (en) Client-side sharing of event information
CN108370500B (en) Optimized settings for wireless devices
CN113170517B (en) Short message service linking for active feed communications
CN103631621A (en) Method and device for prompting information
US10536546B2 (en) Method for managing access to a set of resources delivered via an electronic device
CN110392105A (en) A kind of document transmission method, device, system and electronic equipment and storage medium
CN111193717A (en) FTP black and white list control method and device and electronic equipment
CN112579548A (en) File sharing method and device, electronic equipment and medium
US20180239575A1 (en) Mobile application function sharing through near field communication
Kumar et al. Integrated Web of Things Interface for IoT Environment
US20140375435A1 (en) Data processing system and method

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