CN107707630B - Method and device for file transmission - Google Patents

Method and device for file transmission Download PDF

Info

Publication number
CN107707630B
CN107707630B CN201710835362.6A CN201710835362A CN107707630B CN 107707630 B CN107707630 B CN 107707630B CN 201710835362 A CN201710835362 A CN 201710835362A CN 107707630 B CN107707630 B CN 107707630B
Authority
CN
China
Prior art keywords
file
request
signaling
transmission request
user equipment
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.)
Active
Application number
CN201710835362.6A
Other languages
Chinese (zh)
Other versions
CN107707630A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710835362.6A priority Critical patent/CN107707630B/en
Publication of CN107707630A publication Critical patent/CN107707630A/en
Application granted granted Critical
Publication of CN107707630B publication Critical patent/CN107707630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention aims to provide a method, a device and a system for file transmission. Compared with the prior art, the method and the device have the advantages that the first signaling is generated through the service equipment, when the user equipment sends the file transmission request, the file transmission request is verified based on the first signaling, if the first signaling corresponds to the transmitted file, the file transmission request is rejected, otherwise, if the first signaling does not correspond to the transmitted file, the user equipment is allowed to transmit the file; therefore, the number of file transmission times is limited through the first signaling, one signaling is ensured to correspond to one file transmission time only, conflicts which are possibly generated during multiple file uploading are effectively avoided, and meanwhile, multiple checking of the uploaded files is avoided under the condition that a user is allowed to check the uploaded files. Therefore, the invention can ensure the safety, reliability and effectiveness of file transmission and simultaneously improve the use experience of users.

Description

Method and device for file transmission
Technical Field
The invention relates to the field of data transmission, in particular to a file transmission technology.
Background
Currently, internet services have been able to cover various living and working needs of people. As the coverage of internet services is expanding, some internet services require users to upload qualification documents (such as personal identification cards, business licenses, authorization books, etc.) with authentication properties to provide corresponding services.
For the transmission of such qualified files, security during transmission, including security during uploading and security during viewing/displaying, needs to be ensured. In the prior art, during uploading, the security of the uploaded files is ensured only by identifying the terminals and the like, and if a plurality of authenticated terminals simultaneously upload the same qualified files required by the server, which terminal uploads the legal files cannot be judged, so that collision is easy to generate; in the downloading process, the user is prevented from viewing the uploaded file again in a mode of prohibiting the user from viewing the uploaded file again, so that illegal persons can be prevented from obtaining the picture again through the picture url or other modes.
Therefore, the file transmission method in the prior art still has a certain potential safety hazard for files with special requirements, such as qualification files, and the like, and also has the defect of sacrificing user experience for safety.
Disclosure of Invention
The invention aims to provide a method, a device and a system for file transmission.
According to an aspect of the present invention, there is provided a method for file transfer, wherein the method comprises the steps of:
a, user equipment generates a signaling request according to a file transmission position and sends the signaling request to service equipment;
b, the service equipment generates a first signaling according to the signaling request by combining user identification information and signaling request time information, and sends the first signaling to the user equipment;
c, the user equipment sends a file transmission request to the service equipment, wherein the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
d, the service equipment acquires the file transmission request and judges authentication information corresponding to the file transmission request, wherein the authentication information comprises whether the first signaling already corresponds to a transmitted file;
e if the authentication information is legal, the service device allows the user device to transmit the file based on the first signaling, wherein the legal authentication information comprises that the first signaling does not correspond to the transmitted file.
Optionally, the authentication information further includes whether transmission request time information corresponding to the first signaling exceeds a timeout threshold;
in step e, the valid authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed a timeout threshold.
Optionally, the method further comprises:
and if the first signaling corresponds to a plurality of file transmission requests within the overtime threshold, the user equipment and/or the service equipment provides safety prompt information for a user.
Optionally, when the file transmission request includes a file upload request, the method further includes:
the user equipment caches the uploaded file as a first file.
Optionally, the method further comprises:
the user equipment generates a file viewing request according to the uploaded file corresponding to the file transmission position;
the user equipment detects whether a first file is contained in the user equipment or not, wherein the first file corresponds to the file viewing request;
and if the user equipment comprises the first file, displaying the first file.
Optionally, the step c includes:
the user equipment sends an information transmission request to the service equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein, the method also comprises:
and the user equipment transmits the data corresponding to the general data transmission request to the service equipment.
According to another aspect of the present invention, there is also provided a service device for file transfer, wherein the service device includes:
the device comprises a device for acquiring a signaling request sent by user equipment, wherein the signaling request is generated according to a file transmission position;
means for generating a first signaling according to the signaling request in combination with the user identification information and the signaling request time information;
means for transmitting the first signaling to the user equipment;
the file transmission method includes receiving a file transmission request sent by the user equipment, wherein the file transmission request includes a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
means for determining authentication information corresponding to the file transfer request, wherein the authentication information includes whether the first signaling already corresponds to a transferred file;
means for allowing the user equipment to transmit a file based on the first signaling if the authentication information is valid, wherein the valid authentication information includes that the first signaling does not correspond to a transmitted file.
Optionally, the authentication information further includes whether transmission request time information corresponding to the first signaling exceeds a timeout threshold; the legitimate authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed a timeout threshold.
Optionally, the service device further includes:
means for providing a security prompt to a user if the first signaling corresponds to a plurality of file transfer requests within the timeout threshold.
Optionally, the device for receiving a file transfer request is configured to:
receiving an information transmission request sent by the user equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the service device further comprises:
means for receiving data corresponding to the general data transmission request sent by the user equipment.
According to another aspect of the present invention, there is also provided a user equipment for file transfer, wherein the user equipment comprises:
means for generating a signaling request based on the file transfer location;
a device, configured to send the signaling request to a service device, and obtain a first signaling sent by the service device, where the first signaling is generated according to the signaling request and by combining user identification information and signaling request time information;
means for sending a file transfer request to the serving device, wherein the file transfer request includes a file upload request and/or a file download request, and the file transfer request corresponds to the file transfer location;
means for transmitting a file based on the first signaling if the authentication information of the service device is legal, wherein the legal authentication information includes that the first signaling does not correspond to the transmitted file.
Optionally, the valid authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed a timeout threshold.
Optionally, the user equipment further includes:
means for providing a security prompt to a user if the first signaling corresponds to a plurality of file transfer requests within the timeout threshold.
Optionally, when the file transmission request includes a file upload request, the user equipment further includes:
means for caching the uploaded file as a first file.
Optionally, the user equipment further includes:
a device for generating a file viewing request according to the uploaded file corresponding to the file transmission position;
means for detecting whether a first file is included in the user equipment, wherein the first file corresponds to the file viewing request;
means for displaying the first file if the first file is included in the user equipment.
Optionally, the device for sending a file transfer request is configured to:
sending an information transmission request to the service equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the user equipment further comprises:
and transmitting the data corresponding to the general data transmission request to the service equipment.
According to another aspect of the present invention, there is also provided a method for file transmission at a service device, where the method includes the following steps:
acquiring a signaling request sent by user equipment, wherein the signaling request is generated according to a file transmission position;
generating a first signaling according to the signaling request by combining user identification information and signaling request time information;
sending the first signaling to the user equipment;
receiving a file transmission request sent by the user equipment, wherein the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
judging authentication information corresponding to the file transmission request, wherein the authentication information comprises whether the first signaling corresponds to a transmitted file;
and if the authentication information is legal, allowing the user equipment to transmit the file based on the first signaling, wherein the legal authentication information comprises that the first signaling does not correspond to the transmitted file.
Optionally, the authentication information further includes whether transmission request time information corresponding to the first signaling exceeds a timeout threshold;
the legitimate authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed a timeout threshold.
Optionally, the method further comprises the steps of:
and the processor is configured to provide a security prompt to a user if the first signaling corresponds to a plurality of file transfer requests within the timeout threshold.
Optionally, the step of receiving a file transfer request includes:
receiving an information transmission request sent by the user equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the method further comprises the steps of:
and receiving data which is sent by the user equipment and corresponds to the general data transmission request.
According to another aspect of the present invention, there is also provided a method for file transmission at a user equipment, wherein the method includes the following steps:
generating a signaling request according to the file transmission position;
sending the signaling request to service equipment, and acquiring a first signaling sent by the service equipment, wherein the first signaling is generated according to the signaling request by combining user identification information and signaling request time information;
sending a file transmission request to the service equipment, wherein the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
and if the authentication information of the service equipment is legal, transmitting the file based on the first signaling, wherein the legal authentication information comprises that the first signaling does not correspond to the transmitted file.
Optionally, the valid authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed a timeout threshold.
Optionally, the method further comprises the steps of:
and if the first signaling corresponds to a plurality of file transmission requests within the overtime threshold, providing safety prompt information for a user.
Optionally, when the file transmission request includes a file upload request, the method further includes the following steps:
and caching the uploaded file as a first file.
Optionally, the method further comprises the steps of:
generating a file viewing request according to the uploaded file corresponding to the file transmission position;
detecting whether a first file is contained in the user equipment or not, wherein the first file corresponds to the file viewing request;
and if the user equipment comprises the first file, displaying the first file.
Optionally, the step of sending a file transfer request includes:
sending an information transmission request to the service equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the method further comprises the steps of:
and transmitting the data corresponding to the general data transmission request to the service equipment.
According to another aspect of the present invention, there is also provided a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-readable instructions which, when executed by one or more devices, cause the devices to perform the method as described in any one of the above.
According to another aspect of the present invention, there is also provided a file transfer system, comprising a memory and a processor, the memory having stored therein computer-readable instructions which, when executed by the processor, perform the method of any one of the above.
Compared with the prior art, the method and the device have the advantages that the first signaling is generated through the service equipment, when the user equipment sends the file transmission request, the file transmission request is verified based on the first signaling, if the first signaling corresponds to the transmitted file, the file transmission request is rejected, otherwise, if the first signaling does not correspond to the transmitted file, the user equipment is allowed to transmit the file; therefore, the number of file transmission times is limited through the first signaling, one signaling is ensured to correspond to one file transmission time only, conflicts which are possibly generated during multiple file uploading are effectively avoided, and meanwhile, multiple checking of the uploaded files is avoided under the condition that a user is allowed to check the uploaded files. Therefore, the invention can ensure the safety, reliability and effectiveness of file transmission and simultaneously improve the use experience of users.
Moreover, the invention can also verify the file transmission request based on whether the transmission request time information corresponding to the first signaling exceeds the overtime threshold value, thereby ensuring that only one successful file transmission is carried out in the same time period on the premise of ensuring the overtime retransmission.
Moreover, if the first signaling corresponds to a plurality of file transmission requests within the overtime threshold, the invention can also provide safety prompt information for the user, thereby further ensuring the safety of file transmission and improving the interactivity with the user.
Moreover, the method can also cache the uploaded file as a first file at the user equipment end; further, when the user equipment checks the uploaded file, the cached first file is called for showing. Therefore, the invention avoids the frequent transmission of the uploaded files between the user equipment and the service equipment, and improves the safety of the system by reducing the network requests on the basis of ensuring the repeated checking function of the user.
Moreover, the invention can also process the information transmission request of the user equipment, so as to distinguish the general data transmission request and the file transmission request corresponding to the information transmission request, and execute different transmission modes based on different transmission requests; therefore, the efficiency of information transmission is ensured, and the safety of information transmission is improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 illustrates a schematic diagram of a service device and a user device for file transfer according to an aspect of the present invention;
FIG. 2 illustrates a flow diagram of a method for file transfer in accordance with another aspect of the subject invention.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The term "user equipment" or "service device" in this context refers to "computer equipment", also referred to as "computer", which refers to an intelligent electronic device capable of executing predetermined processes such as numerical calculation and/or logic calculation by executing predetermined programs or instructions, and may include a processor and a memory, wherein the processor executes a pre-stored instruction stored in the memory to execute the predetermined process, or the hardware such as ASIC, FPGA, DSP, etc. executes the predetermined process, or a combination of the two.
Wherein the user equipment includes but is not limited to computers, smart phones, PDAs, etc.; the service device includes, but is not limited to, a single web server, a server group consisting of a plurality of web servers, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of computers or web servers, wherein Cloud Computing is one of distributed Computing, a super virtual computer consisting of a collection of loosely coupled computers. The network where the user equipment and/or the service equipment is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
It should be noted that the user equipment, the service equipment, the network, etc. are only examples, and other existing or future computer equipment or networks may also be included in the scope of the present invention, and are included by reference.
Specific structural and functional details disclosed herein are merely representative and are provided for purposes of describing example embodiments of the present invention. The present invention may, however, be embodied in many alternate forms and should not be construed as limited to only the embodiments set forth herein.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element may be termed a second element, and, similarly, a second element may be termed a first element, without departing from the scope of example embodiments. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
The present invention is described in further detail below with reference to the attached drawing figures.
Fig. 1 shows a schematic diagram of a service device 1 and a user device 2 for file transfer according to an aspect of the present invention.
Wherein the service apparatus 1 comprises: a device (hereinafter referred to as "one-to-one device 11") for acquiring a signaling request sent by a user equipment, wherein the signaling request is generated according to a file transmission position; means (hereinafter referred to as "a second device 12") for generating a first signaling according to the signaling request, in combination with the user identification information and the signaling request time information; means for transmitting the first signaling to the user equipment (hereinafter referred to as "a third means 13"); means (hereinafter, referred to as "a-four means 14") for receiving a file transfer request sent by the user equipment, wherein the file transfer request includes a file upload request and/or a file download request, and the file transfer request corresponds to the file transfer location; means (hereinafter, referred to as "fifth means 15") for determining authentication information corresponding to the file transfer request, wherein the authentication information includes whether the first signaling already corresponds to a transferred file; means (hereinafter, referred to as "a sixth means 16") for allowing the ue to transmit the file based on the first signaling if the authentication information is legal, wherein the legal authentication information includes that the first signaling does not correspond to the transmitted file.
The user equipment 2 comprises: means for generating a signaling request based on a file transfer location (hereinafter referred to as "two-to-one means 21"); a device (hereinafter referred to as "second device 22") configured to send the signaling request to a service device and obtain a first signaling sent by the service device, where the first signaling is generated according to the signaling request and by combining user identification information and signaling request time information; means (hereinafter referred to as "two-three means 23") for sending a file transfer request to the service device, wherein the file transfer request includes a file upload request and/or a file download request, and the file transfer request corresponds to the file transfer location; and a device (hereinafter, referred to as "second-fourth device 24") configured to transmit a file based on the first signaling if the authentication information of the service device is legal, where the legal authentication information includes that the first signaling does not correspond to the transmitted file.
The first device 21 generates a signaling request according to the file transmission position.
Specifically, when the user logs in a page corresponding to the file transmission by using the user equipment, or clicks an input box corresponding to the file transmission on the page, the two-in-one device 21 generates a signaling request according to the file transmission position.
The document transmission location includes, but is not limited to, a page corresponding to the document transmission (e.g., a document uploading page), or an input box for document transmission on the page (e.g., a specific document is uploaded in the input box of the specific location, the page may include other input boxes, and the other input boxes may correspond to other document transmissions or non-document transmissions). Those skilled in the art will appreciate that the file transfer location corresponds to the user, such as different user corresponding file transfer pages or different specific input boxes for file transfer.
Wherein the signaling request is used to request the serving device 1 to generate a first signaling for file transfer.
The second device 22 sends the signaling request to the service device 1 according to a predetermined communication protocol based on a predetermined communication interface, and correspondingly, the one-to-one device 11 of the service device 1 obtains the signaling request sent by the user equipment 2 according to a predetermined communication protocol based on a predetermined communication interface, where the signaling request is generated according to a file transmission location.
Then, the second device 12 generates a first signaling according to the signaling request, in combination with the user identification information and the signaling request time information.
Specifically, the second device 12 generates the first signaling according to the signaling request by combining the user identification information (one or more user identification information such as a user ID, a user equipment ID, and a user IP address) corresponding to the user equipment and the signaling request time information based on the file transmission location corresponding to the signaling request.
The one-third device 13 sends the first signaling to the user equipment 2 according to a predetermined communication protocol based on a predetermined communication interface; correspondingly, the second device 22 of the user equipment 2 acquires the first signaling sent by the service equipment based on the predetermined communication interface according to the predetermined communication protocol, wherein the first signaling is generated according to the signaling request and by combining the user identification information and the signaling request time information.
The two-three device 23 of the user equipment 2 sends a file transmission request to the service equipment 1 according to a preset communication protocol and based on a preset communication interface; correspondingly, a fourth device 14 of the service device 1 receives the file transmission request sent by the user device based on a predetermined communication interface according to a predetermined communication protocol; the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position.
The file transmission request is a file transmission request corresponding to the file transmission position, and includes a file uploading request and/or a file downloading request. If the file transmission request is a file upload request, the file transmission request may be: requesting to upload a certain file at the file transmission position (for example, clicking a certain upload key to upload a certain file, where the upload key is located or a corresponding upload text box is the file transmission position); if the file transmission request is a file download request, the file transmission request may be: and requesting to download a certain file at the file transmission position (for example, clicking a certain download key to download a certain file, wherein the position of the download key is the file transmission position).
Herein, the files include, but are not limited to, documents, pictures, videos, other multimedia files, and the like.
The first device 15 determines the authentication information corresponding to the file transmission request, where the authentication information includes whether the first signaling already corresponds to the transmitted file.
Specifically, the first five device 15 checks whether the first signaling is already used for transmitting other files and has successfully transmitted: here, if the file transfer request is an upload request, verifying whether the first signaling already corresponds to an uploaded file; and if the file transmission request is a downloading request, verifying whether the first signaling is used for downloading the file data corresponding to the file transmission request.
It will be understood by those skilled in the art that the authentication information may also be verified by the user identification information of the file transfer request, the transmission mode of the file transfer request (e.g., whether to transmit in a secure mode), etc., to determine whether the file transfer request is legitimate.
If the authentication information is legal, the sixth device 16 allows the ue 2 to transmit the file based on the first signaling; accordingly, the second four device 24 of the user equipment 2 transmits the file based on the first signaling; wherein the legal authentication information includes that the first signaling does not correspond to a transmitted file.
Specifically, if the first signaling does not correspond to a transmitted file, the authentication information is determined to be legal; preferably, if the authentication information further includes other information, for example, user identification information of the file transfer request, a transfer method of the file transfer request, and the like, the validity of the authentication information is determined based on a validity condition corresponding to the information.
The one-sixth means 16 then allow the two-fourth means 24 of the user equipment 2 to transmit a file based on the first signaling, the transmitted file corresponding to the first signaling, the first signaling being associated with a transmitted file after transmission.
In other words, if the first signaling already corresponds to a transmitted file, the authentication information is considered to be illegal, so that the service device 1 no longer allows the user equipment 2 to transmit based on the first signaling.
That is, whether the file is uploaded or downloaded, the file transmission in the present invention only allows one successful transmission, after one successful transmission, the first signaling is associated with a transmitted file, and the present invention no longer allows a second transmission based on the first signaling.
Preferably, the authentication information further includes whether the transmission request time information corresponding to the first signaling exceeds a timeout threshold; the legitimate authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed a timeout threshold.
In particular, the timeout threshold may be determined based on one or more of the following: the file transmission request is determined according to the attribute information of the user equipment or the current application of the user, and the like, and is determined according to the characteristics (such as security level, confidentiality requirement and the like) of the file corresponding to the file transmission request.
The timeout threshold may be a length of time, such as 10 minutes; or may be a time node, such as every hour, etc.
For example, if the signaling request time information is 10 minutes from 10 to 10 minutes, and the timeout threshold is 10 minutes, the transmission request time information from 10 to 20 minutes all belong to the time range not exceeding the timeout threshold, and the transmission request time information after 10 to 20 minutes is considered to belong to the time range exceeding the timeout threshold.
When the authentication information includes whether the transmission request time information corresponding to the first signaling exceeds a timeout threshold, the legal authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed the timeout threshold.
In other words, the first signaling allows only one successful file transfer request at the file transfer location within a certain timeout threshold; if the first signaling already corresponds to a transmitted file, the file transmission request is considered to be illegal; if the file transmission request exceeds a time threshold, whether the first signaling corresponds to a transmitted file or not is judged that the file transmission request is illegal; and only when the first signaling does not correspond to the transmitted file and does not exceed a timeout threshold and is simultaneously satisfied, the authentication information is determined to be legal and the file transmission is allowed.
Further, if the transmission request time information corresponding to the first signaling exceeds the timeout threshold, the signaling request may be regenerated, so as to generate a new signaling for the file transmission request.
Preferably, the service device 1 further comprises a device (hereinafter referred to as "a seven device", not shown) for providing a security prompt message to the user if the first signaling corresponds to a plurality of file transfer requests within the timeout threshold.
Specifically, a seventh device of the service device 1 continuously interacts with the user device 2 to obtain a file transmission request sent by the user device 2; and if the first signaling corresponds to a plurality of file transmission requests within the overtime threshold, the file transmission corresponding to the file transmission position is considered to be risky, so that safety prompt information is provided for a user through the user equipment.
The safety prompting information includes but is not limited to text prompting, prompting of suggested operation and the like.
Preferably, the user equipment 2 further comprises a device (hereinafter referred to as "twenty-five device", not shown) for providing a security prompt message to the user if the first signaling corresponds to a plurality of file transfer requests within the timeout threshold.
Specifically, the second and fifth devices of the user equipment 2 continuously monitor the interface corresponding to the file transmission position to obtain one or more file transmission requests that may be generated; and if the first signaling corresponds to a plurality of file transmission requests within the overtime threshold, the file transmission corresponding to the file transmission position is considered to be risky, so that safety prompt information is provided for a user.
Preferably, when the file transmission request includes a file uploading request, the user equipment 2 further includes a device (hereinafter referred to as "two-six device", not shown) for caching the uploaded file as a first file.
Specifically, when the file transmission request includes a file upload request, the user equipment 2 caches the uploaded file as a first file, and the first file is associated with the file upload request. The first file may be a preview version of the uploaded file.
For example, if the file is a picture, the first file may be a thumbnail of the picture; if the file is a document, the first file can be a document abstract; if the file is a video, the first file can be a video clip or a video screenshot; if the file is audio, the first file may be a excerpted segment of the audio (e.g., audio of the previous few seconds).
More preferably, the user equipment 2 further includes a device (hereinafter referred to as "twenty-seven device", not shown) for generating a file viewing request according to the uploaded file corresponding to the file transmission location; means (hereinafter, referred to as "two-eight means", not shown) for detecting whether a first file is included in the user equipment, wherein the first file corresponds to the file viewing request; means (hereinafter referred to as "twenty-nine means", not shown) for presenting the first file if the first file is included in the user equipment.
Specifically, the twenty-seventh apparatus may generate a file viewing request for the uploaded file according to the uploaded file corresponding to the file transmission position, for example, the user may generate the file viewing request for the uploaded file by clicking a specific key at the file transmission position or sending a specific request.
Then, the twenty-eight apparatus detects whether the first file is stored in the user equipment, where the first file is an uploaded file cached in the user equipment.
And if the user equipment comprises the first file, the twenty-ninth device directly calls the first file in the user equipment and displays the first file to the user.
In other words, the user equipment no longer interacts with the service equipment, so that the uploaded file is prevented from being acquired in a network transmission mode, and the uploaded file is directly viewed in the user equipment.
It should be understood by those skilled in the art that, if the user equipment does not include the first file, the user equipment may interact with the service equipment again based on the method in the present invention to obtain the uploaded file sent by the service equipment (i.e., perform a file downloading operation).
Preferably, the two-third device 23 may send an information transmission request to the service device, where the information transmission request includes a general data transmission request and a file transmission request, the file transmission request includes a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission location; correspondingly, the four-device 14 receives an information transmission request sent by the user equipment, where the information transmission request includes a general data transmission request and a file transmission request, the file transmission request includes a file upload request and/or a file download request, and the file transmission request corresponds to the file transmission location; then, the user equipment 2 further includes a device (hereinafter referred to as "twenty device", not shown) for transmitting data corresponding to the general data transmission request to the service equipment 1; accordingly, the service device 1 further includes a device (hereinafter referred to as "eight device", not shown) for receiving the data corresponding to the general data transmission request sent by the user device 2.
Specifically, the two-three device 23 may send an information transmission request to the service apparatus based on a predetermined communication interface according to a predetermined communication protocol. Wherein, the information transmission request may include a general data transmission request and a file transmission request; the second and third devices 23 may determine the security requirement of information transmission according to the information category (such as text information, file information), information transmission location, etc. corresponding to the information transmission request, so as to classify the information transmission request to distinguish whether it belongs to a general data transmission request or a file transmission request; here, the general data transmission request does not need to be transmitted by using a first signaling, and the file transmission request needs to be transmitted according to the first signaling.
Then, the second and third means 23 sends the file transfer request to the service device 1 based on a predetermined communication interface according to a predetermined communication protocol, so as to execute the file transfer process based on the first signaling on the file transfer request.
Meanwhile, the twenty-device transmits the data corresponding to the general data transmission request to the service device 1 based on a predetermined communication interface according to a predetermined communication protocol; accordingly, an eight device of the service device 1 receives the data corresponding to the general data transmission request, which is sent by the user equipment 2, based on a predetermined communication interface according to a predetermined communication protocol.
FIG. 2 illustrates a flow diagram of a method for file transfer in accordance with another aspect of the subject invention.
In step S1, the ue generates a signaling request according to a file transmission location, and sends the signaling request to the service device; in step S2, the service device generates a first signaling according to the signaling request, in combination with the user identification information and the signaling request time information, and sends the first signaling to the user device; in step S3, the user device sends a file transfer request to the service device, where the file transfer request includes a file upload request and/or a file download request, and the file transfer request corresponds to the file transfer location; in step S4, the service device obtains the file transmission request, and determines authentication information corresponding to the file transmission request, where the authentication information includes whether the first signaling already corresponds to a transmitted file; in step S5, if the authentication information is legal, the service device allows the ue to transmit a file based on the first signaling, where the legal authentication information includes that the first signaling does not correspond to the transmitted file.
In step S1, the user equipment 2 generates a signaling request according to the file transfer location.
Specifically, when a user logs in a page corresponding to file transmission by using the user equipment 2, or clicks an input box corresponding to file transmission on the page, the user equipment 2 generates a signaling request according to a file transmission position.
The document transmission location includes, but is not limited to, a page corresponding to the document transmission (e.g., a document uploading page), or an input box for document transmission on the page (e.g., a specific document is uploaded in the input box of the specific location, the page may include other input boxes, and the other input boxes may correspond to other document transmissions or non-document transmissions). Those skilled in the art will appreciate that the file transfer location corresponds to the user, such as different user corresponding file transfer pages or different specific input boxes for file transfer.
Wherein the signaling request is used to request the serving device 1 to generate a first signaling for file transfer.
Then, in step S1, the user equipment 2 sends the signaling request to the service equipment 1 according to a predetermined communication protocol based on a predetermined communication interface, and accordingly, the service equipment 1 obtains the signaling request sent by the user equipment 2 according to a predetermined communication protocol based on a predetermined communication interface, where the signaling request is generated according to a file transmission location.
In step S2, the service device 1 generates a first signaling according to the signaling request, in combination with the user identification information and the signaling request time information.
Specifically, in step S2, the service device 1 generates the first signaling according to the signaling request by combining the user identification information (one or more types of user identification information such as a user ID, a user device ID, and a user IP address) corresponding to the user device and the signaling request time information based on the file transmission location corresponding to the signaling request.
Then, in step S2, the service device 1 sends the first signaling to the user device 2 according to a predetermined communication protocol based on a predetermined communication interface; correspondingly, the user equipment 2 acquires the first signaling sent by the service equipment according to a predetermined communication protocol and based on a predetermined communication interface, wherein the first signaling is generated according to the signaling request and by combining the user identification information and the signaling request time information.
In step S3, the user device 2 sends a file transfer request to the service device 1 based on a predetermined communication interface according to a predetermined communication protocol; accordingly, in step S3, the service device 1 receives the file transfer request sent by the user device based on a predetermined communication interface according to a predetermined communication protocol; the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position.
The file transmission request is a file transmission request corresponding to the file transmission position, and includes a file uploading request and/or a file downloading request. If the file transmission request is a file upload request, the file transmission request may be: requesting to upload a certain file at the file transmission position (for example, clicking a certain upload key to upload a certain file, where the upload key is located or a corresponding upload text box is the file transmission position); if the file transmission request is a file download request, the file transmission request may be: and requesting to download a certain file at the file transmission position (for example, clicking a certain download key to download a certain file, wherein the position of the download key is the file transmission position).
Herein, the files include, but are not limited to, documents, pictures, videos, other multimedia files, and the like.
In step S4, the service device 1 determines authentication information corresponding to the file transfer request, where the authentication information includes whether the first signaling already corresponds to the transferred file.
Specifically, in step S4, the serving device 1 checks whether the first signaling has been used for transmitting other files and has successfully transmitted by checking the first signaling: here, if the file transfer request is an upload request, verifying whether the first signaling already corresponds to an uploaded file; and if the file transmission request is a downloading request, verifying whether the first signaling is used for downloading the file data corresponding to the file transmission request.
It will be understood by those skilled in the art that the authentication information may also be verified by the user identification information of the file transfer request, the transmission mode of the file transfer request (e.g., whether to transmit in a secure mode), etc., to determine whether the file transfer request is legitimate.
If the authentication information is valid, in step S5, the service device 1 allows the user equipment 2 to transmit a file based on the first signaling; accordingly, the user equipment 2 transmits a file based on the first signaling; wherein the legal authentication information includes that the first signaling does not correspond to a transmitted file.
Specifically, if the first signaling does not correspond to a transmitted file, the authentication information is determined to be legal; preferably, if the authentication information further includes other information, for example, user identification information of the file transfer request, a transfer method of the file transfer request, and the like, the validity of the authentication information is determined based on a validity condition corresponding to the information.
The serving device 1 then allows the user device 2 to transmit a file based on the first signaling, the transmitted file corresponding to the first signaling, the first signaling being associated with a transmitted file after transmission.
In other words, if the first signaling already corresponds to a transmitted file, the authentication information is considered to be illegal, so that the service device 1 no longer allows the user equipment 2 to transmit based on the first signaling.
That is, whether the file is uploaded or downloaded, the file transmission in the present invention only allows one successful transmission, after one successful transmission, the first signaling is associated with a transmitted file, and the present invention no longer allows a second transmission based on the first signaling.
Preferably, the authentication information further includes whether the transmission request time information corresponding to the first signaling exceeds a timeout threshold; the legitimate authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed a timeout threshold.
In particular, the timeout threshold may be determined based on one or more of the following: the file transmission request is determined according to the attribute information of the user equipment or the current application of the user, and the like, and is determined according to the characteristics (such as security level, confidentiality requirement and the like) of the file corresponding to the file transmission request.
The timeout threshold may be a length of time, such as 10 minutes; or may be a time node, such as every hour, etc.
For example, if the signaling request time information is 10 minutes from 10 to 10 minutes, and the timeout threshold is 10 minutes, the transmission request time information from 10 to 20 minutes all belong to the time range not exceeding the timeout threshold, and the transmission request time information after 10 to 20 minutes is considered to belong to the time range exceeding the timeout threshold.
When the authentication information includes whether the transmission request time information corresponding to the first signaling exceeds a timeout threshold, the legal authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed the timeout threshold.
In other words, the first signaling allows only one successful file transfer request at the file transfer location within a certain timeout threshold; if the first signaling already corresponds to a transmitted file, the file transmission request is considered to be illegal; if the file transmission request exceeds a time threshold, whether the first signaling corresponds to a transmitted file or not is judged that the file transmission request is illegal; and only when the first signaling does not correspond to the transmitted file and does not exceed a timeout threshold and is simultaneously satisfied, the authentication information is determined to be legal and the file transmission is allowed.
Further, if the transmission request time information corresponding to the first signaling exceeds the timeout threshold, the signaling request may be regenerated, so as to generate a new signaling for the file transmission request.
Preferably, the method further comprises step S6 (not shown). In step S6, if the first signaling corresponds to a plurality of file transfer requests within the timeout threshold, the service device 1 provides a user with security prompt information.
Specifically, the service device 1 continuously interacts with the user device 2 to obtain a file transmission request sent by the user device 2; and if the first signaling corresponds to a plurality of file transmission requests within the overtime threshold, the file transmission corresponding to the file transmission position is considered to be risky, so that safety prompt information is provided for a user through the user equipment.
The safety prompting information includes but is not limited to text prompting, prompting of suggested operation and the like.
Preferably, the method further comprises step S7 (not shown). In step S7, if the first signaling corresponds to a plurality of file transfer requests within the timeout threshold, the user equipment 2 provides a security prompt to the user.
Specifically, the user equipment 2 continuously monitors an interface corresponding to the file transmission position to obtain one or more file transmission requests that may be generated; and if the first signaling corresponds to a plurality of file transmission requests within the overtime threshold, the file transmission corresponding to the file transmission position is considered to be risky, so that safety prompt information is provided for a user.
Preferably, when the file transfer request includes a file upload request, the method further includes step S8 (not shown); in step S8, the user device 2 caches the uploaded file as a first file.
Specifically, when the file transmission request includes a file upload request, the user equipment 2 caches the uploaded file as a first file, and the first file is associated with the file upload request. The first file may be a preview version of the uploaded file.
For example, if the file is a picture, the first file may be a thumbnail of the picture; if the file is a document, the first file can be a document abstract; if the file is a video, the first file can be a video clip or a video screenshot; if the file is audio, the first file may be a excerpted segment of the audio (e.g., audio of the previous few seconds).
More preferably, the method further includes step S9 (not shown), step S10 (not shown), step S11 (not shown); in step S9, the user equipment 2 generates a file viewing request according to the uploaded file corresponding to the file transmission location; in step S10, the user device 2 detects whether a first file is included in the user device, where the first file corresponds to the file viewing request; in step S11, if the user equipment includes the first file, the user equipment 2 displays the first file.
Specifically, in step S9, the user equipment 2 may generate a file viewing request for the uploaded file according to the uploaded file corresponding to the file transmission location, for example, the user may generate a file viewing request for the uploaded file by clicking a specific button at the file transmission location or sending a specific request.
Then, in step S10, the user equipment 2 detects whether the first file is stored in the user equipment, where the first file is an uploaded file cached in the user equipment.
If the user equipment includes the first file, in step S11, the user equipment 2 directly calls the first file in the user equipment and displays the first file to the user.
In other words, the user equipment no longer interacts with the service equipment, so that the uploaded file is prevented from being acquired in a network transmission mode, and the uploaded file is directly viewed in the user equipment.
It should be understood by those skilled in the art that, if the user equipment does not include the first file, the user equipment may interact with the service equipment again based on the method in the present invention to obtain the uploaded file sent by the service equipment (i.e., perform a file downloading operation).
Preferably, in step S3, the user equipment 2 may send an information transmission request to the service equipment 1, where the information transmission request includes a general data transmission request and a file transmission request, the file transmission request includes a file upload request and/or a file download request, and the file transmission request corresponds to the file transmission location; correspondingly, the service device 1 receives an information transmission request sent by the user device 2, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position; then, the method further includes step S12 (not shown), in step S12, the user equipment 2 transmits data corresponding to the general data transmission request to the service equipment 1; accordingly, the service device 1 receives the data corresponding to the general data transmission request, which is sent by the user device 2.
Specifically, in step S3, the user equipment 2 may send an information transmission request to the service equipment based on a predetermined communication interface according to a predetermined communication protocol. Wherein, the information transmission request may include a general data transmission request and a file transmission request; the user equipment 2 may determine the security requirement of information transmission according to the information category (such as text information, file information), information transmission location, etc. corresponding to the information transmission request, so as to classify the information transmission request to distinguish whether it belongs to a general data transmission request or a file transmission request; here, the general data transmission request does not need to be transmitted by using a first signaling, and the file transmission request needs to be transmitted according to the first signaling.
Then, the user equipment 2 sends the file transfer request to the service equipment 1 based on a predetermined communication interface according to a predetermined communication protocol, so as to execute the file transfer process based on the first signaling on the file transfer request.
Meanwhile, in step S12, the user equipment 2 transmits data corresponding to the general data transmission request to the service equipment 1 based on a predetermined communication interface according to a predetermined communication protocol; accordingly, the service device 1 receives the data corresponding to the general data transmission request, which is sent by the user device 2, based on a predetermined communication interface according to a predetermined communication protocol
The present invention also provides a computer-readable storage medium characterized in that it stores computer-readable instructions which, when executed by one or more devices, cause the devices to perform the method of any of the preceding claims.
The invention also provides a file transfer system comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, perform the method of any one of the preceding claims.
It should be noted that the present invention may be implemented in software and/or in a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present invention may be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present invention can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can invoke or provide the method and/or technical solution according to the present invention through the operation of the computer. Program instructions which invoke the methods of the present invention may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the invention herein comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or solution according to embodiments of the invention as described above.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (24)

1. A method for file transmission at a server device, wherein the method comprises the following steps:
acquiring a signaling request sent by user equipment, wherein the signaling request is generated according to a file transmission position;
generating a first signaling according to the signaling request by combining user identification information and signaling request time information;
sending the first signaling to the user equipment;
receiving a file transmission request sent by the user equipment, wherein the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
judging authentication information corresponding to the file transmission request, wherein the authentication information comprises whether the first signaling corresponds to a transmitted file;
and if the authentication information is legal, allowing the user equipment to transmit the file based on the first signaling, wherein the legal authentication information comprises that the first signaling does not correspond to the transmitted file.
2. The method of claim 1, wherein the authentication information further comprises whether transmission request time information corresponding to the first signaling has exceeded a timeout threshold;
the legitimate authentication information includes that the first signaling does not correspond to a transmitted file and does not exceed a timeout threshold.
3. The method of claim 2, wherein the method further comprises the steps of:
and the processor is configured to provide a security prompt to a user if the first signaling corresponds to a plurality of file transfer requests within the timeout threshold.
4. The method of any of claims 1 to 3, wherein the step of receiving a file transfer request comprises:
receiving an information transmission request sent by the user equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the method further comprises the steps of:
and receiving data which is sent by the user equipment and corresponds to the general data transmission request.
5. A method for file transfer at a user equipment, wherein the method comprises the following steps:
generating a signaling request according to the file transmission position;
sending the signaling request to a service device, and acquiring a first signaling sent by the service device, wherein the first signaling is generated according to the signaling request by combining user identification information and signaling request time information;
sending a file transmission request to the service equipment, wherein the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
and if the authentication information of the service equipment is legal, transmitting the file based on the first signaling, wherein the legal authentication information comprises that the first signaling does not correspond to the transmitted file.
6. The method of claim 5, wherein the legitimate authentication information includes that the first signaling does not correspond to a transferred file and does not exceed a timeout threshold.
7. The method of claim 6, wherein the method further comprises the steps of:
and if the first signaling corresponds to a plurality of file transmission requests within the overtime threshold, providing safety prompt information for a user.
8. The method of any of claims 5 to 7, wherein when the file transfer request comprises a file upload request, the method further comprises the steps of:
and caching the uploaded file as a first file.
9. The method of claim 8, wherein the method further comprises the steps of:
generating a file viewing request according to the uploaded file corresponding to the file transmission position;
detecting whether a first file is contained in the user equipment or not, wherein the first file corresponds to the file viewing request;
and if the user equipment comprises the first file, displaying the first file.
10. The method of any of claims 5 to 7, wherein the step of sending a file transfer request comprises:
sending an information transmission request to the service equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the method further comprises the steps of:
and transmitting the data corresponding to the general data transmission request to the service equipment.
11. The method of claim 8, wherein the step of sending a file transfer request comprises:
sending an information transmission request to the service equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the method further comprises the steps of:
and transmitting the data corresponding to the general data transmission request to the service equipment.
12. The method of claim 9, wherein the step of sending a file transfer request comprises:
sending an information transmission request to the service equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the method further comprises the steps of:
and transmitting the data corresponding to the general data transmission request to the service equipment.
13. A service device for file transfer, wherein the service device comprises:
the device comprises a device for acquiring a signaling request sent by user equipment, wherein the signaling request is generated according to a file transmission position;
means for generating a first signaling according to the signaling request in combination with the user identification information and the signaling request time information;
means for transmitting the first signaling to the user equipment;
the file transmission method includes receiving a file transmission request sent by the user equipment, wherein the file transmission request includes a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
means for determining authentication information corresponding to the file transfer request, wherein the authentication information includes whether the first signaling already corresponds to a transferred file;
means for allowing the user equipment to transmit a file based on the first signaling if the authentication information is valid, wherein the valid authentication information includes that the first signaling does not correspond to a transmitted file.
14. The service device of claim 13, wherein the service device further comprises:
means for providing a security prompt to a user if the first signaling corresponds to a plurality of file transfer requests within a timeout threshold.
15. The serving device of claim 13 or 14, wherein the means for receiving a file transfer request is configured to:
receiving an information transmission request sent by the user equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the service device further comprises:
means for receiving data corresponding to the general data transmission request sent by the user equipment.
16. A user device for file transfer, wherein the user device comprises:
means for generating a signaling request based on the file transfer location;
a device, configured to send the signaling request to a service device, and obtain a first signaling sent by the service device, where the first signaling is generated according to the signaling request and in combination with user identification information and signaling request time information;
means for sending a file transfer request to the serving device, wherein the file transfer request includes a file upload request and/or a file download request, and the file transfer request corresponds to the file transfer location;
and transmitting the file based on the first signaling if the authentication information of the service equipment is legal, wherein the legal authentication information comprises that the first signaling does not correspond to the transmitted file.
17. The user equipment of claim 16, wherein the user equipment further comprises:
means for providing a security prompt to a user if the first signaling corresponds to a plurality of file transfer requests within a timeout threshold.
18. The user equipment according to claim 16 or 17, wherein when the file transfer request comprises a file upload request, the user equipment further comprises:
means for caching the uploaded file as a first file.
19. The user equipment of claim 18, wherein the user equipment further comprises:
a device for generating a file viewing request according to the uploaded file corresponding to the file transmission position;
means for detecting whether a first file is included in the user equipment, wherein the first file corresponds to the file viewing request;
means for displaying the first file if the first file is included in the user equipment.
20. The user equipment of claim 16 or 17, wherein the means for sending a file transfer request is configured to:
sending an information transmission request to the service equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the user equipment further comprises:
and transmitting the data corresponding to the general data transmission request to the service equipment.
21. The user equipment of claim 18, wherein the means for sending a file transfer request is configured to:
sending an information transmission request to the service equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the user equipment further comprises:
and transmitting the data corresponding to the general data transmission request to the service equipment.
22. The user equipment of claim 19, wherein the means for sending a file transfer request is configured to:
sending an information transmission request to the service equipment, wherein the information transmission request comprises a general data transmission request and a file transmission request, the file transmission request comprises a file uploading request and/or a file downloading request, and the file transmission request corresponds to the file transmission position;
wherein the user equipment further comprises:
and transmitting the data corresponding to the general data transmission request to the service equipment.
23. A computer-readable storage medium having computer-readable instructions stored thereon which, when executed by one or more devices, cause the devices to perform the method of any one of claims 1-12.
24. A file transfer system, the system comprising a memory and a processor, the memory having stored therein computer-readable instructions which, when executed by the processor, the processor performs the method of any of claims 1 to 12.
CN201710835362.6A 2017-09-15 2017-09-15 Method and device for file transmission Active CN107707630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710835362.6A CN107707630B (en) 2017-09-15 2017-09-15 Method and device for file transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710835362.6A CN107707630B (en) 2017-09-15 2017-09-15 Method and device for file transmission

Publications (2)

Publication Number Publication Date
CN107707630A CN107707630A (en) 2018-02-16
CN107707630B true CN107707630B (en) 2020-12-15

Family

ID=61172679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710835362.6A Active CN107707630B (en) 2017-09-15 2017-09-15 Method and device for file transmission

Country Status (1)

Country Link
CN (1) CN107707630B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714385B (en) * 2018-11-09 2022-05-20 平安科技(深圳)有限公司 Method and device for uploading files, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883108A (en) * 2010-06-29 2010-11-10 中兴通讯股份有限公司 Document transmission method and system of dynamic authentication
CN102388632A (en) * 2011-08-26 2012-03-21 华为技术有限公司 Application information push method, system and network element
CN103179086A (en) * 2011-12-21 2013-06-26 中国电信股份有限公司 Method and system for remote storing processing of data
CN107113320A (en) * 2016-01-29 2017-08-29 华为技术有限公司 A kind of method, relevant device and system for downloading signed instrument

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120265828A1 (en) * 2011-04-12 2012-10-18 Slepinin Igor Home bridge system and method of delivering confidential electronic files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883108A (en) * 2010-06-29 2010-11-10 中兴通讯股份有限公司 Document transmission method and system of dynamic authentication
CN102388632A (en) * 2011-08-26 2012-03-21 华为技术有限公司 Application information push method, system and network element
CN103179086A (en) * 2011-12-21 2013-06-26 中国电信股份有限公司 Method and system for remote storing processing of data
CN107113320A (en) * 2016-01-29 2017-08-29 华为技术有限公司 A kind of method, relevant device and system for downloading signed instrument

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"一种基于网络的文件加密方法的研究与实现";何文才,关少华,薛晗,刘培鹤;《通信技术》;20141230;全文 *

Also Published As

Publication number Publication date
CN107707630A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN107135073B (en) Interface calling method and device
CN107070735B (en) Method, test terminal and the system of asynchronous interface test
CN108965950B (en) Advertisement monitoring method and device
US8572691B2 (en) Selecting a web service from a service registry based on audit and compliance qualities
CN106878265B (en) Data processing method and device
CN110879903A (en) Evidence storage method, evidence verification method, evidence storage device, evidence verification device, evidence storage equipment and evidence verification medium
CN111159651B (en) Block chain online evidence-storing method and system
CN110096639B (en) Method and device for monitoring and obtaining evidence of infringement and terminal equipment
CN105025041A (en) File upload method, file upload apparatus and system
CN107508822B (en) Access control method and device
CN104284213A (en) Hotlink protection method, client side and system
US11770385B2 (en) Systems and methods for malicious client detection through property analysis
KR20070067681A (en) E-mail transmission system
CN105577602A (en) Data pushing method and data pushing device based on open application programming interface
CN105162604B (en) A kind of verification method, server and system based on characteristic image identification
CN110335159B (en) Application information processing method, device and equipment and readable storage medium
CN101771676A (en) Setting and authentication method for cross-domain authorization and relevant device and system
CN115484086B (en) Cloud mobile phone screen sharing method, electronic equipment and computer readable storage medium
CN107888623B (en) Method and device for preventing hijacking of audio and video data streams of live broadcast software
CN110351369A (en) Electronic evidence security method and system
CN114268461B (en) User identity authentication method, device, server, terminal and storage medium
CN107707630B (en) Method and device for file transmission
CN110414274A (en) Electronic evidence security method and system
CN111386711A (en) Method, device and system for managing electronic fingerprints of electronic files
CN107026828A (en) A kind of anti-stealing link method cached based on internet and internet caching

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