WO2017084499A1 - 一种文件分享方法及装置 - Google Patents

一种文件分享方法及装置 Download PDF

Info

Publication number
WO2017084499A1
WO2017084499A1 PCT/CN2016/104408 CN2016104408W WO2017084499A1 WO 2017084499 A1 WO2017084499 A1 WO 2017084499A1 CN 2016104408 W CN2016104408 W CN 2016104408W WO 2017084499 A1 WO2017084499 A1 WO 2017084499A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
receiving terminal
terminal
open
sending
Prior art date
Application number
PCT/CN2016/104408
Other languages
English (en)
French (fr)
Inventor
黄传通
Original Assignee
北京金山办公软件股份有限公司
珠海金山办公软件有限公司
广州金山移动科技有限公司
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 北京金山办公软件股份有限公司, 珠海金山办公软件有限公司, 广州金山移动科技有限公司 filed Critical 北京金山办公软件股份有限公司
Publication of WO2017084499A1 publication Critical patent/WO2017084499A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a file sharing method and apparatus.
  • the sharing method is usually that the user of the sending terminal generates a URL link address for the file to be sent, and sends the link address to the user of the receiving terminal for the user to provide.
  • the user receiving the terminal previews or downloads the file after opening the URL link address.
  • the user of the sending terminal may add a password when generating the URL link address, and pass the URL link address and the password together through the instant messaging software.
  • An email or other communication tool is sent to the user of the receiving terminal.
  • the purpose of the embodiment of the present application is to provide a file sharing method and device, so as to achieve the purpose of securely sharing files.
  • An embodiment of the present application provides a file sharing method, where the method is applied to a sending terminal, and the method includes:
  • the consent opening information is sent to the receiving terminal, so that the receiving terminal opens the file.
  • the method before the sharing the link address of the file, the method further includes:
  • the file is created and a corresponding link address is generated based on the file.
  • the determining, by the receiving terminal, the permission to open the file includes:
  • the access terminal is determined to open the file according to whether the IP address exists in the saved IP address group.
  • the verification request carries the account information of the user to which the receiving terminal belongs
  • the determining the permission of the receiving terminal to open the file includes:
  • the permission of the receiving terminal to open the file is determined according to whether the account information exists in the account group saved by itself.
  • the method includes:
  • the embodiment of the present application further provides a file sharing device, where the device is applied to a sending terminal, and the device includes:
  • a receiving module configured to share a link address of the file, and receive a verification request sent by the receiving terminal according to the link address, where the verification request carries information of the file to be opened;
  • a verification module configured to determine, according to the verification request, that the receiving terminal opens the file Permission
  • the first sending module is configured to: when the receiving terminal has the right to open the file, send the consent opening information to the receiving terminal, so that the receiving terminal opens the file.
  • the device further includes:
  • a module is created for creating the file and generating a corresponding link address according to the file.
  • the verification module includes:
  • a first acquiring module configured to acquire an IP address of the receiving terminal
  • the first determining module is configured to determine, according to whether the IP address exists in the IP address group saved by itself, the right of the receiving terminal to open the file.
  • the verification request carries the account information of the user to which the receiving terminal belongs
  • the verification module includes:
  • a second acquiring module configured to acquire account information of a user to which the receiving terminal belongs
  • the second determining module is configured to determine, according to whether the account information exists in the account group saved by itself, the right of the receiving terminal to open the file.
  • the foregoing apparatus further includes:
  • a second sending module configured to send the verification request to the corresponding account of the user by using the other application according to the account information of another application that is bound to the user account of the user to which the sending terminal belongs.
  • the other applications include at least one of the following: short message, WeChat, and email.
  • An embodiment of the present application provides a file sharing method, where the method is applied to a receiving terminal, and the method includes:
  • the receiving terminal When the receiving terminal receives the opening instruction of the file, the receiving terminal sends an authentication request to the sending terminal, where the verification request carries information of the file to be opened;
  • the file is opened, wherein the consent opening information is sent when the sending terminal determines that the receiving terminal has the right to open the file.
  • the method further includes:
  • the receiving terminal outputs a prompt message waiting for verification.
  • An embodiment of the present application provides a file sharing device, where the device is applied to a receiving terminal, and the device includes:
  • a third sending module configured to send an authentication request to the sending terminal, where the verification request carries the information of the file to be opened;
  • Opening a module configured to open the file when receiving the consent opening information sent by the sending terminal, where the consent opening information is sent when the sending terminal determines that the receiving terminal has the right to open the file .
  • the foregoing apparatus further includes:
  • the output module receives the prompt information that the terminal outputs waiting for verification.
  • the embodiment of the present application further provides a sending terminal, including:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for:
  • the consent opening information is sent to the receiving terminal, so that the receiving terminal opens the file.
  • the embodiment of the present application further provides a storage medium for storing executable program code,
  • the executable program code executes the above-described file sharing method applied to the transmitting terminal at runtime.
  • the embodiment of the present application further provides an application program for executing the file sharing method applied to the sending terminal at runtime.
  • the embodiment of the present application further provides a receiving terminal, including:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for:
  • the receiving terminal When the receiving terminal receives the opening instruction of the file, the receiving terminal sends an authentication request to the sending terminal, where the verification request carries information of the file to be opened;
  • the file is opened, wherein the consent opening information is sent when the sending terminal determines that the receiving terminal has the right to open the file.
  • the embodiment of the present application further provides a storage medium for storing executable program code, where the executable program code executes the file sharing method applied to the receiving terminal at runtime.
  • the embodiment of the present application further provides an application program for executing the file sharing method applied to the receiving terminal at runtime.
  • the embodiment of the present application discloses a file sharing method and device.
  • the file sharing method applied to the sending terminal includes: sharing a link address of the file, and receiving a verification request sent by the receiving terminal according to the link address, where the verification request carries information of the file to be opened; and determining, according to the verification request, receiving The terminal has the right to open the file; when the receiving terminal has the right to open the file, the receiving terminal sends an agreement to open the information, so that the receiving terminal opens the file.
  • the receiving terminal must successfully open the file when the sending terminal confirms that it has the right to open the file, so that only the object trusted by the sending terminal can successfully open the file, thereby greatly improving the security of file sharing.
  • FIG. 1 is a flowchart of a file sharing method applied to a sending terminal according to an embodiment of the present application
  • FIG. 2 is still another flowchart of a file sharing method applied to a sending terminal according to an embodiment of the present application
  • FIG. 3 is a flowchart of determining a right of a receiving terminal to open a file in a file sharing method applied to a transmitting terminal according to an embodiment of the present disclosure
  • FIG. 4 is still another flowchart of determining a right of a receiving terminal to open a file in a file sharing method applied to a sending terminal according to an embodiment of the present disclosure
  • FIG. 5 is a structural block diagram of a file sharing apparatus applied to a transmitting terminal according to an embodiment of the present application
  • FIG. 6 is still another structural block diagram of a file sharing apparatus applied to a transmitting terminal according to an embodiment of the present disclosure
  • FIG. 7 is a structural block diagram of a verification module in a file sharing apparatus applied to a transmitting terminal according to an embodiment of the present application
  • FIG. 8 is still another structural block diagram of a verification module in a file sharing device applied to a transmitting terminal according to an embodiment of the present disclosure
  • FIG. 9 is a flowchart of a file sharing method applied to a receiving terminal according to an embodiment of the present application.
  • FIG. 10 is a structural block diagram of a file sharing apparatus applied to a receiving terminal according to an embodiment of the present application.
  • the embodiment of the present application provides a file sharing method and device, so as to achieve the purpose of securely sharing files.
  • the specific implementation manners of the file sharing method and the file sharing device will be described below.
  • FIG. 1 a flowchart of a file sharing method provided by an embodiment of the present application is shown.
  • the method can be applied to a transmitting terminal. As shown in FIG. 1, the method includes the following steps:
  • Step S101 Share the link address of the file, and receive the verification request sent by the receiving terminal according to the link address, where the verification request carries the information of the file to be opened.
  • the file to be opened can be a document, a table or other types of files.
  • the file to be opened may be a WPS file.
  • the information of the file to be opened may include the identification information of the file to be opened, and the identification information may be, for example, the name of the file, so that the sending terminal can relatively easily determine that the receiving terminal requests to open according to the information of the file to be opened in the verification request. Which is the specific file?
  • Step S102 Determine, according to the verification request, the permission of the receiving terminal to open the file.
  • the receiving terminal may verify the permission of the receiving terminal to open the file according to the verification request, and specifically determine the authority according to the identifier information of the receiving terminal, where the identifier information may be unique information identifying the receiving terminal. For example, it may be the device number, IP address, etc. of the receiving terminal. In this way, when the transmitting terminal determines that the receiving terminal is an object trusted by the receiving terminal, the transmitting terminal determines that the receiving terminal has the right to open the file; otherwise, the transmitting terminal determines that the receiving terminal does not have the right to open the file.
  • Step S103 When the receiving terminal has the right to open the file, send the consent opening information to the receiving terminal, so that the receiving terminal opens the file.
  • the receiving terminal after the receiving terminal receives the link address shared by the sending terminal, if the user of the receiving terminal clicks on the link address, the user tries to open the link address to preview the file corresponding to the link address or When downloading, the receiving terminal sends a verification request to the sending terminal according to the link address.
  • the sending terminal After the sending terminal receives the verification request sent by the receiving terminal, the sending terminal can know the receiving terminal according to the information of the file to be opened carried in the verification request. Which file is requested to be opened, and then the transmitting terminal determines whether the receiving terminal has the right to open the file. If the transmitting terminal detects the object that the receiving terminal trusts, the transmitting terminal will judge the receiving end. The terminal has the right to open the file.
  • the sending terminal sends a message to the receiving terminal to open the file.
  • the receiving terminal can successfully open the link address, so that the file is successfully opened and received.
  • the user of the terminal can preview or download the file, that is, the file sharing is successful.
  • the receiving terminal must successfully open the file when the sending terminal confirms that it has the right to open the file, so that only the object trusted by the sending terminal can successfully open the file, thereby greatly Improve the security of file sharing. It should be noted that, after the receiving terminal receives the link address shared by the sending terminal, the receiving terminal may further share the link address to the next-level receiving terminal, and the user of the next-level receiving terminal clicks on the link address, and attempts to open When the link address is received, the receiving terminal of the next level sends an authentication request to the sending terminal.
  • the sending terminal verifies the right of the next-level receiving terminal to open the file, and the transmitting terminal determines that the receiving terminal of the next level has the right to open the file.
  • the receiving terminal can successfully open the link address to preview or download the file.
  • the file sharing object can be effectively ensured that the object shared by the sending terminal is always the object trusted by the sending terminal, thereby effectively ensuring the security of file sharing. Sex.
  • FIG. 2 another flowchart of the file sharing method provided by the embodiment of the present application is shown. As shown in FIG. 2, the method includes the following steps:
  • step S201 a file is created, and a corresponding link address is generated according to the file.
  • the file may be created by the user after logging in to the WPS through the sending terminal in the "light office" component of the WPS.
  • the user may also generate a corresponding link address according to the file by the sending terminal, and the link address may be the file address.
  • the carrier that is, when the user of the receiving terminal successfully opens the link address, the file corresponding to the link address can be successfully opened, thereby previewing or downloading the file.
  • the transmitting terminal can send the link address to the receiving terminal through an email, an IM (Instant Messaging) software such as QQ, MSN, or the like, or another communication tool.
  • IM Intelligent Messaging
  • Step S202 sharing the link address of the file, and receiving the verification request sent by the receiving terminal according to the link address, where the verification request carries the information of the file to be opened;
  • Step S203 Determine, according to the verification request, the permission of the receiving terminal to open the file.
  • Step S204 When the receiving terminal has the right to open the file, send the consent opening information to the receiving terminal, so that the receiving terminal opens the file.
  • step S202 The specific implementation process of step S202, step S203, and step S204 may be referred to the above description, and details are not described herein again.
  • the user of the receiving terminal can click on the link address, and the page of the receiving terminal stays at an interface waiting for verification, and outputs to the user.
  • the transmitting terminal receives a verification request.
  • the sending terminal learns that the receiving terminal has the object of trust, that is, the receiving terminal has the right to open the file, the authentication request passes, and the receiving terminal skips the interface waiting for the verification.
  • the receiving terminal can successfully open the link address, and the receiving terminal can Preview or download the file and finally successfully share the file.
  • the sending terminal refuses to receive the verification request of the receiving terminal or does not reply to the authentication request of the receiving terminal, the verification request does not pass, and the receiving terminal cannot open the link address, so the user of the receiving terminal cannot preview the file. Or download.
  • the file sharing method provided by the embodiment of the present application greatly improves the security of file sharing.
  • the sending terminal can determine the permission of the receiving terminal to open the file in the following two manners.
  • the receiving terminal does not log in to the WPS, and the authentication can be performed according to the IP address of the receiving terminal.
  • the specific process of performing verification according to the IP address may include the following steps:
  • Step S301 Acquire an IP address of the receiving terminal.
  • Step S302 Determine whether the receiving terminal has the right to open the file according to whether the IP address exists in the IP address group saved by itself.
  • a trusted IP address group is reserved in advance in the transmitting terminal, and the sending terminal may be in the After receiving the verification request, the IP address of the receiving terminal is obtained, and the IP address is determined. If the IP address is the same as an address in the trusted IP address group, it is determined that the receiving terminal has the right to open the file. File sharing was successful; otherwise, file sharing failed.
  • the receiving terminal logs in to the WPS, and the verification request carries the account information of the user to which the receiving terminal belongs, and the authentication can be performed according to the account information.
  • the process of verifying according to account information may include the following steps:
  • Step S401 Acquire account information of a user to which the receiving terminal belongs.
  • Step S402 Determine whether the receiving terminal has permission to open the file according to whether the account information exists in the account group saved by itself.
  • the trusted terminal group is reserved in advance in the sending terminal, and the sending terminal may obtain the account information of the user to which the receiving terminal belongs after receiving the verification request, and determine the account information, if the account information is If one of the trusted account groups is the same, it is judged that the receiving terminal has the right to open the file, and the file sharing is successful; otherwise, the file sharing fails.
  • the manner in which the sending terminal determines whether the receiving terminal has the right to open the file may include a plurality of types, which are not described in detail in the embodiment of the present application. It is believed that those skilled in the art can better describe according to the embodiments of the present application. The judgment of the permission of the receiving terminal to open the file is completed.
  • the embodiment of the present application may further include:
  • the verification request is sent to the corresponding account of the user through another application according to the account information of the other application bound to the user account of the user to which the sending terminal belongs, wherein the other applications include at least one of the following: short message, WeChat, and email address. .
  • the verification request is automatically sent to the corresponding account of another application, such as a short message, a WeChat, or a mailbox, which is bound to the user account of the user to which the transmitting terminal belongs, while being sent to the sending terminal.
  • another application such as a short message, a WeChat, or a mailbox
  • the user of the sending terminal can directly reply to the mobile phone text message, or back
  • the WeChat information, or the link address in the mailbox is used to agree or refuse to receive the verification request sent by the terminal.
  • the verification request can be sent to the user's other APP (Application, Application) account in addition to the user's SMS, WeChat, email, etc., so that the user can agree or reject the reception by clicking the button on the APP.
  • the verification request sent by the terminal can be sent to the user's other APP (Application, Application) account in addition to the user's SMS, WeChat, email, etc., so that the user can agree or reject the reception by clicking the button on the APP.
  • the verification request sent by the terminal can be sent to the user's other APP (Application, Application) account in addition to the user's SMS, WeChat, email, etc.
  • the user A of the transmitting terminal logs in the "light office” component in the WPS and creates a document in the component, and generates a link address url_1 according to the document, the link address is used to preview or download the document, and set A function is to "get the consent of the sending terminal when other users want to open the link address url_1", and then user A shares the link address url_1 to the user B of the receiving terminal.
  • user B can click the link address url_1.
  • the receiving terminal of user B stays on the interface waiting for verification, and outputs prompt information waiting for verification, and the receiving terminal sends the message to the terminal.
  • the sending terminal sends a verification request, and the verification request is simultaneously pushed to an account such as a short message, a WeChat, or an email that is bound to the WPS account of the user A.
  • the user A can determine whether the user B has the right to open the file by using the IP address of the user B or the account information of the WPS. If the user A determines that the user B is an object that the user B can trust, the user B has the right to open the file, and user A can agree to receive the verification request of the terminal by replying to the mobile phone short message, or replying to the WeChat information, or clicking the link address in the mailbox. At this time, the verification is passed, and the receiving terminal of user B will Skip the interface waiting for verification.
  • user B can successfully open the link address url_1, so user B can preview or download the file, that is, the file is finally successfully shared.
  • User A rejects the verification request sent by User B or does not reply to the verification request sent by User B, the verification request does not pass, and User B will never be able to open the link address url_1, so User B will not be able to preview or download the file. .
  • the receiving terminal must successfully open the file after the sending terminal passes the verification, so that only the object trusted by the receiving terminal can successfully open the file, thereby greatly improving the security of file sharing. Sex.
  • FIG. 5 a block diagram of a file sharing apparatus provided by an embodiment of the present application is shown.
  • the device can be applied to a transmitting terminal, as shown in FIG. 5, the device includes:
  • the receiving module 51 is configured to share a link address of the file, and receive a verification request sent by the receiving terminal according to the link address, where the verification request carries information of the file to be opened;
  • the verification module 52 is configured to determine, according to the verification request, the permission of the receiving terminal to open the file
  • the first sending module 53 is configured to: when the receiving terminal has the right to open the file, send the consent opening information to the receiving terminal, so that the receiving terminal opens the file.
  • the device based on the method also has corresponding technical effects, and details are not described herein again.
  • FIG. 6 a block diagram of still another structure of the file sharing apparatus provided by the embodiment of the present application is shown. As shown in Figure 6, the device includes:
  • a creating module 61 configured to create a file, and generate a corresponding link address according to the file
  • the receiving module 62 is configured to share the link address of the file, and receive the verification request sent by the receiving terminal according to the link address, where the verification request carries the information of the file to be opened;
  • the verification module 63 is configured to determine, according to the verification request, the permission of the receiving terminal to open the file;
  • the first sending module 64 is configured to: when the receiving terminal has the right to open the file, send the consent opening information to the receiving terminal, so that the receiving terminal opens the file.
  • the verification module 63 may include:
  • the first obtaining module 631 is configured to acquire an IP address of the receiving terminal.
  • the first determining module 632 is configured to determine, according to whether the IP address exists in the IP address group saved by itself, the right of the receiving terminal to open the file.
  • the verification module 63 may include:
  • the second obtaining module 633 is configured to acquire account information of a user to which the receiving terminal belongs;
  • the second determining module 634 is configured to determine, according to whether the account information exists in the account group saved by itself, the right of the receiving terminal to open the file.
  • the above embodiment further includes:
  • the second sending module is configured to send the verification request to the corresponding account of the user by using another application according to the account information of the other application bound to the user account of the user to which the sending terminal belongs, wherein the other application includes at least one of the following Kind: SMS, WeChat, Email.
  • the file sharing method provided by the embodiment of the present application greatly improves the security of file sharing.
  • FIG. 9 a flowchart of a file sharing method provided by an embodiment of the present application is shown.
  • the method can be applied to a receiving terminal, as shown in FIG. 9, the method includes the following steps:
  • Step S901 When receiving the open instruction of the file, the receiving terminal sends an authentication request to the sending terminal, where the verification request carries the information of the file to be opened.
  • the user of the receiving terminal can input an open command of the file by clicking the link address of the file to be opened.
  • the information of the file to be opened may include identification information of the file to be opened, and the identification information may be, for example, a name of the file.
  • Step S902 when receiving the consent opening information sent by the sending terminal, opening the file, wherein the consent opening information is sent when the sending terminal determines that the receiving terminal has the right to open the file.
  • the method further includes:
  • the receiving terminal outputs a prompt message waiting for verification.
  • the receiving terminal after the receiving terminal receives the opening instruction of the file and sends the verification request to the sending terminal, the receiving terminal will stay at an interface waiting for verification, and output a prompt message waiting for verification, and the sending terminal will contact the receiving terminal.
  • the right to open the file is judged. If the receiving terminal has the right to open the file, the sending terminal sends a consent to open the file information to the receiving terminal, and when the receiving terminal receives the consent to open the file information, the receiving terminal can successfully open the file.
  • the file sharing method provided by the embodiment of the present application can effectively ensure the security of file sharing.
  • FIG. 10 a block diagram of a file sharing apparatus provided by an embodiment of the present application is shown.
  • the device is applied to a receiving terminal, as shown in FIG. 10, the device includes:
  • the third sending module 101 is configured to send an authentication request to the sending terminal when receiving the opening instruction of the file, where the verification request carries the information of the file to be opened;
  • the opening module 102 is configured to: when receiving the consent opening information sent by the sending terminal, open the file, where the consent opening information is sent when the sending terminal determines that the receiving terminal has the right to open the file.
  • the device based on the method also has corresponding technical effects, and details are not described herein again.
  • the device may further include:
  • the output module receives the prompt information that the terminal outputs waiting for verification.
  • the file sharing apparatus provided in this embodiment can effectively ensure the security of file sharing.
  • the embodiment of the present application further provides a sending terminal, including:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by a bus and complete communication with each other;
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for:
  • the consent opening information is sent to the receiving terminal, so that the receiving terminal opens the file.
  • the receiving terminal must confirm at the sending terminal that it has the right to open the file.
  • the file can be successfully opened in a limited time, so that only the object trusted by the sending terminal can successfully open the file, thereby greatly improving the security of file sharing.
  • the embodiment of the present application further provides a storage medium for storing executable program code, where the executable program code executes the file sharing method applied to the sending terminal at runtime.
  • the receiving terminal must successfully open the file when the sending terminal confirms that it has the right to open the file, so that only the object trusted by the sending terminal can successfully open the file, thereby greatly improving the security of file sharing.
  • the embodiment of the present application further provides an application for executing the file sharing method applied to the sending terminal at runtime.
  • the receiving terminal must successfully open the file when the sending terminal confirms that it has the right to open the file, so that only the object trusted by the sending terminal can successfully open the file, thereby greatly improving the security of file sharing.
  • the embodiment of the present application further provides a receiving terminal, including:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by a bus and complete communication with each other;
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for:
  • the file When receiving the consent opening information sent by the transmitting terminal, the file is opened, wherein the opening of the information is sent when the sending terminal determines that the receiving terminal has the right to open the file.
  • the receiving terminal must successfully open the file when the sending terminal confirms that it has the right to open the file, so that only the object trusted by the sending terminal can successfully open the file, thereby greatly improving the security of file sharing.
  • the embodiment of the present application further provides a storage medium for storing executable program code, where the executable program code executes the file sharing method applied to the receiving terminal at runtime.
  • the receiving terminal must successfully open the file when the sending terminal confirms that it has the right to open the file, so that only the object trusted by the sending terminal can successfully open the file, thereby greatly improving the security of file sharing.
  • the embodiment of the present application further provides an application program for executing the file sharing method applied to the receiving terminal at runtime.
  • the receiving terminal must successfully open the file when the sending terminal confirms that it has the right to open the file, so that only the object trusted by the sending terminal can successfully open the file, thereby greatly improving the security of file sharing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例公开了一种文件分享方法及装置。其中,应用于发送终端的文件分享方法包括:分享文件的链接地址,并接收接收终端根据该链接地址发送的验证请求,其中,验证请求中携带待打开的文件的信息;根据验证请求,判断接收终端打开文件的权限;当接收终端具有打开文件的权限时,向接收终端发送同意打开信息,使接收终端打开文件。在本申请实施例中,接收终端必须在发送终端确认其具有打开文件的权限时才能成功打开文件,这样,只有接收终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。

Description

一种文件分享方法及装置
本申请要求于2015年11月18日提交中国专利局、申请号为201510801273.0、发明名称为“一种文件分享方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,特别是涉及一种文件分享方法及装置。
背景技术
在采用无纸化办公时,各用户之间常常需要相互分享文件,分享方式通常是发送终端的用户针对待发送的文件生成一个URL链接地址,并将链接地址发送给接收终端的用户,以供接收终端的用户在打开URL链接地址后预览或下载该文件。当需要分享的文件为重要文件或者机密文件时,为了保证文件传输的安全性,发送终端的用户可以在生成URL链接地址时添加一个密码,并将URL链接地址和密码一并通过即时通信软件、电子邮件或者其他通信工具发送给接收终端的用户。
在传播信道不安全的情况下,URL链接地址与密码很容易被他人截获,从而使文件分享的安全性大大降低。因此,以上文件分享方式存在着一定的缺陷。
发明内容
本申请实施例的目的在于提供了一种文件分享方法及装置,以实现安全分享文件的目的。
本申请实施例提供了一种文件分享方法,该方法应用于发送终端,该方法包括:
分享文件的链接地址,并接收接收终端根据所述链接地址发送的验证请求,其中所述验证请求中携带待打开的文件的信息;
根据所述验证请求,判断所述接收终端打开所述文件的权限;
当所述接收终端具有打开所述文件的权限时,向所述接收终端发送同意打开信息,使所述接收终端打开所述文件。
在本申请实施例的一种具体实现方式中,所述分享文件的链接地址之前,所述方法还包括:
创建所述文件,并根据所述文件生成对应的链接地址。
在本申请实施例的一种具体实现方式中,所述判断所述接收终端打开所述文件的权限,包括:
获取所述接收终端的IP地址;
根据自身保存的IP地址组中是否存在该IP地址,判断所述接收终端打开所述文件的权限。
在本申请实施例的一种具体实现方式中,所述验证请求中携带所述接收终端归属的用户的账户信息,所述判断所述接收终端打开所述文件的权限,包括:
获取所述接收终端归属的用户的账户信息;
根据自身保存的账户组中是否存在该账户信息,判断所述接收终端打开所述文件的权限。
在本申请实施例的一种具体实现方式中,所述接收接收终端发送的验证请求后,所述方法包括:
根据与所述发送终端归属的用户的用户账号绑定的其他应用程序的账号信息,将所述验证请求通过所述其他应用程序发送到所述用户的对应账号中,其中所述其他应用程序包括以下至少一种:短信、微信、邮箱。
本申请实施例还提供了一种文件分享装置,该装置应用于发送终端,所述装置包括:
接收模块,用于分享文件的链接地址,并接收接收终端根据所述链接地址发送的验证请求,其中所述验证请求中携带待打开的文件的信息;
验证模块,用于根据所述验证请求,判断所述接收终端打开所述文件的 权限;
第一发送模块,用于当所述接收终端具有打开所述文件的权限时,向所述接收终端发送同意打开信息,使所述接收终端打开所述文件。
在本申请实施例的一种具体实现方式中,所述装置还包括:
创建模块,用于创建所述文件,并根据所述文件生成对应的链接地址。
在本申请实施例的一种具体实现方式中,所述验证模块包括:
第一获取模块,用于获取所述接收终端的IP地址;
第一判断模块,用于根据自身保存的IP地址组中是否存在该IP地址,判断所述接收终端打开所述文件的权限。
在本申请实施例的一种具体实现方式中,所述验证请求中携带所述接收终端归属的用户的账户信息,所述验证模块包括:
第二获取模块,用于获取所述接收终端归属的用户的账户信息;
第二判断模块,用于根据自身保存的账户组中是否存在该账户信息,判断所述接收终端打开所述文件的权限。
在本申请实施例的一种具体实现方式中,上述装置还包括:
第二发送模块,用于根据与所述发送终端归属的用户的用户账号绑定的其他应用程序的账号信息,将所述验证请求通过所述其他应用程序发送到所述用户的对应账号中,其中所述其他应用程序包括以下至少一种:短信、微信、邮箱。
本申请实施例提供了一种文件分享方法,该方法应用于接收终端,所述方法包括:
所述接收终端接收到文件的打开指令时,向发送终端发送验证请求,其中所述验证请求中携带待打开的文件的信息;
当接收到所述发送终端发送的同意打开信息时,打开所述文件,其中所述同意打开信息为所述发送终端判断所述接收终端具有打开所述文件的权限时发送的。
在本申请实施例的一种具体实现方式中,所述接收终端接收到文件的打开指令后,所述方法还包括:
接收终端输出等待验证的提示信息。
本申请实施例提供了一种文件分享装置,该装置应用于接收终端,该装置包括:
第三发送模块,用于接收到文件的打开指令时,向发送终端发送验证请求,其中所述验证请求中携带待打开的文件的信息;
打开模块,用于当接收到所述发送终端发送的同意打开信息时,打开所述文件,其中所述同意打开信息为所述发送终端判断所述接收终端具有打开所述文件的权限时发送的。
在本申请实施例的一种具体实现方式中,上述装置还包括:
输出模块,接收终端输出等待验证的提示信息。
本申请实施例还提供了一种发送终端,包括:
处理器、存储器、通信接口和总线;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
所述存储器存储可执行程序代码;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:
分享文件的链接地址,并接收接收终端根据所述链接地址发送的验证请求,其中所述验证请求中携带待打开的文件的信息;
根据所述验证请求,判断所述接收终端打开所述文件的权限;
当所述接收终端具有打开所述文件的权限时,向所述接收终端发送同意打开信息,使所述接收终端打开所述文件。
本申请实施例还提供了一种存储介质,用于存储可执行程序代码,所述 可执行程序代码在运行时执行上述应用于发送终端的文件分享方法。
本申请实施例还提供了一种应用程序,所述应用程序用于在运行时执行上述应用于发送终端的文件分享方法。
本申请实施例还提供了一种接收终端,包括:
处理器、存储器、通信接口和总线;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
所述存储器存储可执行程序代码;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:
所述接收终端接收到文件的打开指令时,向发送终端发送验证请求,其中所述验证请求中携带待打开的文件的信息;
当接收到所述发送终端发送的同意打开信息时,打开所述文件,其中所述同意打开信息为所述发送终端判断所述接收终端具有打开所述文件的权限时发送的。
本申请实施例还提供了一种存储介质,用于存储可执行程序代码,所述可执行程序代码在运行时执行上述应用于接收终端的文件分享方法。
本申请实施例还提供了一种应用程序,所述应用程序用于在运行时执行上述应用于接收终端的文件分享方法。
本申请实施例公开了一种文件分享方法及装置。其中,应用于发送终端的文件分享方法包括:分享文件的链接地址,并接收接收终端根据该链接地址发送的验证请求,其中,验证请求中携带待打开的文件的信息;根据验证请求,判断接收终端打开文件的权限;当接收终端具有打开文件的权限时,向接收终端发送同意打开信息,使接收终端打开文件。在本申请实施例中,接收终端必须在发送终端确认其具有打开文件的权限时才能成功打开文件,这样,只有发送终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。
附图说明
通过参考附图会更加清楚地理解本申请的特征和优点,附图是示意性的而不应理解为对本申请进行任何限制,在附图中:
图1为本申请实施例提供的应用于发送终端的文件分享方法的流程图;
图2为本申请实施例提供的应用于发送终端的文件分享方法的又一流程图;
图3为本申请实施例提供的应用于发送终端的文件分享方法中判断接收终端打开文件的权限的流程图;
图4为本申请实施例提供的应用于发送终端的文件分享方法中判断接收终端打开文件的权限的又一流程图;
图5为本申请实施例提供的应用于发送终端的文件分享装置的结构框图;
图6为本申请实施例提供的应用于发送终端的文件分享装置的又一结构框图;
图7为本申请实施例提供的应用于发送终端的文件分享装置中验证模块的结构框图;
图8为本申请实施例提供的应用于发送终端的文件分享装置中验证模块的又一结构框图;
图9为本申请实施例提供的应用于接收终端的文件分享方法的流程图;
图10为本申请实施例提供的应用于接收终端的文件分享装置的结构框图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供了一种文件分享方法及装置,以实现安全分享文件的目的。下面分别对该文件分享方法和文件分享装置的具体实施方式进行说明。
文件分享方法实施例:
参见图1,图中示出了本申请实施例提供的文件分享方法的流程图。该方法可以应用于发送终端,如图1所示,该方法包括如下步骤:
步骤S101,分享文件的链接地址,并接收接收终端根据该链接地址发送的验证请求,其中,验证请求中携带待打开的文件的信息。
其中,待打开的文件可以是文档、表格或者其他类型的文件。具体地,待打开的文件可以为WPS文件。待打开文件的信息可以包括待打开的文件的标识信息,该标识信息例如可以为文件的名称,这样,发送终端根据验证请求中待打开的文件的信息就可以较为容易地确定接收终端请求打开的具体是哪一个文件。
步骤S102,根据验证请求,判断接收终端打开文件的权限。
具体地,接收终端可以根据该验证请求,对该接收终端打开该文件的权限进行验证,具体的可以根据接收终端的标识信息对其权限进行判断,该标识信息可以是标识该接收终端的唯一信息,例如可以是该接收终端的设备号,IP地址等。这样,当发送终端判断接收终端为其所信任的对象时,则发送终端判断接收终端具有打开文件的权限,否则,发送终端将判断接收终端不具有打开文件的权限。
步骤S103,当接收终端具有打开文件的权限时,向接收终端发送同意打开信息,使接收终端打开文件。
本申请实施例中,在接收终端接收到发送终端分享的链接地址后,若接收终端的用户对该链接地址进行点击,试图打开该链接地址,以对与该链接地址相对应的文件进行预览或下载时,接收终端会根据链接地址向发送终端发送一验证请求,在发送终端接收到接收终端发送的该验证请求后,发送终端根据验证请求中所携带的待打开文件的信息即可知道接收终端请求打开的具体是哪一个文件,接着发送终端会判断接收终端是否具有打开该文件的权限,若发送终端检测到接收终端为其信任的对象时,发送终端将判断接收终 端具有打开文件的权限,此时发送终端会向接收终端发送同意打开该文件的信息,在接收终端接收到该信息后,接收终端即可成功打开该链接地址,这样,文件被成功打开,接收终端的用户可以对文件进行预览或下载,即文件分享成功。
可以看出,本申请实施例提供的文件分享方法中,接收终端必须在发送终端确认其具有打开文件的权限时才能成功打开文件,这样,只有发送终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。需要说明的是,当接收终端接收到发送终端分享的链接地址后,接收终端还可以将该链接地址分享给下一级接收终端,当下一级接收终端的用户对该链接地址进行点击,试图打开该链接地址时,下一级接收终端会向发送终端发送验证请求,这时发送终端会对下一级接收终端打开文件的权限进行验证,在发送终端判断下一级接收终端具有打开文件的权限时,下一级接收终端可成功打开链接地址,以对文件进行预览或下载。当下一级接收终端将其接收到的链接地址分享给更下一级的接收终端后,后续过程与上述过程类似,在此不再赘述。
因此,本申请实施例提供的文件分享方法中,即使文件被二次或多次分享,也能有效地保证文件的分享对象始终为发送终端所信任的对象,最终有效地保证了文件分享的安全性。
参见图2,图中示出了本申请实施例提供的文件分享方法的又一流程图。如图2所示,该方法包括如下步骤:
步骤S201,创建文件,并根据文件生成对应的链接地址。
其中,该文件可以由用户通过发送终端登录WPS后在WPS的“轻办公”组件中创建,同时,用户还可以通过发送终端根据该文件生成一个对应的链接地址,该链接地址可以为该文件的载体,也就是说,当接收终端的用户成功打开该链接地址时,即可成功打开该链接地址所对应的文件,从而对该文件进行预览或下载。这样,完成创建后,发送终端可以通过电子邮箱、例如QQ、MSN等的IM(Instant Messaging,即时通讯)软件,或者其他的通信工具将该链接地址发送给接收终端。
步骤S202,分享文件的链接地址,并接收接收终端根据该链接地址发送的验证请求,其中验证请求中携带待打开的文件的信息;
步骤S203,根据验证请求,判断接收终端打开文件的权限。
步骤S204,当接收终端具有打开文件的权限时,向接收终端发送同意打开信息,使接收终端打开文件。
其中,步骤S202、步骤S203和步骤S204的具体实施过程参照上述说明即可,在此不再赘述。
在本申请实施例中,当发送终端将链接地址发送给接收终端后,接收终端的用户可以对该链接地址进行点击,此时接收终端的页面会停留在一个等待验证的界面,并向用户输出等待验证的提示信息。相应地,发送终端会接收到一验证请求。当发送终端获知接收终端为其信任的对象,即接收终端具有打开文件的权限时,验证请求通过,接收终端将跳过等待验证的界面,此时接收终端可成功打开该链接地址,接收终端可以对文件进行预览或下载,最终成功完成文件的分享。
需要说明的是,当发送终端拒绝接收终端的验证请求或者对接收终端的验证请求不予回复时,则验证请求不通过,接收终端将无法打开链接地址,故接收终端的用户无法对文件进行预览或下载。
可以看出,本申请实施例提供的文件分享方法大大提高了文件分享的安全性。
进一步地,根据接收终端是否登录WPS,发送终端可以通过以下两种方式判断接收终端打开文件的权限。
一种方式中,接收终端未登录WPS,此时可根据接收终端的IP地址进行验证。如图3所示,根据IP地址进行验证的具体过程可以包括如下步骤:
步骤S301,获取接收终端的IP地址。
步骤S302,根据自身保存的IP地址组中是否存在该IP地址,判断接收终端打开文件的权限。
具体来说,发送终端内预先保留了可信任的IP地址组,发送终端可以在 接收到验证请求后获取接收终端的IP地址,并对该IP地址进行判断,若该IP地址与可信任的IP地址组中的某一地址相同,则判断接收终端具有打开文件的权限,此时文件分享成功;否则,文件分享失败。
另一种方式中,接收终端登录WPS,并且,验证请求中携带接收终端归属的用户的账户信息,此时可根据账户信息进行验证。如图4所示,根据账户信息进行验证的过程可以包括如下步骤:
步骤S401,获取接收终端归属的用户的账户信息。
步骤S402,根据自身保存的账户组中是否存在该账户信息,判断接收终端打开文件的权限。
具体来说,发送终端内预先保留了可信任的账户组,发送终端可以在接收到该验证请求后获取接收终端归属的用户的账户信息,并对该账户信息进行判断,若该账户信息与可信任的账户组中的某一账户相同,则判断接收终端具有打开文件的权限,此时文件分享成功;否则,文件分享失败。
可以看出,上述两种判断接收终端打开文件的权限的方式都非常简单,操作起来也较容易。
当然,发送终端判断接收终端是否具有打开文件的权限的方式可能还包括多种,在本申请实施例中就不一一赘述,相信本领域技术人员可以根据本申请实施例的描述,较好地完成对接收终端打开文件的权限的判断。
进一步地,为了便于发送终端归属的用户能够更快捷地接收到接收终端发送的验证请求,在接收接收终端发送的验证请求之后,本申请实施例还可以包括:
根据与发送终端归属的用户的用户账号绑定的其他应用程序的账号信息,将验证请求通过其他应用程序发送到用户的对应账户中,其中其他应用程序包括以下至少一种:短信、微信、邮箱。
具体来说,验证请求在发送到发送终端上的同时也会自动推送到与发送终端归属的用户的用户账号绑定好的其他应用程序的对应账号中,例如短信、微信或者邮箱等。这样,发送终端的用户可以直接通过回复手机短信,或回 复微信信息、或点击邮箱中的链接地址等方式来同意或拒绝接收终端发送的验证请求。
当然,验证请求除了发送到用户的短信、微信、邮箱等账户之外,也可以发送到用户的其他APP(Application,应用)账户中,这样,用户可以通过点击APP上的按钮来同意或拒绝接收终端发送的验证请求。
可以看出,发送终端以上述方式回复验证请求时,用户操作起来非常方便,并且,用户的回复效率也将会有较大提高,从而大大提高了文件的分享效率。
下面以一个具体的例子对本申请实施例的具体实施方式进行说明。
首先,发送终端的用户A登录WPS中的“轻办公”组件并在该组件中创建了一个文档,并根据该文档生成了一个链接地址url_1,该链接地址用于预览或者下载该文档,并设置了一个功能,即“当其他用户想要打开链接地址url_1时需获取发送终端的同意”,接着用户A将链接地址url_1分享给接收终端的用户B。当用户B在接收终端上成功接收到链接地址url_1时,用户B可以点击链接地址url_1,此时用户B的接收终端停留在一等待验证的界面,并输出等待验证的提示信息,同时接收终端向发送终端发送一验证请求,该验证请求会同时推送到与用户A的WPS账号绑定好的短信、微信、邮箱等账户中。当发送终端接收到该验证请求后,用户A可以通过用户B的IP地址或者WPS的账户信息来判断用户B是否具有打开文件的权限,若用户A判断用户B为其可以信任的对象,则用户B具有打开该文件的权限,用户A可以通过回复手机短信,或回复微信信息、或点击邮箱中的链接地址等方式来同意接收终端的验证请求,此时该验证通过,用户B的接收终端将跳过等待验证的界面,此时用户B可以成功打开链接地址url_1,故用户B可以对文件进行预览或下载,即该文件最终分享成功。当用户A拒绝用户B发送的验证请求或者对用户B发送的验证请求不予回复时,则验证请求不通过,用户B将始终无法打开链接地址url_1,这样用户B将无法对文件进行预览或下载。
综上,本申请实施例提供的文件分享方法中,接收终端必须在发送终端验证通过后才能成功打开文件,这样,只有接收终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。
文件分享装置实施例:
参见图5,图中示出了本申请实施例提供的文件分享装置的结构框图。该装置可以应用于发送终端,如图5所示,该装置包括:
接收模块51,用于分享文件的链接地址,并接收接收终端根据该链接地址发送的验证请求,其中验证请求中携带待打开的文件的信息;
验证模块52,用于根据验证请求,判断接收终端打开文件的权限;
第一发送模块53,用于当接收终端具有打开文件的权限时,向接收终端发送同意打开信息,使接收终端打开文件。
由于应用于发送终端的文件分享方法具有上述技术效果,故基于该方法的装置也具有相应的技术效果,在此不再赘述。
参见图6,图中示出了本申请实施例提供的文件分享装置的又一结构框图。如图6所示,该装置包括:
创建模块61,用于创建文件,并根据文件生成对应的链接地址;
接收模块62,用于分享文件的链接地址,并接收接收终端根据链接地址发送的验证请求,其中验证请求中携带待打开的文件的信息;
验证模块63,用于根据验证请求,判断接收终端打开文件的权限;
第一发送模块64,用于当接收终端具有打开文件的权限时,向接收终端发送同意打开信息,使接收终端打开文件。
进一步地,如图7所示,上述实施例中,验证模块63可以包括:
第一获取模块631,用于获取接收终端的IP地址;
第一判断模块632,用于根据自身保存的IP地址组中是否存在该IP地址,判断接收终端打开文件的权限。
进一步地,验证请求中携带接收终端归属的用户的账户信息时,如图8所示,验证模块63可以包括:
第二获取模块633,用于获取接收终端归属的用户的账户信息;
第二判断模块634,用于根据自身保存的账户组中是否存在该账户信息,判断接收终端打开文件的权限。
进一步地,上述实施例还包括:
第二发送模块,用于根据与发送终端归属的用户的用户账号绑定的其他应用程序的账号信息,将验证请求通过其他应用程序发送到用户的对应账号中,其中其他应用程序包括以下至少一种:短信、微信、邮箱。
综上,本申请实施例提供的文件分享方法大大提高了文件分享的安全性。
文件分享方法实施例:
参见图9,图中示出了本申请实施例提供的文件分享方法的流程图。该方法可以应用于接收终端,如图9所示,该方法包括如下步骤:
步骤S901,接收终端接收到文件的打开指令时,向发送终端发送验证请求,其中验证请求中携带待打开的文件的信息。
其中,接收终端的用户可以通过点击待打开的文件的链接地址来输入文件的打开指令。待打开的文件的信息可以包括待打开的文件的标识信息,该标识信息例如可以为文件的名称。
步骤S902,当接收到发送终端发送的同意打开信息时,打开文件,其中同意打开信息为发送终端判断接收终端具有打开文件的权限时发送的。
进一步地,接收终端接收到文件的打开指令后,该方法还包括:
接收终端输出等待验证的提示信息。
本实施例中,当接收终端接收到文件的打开指令并向发送终端发送验证请求后,接收终端将停留在一个等待验证的界面,并输出一等待验证的提示信息,发送终端则会对接收终端打开文件的权限进行判断,若接收终端具有打开文件的权限,则发送终端向接收终端发送同意打开文件信息,当接收终端接收到该同意打开文件信息时,接收终端即可成功打开文件。
可以看出,本申请实施例提供的文件分享方法可以有效地保证文件分享的安全性。
文件分享装置实施例:
参见图10,图中示出了本申请实施例提供的文件分享装置的结构框图。该装置应用于接收终端,如图10所示,该装置包括:
第三发送模块101,用于接收到文件的打开指令时,向发送终端发送验证请求,其中验证请求中携带待打开的文件的信息;
打开模块102,用于当接收到发送终端发送的同意打开信息时,打开文件,其中同意打开信息为发送终端判断接收终端具有打开文件的权限时发送的。
由于应用于接收终端的文件分享方法具有上述技术效果,故基于该方法的装置也具有相应的技术效果,在此不再赘述。
进一步地,该装置还可以包括:
输出模块,接收终端输出等待验证的提示信息。
综上,本实施例提供的文件分享装置可以有效地保证文件分享的安全性。
发送终端实施例:
本申请实施例还提供了一种发送终端,包括:
处理器、存储器、通信接口和总线;
处理器、存储器和通信接口通过总线连接并完成相互间的通信;
存储器存储可执行程序代码;
处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于:
分享文件的链接地址,并接收接收终端根据链接地址发送的验证请求,其中验证请求中携带待打开的文件的信息;
根据验证请求,判断接收终端打开文件的权限;
当接收终端具有打开文件的权限时,向接收终端发送同意打开信息,使接收终端打开文件。
在本申请实施例中,接收终端必须在发送终端确认其具有打开文件的权 限时才能成功打开文件,这样,只有发送终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。
存储介质实施例:
本申请实施例还提供了一种存储介质,用于存储可执行程序代码,该可执行程序代码在运行时执行上述应用于发送终端的文件分享方法。
在本申请实施例中,接收终端必须在发送终端确认其具有打开文件的权限时才能成功打开文件,这样,只有发送终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。
应用程序实施例:
本申请实施例还提供了一种应用程序,该应用程序用于在运行时执行上述应用于发送终端的文件分享方法。
在本申请实施例中,接收终端必须在发送终端确认其具有打开文件的权限时才能成功打开文件,这样,只有发送终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。
接收终端实施例:
本申请实施例还提供了一种接收终端,包括:
处理器、存储器、通信接口和总线;
处理器、存储器和通信接口通过总线连接并完成相互间的通信;
存储器存储可执行程序代码;
处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于:
接收终端接收到文件的打开指令时,向发送终端发送验证请求,其中验证请求中携带待打开的文件的信息;
当接收到发送终端发送的同意打开信息时,打开文件,其中同意打开信息为发送终端判断接收终端具有打开文件的权限时发送的。
在本申请实施例中,接收终端必须在发送终端确认其具有打开文件的权限时才能成功打开文件,这样,只有发送终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。
存储介质实施例:
本申请实施例还提供了一种存储介质,用于存储可执行程序代码,该可执行程序代码在运行时执行上述应用于接收终端的文件分享方法。
在本申请实施例中,接收终端必须在发送终端确认其具有打开文件的权限时才能成功打开文件,这样,只有发送终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。
应用程序实施例:
本申请实施例还提供了一种应用程序,该应用程序用于在运行时执行上述应用于接收终端的文件分享方法。
在本申请实施例中,接收终端必须在发送终端确认其具有打开文件的权限时才能成功打开文件,这样,只有发送终端所信任的对象才能成功打开文件,从而大大提高了文件分享的安全性。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。

Claims (20)

  1. 一种文件分享方法,其特征在于,应用于发送终端,该方法包括:
    分享文件的链接地址,并接收接收终端根据所述链接地址发送的验证请求,其中所述验证请求中携带待打开的文件的信息;
    根据所述验证请求,判断所述接收终端打开所述文件的权限;
    当所述接收终端具有打开所述文件的权限时,向所述接收终端发送同意打开信息,使所述接收终端打开所述文件。
  2. 根据权利要求1所述的方法,其特征在于,所述分享文件的链接地址之前,所述方法还包括:
    创建所述文件,并根据所述文件生成对应的链接地址。
  3. 根据权利要求1所述的方法,其特征在于,所述判断所述接收终端打开所述文件的权限,包括:
    获取所述接收终端的IP地址;
    根据自身保存的IP地址组中是否存在该IP地址,判断所述接收终端打开所述文件的权限。
  4. 根据权利要求1所述的方法,其特征在于,所述验证请求中携带所述接收终端归属的用户的账户信息,所述判断所述接收终端打开所述文件的权限,包括:
    获取所述接收终端归属的用户的账户信息;
    根据自身保存的账户组中是否存在该账户信息,判断所述接收终端打开所述文件的权限。
  5. 根据权利要求1所述的方法,其特征在于,所述接收接收终端发送的验证请求后,所述方法包括:
    根据与所述发送终端归属的用户的用户账号绑定的其他应用程序的账号信息,将所述验证请求通过所述其他应用程序发送到所述用户的对应账号中, 其中所述其他应用程序包括以下至少一种:短信、微信、邮箱。
  6. 一种文件分享装置,其特征在于,应用于发送终端,所述装置包括:
    接收模块,用于分享文件的链接地址,并接收接收终端根据所述链接地址发送的验证请求,其中所述验证请求中携带待打开的文件的信息;
    验证模块,用于根据所述验证请求,判断所述接收终端打开所述文件的权限;
    第一发送模块,用于当所述接收终端具有打开所述文件的权限时,向所述接收终端发送同意打开信息,使所述接收终端打开所述文件。
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    创建模块,用于创建所述文件,并根据所述文件生成对应的链接地址。
  8. 根据权利要求6所述的装置,其特征在于,所述验证模块包括:
    第一获取模块,用于获取所述接收终端的IP地址;
    第一判断模块,用于根据自身保存的IP地址组中是否存在该IP地址,判断所述接收终端打开所述文件的权限。
  9. 根据权利要求6所述的装置,其特征在于,所述验证请求中携带所述接收终端归属的用户的账户信息,所述验证模块包括:
    第二获取模块,用于获取所述接收终端归属的用户的账户信息;
    第二判断模块,用于根据自身保存的账户组中是否存在该账户信息,判断所述接收终端打开所述文件的权限。
  10. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    第二发送模块,用于根据与所述发送终端归属的用户的用户账号绑定的其他应用程序的账号信息,将所述验证请求通过所述其他应用程序发送到所述用户的对应账号中,其中所述其他应用程序包括以下至少一种:短信、微信、邮箱。
  11. 一种文件分享方法,其特征在于,应用于接收终端,所述方法包括:
    所述接收终端接收到文件的打开指令时,向发送终端发送验证请求,其中所述验证请求中携带待打开的文件的信息;
    当接收到所述发送终端发送的同意打开信息时,打开所述文件,其中所述同意打开信息为所述发送终端判断所述接收终端具有打开所述文件的权限时发送的。
  12. 根据权利要求11所述的方法,其特征在于,所述接收终端接收到文件的打开指令后,所述方法还包括:
    接收终端输出等待验证的提示信息。
  13. 一种文件分享装置,其特征在于,应用于接收终端,包括:
    第三发送模块,用于接收到文件的打开指令时,向发送终端发送验证请求,其中所述验证请求中携带待打开的文件的信息;
    打开模块,用于当接收到所述发送终端发送的同意打开信息时,打开所述文件,其中所述同意打开信息为所述发送终端判断所述接收终端具有打开所述文件的权限时发送的。
  14. 根据权利要求13所述的装置,其特征在于,还包括:
    输出模块,接收终端输出等待验证的提示信息。
  15. 一种发送终端,其特征在于,包括:
    处理器、存储器、通信接口和总线;
    所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
    所述存储器存储可执行程序代码;
    所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:
    分享文件的链接地址,并接收接收终端根据所述链接地址发送的验证请求,其中所述验证请求中携带待打开的文件的信息;
    根据所述验证请求,判断所述接收终端打开所述文件的权限;
    当所述接收终端具有打开所述文件的权限时,向所述接收终端发送同意打开信息,使所述接收终端打开所述文件。
  16. 一种存储介质,其特征在于,用于存储可执行程序代码,所述可执行程序代码在运行时执行权利要求1-5中任一项所述的文件分享方法。
  17. 一种应用程序,其特征在于,所述应用程序用于在运行时执行权利要求1-5中任一项所述的文件分享方法。
  18. 一种接收终端,其特征在于,包括:
    处理器、存储器、通信接口和总线;
    所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
    所述存储器存储可执行程序代码;
    所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:
    所述接收终端接收到文件的打开指令时,向发送终端发送验证请求,其中所述验证请求中携带待打开的文件的信息;
    当接收到所述发送终端发送的同意打开信息时,打开所述文件,其中所述同意打开信息为所述发送终端判断所述接收终端具有打开所述文件的权限时发送的。
  19. 一种存储介质,其特征在于,用于存储可执行程序代码,所述可执行程序代码在运行时执行权利要求11或12所述的文件分享方法。
  20. 一种应用程序,其特征在于,所述应用程序用于在运行时执行权利要求11或12所述的文件分享方法。
PCT/CN2016/104408 2015-11-18 2016-11-03 一种文件分享方法及装置 WO2017084499A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510801273.0 2015-11-18
CN201510801273.0A CN106712955A (zh) 2015-11-18 2015-11-18 一种文件分享方法及装置

Publications (1)

Publication Number Publication Date
WO2017084499A1 true WO2017084499A1 (zh) 2017-05-26

Family

ID=58717325

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104408 WO2017084499A1 (zh) 2015-11-18 2016-11-03 一种文件分享方法及装置

Country Status (2)

Country Link
CN (1) CN106712955A (zh)
WO (1) WO2017084499A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040070B (zh) * 2018-08-02 2020-12-15 深圳前海微众银行股份有限公司 文件发送方法、设备及计算机可读存储介质
CN109446840A (zh) * 2018-10-19 2019-03-08 平安科技(深圳)有限公司 查看保单信息的方法、装置、电子设备及存储介质
EP3852341B1 (en) * 2020-01-20 2023-08-30 Shenzhen Transsion Holdings Co., Ltd. Information sharing method, device and non-transitory computer readable storage medium thereof
CN111680308B (zh) * 2020-05-25 2023-07-18 数篷科技(深圳)有限公司 文件共享方法、对共享文件的控制方法及其装置和终端
CN111787016A (zh) * 2020-07-04 2020-10-16 武汉空心科技有限公司 一种工作平台文件传输方法及系统
CN111680328B (zh) * 2020-07-09 2023-06-23 腾讯科技(深圳)有限公司 一种数据处理方法、装置、服务器及计算机可读存储介质
CN112199648A (zh) * 2020-09-04 2021-01-08 宇龙计算机通信科技(深圳)有限公司 代理委托信息的处理方法、装置以及电子设备
CN115442161B (zh) * 2022-11-08 2023-04-11 知安视娱(北京)科技有限公司 提高云游戏资源链接分享安全性的方法及装置
CN116319075B (zh) * 2023-05-15 2023-08-15 青岛良谦智能科技有限公司 一种基于云计算的保密通信交互系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845103A (zh) * 2006-04-30 2006-10-11 中国工商银行股份有限公司 文件传输方法和系统
WO2008016695A2 (en) * 2006-08-02 2008-02-07 Vusion, Inc. Improved distribution of content and advertisement
CN101184086A (zh) * 2006-11-16 2008-05-21 达诺媒体有限公司 用于分布式数字版权管理的系统和方法
CN101183417A (zh) * 2006-11-16 2008-05-21 达诺媒体有限公司 用于协作内容分发和生成的系统和方法
CN101826081A (zh) * 2009-03-06 2010-09-08 北京华旗资讯数码科技有限公司 编码控制获取网络多媒体文件的方法
CN104348840A (zh) * 2013-07-23 2015-02-11 中兴通讯股份有限公司 一种下载统计方法、终端和服务器

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611686A (zh) * 2011-12-19 2012-07-25 无锡华御信息技术有限公司 一种共享文件权限控制的方法
CN103200276B (zh) * 2013-04-23 2016-06-29 福建伊时代信息科技股份有限公司 一种文件安全控制的方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845103A (zh) * 2006-04-30 2006-10-11 中国工商银行股份有限公司 文件传输方法和系统
WO2008016695A2 (en) * 2006-08-02 2008-02-07 Vusion, Inc. Improved distribution of content and advertisement
CN101184086A (zh) * 2006-11-16 2008-05-21 达诺媒体有限公司 用于分布式数字版权管理的系统和方法
CN101183417A (zh) * 2006-11-16 2008-05-21 达诺媒体有限公司 用于协作内容分发和生成的系统和方法
CN101826081A (zh) * 2009-03-06 2010-09-08 北京华旗资讯数码科技有限公司 编码控制获取网络多媒体文件的方法
CN104348840A (zh) * 2013-07-23 2015-02-11 中兴通讯股份有限公司 一种下载统计方法、终端和服务器

Also Published As

Publication number Publication date
CN106712955A (zh) 2017-05-24

Similar Documents

Publication Publication Date Title
WO2017084499A1 (zh) 一种文件分享方法及装置
AU2016219712B2 (en) Method and devices for managing user accounts across multiple electronic devices
US20180139183A1 (en) Signed ephemeral email addresses
CN113347206B (zh) 一种网络访问方法和装置
CN107241339B (zh) 身份验证方法、装置和存储介质
WO2014082555A1 (zh) 登录方法、装置及开放平台系统
EP3918495B1 (en) Methods, systems, and apparatuses for improved multi-factor authentication in a multi-app communication system
CN112165454B (zh) 访问控制方法、装置、网关和控制台
US11658963B2 (en) Cooperative communication validation
CN105357110B (zh) 邮件发送方法、装置及系统
CN104486388A (zh) 云存储文件的访问方法和装置
CN103023919A (zh) 基于二维码的登录控制方法和系统
WO2022143174A1 (zh) 一种数据传输方法、装置、设备、存储介质及计算机程序产品
CN104901970A (zh) 一种二维码登录方法、服务器及系统
CN102971739B (zh) 利用强力证据保护帐户安全性设定
JP2006527432A (ja) インスタント・メッセージ・システムの多数識別子によるログイン方法
CN110830479B (zh) 基于多卡的一键登录方法、装置、设备及存储介质
KR100960275B1 (ko) 수신자 인증 기능이 구비된 이메일 전송 서비스 방법 및 장치
US9104846B2 (en) Access provisioning via communication applications
CN112364334A (zh) 单点登录方法、装置及电子设备和存储介质
CN110572818A (zh) 虚拟sim卡的迁移方法、系统以及计算机可读存储介质
CN113949562B (zh) Portal认证方法、装置、系统、电子设备及存储介质
CN111542055B (zh) 信息交互方法、装置、设备及计算机可读存储介质
US20230396618A1 (en) Token based identity verification and consent management
WO2011015010A1 (zh) 接入号分配方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16865676

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.08.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16865676

Country of ref document: EP

Kind code of ref document: A1