CN112714139A - File sharing system, method, electronic device and storage medium - Google Patents

File sharing system, method, electronic device and storage medium Download PDF

Info

Publication number
CN112714139A
CN112714139A CN201911015768.5A CN201911015768A CN112714139A CN 112714139 A CN112714139 A CN 112714139A CN 201911015768 A CN201911015768 A CN 201911015768A CN 112714139 A CN112714139 A CN 112714139A
Authority
CN
China
Prior art keywords
file
sharing
shared
module
web
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911015768.5A
Other languages
Chinese (zh)
Inventor
张宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201911015768.5A priority Critical patent/CN112714139A/en
Priority to PCT/CN2020/114852 priority patent/WO2021077939A1/en
Publication of CN112714139A publication Critical patent/CN112714139A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms

Landscapes

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

Abstract

The embodiment of the invention relates to the field of communication, and discloses a file sharing system, a file sharing method, electronic equipment and a storage medium. In the present invention, a file sharing system includes: the system comprises a file selection module and a sharing control module which are arranged at a sharing source end, and a sharing display module and a file downloading module which are arranged at a sharing target end. The file sharing system comprises a file selection module, a sharing control module, a sharing display module and a file downloading module, wherein the file selection module is used for a user to select a file to be shared, the sharing control module is used for issuing the file to be shared as a Web shared file and sending a file sharing notice to the sharing display module, the sharing display module is used for sending a file sharing prompt after receiving the file sharing notice, and the file downloading module is used for downloading and storing the Web shared file when receiving a downloading command of the Web shared file. The invention provides a simple and quick file sharing mechanism, and particularly provides a simple and quick file sharing mechanism compared with the existing scheme for file sharing between a sharing source end and a sharing target end of different operating systems.

Description

File sharing system, method, electronic device and storage medium
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a file sharing system, a file sharing method, electronic equipment and a storage medium.
Background
In a scenario of using a conventional Personal Computer (PC), if a user transmits a File between Windows System computers, the File and folder sharing is completed through a Common Internet File System (CIFS) protocol. If the user transmits files between computers in the Linux System, the sharing of the files and the folders is completed through a Network File System (NFS) protocol. If the user transmits the file between the Windows system computer and the Linux system computer, the file and folder sharing is completed through a Server Messages Block (Samba for short), or the file is transferred on the PC through a file transfer protocol service. In such a scenario, a user generally needs a series of setting operation processes for sharing a file, including setting a shared file or a folder, inputting a user name, authenticating a password, and the like. In a cloud desktop virtual machine usage scenario, common file transmission also includes disk redirection, folder redirection, and the like. In such a scenario, the user setting file and folder are generally shared by using cloud desktop access software, but the implementation scheme is still shared by using a file or folder sharing service of a Windows system or a Linux system, for example: and mounting the shared file or folder on the Windows system virtual machine through a mounting command on the Linux system virtual machine, or mounting the shared file or folder on the Linux system virtual machine through adding a network disk on the Windows system virtual machine through Samba.
The inventor finds that the existing scheme and operation are complex no matter the file sharing is carried out in the traditional PC use scene or the cloud desktop virtual machine use scene, and the file sharing cannot be simply and quickly realized.
Disclosure of Invention
The embodiment of the invention aims to provide a file sharing system, a file sharing method, electronic equipment and a storage medium, so that the sharing of files is simpler and quicker.
To solve the above technical problem, an embodiment of the present invention provides a file sharing system, including: the Web sharing system comprises a file selection module and a sharing control module which are arranged at a sharing source end, and a sharing display module and a file downloading module which are arranged at a sharing target end, wherein the file selection module is used for a user to select a file to be shared, the sharing control module is used for issuing the file to be shared as a Web sharing file and sending a file sharing notice to the sharing display module, the sharing display module is used for sending a file sharing prompt after receiving the file sharing notice, and the file downloading module is used for downloading and storing the Web sharing file when receiving a downloading command of the Web sharing file.
The embodiment of the invention also provides a file sharing method, which comprises the following steps: and providing a file selection interface for a user to select a file to be shared, publishing the file to be shared as a Web shared file, sending a file sharing notice to a pre-acquired sharing target end, sending a file sharing prompt by the sharing target end after receiving the file sharing notice, and downloading and storing the Web shared file when receiving a downloading command of the Web shared file.
An embodiment of the present invention also provides an electronic device, including: the system includes at least one processor, and a memory communicatively coupled to the at least one processor. The storage stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the file sharing method.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program realizes the file sharing method when being executed by a processor.
Compared with the prior art, the method and the device have the advantages that the sharing control module issues the file to be shared selected by the user as the Web shared file and sends a file sharing notice to the sharing display module of the sharing target end; so that the user can make access downloads. The sharing display module sends a file sharing prompt after receiving a file sharing notification sent by a sharing control module of a sharing source end so as to prompt that a downloadable file exists currently; therefore, the process of file sharing is simple and quick; and because the Web service has no limit to the operating system, the operating process of cross-operating system file sharing in the prior art is greatly simplified.
In addition, the file sharing system further includes: and the timing module is arranged at the sharing source end and used for recording the release time length of the Web shared file and informing the sharing control module of forbidding the sharing of the Web shared file after the release time length of the Web shared file reaches the preset sharing time length. That is, the timing module sets the distribution time length for the Web shared file. In the embodiment, the shared target end is controlled to acquire the shared file in the preset time period by setting the release time length, so that the file sharing safety is enhanced.
In addition, the file sharing system further includes: the file downloading module is specifically used for sending a downloading request carrying the identity information of the sharing target end to the sharing source end, and the authentication module is used for authenticating the identity information and allowing the file downloading module to download the Web sharing file after the authentication is passed. That is, the file downloading module is allowed to download the Web shared file after the authentication is passed. The embodiment can ensure that only the sharing target terminal with the authority can download the file, and the security of file sharing is enhanced.
In addition, the sharing source end is a client in the cloud desktop or a virtual machine in the cloud desktop, and the sharing target end is a client in the cloud desktop or a virtual machine in the cloud desktop. The embodiment provides an application scenario with selectable sharing source terminals and sharing target terminals, file sharing of the cloud desktop can be achieved, and a file sharing process of the cloud desktop in the prior art is greatly simplified.
In addition, the method further comprises: and sending a file sharing prompt after receiving a file sharing notification sent by the sharing source end. Wherein, the file sharing notification is sent by the sharing source after the Web sharing file is issued. And when a downloading command of the Web shared file issued by the sharing source end is received, downloading and storing the Web shared file. The embodiment provides a way for the sharing target terminal to acquire the Web shared file of the sharing source terminal.
In addition, the file selection interface comprises an option for the user to select the sharing target terminal. In the embodiment, the user is allowed to select the required sharing target terminal at any time according to the requirement, so that the file sharing is more flexible and convenient.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a schematic structural diagram of a file sharing system according to a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a shared source peer or a shared target peer in the first embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a file sharing system according to a second embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a file sharing system according to a third embodiment of the present invention;
FIG. 5 is a flowchart of a file sharing method according to a fourth embodiment of the present invention;
FIG. 6 is a flowchart of a file sharing method in a fifth embodiment of the present invention;
FIG. 7 is a flowchart of a file sharing method according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device in a seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a file sharing system. In this embodiment, the file selection module is configured to allow a user to select a file to be shared, the sharing control module is configured to issue the file to be shared as a Web shared file and send a file sharing notification to the sharing display module, the sharing display module is configured to send a file sharing prompt after receiving the file sharing notification, and the file download module is configured to download and store the Web shared file when receiving a download command of the Web shared file. The following describes implementation details of the file sharing system according to the present embodiment, and the following description is only provided for easy understanding and is not necessary for implementing the present embodiment.
A file sharing system in this embodiment specifically includes: the system comprises a file selecting module 101 and a sharing control module 102 which are arranged at a sharing source end, and a sharing display module 103 and a file downloading module 104 which are arranged at a sharing target end. The sharing source end and the sharing target end can be a client machine in the cloud desktop or a virtual machine in the cloud desktop. According to the embodiment, file sharing under various scenes such as a client in the cloud desktop and a virtual machine in the cloud desktop, a client in the cloud desktop and a client in the cloud desktop, or a virtual machine in the cloud desktop and a virtual machine in the cloud desktop can be realized. Such as: assuming that virtual machine a shares files to client B, virtual machine a can act as the sharing source and client B as the sharing target. Fig. 1 is a schematic diagram of a specific structure of a file sharing system according to this embodiment.
The file selecting module 101 is used for the user to select the file to be shared.
In a specific example, the file selection module 101 is integrated in a right-click mouse menu of the operating system, and a user clicks the right-click mouse on a selected file, and a "share" item is directly selected from a pop-up right-click mouse menu to trigger a file sharing action. Then, the file selecting module 101 notifies the sharing control module 102 of the file to be shared selected by the user. It should be noted that, in this embodiment, the file selected by the user to be shared may be a single file, or may be understood as a single folder, as long as the file needs to be shared.
In one specific example, the profile selection module 101 can be triggered by a user dragging a file or folder. Such as: the user selects the file and presses the left mouse button to drag the selected file to a certain area of the desktop, and then the shared file selection action can be completed. Then, the file selecting module 101 notifies the sharing control module 102 of the file to be shared selected by the user.
It should be noted that the presentation form of the file selecting module 101 can be flexible and various, and the above two examples are only examples of the implementation manner of the module. Under the premise of having the functions of the module, the mode of presenting or triggering the module action can exist singly or jointly in multiple forms in consideration of the actual application scene.
The sharing control module 102 is configured to publish a file to be shared as a Web shared file, and send a file sharing notification to the sharing display module 103.
In a specific example, it is assumed that after the file selecting module 101 notifies the sharing control module 102 of the file to be shared selected by the user, the sharing control module 102 will publish the file to be shared as a World Wide Web (Web for short) shared file. Such as: the sharing control module 102 issues the file to be shared into a file list accessible through a Hypertext Transfer Protocol (HTTP) or a Hypertext Transfer Protocol Security (HTTPs) Protocol for downloading, which is not limited herein. In addition, the sharing Control module 102 may send a file sharing notification to the sharing presentation module 103, where the file sharing notification is sent through a Transmission Control Protocol (TCP) or a User Datagram Protocol (UDP), or the file sharing notification is transferred through a Control center. Therefore, the shared control module 102 corresponds to a mini Web server having a simple function.
The sharing display module 103 is configured to send a file sharing prompt after receiving the file sharing notification.
In a specific example, after receiving the file sharing notification sent by the sharing control module 102, the sharing presentation module 103 sends a file sharing prompt to prompt the user that there is a Web sharing file that can be accessed for downloading, and then the user can select the Web sharing file that the user wants to download from the Web sharing file after seeing the sharing prompt.
The file downloading module 104 is configured to download and store the Web shared file when receiving a downloading command of the Web shared file.
In a specific example, assuming that the user knows that the Web shared file can be accessed for downloading through the shared presentation module 103 and selects a file to be downloaded on the selection interface provided by the shared presentation module 103, the shared presentation module 103 generates a download command corresponding to the Web shared file selected for downloading by the user. When the file download module 104 receives the download command, it starts downloading and storing the selected Web shared file. If the file download module 104 does not receive the download command, no download will occur.
In one specific example, assuming that the file download module 104 receives the download command but does not successfully download to the selected shared file, the module may notify the user via the shared presentation module 103 of the reason for the failure to download. The notification method may be a pop-up window, and the like, and is not limited herein.
In a specific example, a user selects a file to be shared through the file selection module 101, and the file selection module 101 reads attribute information of the file selected by the user, such as: name, path, file type, size, etc., without limitation. The file selecting module 101 sends the read file attribute information to the sharing control module 102, where the sending mode may be sending through an Application Programming Interface (API) or other modes, which is not limited herein. After obtaining the file to be shared and the attribute information of the file to be shared, the sharing control module 102 issues the file to be shared as a Web shared file according to the attribute information of the file to be shared. In addition, the sharing control module 102 may send a file sharing notification to the sharing display module 103, and notify the sharing display module 103 of the information related to the successfully published Web shared file, such as: file name, size, type, name of the located computer or Internet Protocol Address (IP), etc., which are not limited herein. For the sharing presentation module 103, after receiving the file sharing notification, it will send a file sharing prompt to prompt the user that a new downloadable Web sharing file is generated. The form of the prompt may be a bubble window, a sound, etc., and is not limited herein. In practical application, the sharing and displaying module 103 may further display information such as the type, name, size, source computer name, or IP of the shared file in detail, that is, the sharing and displaying module 103 may display other information for the user besides the function of sending a file sharing prompt, so that the displayed content is more comprehensive, and the user can view and select to download the content. Next, the user selects a file to be downloaded according to the prompt of the sharing presentation module 103, and at this time, the downloading operation of the file downloading module 104 is triggered, that is, the Web sharing file selected by the user starts to be downloaded.
It should be noted that, in practical applications, as shown in fig. 2, the sharing source or the sharing target may include a file selecting module 101, a sharing control module 102, a sharing displaying module 103, and a file downloading module 104.
In this embodiment, a user may select a file to be shared through the file selection module 101, and the sharing control module 102 issues the file to be shared selected by the user as a Web sharing file, so that the user can access and download the file. The sharing display module 103 sends a file sharing prompt after receiving the file sharing notification sent by the sharing control module 102, so that the user knows that the downloadable shared file exists currently, and then the user starts to select the Web shared file desired to be downloaded, meanwhile, the system generates a Web file downloading command according to the selection of the user and sends the Web file downloading command to the file downloading module 104, and then the file downloading module 104 starts to download and store the downloaded Web shared file. The modules of the sharing source terminal and the sharing target terminal are matched with each other, so that the file sharing process is simpler and faster. For the file sharing between the sharing source terminal and the sharing target terminal of different operating systems, the embodiment greatly improves the degree of simplicity and rapidity.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A second embodiment of the present invention relates to a file sharing system. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in this embodiment, the file sharing system further includes a timing module disposed at the sharing source, where the timing module is configured to record a publishing duration of the Web shared file, and notify the sharing control module to prohibit the sharing of the Web shared file after the publishing duration of the Web shared file reaches a preset sharing duration.
A schematic structural diagram of a file sharing system in this embodiment is shown in fig. 3, and specifically includes: the file selection module 301, the sharing control module 302 and the timing module 303 are arranged at the sharing source end, and the sharing display module 304 and the file download module 305 are arranged at the sharing target end.
The file selecting module 301, the sharing control module 302, the sharing display module 304, and the file downloading module 305 are similar to the file selecting module 101, the sharing control module 102, the sharing display module 103, and the file downloading module 104, respectively, and are not described herein again.
The timing module 303 is configured to record a publishing duration of the Web shared file, and notify the sharing control module 302 to prohibit sharing the Web shared file after the publishing duration of the Web shared file reaches a preset sharing duration.
In a specific example, the timing module 303 cooperates with the sharing control module 302 to record the publishing duration of the Web sharing file. Assuming that the preset sharing time period is 1 hour, the timing module 303 starts to record the publishing time period of the Web sharing file, and then the sharing control module 302 may be configured to allow the sharing target to access and download the published Web sharing file within the 1 hour. When the timing module 303 records that the publication time length reaches 1 hour, it notifies the sharing control module 302 to prohibit the sharing of the Web shared file that has been published. The sharing prohibition manner may be that the sharing control module 302 automatically cancels the published Web shared file, or prohibits accessing the published Web shared file, which is not limited herein.
In this embodiment, the file sharing system further includes a timing module 303, which controls the sharing target to obtain the shared file within a preset time period by setting the publishing time length, so that the file sharing security is enhanced on the basis of ensuring that the file sharing process is simpler and faster.
A third embodiment of the present invention relates to a file sharing system. The third embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in this embodiment, the file downloading module is specifically configured to send a downloading request carrying the identity information of the sharing target terminal to the sharing source terminal. In addition, the file sharing system in this embodiment further includes an authentication module disposed at the sharing source, where the authentication module is configured to authenticate the identity information and allow the file downloading module to download the Web shared file after the authentication is passed.
A schematic structural diagram of a file sharing system in this embodiment is shown in fig. 3, and specifically includes: the system comprises a file selection module 401, a sharing control module 402 and an authentication module 403 which are arranged at a sharing source end, and a sharing display module 404 and a file download module 405 which are arranged at a sharing target end.
The file selecting module 301, the sharing control module 402, and the sharing display module 404 are similar to the file selecting module 401, the sharing control module 102, and the sharing display module 103, respectively, and are not described herein again.
The file downloading module 405 is specifically configured to send a downloading request carrying the identity information of the sharing target terminal to the sharing source terminal.
The authentication module 403 is configured to authenticate the identity information and allow the file downloading module 405 to download the Web sharing file after the authentication is passed.
In a specific example, when receiving a download command of a Web shared file, the file download module 405 sends a download request carrying identity information of a sharing target to a sharing source. When the sharing control module 402 in the sharing source end receives the download request, if the identity information is found in the download request, the identity information is sent to the authentication module 403 to verify the identity information carried in the download request. After the authentication module 403 confirms that the sharing target has the downloading authority, a response of allowing downloading corresponding to the downloading request is sent to the sharing target, so as to allow the file downloading module 405 to download the published Web sharing file from the sharing control module 402. Such as: the authentication module 403 verifies the token parameter carried in the download request, and after the token parameter passes the verification, the sharing source returns a response of allowing the download to the sharing target, and notifies the sharing control module 402 to provide the accessible and downloadable Web shared file for the sharing target corresponding to the download request. If the token parameter carried in the download request does not pass authentication, the authentication module 403 may notify the sharing control module 402 to stop providing the accessible and downloadable Web sharing file for the sharing target corresponding to the token parameter. In addition, the authentication module 403 can also reply to the reason why the file downloading module 405 cannot download.
In this embodiment, the file sharing system is further provided with an authentication module 403, which authenticates the identity information of the sharing target terminal and allows the file downloading module 405 to download the Web sharing file after the authentication is passed. On the basis of ensuring that the file sharing process is simpler and quicker, the embodiment can ensure that the sharing target end has the authority of acquiring the Web shared file, and enhances the security of file sharing.
It should be noted that the timing module 303 and the authentication module 403 both belong to one of the extended function modules, and in practical applications, any extended function module may be added as needed, for example: one or more modules of a user-defined configuration module, a network speed limit module, an IP access control function module, a breakpoint continuous transmission function module and the like. The custom configuration module may be used for the user to customize some parameters that the setting module depends on when running, such as: a port used during file sharing, whether a file to be shared is encrypted, a file selection mode, an interface skin and the like, which are not limited herein. The network speed limiting module can be used for limiting the direction, the uplink speed, the downlink speed and the like of file transmission. The IP access control function may be used to coordinate restricting the addresses to which the Web-shared file may be accessed. The breakpoint resume function module can be used for controlling the progress control of file downloading, so that when the user abnormally terminates downloading or suspends downloading in the process of downloading the shared file, the user can continue to download the shared file from the last terminated position by clicking again without downloading the selected shared file again in full.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to a file sharing method. The sharing source end provides a file selection interface, and after a user selects a file to be shared through the file selection interface, the sharing source end issues the file to be shared as a Web shared file. The sharing source end also sends a file sharing notice to the pre-acquired sharing target end, so that the sharing target end sends a file sharing prompt after receiving the file sharing notice, and downloads and stores the Web sharing file when receiving a downloading command of the Web sharing file. The following describes implementation details of the file sharing method according to the present embodiment in detail, and the following description is only provided for easy understanding and is not necessary for implementing the present embodiment.
The file sharing method in this embodiment is applied to an electronic device, and the electronic device may be a virtual machine in a cloud desktop or a client in the cloud desktop. The same electronic device can be used as a sharing source terminal and a sharing target terminal. A specific flowchart of a file sharing method in this embodiment is shown in fig. 5, and includes:
step 501, providing a file selection interface.
Specifically, when the electronic device is used as a sharing source, a file selection interface is provided for a user to select a file to be shared.
In a specific example, the file selection interface includes an option for the user to select the sharing target.
Step 502, publishing the file to be shared as a Web sharing file, and sending a file sharing notification to a pre-acquired sharing target terminal.
Specifically, when the electronic device serves as a sharing source end, a file to be shared selected by a user is issued as a Web shared file, a file sharing notification is sent to a pre-acquired sharing target end, so that the sharing target end sends a file sharing prompt after receiving the file sharing notification, and when a downloading command of the Web shared file is received, the Web shared file is downloaded and stored.
In a specific example, the sharing target is pre-acquirable, and it is assumed that there are 3 electronic devices A, B, C in the sharing file system as the sharing targets, named sharing target a, sharing target B, and sharing target C. In the shared file system, there is also some electronic device D as a sharing source, named sharing source D, where there are 3 files a, b, and c to be shared, the sharing target of the file a to be shared may be one or more of A, B, C, and the files b and c to be shared are the same, that is, one file to be shared may be shared to multiple sharing targets. Then the sharing target A, B, C may also be shared with one or more files. Taking the sharing target end A as an example, assume that the sharing target end of the sharing file a is A. The user selects the file a to be shared through a file selection interface provided by the sharing source end D, then releases the file a to be shared as a Web shared file, and sends a file sharing notice to the sharing target end A. Then the sharing target a sends a file sharing prompt about the shared file a after receiving the file sharing notification. If the user selects to download the shared file a according to the file sharing prompt, the sharing target terminal A receives a downloading command of Web file sharing, namely the downloading command of the shared file a, and then the sharing target terminal A starts to download the shared file a and stores the shared file a. Of course, the user may also choose not to download the shared file a after obtaining the file sharing prompt, and in this case, the sharing target terminal a will not receive the download command of the Web file sharing. The process is similar to the above process after the sharing target terminal a receives the other file sharing notifications, and is not described herein again. The shared target B, C is similar and will not be described in detail herein. It should be noted that, in this embodiment, the electronic device D serves as a sharing source, but in practical application, the electronic device D may also serve as a sharing target, that is, the same device may serve as both the sharing source and the sharing target, and at this time, the actions performed by the electronic device D are similar to those performed by the sharing target a, and are not described herein again.
In this embodiment, the electronic device provides a file selection interface when serving as a sharing source, and after a user selects a file to be shared through the file selection interface, the electronic device issues the file to be shared as a Web shared file, so that the user can access and download the file. The electronic device serving as the sharing source end also sends a file sharing notification to the pre-acquired electronic device serving as the sharing target end, so that the electronic device sends a file sharing prompt after receiving the file sharing notification, and a user can know that a downloadable shared file exists currently. In addition, the electronic device as the sharing target downloads and stores the Web shared file when receiving a download command of the Web shared file. According to the embodiment, a simpler and quicker file sharing process is realized. For the file sharing between the sharing source terminal and the sharing target terminal of different operating systems, the embodiment greatly improves the degree of simplicity and rapidity.
It should be understood that this embodiment is a method example corresponding to the first embodiment, and may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
A fifth embodiment of the present invention relates to a file sharing method. The fifth embodiment is substantially the same as the fourth embodiment, and mainly differs therefrom in that: in this embodiment, after the electronic device serving as the sharing source issues the file to be shared as the Web shared file and sends the file sharing notification to the pre-acquired electronic device serving as the sharing target, the electronic device also records the issuance time of the Web shared file, and prohibits the Web shared file from being shared after the issuance time of the Web shared file reaches the preset sharing time.
A specific flowchart of a file sharing method in this embodiment is shown in fig. 6, and includes:
step 601, providing a file selection interface. Similar to step 501, further description is omitted here.
Step 602, publishing the file to be shared as a Web sharing file, and sending a file sharing notification to a pre-acquired sharing target terminal. Similar to step 502, further description is omitted here.
Step 603, recording the release duration of the Web shared file, and prohibiting the Web shared file from being shared after the release duration of the Web shared file reaches a preset sharing duration.
In a specific example, assuming that the preset sharing time period is 1 hour, after the electronic device as the sharing source sends a file sharing notification to the pre-acquired electronic device as the sharing target, the issuing time period of the Web shared file starts to be recorded, and then it may be set that the Web shared file already issued is allowed to be accessed and downloaded within the 1 hour. When the electronic device as the source of the share records that the distribution time length reaches 1 hour, the electronic device is prohibited from sharing the Web shared file that has been distributed. The sharing prohibition manner may be to automatically cancel the published Web shared file, or prohibit access to and download the published Web shared file, which is not limited herein.
In this embodiment, after sending a file sharing notification to a pre-acquired sharing target, the sharing source may further record a publishing duration of the Web shared file, and prohibit the Web shared file from being shared after the publishing duration of the Web shared file reaches a preset sharing duration. According to the embodiment, on the basis of ensuring that the file sharing process is simpler and quicker, the shared file is controlled to be acquired by the sharing target terminal within a preset time period by setting the issuing time length, and the file sharing safety is enhanced.
Since the second embodiment corresponds to the present embodiment, the present embodiment can be implemented in cooperation with the second embodiment. The related technical details mentioned in the second embodiment are still valid in this embodiment, and the technical effects that can be achieved in the second embodiment can also be achieved in this embodiment, and are not described herein again in order to reduce the repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the second embodiment.
A sixth embodiment of the present invention relates to a file sharing method. The sixth embodiment is substantially the same as the fourth embodiment, and mainly differs therefrom in that: in this embodiment, after the sharing source serving as the sharing source issues a file to be shared as a Web shared file, and sends a file sharing notification to the pre-acquired electronic device serving as the sharing target, when receiving a download request of the Web shared file, the sharing source authenticates identity information of a download requester carried in the download request, and allows the download requester to download the Web shared file after the authentication is passed.
A specific flowchart of a file sharing method in this embodiment is shown in fig. 7, and includes:
step 701, providing a file selection interface. Similar to step 501, further description is omitted here.
Step 702, publishing the file to be shared as a Web sharing file, and sending a file sharing notification to the pre-acquired sharing target terminal. Similar to step 502, further description is omitted here.
Step 703, when receiving the download request of the Web shared file, authenticating the identity information of the download requester carried in the download request, and allowing the download requester to download the Web shared file after the authentication is passed.
In a specific example, when receiving a download command of a Web shared file, an electronic device as a sharing target sends a download request carrying identity information of the sharing target to an electronic device as a sharing source. After receiving the download request, the electronic device serving as the sharing source verifies the identity information carried in the download request, and after confirming that the sharing target has the download authority, the sharing target is allowed to download the issued Web sharing file. Such as: and verifying the token parameters carried by the downloading request, and providing the accessible and downloadable Web sharing files for the sharing target terminal corresponding to the downloading request after the token parameters are passed. And if the identity information carried by the downloading request does not pass the authentication, the sharing source end stops providing the Web sharing file which can be accessed and downloaded for the sharing target end corresponding to the identity information.
In this embodiment, after the electronic device serving as the sharing source issues the file to be shared as the Web shared file, and sends a file sharing notification to the pre-acquired electronic device serving as the sharing target, when receiving a download request of the Web shared file, the electronic device authenticates the identity information of the download requester carried in the download request, and only after the authentication is passed, the download requester is allowed to download the Web shared file, and the download requester that does not pass the authentication cannot download the Web shared file. On the basis of ensuring that the file sharing process is simpler and quicker, the embodiment can ensure that the sharing target end has the authority of acquiring the Web shared file, and enhances the security of file sharing.
A seventh embodiment of the present invention relates to an electronic device, as shown in fig. 8, including at least one processor 801; and the number of the first and second groups,
a memory 802 communicatively coupled to the at least one processor; the memory 802 stores instructions executable by the at least one processor 801, and the instructions are executed by the at least one processor 801, so that the at least one processor 801 can execute the method for generating the cancellation signal.
In a specific example, the electronic device is a client in a cloud desktop or a virtual machine in a cloud desktop. The client may be a mobile phone, a tablet computer, a personal desktop computer, and the like, and the virtual machine may be a server, which is not limited herein.
The memory 802 and the processor 801 are coupled by a bus, which may include any number of interconnecting buses and bridges that couple one or more of the various circuits of the processor 801 and the memory 802 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 801 is transmitted over a wireless medium through an antenna, which receives the data and transmits the data to the processor 801.
The processor 801 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 802 may be used to store data used by processor 801 in performing operations.
An eighth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (12)

1. A file sharing system, comprising: the system comprises a file selection module and a sharing control module which are arranged at a sharing source end, and a sharing display module and a file downloading module which are arranged at a sharing target end;
the file selection module is used for a user to select a file to be shared;
the sharing control module is used for publishing the file to be shared as a Web shared file and sending a file sharing notice to the sharing display module;
the sharing display module is used for sending out a file sharing prompt after receiving the file sharing notification;
and the file downloading module is used for downloading and storing the Web shared file when receiving a downloading command of the Web shared file.
2. The file sharing system according to claim 1, further comprising: the timing module is arranged at the shared source end;
the timing module is used for recording the release time length of the Web shared file and informing the sharing control module to forbid the sharing of the Web shared file after the release time length of the Web shared file reaches the preset sharing time length.
3. The file sharing system according to claim 1, further comprising: the authentication module is arranged at the shared source end;
the file downloading module is specifically configured to send a downloading request carrying the identity information of the sharing target terminal to the sharing source terminal;
the authentication module is used for authenticating the identity information and allowing the file downloading module to download the Web shared file after the authentication is passed.
4. The file sharing system according to any one of claims 1 to 3, wherein the sharing source is a client in a cloud desktop or a virtual machine in a cloud desktop, and the sharing target is a client in a cloud desktop or a virtual machine in a cloud desktop.
5. A method for sharing a file, comprising:
providing a file selection interface for a user to select a file to be shared;
and issuing the file to be shared as a Web shared file, sending a file sharing notice to the pre-acquired sharing target terminal, so that the sharing target terminal sends a file sharing prompt after receiving the file sharing notice, and downloading and storing the Web shared file when receiving a downloading command of the Web shared file.
6. The method of claim 5, further comprising:
sending a file sharing prompt after receiving a file sharing notification sent by a sharing source end; the file sharing notification is sent by the sharing source end after the Web sharing file is issued;
and when a downloading command of the Web shared file issued by the sharing source end is received, downloading and storing the Web shared file.
7. The file sharing method according to claim 5, wherein after the publishing the file to be shared as a Web shared file and sending a file sharing notification to the pre-acquired sharing target, further comprising:
recording the release time length of the Web shared file, and forbidding the sharing of the Web shared file after the release time length of the Web shared file reaches the preset sharing time length.
8. The file sharing method according to claim 5, wherein after the publishing the file to be shared as a Web shared file and sending a file sharing notification to the pre-acquired sharing target, further comprising:
and when a downloading request of the Web shared file is received, authenticating the identity information of a downloading requester carried in the downloading request, and allowing the downloading requester to download the Web shared file after the authentication is passed.
9. The file sharing method according to any one of claims 5 to 8, wherein the file selection interface includes an option for the user to select the sharing target.
10. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the file sharing method of any one of claims 5 to 9.
11. The file sharing method according to claim 10, wherein the electronic device is a client in a cloud desktop or a virtual machine in a cloud desktop.
12. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the file sharing method according to any one of claims 5 to 9.
CN201911015768.5A 2019-10-24 2019-10-24 File sharing system, method, electronic device and storage medium Pending CN112714139A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911015768.5A CN112714139A (en) 2019-10-24 2019-10-24 File sharing system, method, electronic device and storage medium
PCT/CN2020/114852 WO2021077939A1 (en) 2019-10-24 2020-09-11 File sharing system and method, and electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911015768.5A CN112714139A (en) 2019-10-24 2019-10-24 File sharing system, method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN112714139A true CN112714139A (en) 2021-04-27

Family

ID=75540235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911015768.5A Pending CN112714139A (en) 2019-10-24 2019-10-24 File sharing system, method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN112714139A (en)
WO (1) WO2021077939A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282953A (en) * 2021-05-14 2021-08-20 山东英信计算机技术有限公司 Samba sharing authority authentication method, system, terminal and storage medium
CN114025344A (en) * 2021-09-29 2022-02-08 陕西通信规划设计研究院有限公司 Information sharing mobile communication method
CN114374690A (en) * 2022-01-21 2022-04-19 荣耀终端有限公司 File sharing method, communication system and electronic equipment
CN115242784A (en) * 2022-09-23 2022-10-25 浪潮通信信息系统有限公司 1+N file sharing device with data checking function and method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189505B (en) * 2021-10-29 2024-04-19 深圳市酷开网络科技股份有限公司 File sharing method, computer device and storage medium
CN114968957A (en) * 2022-04-19 2022-08-30 高途教育科技集团有限公司 File sharing method and device, storage medium and electronic equipment
CN115174205B (en) * 2022-07-01 2023-04-28 深圳千麦科技有限公司 Network space safety real-time monitoring method, system and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014048138A1 (en) * 2012-09-26 2014-04-03 Tencent Technology (Shenzhen) Company Limited Systems and methods for sharing files among multiple terminals
WO2017218309A1 (en) * 2016-06-15 2017-12-21 Microsoft Technology Licensing, Llc Electronic file sharing link granularity
CN110336810A (en) * 2019-06-28 2019-10-15 华为技术有限公司 Information sharing method, platform and calculating equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9049176B2 (en) * 2011-06-22 2015-06-02 Dropbox, Inc. File sharing via link generation
CN109344134A (en) * 2018-09-26 2019-02-15 郑州云海信息技术有限公司 A kind of method and device that cloud disc file is shared

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014048138A1 (en) * 2012-09-26 2014-04-03 Tencent Technology (Shenzhen) Company Limited Systems and methods for sharing files among multiple terminals
WO2017218309A1 (en) * 2016-06-15 2017-12-21 Microsoft Technology Licensing, Llc Electronic file sharing link granularity
CN110336810A (en) * 2019-06-28 2019-10-15 华为技术有限公司 Information sharing method, platform and calculating equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282953A (en) * 2021-05-14 2021-08-20 山东英信计算机技术有限公司 Samba sharing authority authentication method, system, terminal and storage medium
CN114025344A (en) * 2021-09-29 2022-02-08 陕西通信规划设计研究院有限公司 Information sharing mobile communication method
CN114025344B (en) * 2021-09-29 2024-06-25 陕西通信规划设计研究院有限公司 Mobile communication method for information sharing
CN114374690A (en) * 2022-01-21 2022-04-19 荣耀终端有限公司 File sharing method, communication system and electronic equipment
CN114374690B (en) * 2022-01-21 2023-10-31 荣耀终端有限公司 File sharing method, communication system and electronic equipment
CN115242784A (en) * 2022-09-23 2022-10-25 浪潮通信信息系统有限公司 1+N file sharing device with data checking function and method
CN115242784B (en) * 2022-09-23 2022-12-20 浪潮通信信息系统有限公司 1+N file sharing device with data checking function and method

Also Published As

Publication number Publication date
WO2021077939A1 (en) 2021-04-29

Similar Documents

Publication Publication Date Title
CN112714139A (en) File sharing system, method, electronic device and storage medium
US20210336897A1 (en) Controllng distribution of resources in a network
US11929937B2 (en) Controlling distribution of resources on a network
EP2898444B1 (en) Controlling distribution of resources on a network
CN105359106B (en) For providing the system and method to the notice of change in file system based on cloud
US9769266B2 (en) Controlling access to resources on a network
US8353002B2 (en) Chaining information card selectors
JP6425738B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD FOR INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING SYSTEM, AND COMPUTER PROGRAM
US10986095B2 (en) Systems and methods for controlling network access
US20130247144A1 (en) Controlling Access to Resources on a Network
US20130212650A1 (en) Distribution of variably secure resources in a networked environment
US10375064B2 (en) Method, apparatus, and system for remotely accessing cloud applications
WO2007106496A2 (en) System and method for single client remote access
US20140157354A1 (en) Securing Access to Resources on a Network
CN110069909B (en) Method and device for login of third-party system without secret
CN106254319B (en) Light application login control method and device
CN117251837A (en) System access method and device, electronic equipment and storage medium
KR102310321B1 (en) Method and apparatus for providing web page using captive portal
CN112311716B (en) Data access control method, device and server based on openstack
CN114168994A (en) Data processing method and system
CN115022090A (en) Data sharing method and system, electronic equipment and computer storage medium
CN113765673A (en) Access control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210427