CN109347828A - File Upload and Download method, apparatus, electronic equipment and storage medium - Google Patents

File Upload and Download method, apparatus, electronic equipment and storage medium Download PDF

Info

Publication number
CN109347828A
CN109347828A CN201811231042.0A CN201811231042A CN109347828A CN 109347828 A CN109347828 A CN 109347828A CN 201811231042 A CN201811231042 A CN 201811231042A CN 109347828 A CN109347828 A CN 109347828A
Authority
CN
China
Prior art keywords
download
file
address
server
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
CN201811231042.0A
Other languages
Chinese (zh)
Other versions
CN109347828B (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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201811231042.0A priority Critical patent/CN109347828B/en
Publication of CN109347828A publication Critical patent/CN109347828A/en
Application granted granted Critical
Publication of CN109347828B publication Critical patent/CN109347828B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos

Abstract

The embodiment of the present application provides a kind of File Upload and Download method, apparatus, electronic equipment storage medium, specially response file upload request, file and its authentication information to be uploaded are uploaded into server-side, so that server-side storage file, and encryption download link address is generated according to authentication information, and generate the configuration information for configuring download server;Receive the encryption download link address that server-side issues;Obtain configuration information;Response file downloading request parses encryption download link address according to configuration information, obtains common download address, and obtain file from common download address.Since server-side is in file back lower place for receiving upload the and non-generic download link address; but the encrypted link address for needing to be parsed according to corresponding information; to make normal client end that can not also carry out file download after getting the encryption download link address; to ensure that the safety of file, corresponding secret protection has been obtained.

Description

File Upload and Download method, apparatus, electronic equipment and storage medium
Technical field
This disclosure relates to file storage technology field more particularly to a kind of File Upload and Download method, apparatus, electronic equipment And storage medium.
Background technique
In file upload procedure, after file is uploaded to respective server by client, server can store this document And a chained address is issued to the client, and the chained address is distributed to by other users according to the difference of business.Due to The chained address directly executes the storage address of this document, accordingly even when the user for obtaining the chained address is not target user's In the case of, also this document can be obtained by downloading, cause file arbitrarily to be propagated, be unable to get corresponding secret protection.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of File Upload and Download method, apparatus, electronics is set Standby and storage medium.
In a first aspect, providing a kind of File Upload and Download method, comprising:
File and its authentication information to be uploaded are uploaded to server-side, so that the service by response file upload request End stores the file, and generates encryption download link address according to the authentication information, and generate for configuring download service The configuration information of device;
Receive the encryption download link address that the server-side issues;
Obtain the configuration information;
Response file downloading request, parses the encryption download link address according to the configuration information, obtains Common download address, and the file is obtained from the common download address.
Optionally, the authentication information includes private attribute and/or authentication type.
Optionally, the encryption download link address includes the file id and/or type of download of encryption.
Second aspect provides a kind of File Upload and Download device, comprising:
File uploading module is configured to respond to file upload request, and file to be uploaded and its authentication information are uploaded To server-side, so that the server-side stores the file, and encryption download link address is generated according to the authentication information, and Generate the configuration information for configuring download server;
Address receiving module is configured as receiving the encryption download link address that the server-side issues;
Configuration obtains module, is configured as obtaining the configuration information;
File download module, is configured to respond to file download request, is downloaded according to the configuration information to the encryption Chained address is parsed, and obtains common download address, and obtain the file from the common download address.
Optionally, the authentication information includes private attribute and/or authentication type.
Optionally, the encryption download link address includes the file id and/or type of download of encryption.
The third aspect provides a kind of File Upload and Download method, comprising:
Receive file and its authentication information that client uploads;
Encryption download address is generated according to the authentication information and the configuration information for configuring download server, and according to The configuration information stores the file;
The encryption download link address is sent to the client;
Connection request is responded, sends the configuration information to the client;
Response file downloading request, receives client and is carried out according to the configuration information to the encryption download link address Parse obtained common download address;
The client is sent by the file that the common download address is directed toward.
Optionally, the authentication information includes private attribute and/or authentication type.
Optionally, the encryption download link address includes the file id and/or type of download of encryption.
Optionally, file to be downloaded needs authenticated, after receiving the common download address, further includes:
The check information sent simultaneously to the client verifies, if executing will be described common by verification The file that download address is directed toward is sent to the client step, if can not by verification, refuse to execute it is described it is common under The file that set address is directed toward is sent to the client step.
Optionally, further includes:
If file download fails, the download server config option in the configuration information is modified, is matched with modification The priority for the download server set.
Optionally, further includes:
When there is download server failure, then the download server config option in the configuration information is modified, to replace Change or extract the download server of failure.
Fourth aspect provides a kind of File Upload and Download device, comprising:
Information receiving module is configured as receiving file and its authentication information that client uploads;
Address generation module is configured as generating encryption download address according to the authentication information and for configuring downloading clothes The configuration information of business device, and the file is stored according to the configuration information;
Address sending module is configured as sending the encryption download link address to the client;
Sending module is configured, connection request is configured to respond to, sends the configuration information to the client;
Respond module is downloaded, file download request is configured to respond to, receives client according to the configuration information to institute State the common download address that encryption download link address is parsed;
File sending module is configured as sending the client for the file that the common download address is directed toward.
Optionally, the authentication information includes private attribute and/or authentication type.
Optionally, the encryption download link address includes the file id and/or type of download of encryption.
Optionally, further includes:
Authentication module is configured as the file to be downloaded authenticated for needs, after receiving the common download address, The check information sent simultaneously to the client verifies, if controlling the file sending module will by verification The file that the common download address is directed toward is sent to the client, if the file hair can not be controlled by verification Module refusal is sent to send the client for the file that the common download address is directed toward.
Optionally, further includes:
First modified module modifies the download service in the configuration information if being configured as file download failure Device config option, to modify the priority of configured download server.
Optionally, further includes:
Second modified module is configured as when there is download server failure, then under modifying in the configuration information Server config option is carried, to replace or extract the download server of failure.
5th aspect, provides a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to upload method for down loading described in first aspect or the third aspect.
6th aspect, a kind of non-transitorycomputer readable storage medium is provided, when the instruction in the storage medium by When the processor of mobile terminal executes, so that mobile terminal is able to carry out the downloading of the upload as described in first aspect or third method Method.
7th aspect, provides a kind of computer program, descends on file described in first party or the third aspect for executing Support method.
The technical scheme provided by this disclosed embodiment can include the following benefits: since server-side is on receiving File back lower place of biography the and non-generic download link address, but the encrypted link for needing to be parsed according to corresponding information Address, to make normal client end that can not also carry out file download after getting the encryption download link address, to guarantee The safety of file, has obtained corresponding secret protection.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of File Upload and Download method shown according to an exemplary embodiment;
Fig. 2 is a kind of block diagram of File Upload and Download device shown according to an exemplary embodiment;
Fig. 3 is the flow chart of another File Upload and Download method shown according to an exemplary embodiment;
Fig. 4 is the flow chart of another File Upload and Download method shown according to an exemplary embodiment;
Fig. 5 is the flow chart of another File Upload and Download method shown according to an exemplary embodiment;
Fig. 6 is the flow chart of another File Upload and Download method shown according to an exemplary embodiment;
Fig. 7 is the block diagram of another File Upload and Download device shown according to an exemplary embodiment;
Fig. 8 is the block diagram of another File Upload and Download device shown according to an exemplary embodiment;
Fig. 9 is the block diagram of another File Upload and Download device shown according to an exemplary embodiment;
Figure 10 is the block diagram of another File Upload and Download device shown according to an exemplary embodiment;
Figure 11 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment;
Figure 12 is the block diagram of another electronic equipment shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is a kind of flow chart of File Upload and Download method shown according to an exemplary embodiment.
As shown in Figure 1, File Upload and Download method provided by the embodiments of the present application is used for the client connecting with server-side In, specifically include following steps.
S11, file to be uploaded is uploaded to server-side.
When needing to upload some file, the file upload request that response user is issued by client waits for this The file of biography is uploaded to the server-side being connected with the client, while uploading this document, also by corresponding authentication information It uploads together.Here authentication information includes private attribute and authentication type, or only includes in private attribute and authentication type One kind.
Server-side stores this document after receiving this file, using corresponding download server.Meanwhile utilizing privacy category Property and one or both of authentication type the actual storage address of file is handled, obtain the encryption comprising default document Download link address, while generating the configuration file for configuring download server.Encrypt download link address such as xdown: // Encrypt_file_id/download_type, xdown indicate that this is a customized protocol format, and client is needed to carry out Specially treated is carried out when downloading to it, ercrypt_file_id is the file id of encryption, there is not enumerability, The type of download of download_type expression file.Server-side can issue different according to privacy, that is, file type attribute Type of download.Configuration file for disaster tolerance and promotes availability for configuring multiple groups download server.
S12, the encryption file chained address that server-side issues is received.
When server-side generates above-mentioned encryption file chained address and is handed down to client, encryption text is received and stored Part chained address, in case subsequent need to download corresponding file according to the address when file download.
S13, configuration file is obtained.
When client is connected with server-side, client pulls above-mentioned configuration file from server-side, the configuration file For being parsed to above-mentioned encryption download link address.
S14, encryption download link address is parsed according to file download request and downloads file.
When receiving the file download request of user, encryption download link address is solved using above-mentioned configuration file Analysis, obtains a common download address, then corresponding download server is sent by the common download address, under this It carries server and gets the file to match with the download address, to complete the downloading of file.
It can be seen from the above technical proposal that present embodiments providing a kind of File Upload and Download method, specially respond File and its authentication information to be uploaded are uploaded to server-side by file upload request, so that server-side storage file, and according to Authentication information generates encryption download link address, and generates the configuration information for configuring download server;It receives under server-side The encryption download link address of hair;Obtain configuration information;Response file downloading request, according to configuration information to encryption download link Address is parsed, and obtains common download address, and obtain file from common download address.Since server-side is receiving upload The file back lower place and non-generic download link address, but the encrypted link that needs to be parsed according to corresponding information Location, to make normal client end that can not also carry out file download after getting the encryption download link address, to ensure that The safety of file has obtained corresponding secret protection.
Fig. 2 is a kind of block diagram of File Upload and Download device shown according to an exemplary embodiment.
As shown in Fig. 2, File Upload and Download device provided by the embodiments of the present application is used for the client connecting with server-side In, specifically include file uploading module 10, address receiving module 20, configuration acquisition module 30 and file download module 40.
File uploading module is configured as file to be uploaded being uploaded to server-side.
When needing to upload some file, the file upload request that response user is issued by client waits for this The file of biography is uploaded to the server-side being connected with the client, while uploading this document, also by corresponding authentication information It uploads together.Here authentication information includes private attribute and authentication type, or only includes in private attribute and authentication type One kind.
Server-side stores this document after receiving this file, using corresponding download server.Meanwhile utilizing privacy category Property and one or both of authentication type the actual storage address of file is handled, obtain the encryption comprising default document Download link address, while generating the configuration file for configuring download server.Encrypt download link address such as xdown: // Encrypt_file_id/download_type, xdown indicate that this is a customized protocol format, and client is needed to carry out Specially treated is carried out when downloading to it, ercrypt_file_id is the file id of encryption, there is not enumerability, The type of download of download_type expression file.Server-side can issue different according to privacy, that is, file type attribute Type of download.Configuration file for disaster tolerance and promotes availability for configuring multiple groups download server.
Address receiving module is configured as receiving the encryption file chained address that server-side issues.
When server-side generates above-mentioned encryption file chained address and is handed down to client, encryption text is received and stored Part chained address, in case subsequent need to download corresponding file according to the address when file download.
Configuration obtains module and is configured as obtaining configuration file.
When client is connected with server-side, client pulls above-mentioned configuration file from server-side, the configuration file For being parsed to above-mentioned encryption download link address.
File download module is configured as that encryption download link address is parsed and downloaded according to file download request File.
When receiving the file download request of user, encryption download link address is solved using above-mentioned configuration file Analysis, obtains a common download address, then corresponding download server is sent by the common download address, under this It carries server and gets the file to match with the download address, to complete the downloading of file.
It can be seen from the above technical proposal that present embodiments providing a kind of File Upload and Download device, specially respond File and its authentication information to be uploaded are uploaded to server-side by file upload request, so that server-side storage file, and according to Authentication information generates encryption download link address, and generates the configuration information for configuring download server;It receives under server-side The encryption download link address of hair;Obtain configuration information;Response file downloading request, according to configuration information to encryption download link Address is parsed, and obtains common download address, and obtain file from common download address.Since server-side is receiving upload The file back lower place and non-generic download link address, but the encrypted link that needs to be parsed according to corresponding information Location, to make normal client end that can not also carry out file download after getting the encryption download link address, to ensure that The safety of file has obtained corresponding secret protection.
Fig. 3 is the flow chart of another File Upload and Download method shown according to an exemplary embodiment.
As shown in figure 3, File Upload and Download method provided by the embodiments of the present application is used for the server-side connecting with client In, specifically include following steps.
S21, file and its authentication information that client uploads are received.
When client initiates file upload request, responds the request and receive the file of client upload, receive simultaneously The authentication information that client and this document upload together, authentication information includes one in the private attribute and authentication type of this document Kind or two kinds.
S22, corresponding encryption download link address and configuration information are generated.
After the file and authentication information for receiving client upload, this document is stored, and is believed according to the authentication Breath handles the storage address of file, to obtain encryption download link address, and generates corresponding configuration information simultaneously. The configuration information such as configures multiple download servers for configuring to the storage of file.
S23, encryption download link address is sent to client.
The encryption download link address is sent to the client for uploading this document, because we can estimate the client Certainly it is legal downloading user, therefore is sent to it the address not and will cause file by illegal download.
S24, configuration information is sent to it according to the connection request of client.
When the client is connect with server-side at any time, the file uploaded with it is sent to the client and is matched Configuration information so that the client can be really general according to the configuration information and corresponding encryption download link address calculation Logical download address.
S25, common download address is received according to file download request.
I.e. when user issues file download request by client, the common download address of client upload is received, The common download address refers to the result that client parses encryption download link address according to above-mentioned configuration information.
S26, the file that the common download address is directed toward is sent to relative client.
After receiving the common download address, relative client is sent by the file that the common download address is directed toward, So that the client completes downloading task.
It can be seen from the above technical proposal that since server-side is the file back lower place for receiving upload and non-generic Download link address, but the encrypted link address for needing to be parsed according to corresponding information, so that normal client end be made to obtain File download can not be also carried out after getting the encryption download link address, to ensure that the safety of file, has been obtained corresponding Secret protection.
In addition, as shown in figure 4, further including following steps in the present embodiment between step S25 and S26:
S251, the check information sent to client verify.
That is relative client also sends corresponding check information while sending common download address, or corresponding Verification token, to be verified to its identity, if it is possible to by verification then execute it is following to client send file Operation, if cannot by verification if illustrate the client in illegal download, refusal executes that send to the client should at this time The operation for the file that common download address is directed toward, to further ensure that the safety of file.
In addition, as shown in figure 5, can also include the following steps: in the present embodiment
If S27, file download fail, modify to configuration information.
When file download failure occurs in the file download request that cannot respond to relative client, configuration information is carried out Modification, that is, modify download server config option therein, to modify the priority of configured download server, so as to Client is set to carry out the downloading of file from other download servers.
Further more, as shown in fig. 6, can also include the following steps: in the present embodiment
S28, when there is download server failure, modify to configuration information.
When some download server that server-side is configured or corresponding network break down, to being used in configuration information It modifies in the download server config option of configuration download server, to replace or extract the download service of failure Device, so as to make relative client from other download servers, i.e. intact download server corresponding document.
Fig. 7 is the block diagram of another File Upload and Download device shown according to an exemplary embodiment.
As shown in fig. 7, File Upload and Download device provided by the embodiments of the present application is used for the server-side connecting with client In, specifically include information receiving module 50, address generation module 60, address sending module 70, configuration sending module 80, downloading sound Answer module 90 and file sending module 100.
Information receiving module is configured as receiving file and its authentication information that client uploads.
When client initiates file upload request, responds the request and receive the file of client upload, receive simultaneously The authentication information that client and this document upload together, authentication information includes one in the private attribute and authentication type of this document Kind or two kinds.
Address generation module is configurable to generate corresponding encryption download link address and configuration information.
After the file and authentication information for receiving client upload, this document is stored, and is believed according to the authentication Breath handles the storage address of file, to obtain encryption download link address, and generates corresponding configuration information simultaneously. The configuration information such as configures multiple download servers for configuring to the storage of file.
Address sending module is configured as sending encryption download link address to client.
The encryption download link address is sent to the client for uploading this document, because we can estimate the client Certainly it is legal downloading user, therefore is sent to it the address not and will cause file by illegal download.
Configuration sending module is configured as being sent to it configuration information according to the connection request of client.
When the client is connect with server-side at any time, the file uploaded with it is sent to the client and is matched Configuration information so that the client can be really general according to the configuration information and corresponding encryption download link address calculation Logical download address.
Downloading respond module is configured as receiving common download address according to file download request.
I.e. when user issues file download request by client, the common download address of client upload is received, The common download address refers to the result that client parses encryption download link address according to above-mentioned configuration information.
The file that file sending module is configured as the common download address being directed toward is sent to relative client.
After receiving the common download address, relative client is sent by the file that the common download address is directed toward, So that the client completes downloading task.
It can be seen from the above technical proposal that since server-side is the file back lower place for receiving upload and non-generic Download link address, but the encrypted link address for needing to be parsed according to corresponding information, so that normal client end be made to obtain File download can not be also carried out after getting the encryption download link address, to ensure that the safety of file, has been obtained corresponding Secret protection.
In addition, as shown in figure 8, further including authentication module 110 in the present embodiment.
Authentication module is configured as verifying the check information that client is sent.
That is relative client also sends corresponding check information while sending common download address, or corresponding Verification token, at this point, the correction verification module verifies its identity, if it is possible to by verification then control file send mould Block execute to client send file operation, if cannot by verification if illustrate the client in illegal download, this time control File sending module refusal processed executes the operation that the file that the common download address is directed toward is sent to the client, thus more into one It ensure that step the safety of file.
In addition, as shown in figure 9, can also include the first modified module 120 in the present embodiment.
If the first modified module is configured as file download failure, modify to configuration information.
When file download failure occurs in the file download request that cannot respond to relative client, configuration information is carried out Modification, that is, modify download server config option therein, to modify the priority of configured download server, so as to Client is set to carry out the downloading of file from other download servers.
Further more, can also include the second modified module 130 in the present embodiment as shown in Figure 10.
Third modified module is configured as modifying to configuration information when there is download server failure.
When some download server that server-side is configured or corresponding network break down, to being used in configuration information It modifies in the download server config option of configuration download server, to replace or extract the download service of failure Device, so as to make relative client from other download servers, i.e. intact download server corresponding document.
Present invention also provides a kind of computer program, the computer program for executing such as Fig. 1, Fig. 3, Fig. 4, Fig. 5 or File Upload and Download method shown in fig. 6.
Figure 11 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
For example, electronic equipment 1100 can be mobile phone, computer, digital broadcasting terminal, messaging device, game Console, tablet device, Medical Devices, body-building equipment, the mobile devices such as personal digital assistant.
Referring to Fig.1 1, electronic equipment 1100 may include following one or more components: processing component 1102, memory 1104, electric power assembly 1106, multimedia component 1108, audio component 1110, the interface 1112 of input/output (I/O), sensor Component 1114 and communication component 1116.
The integrated operation of the usual controlling electronic devices 1100 of processing component 1102, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 1102 may include one or more processors 1120 It executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1102 may include one or more Module, convenient for the interaction between processing component 1102 and other assemblies.For example, processing component 1102 may include multimedia mould Block, to facilitate the interaction between multimedia component 1108 and processing component 1102.
Memory 1104 is configured as storing various types of data to support the operation in equipment 1100.These data Example includes the instruction of any application or method for operating on electronic equipment 1100, contact data, telephone directory Data, message, picture, video etc..Memory 1104 can by any kind of volatibility or non-volatile memory device or Their combination realizes that, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) can Erasable programmable read-only memory (EPROM) (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, Flash memory, disk or CD.
Power supply module 1106 provides electric power for the various assemblies of electronic equipment 1100.Power supply module 1106 may include power supply Management system, one or more power supplys and other with for electronic equipment 1100 generate, manage, and distribute associated group of electric power Part.
Multimedia component 1108 includes the screen of one output interface of offer between the electronic equipment 1100 and user Curtain.In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touching Panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touchings Sensor is touched to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or cunning The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments In, multimedia component 1108 includes a front camera and/or rear camera.When equipment 1100 is in operation mode, such as When screening-mode or video mode, front camera and/or rear camera can receive external multi-medium data.Before each Setting camera and rear camera can be a fixed optical lens system or has focusing and optical zoom capabilities.
Audio component 1110 is configured as output and/or input audio signal.For example, audio component 1110 includes a wheat Gram wind (MIC), when electronic equipment 1100 is in operation mode, when such as call mode, recording mode, and voice recognition mode, Mike Wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 1104 or via Communication component 1116 is sent.In some embodiments, audio component 1110 further includes a loudspeaker, for exporting audio letter Number.
I/O interface 1112 provides interface, above-mentioned peripheral interface module between processing component 1102 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1114 includes one or more sensors, for providing the shape of various aspects for electronic equipment 1100 State assessment.For example, sensor module 1114 can detecte the state that opens/closes of equipment 1100, the relative positioning of component, example Such as the display and keypad that the component is electronic equipment 1100, sensor module 1114 can also detect electronic equipment 1100 Or the position change of 1,100 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 1100, electronics are set The temperature change in standby 1100 orientation or acceleration/deceleration and electronic equipment 1100.Sensor module 1114 may include approaching sensing Device is configured to detect the presence of nearby objects without any physical contact.Sensor module 1114 can also wrap Optical sensor is included, such as CMOS or ccd image sensor, for using in imaging applications.In some embodiments, the sensor Component 1114 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1116 is configured to facilitate the logical of wired or wireless way between electronic equipment 1100 and other equipment Letter.Electronic equipment 1100 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G) or their combination.In one exemplary embodiment, communication component 1116 is received via broadcast channel from external wide The broadcast singal or broadcast related information of broadcast management system.In one exemplary embodiment, the communication component 1116 also wraps Near-field communication (NFC) module is included, to promote short range communication.For example, it can be based on radio frequency identification (RFID) technology in NFC module, it is red Outer data association (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 1100 can by one or more application specific integrated circuit (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field-programmable gate array Arrange (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for execute Fig. 1, Fig. 3, Fig. 4, Fig. 5 or File Upload and Download method shown in fig. 6.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1104 of instruction, above-metioned instruction can be executed by the processor 1120 of electronic equipment 1100 to complete above-mentioned side Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Figure 12 is the block diagram of another electronic equipment shown according to an exemplary embodiment.
For example, electronic equipment 1200 may be provided as a server.Referring to Fig.1 2, electronic equipment 1200 includes processing group Part 1222 further comprises one or more processors, and the memory resource as representated by memory 1232, for depositing Storage can be by the instruction of the execution of processing component 1222, such as application program.The application program stored in memory 1232 can wrap Include it is one or more each correspond to one group of instruction module.Refer in addition, processing component 1222 is configured as executing It enables, to execute Fig. 1, Fig. 3, Fig. 4, Fig. 5 or File Upload and Download method shown in fig. 6.
Electronic equipment 1200 can also include that a power supply module 1226 is configured as executing the power supply of electronic equipment 1200 Management, a wired or wireless network interface 1250 is configured as electronic equipment 1200 being connected to network and an input is defeated (I/O) interface 1258 out.Electronic equipment 1200 can be operated based on the operating system for being stored in memory 1232, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of File Upload and Download method characterized by comprising
File and its authentication information to be uploaded are uploaded to server-side, so that the server-side is deposited by response file upload request The file is stored up, and encryption download link address is generated according to the authentication information, and generate for configuring download server Configuration information;
Receive the encryption download link address that the server-side issues;
Obtain the configuration information;
Response file downloading request, parses the encryption download link address according to the configuration information, obtains common Download address, and the file is obtained from the common download address.
2. File Upload and Download method as described in claim 1, which is characterized in that the authentication information includes private attribute And/or authentication type.
3. File Upload and Download method as described in claim 1, which is characterized in that the encryption download link address includes adding Close file id and/or type of download.
4. a kind of File Upload and Download device characterized by comprising
File uploading module is configured to respond to file upload request, and file and its authentication information to be uploaded are uploaded to clothes It is engaged in end, so that the server-side stores the file, and generating encryption download link address according to the authentication information, and generate For configuring the configuration information of download server;
Address receiving module is configured as receiving the encryption download link address that the server-side issues;
Configuration obtains module, is configured as obtaining the configuration information;
File download module, is configured to respond to file download request, according to the configuration information to the encryption download link Address is parsed, and obtains common download address, and obtain the file from the common download address.
5. a kind of File Upload and Download method characterized by comprising
Receive file and its authentication information that client uploads;
Encryption download address is generated according to the authentication information and the configuration information for configuring download server, and according to described Configuration information stores the file;
The encryption download link address is sent to the client;
Connection request is responded, sends the configuration information to the client;
Response file downloading request, receives client and is parsed according to the configuration information to the encryption download link address Obtained common download address;
The client is sent by the file that the common download address is directed toward.
6. uploading method for down loading as claimed in claim 5, which is characterized in that for the file to be downloaded that needs authenticate, connecing After receiving the common download address, further includes:
The check information sent simultaneously to the client verifies, if executed by verification by the common downloading The file that address is directed toward is sent to the client step, if can not refuse to execute the common downloading ground by verification The file that location is directed toward is sent to the client step.
7. uploading method for down loading as claimed in claim 5, which is characterized in that further include:
If file download fails, the download server config option in the configuration information is modified, is configured with modification The priority of download server.
8. a kind of File Upload and Download device characterized by comprising
Information receiving module is configured as receiving file and its authentication information that client uploads;
Address generation module is configured as generating encryption download address according to the authentication information and for configuring download server Configuration information, and the file is stored according to the configuration information;
Address sending module is configured as sending the encryption download link address to the client;
Sending module is configured, connection request is configured to respond to, sends the configuration information to the client;
Respond module is downloaded, file download request is configured to respond to, client is received and is added according to the configuration information to described The common download address that close download link address is parsed;
File sending module is configured as sending the client for the file that the common download address is directed toward.
9. a kind of electronic equipment characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to perform claim requires described in any one of any one of 1~3 or claim 5~7 Upload method for down loading.
10. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that mobile terminal is able to carry out as described in any one of any one of claims 1 to 3 or claim 5~7 Upload method for down loading.
CN201811231042.0A 2018-10-22 2018-10-22 File Upload and Download method, apparatus, electronic equipment and storage medium Active CN109347828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811231042.0A CN109347828B (en) 2018-10-22 2018-10-22 File Upload and Download method, apparatus, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811231042.0A CN109347828B (en) 2018-10-22 2018-10-22 File Upload and Download method, apparatus, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109347828A true CN109347828A (en) 2019-02-15
CN109347828B CN109347828B (en) 2019-11-26

Family

ID=65311383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811231042.0A Active CN109347828B (en) 2018-10-22 2018-10-22 File Upload and Download method, apparatus, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109347828B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287148A (en) * 2019-07-01 2019-09-27 中原银行股份有限公司 A kind of data interactive method and device
CN110446118A (en) * 2019-07-01 2019-11-12 阿里巴巴集团控股有限公司 Video resource preprocess method and device, video resource method for down loading and device
CN111158760A (en) * 2019-11-26 2020-05-15 深圳鲲云信息科技有限公司 Loading method and device for card configuration file and electronic equipment
CN111182053A (en) * 2019-12-27 2020-05-19 北京明略软件系统有限公司 Method and device for downloading file, computer storage medium and terminal
CN111355629A (en) * 2020-02-17 2020-06-30 苏州亿歌网络科技有限公司 Client test method and device, computer equipment and storage medium
CN111797417A (en) * 2020-07-06 2020-10-20 上海明略人工智能(集团)有限公司 File uploading method and device, storage medium and electronic device
CN113420331A (en) * 2021-06-30 2021-09-21 建信金融科技有限责任公司 Method and device for managing file downloading permission
CN113507502A (en) * 2021-06-10 2021-10-15 新华三信息安全技术有限公司 File transmission method, device, equipment and machine-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217357A (en) * 2007-01-05 2008-07-09 北京金远见电脑技术有限公司 A document encryption downloading system and method
CN102186101A (en) * 2011-04-18 2011-09-14 青岛海大新星计算机工程中心 Digital home video and service resource protecting method
CN103188283A (en) * 2011-12-27 2013-07-03 腾讯科技(深圳)有限公司 Method, server and system for file uploading and downloading
CN103198261A (en) * 2012-01-09 2013-07-10 鸿富锦精密工业(深圳)有限公司 Method and system for protecting file content security
CN103929454A (en) * 2013-01-15 2014-07-16 中国移动通信集团四川有限公司 Load balancing storage method and system in cloud computing platform
CN104471918A (en) * 2014-03-24 2015-03-25 华为技术有限公司 Method of downloading files, device and system
CN106294008A (en) * 2016-08-05 2017-01-04 浙江宇视科技有限公司 A kind of data reconstruction method and device
CN107046540A (en) * 2017-04-18 2017-08-15 北京元心科技有限公司 File transfer method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217357A (en) * 2007-01-05 2008-07-09 北京金远见电脑技术有限公司 A document encryption downloading system and method
CN102186101A (en) * 2011-04-18 2011-09-14 青岛海大新星计算机工程中心 Digital home video and service resource protecting method
CN103188283A (en) * 2011-12-27 2013-07-03 腾讯科技(深圳)有限公司 Method, server and system for file uploading and downloading
CN103198261A (en) * 2012-01-09 2013-07-10 鸿富锦精密工业(深圳)有限公司 Method and system for protecting file content security
CN103929454A (en) * 2013-01-15 2014-07-16 中国移动通信集团四川有限公司 Load balancing storage method and system in cloud computing platform
CN104471918A (en) * 2014-03-24 2015-03-25 华为技术有限公司 Method of downloading files, device and system
CN106294008A (en) * 2016-08-05 2017-01-04 浙江宇视科技有限公司 A kind of data reconstruction method and device
CN107046540A (en) * 2017-04-18 2017-08-15 北京元心科技有限公司 File transfer method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287148A (en) * 2019-07-01 2019-09-27 中原银行股份有限公司 A kind of data interactive method and device
CN110446118A (en) * 2019-07-01 2019-11-12 阿里巴巴集团控股有限公司 Video resource preprocess method and device, video resource method for down loading and device
CN110287148B (en) * 2019-07-01 2021-10-29 中原银行股份有限公司 Data interaction method and device
CN111158760A (en) * 2019-11-26 2020-05-15 深圳鲲云信息科技有限公司 Loading method and device for card configuration file and electronic equipment
CN111158760B (en) * 2019-11-26 2023-04-07 深圳鲲云信息科技有限公司 Loading method and device for card configuration file and electronic equipment
CN111182053A (en) * 2019-12-27 2020-05-19 北京明略软件系统有限公司 Method and device for downloading file, computer storage medium and terminal
CN111355629A (en) * 2020-02-17 2020-06-30 苏州亿歌网络科技有限公司 Client test method and device, computer equipment and storage medium
CN111355629B (en) * 2020-02-17 2021-01-15 苏州亿歌网络科技有限公司 Client test method and device, computer equipment and storage medium
CN111797417A (en) * 2020-07-06 2020-10-20 上海明略人工智能(集团)有限公司 File uploading method and device, storage medium and electronic device
CN113507502A (en) * 2021-06-10 2021-10-15 新华三信息安全技术有限公司 File transmission method, device, equipment and machine-readable storage medium
CN113420331A (en) * 2021-06-30 2021-09-21 建信金融科技有限责任公司 Method and device for managing file downloading permission
CN113420331B (en) * 2021-06-30 2022-12-13 建信金融科技有限责任公司 Method and device for managing file downloading permission

Also Published As

Publication number Publication date
CN109347828B (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN109347828B (en) File Upload and Download method, apparatus, electronic equipment and storage medium
US9819652B2 (en) Information interaction methods and devices
US10498723B2 (en) Method, and apparatus for authenticating access
RU2646390C1 (en) Method and device of binding device
US10560491B2 (en) Methods and apparatuses for binding with device
KR20210049913A (en) Login method, token sending method and device
CN104283876A (en) Operation authorization method and device
EP3229423B1 (en) Method and device for displaying setting interface of router
KR20160003992A (en) METHOD AND APPARATUS FOR PROFILE DOWNLOAD FOR eUICC
CN109219036B (en) Method and device for unbinding equipment and electronic equipment
CN108811179B (en) Wireless network connection method, device and storage medium
KR20130037710A (en) Indirect device communication
JP6149163B2 (en) WI-FI network connection method, apparatus, program, and recording medium
JP6422997B2 (en) Business process execution method, apparatus, system, program, and recording medium
JP6126755B2 (en) Terminal verification method, apparatus, program, and recording medium
US11863386B2 (en) Mobile device management method and device
CN112291100A (en) Network distribution method, network distribution device and storage medium
CN104158659A (en) Anti-fake verifying method, device and system
US9565554B2 (en) Method, device, and system for transmitting information and storage medium
CN109697632A (en) Advertisement access method, device, equipment and storage medium
CN105282162A (en) Processing method and device for account management business
CN104837133A (en) SIM card authentication method and device
CN105430642B (en) Document transmission method and device
CN108924136B (en) Authorization authentication method, device and storage medium
CN104486390B (en) The method and device of data sharing

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