CN105227598B - Resource sharing method, device and system based on cloud storage - Google Patents

Resource sharing method, device and system based on cloud storage Download PDF

Info

Publication number
CN105227598B
CN105227598B CN201410258913.3A CN201410258913A CN105227598B CN 105227598 B CN105227598 B CN 105227598B CN 201410258913 A CN201410258913 A CN 201410258913A CN 105227598 B CN105227598 B CN 105227598B
Authority
CN
China
Prior art keywords
sharing
environment
terminal
downloading
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410258913.3A
Other languages
Chinese (zh)
Other versions
CN105227598A (en
Inventor
潘林锋
梁佛木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410258913.3A priority Critical patent/CN105227598B/en
Publication of CN105227598A publication Critical patent/CN105227598A/en
Application granted granted Critical
Publication of CN105227598B publication Critical patent/CN105227598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a resource sharing method, device and system based on cloud storage; the terminal of the embodiment of the invention can obtain the sharing information, wherein the sharing information comprises scene information of a scene where the sharing resource is located and an access address of the sharing resource, then the relevancy between the scene and the terminal is calculated according to the scene information, when the relevancy is determined to exceed a preset threshold value, the sharing resource is pre-downloaded according to the access address of the sharing resource, and when an access request about the sharing resource triggered by a user is received, the sharing resource obtained through pre-downloading is displayed; by adopting the scheme, the time for the user to check the shared resources can be shortened, and the resources can be quickly shared.

Description

Resource sharing method, device and system based on cloud storage
Technical Field
The invention relates to the technical field of communication, in particular to a resource sharing method, device and system based on cloud storage.
Background
In cloud storage-based applications, users have a large demand for sharing resources. The method generally includes that a user uploads a resource to be shared to a common network disk or other cloud file servers, obtains a link address of the resource at a server side, and then shares the obtained link address to one or more target users. After the shared target user obtains the link address, the shared target user can manually click and check the link address, and if the link address is needed, the shared target user clicks and downloads the corresponding resource.
In the research and practice processes of the prior art, the inventor of the present invention finds that, in the existing resource sharing scheme, when a user views shared resources of other users, the user often needs to wait for the resources to be downloaded from a server to the local for viewing, and the process is relatively long and needs to spend relatively long waiting time.
Disclosure of Invention
The embodiment of the invention provides a resource sharing method, device and system based on cloud storage, which can shorten the time for a user to check shared resources and realize quick resource sharing.
A resource sharing method based on cloud storage comprises the following steps:
a terminal acquires sharing information, wherein the sharing information comprises scene information of a scene where a sharing resource is located and an access address of the sharing resource;
the terminal calculates the correlation degree between the scene and the terminal according to the scene information;
when the terminal determines that the correlation degree exceeds a preset threshold value, pre-downloading the shared resource according to the access address of the shared resource;
and when receiving an access request about the shared resource triggered by a user, the terminal displays the shared resource obtained by the pre-downloading.
A resource sharing device based on cloud storage comprises:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring sharing information, and the sharing information comprises scene information of a scene where a sharing resource is located and an access address of the sharing resource;
the operation unit is used for calculating the correlation degree between the scene and the terminal according to the scene information;
the pre-downloading unit is used for pre-downloading the shared resource according to the access address of the shared resource when the relevancy is determined to exceed a preset threshold;
and the display unit is used for displaying the shared resource obtained by the pre-downloading when receiving an access request about the shared resource triggered by a user.
A communication system comprises any resource sharing device based on cloud storage provided by the embodiment of the invention.
The terminal of the embodiment of the invention can obtain the shared information, wherein the shared information comprises scene information of a scene where the shared resource is located and an access address of the shared resource, then the correlation degree of the scene and the terminal is calculated according to the scene information, when the correlation degree is determined to exceed a preset threshold value, the shared resource is pre-downloaded according to the access address of the shared resource, and when an access request about the shared resource triggered by a user is received, the pre-downloaded shared resource is displayed, so that the user can quickly view the shared resource without spending excessive waiting time, that is, the time for the user to view the shared resource can be shortened by adopting the scheme, the quick sharing of the resource is realized, and the user experience is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a resource sharing method based on cloud storage according to an embodiment of the present invention;
fig. 2a is a scene schematic diagram of a resource sharing method based on cloud storage according to an embodiment of the present invention;
fig. 2b is another flowchart of a resource sharing method based on cloud storage according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a resource sharing device based on cloud storage according to an embodiment of the present invention;
fig. 4 is another schematic structural diagram of a resource sharing device based on cloud storage according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a resource sharing method, device and system based on cloud storage. The following are detailed below.
The first embodiment,
The embodiment of the present invention will be described from the perspective of a resource sharing device based on cloud storage, where the resource sharing device based on cloud storage may be specifically integrated in a terminal, and the terminal may specifically be a mobile phone, a tablet Computer, or a Personal Computer (PC), and other devices.
A resource sharing method based on cloud storage comprises the following steps: the method comprises the steps that a terminal obtains sharing information, wherein the sharing information comprises scene information of a scene where a sharing resource is located and an access address of the sharing resource, the degree of correlation between the scene and the terminal is calculated according to the scene information, when the degree of correlation is determined to exceed a preset threshold value, the sharing resource is pre-downloaded according to the access address of the sharing resource, and when an access request about the sharing resource triggered by a user is received, the sharing resource obtained through pre-downloading is displayed.
As shown in fig. 1, a specific process of the resource sharing method based on cloud storage may be as follows:
101. the terminal acquires sharing information;
the shared information may include scene information of a scene where the shared resource is located and an access address of the shared resource. For example, the scenario information may indicate a sharing target user of the shared resource, such as whether to share to a specified user or all users, whether to share one or more target users, and so on. The access address of the shared resource refers to a storage location of the shared resource in the storage server, and the shared resource can be accessed according to the access address.
102. The terminal calculates the correlation degree between the scene and the terminal according to the scene information;
when the correlation is higher, the pre-downloading operation can better meet the expectation of the user, for example, the correlation is from low to high, and the value of the correlation can be 0 to 100, and the like.
The calculation method of the relevancy can be set according to the requirements of practical applications, for example, the scene information may include parameters such as the number of target sharing users, a relationship between a sharing initiator and the target sharing users, a pre-downloaded file type preset by a user, a sharing resource timeliness and/or a sharing importance degree identifier, and then the step "the terminal calculates the relevancy between the scene and the terminal according to the scene information" may include:
and respectively searching a preset mapping table according to the number of the sharing target users, the relationship between the sharing initiator and the sharing target users, the pre-downloaded file type preset by the users, the sharing resource timeliness and/or the sharing importance degree identification and other parameters to determine corresponding correlation values, and calculating the sum of all searched correlation values.
The preset mapping table is used for recording the corresponding relation between parameters such as the number of the sharing target users, the relation between the sharing initiator and the sharing target users, the type of the pre-downloaded file preset by the users, the time efficiency of the shared resource and/or the identification of the sharing importance degree and the correlation value.
Or, the corresponding relationship between the parameters and the correlation values, such as the number of target users to be shared, the relationship between the sharing initiator and the target users to be shared, the pre-downloaded file type preset by the users, the resource sharing timeliness and/or the sharing importance degree identification, may also be embodied by setting some policies, such as formulas, that is, table lookup is not needed, but the correlation values corresponding to the parameters are directly and respectively calculated according to the preset policies, such as formulas, and then the sum of all the correlation values obtained through calculation is taken as the final correlation, that is, the step "the terminal calculates the correlation between the scene and the terminal according to the scene information" may include:
and calculating corresponding correlation values according to the number of the sharing target users, the relationship between the sharing initiator and the sharing target users, the pre-downloaded file types preset by the users, the sharing resource timeliness and/or the sharing importance degree identification respectively according to a preset strategy, and calculating the sum of all the obtained correlation values.
The number of the target users to share, the relationship between the sharing initiator and the sharing target users, the pre-downloaded file types preset by the users, the resource sharing timeliness and/or the corresponding relationship between the sharing importance degree identification and the correlation value can be set according to the requirements of practical application, for example, the method specifically can be as follows:
(1) sharing the number of target users;
if the number of sharing target users is small, for example, one-to-one sharing or sharing within a small range, it can be considered that the correlation between the scene and the terminal is high. For example, the correlation may be 100 for one-to-one sharing, and the small-range sharing may be a slightly lower value, for example, between 60 and 95. If a large number of target users are shared, even the scene of the target users is not limited, it can be determined that the correlation between the scene and the terminal is low, for example, the value can be smaller than 50.
In the embodiment of the invention, the value of the correlation degree is simply referred to as the correlation degree value.
(2) The relationship between the sharing initiator and the sharing target user;
in a resource sharing scenario combined with social applications, when a certain relationship exists between a resource sharing initiator and a sharing target user, the degree of correlation is higher, and the closer the relationship is, the higher the degree of correlation is. For example, a friend relationship in instant messaging, a listening relationship on a microblog, and the like, a relevance value in a two-way relationship may be considered to be higher than a relevance value in a one-way relationship, and a specific value may be set according to application requirements.
(3) The method comprises the steps that a user presets a pre-downloaded file type;
the user may preset a number of file types to indicate that the relevancy of resource sharing for such file types is high. For example, the user may set a certain picture format, such as jpg and gif format files, as high relevancy, and the value of relevancy is 100, and pre-download is preferentially performed. Meanwhile, the user may also specify that the relevancy of several file types is low, for example, the relevancy of the avi file is 0, pre-download is not performed, and the like.
(4) Sharing resource aging;
when the resource sharing has the timeliness requirement, the relevance between the resource other than timeliness and the target user can be considered to be 0, that is, the pre-downloading is not executed.
(5) Sharing importance degree identification;
the resource sharing initiator can identify the importance degree of the sharing operation, and the more important the resource is, the higher the value of the relevance degree is.
In the implementation, only one of the parameters may be considered, or a plurality of the parameters may be considered simultaneously. If a plurality of parameters exist, weights can be respectively set for the parameters according to actual conditions, and then summation is carried out according to the weights, namely, the correlation values of the parameters are weighted and summed. For example, in an extreme case, the weights of some elements may be very high, and even be the only determined element, for example, when the resource sharing has exceeded the time limit, other elements may be ignored, because the resource link has failed at this time, and the pre-download operation cannot be performed, so that the relevance value is 0, and so on, which is not described herein again.
103. When the terminal determines that the correlation exceeds the preset threshold, for example, when the sum of the correlations calculated in the determining step 102 exceeds the preset threshold, the terminal pre-downloads the shared resource according to the access address of the shared resource.
If the relevancy does not exceed the preset threshold, no action is taken, namely the shared resource is not pre-downloaded, and downloading can be performed only when the user manually clicks the access address.
Wherein, the threshold value can be set according to the requirement of practical application.
In addition, in order to further improve the flexibility of the scheme and improve the user experience, when determining whether to perform the pre-download, besides the correlation degree between the scene where the shared resource is located and the terminal needs to be considered, the current environment of the terminal can also be taken as one of the considered factors, that is, when determining that the correlation degree exceeds the preset threshold value, further judgment can be performed according to the condition of the current environment of the terminal, and if the environment is appropriate, the shared resource is pre-downloaded according to the access address of the shared resource. Therefore, before the step of "pre-downloading the shared resource according to the access address of the shared resource", the resource sharing method based on cloud storage may further include:
acquiring the environment information of the current environment of the terminal and preset pre-download setting information, and determining that the environment is suitable for pre-download according to the environment information and the pre-download setting information.
It should be noted that, if the environment is not suitable for pre-downloading, the pre-downloading is not performed, the environment may be monitored, and the pre-downloading may be performed only when the environment is suitable for pre-downloading, that is, the resource sharing method based on cloud storage may further include:
if the environment is determined to be unsuitable for pre-downloading according to the environment information and the pre-downloading setting information, monitoring the environment, and updating the environment information when the environment changes;
and when the environment is determined to be suitable for pre-downloading according to the updated environment information and the pre-downloading setting information, executing the step of pre-downloading the shared resource according to the access address of the shared resource.
For example, the pre-download setting information may indicate information such as a terminal type capable of being pre-downloaded and/or a network type capable of being pre-downloaded, and may be set to be pre-downloaded when the terminal is a personal computer, or may be set to be pre-downloaded when the terminal is a mobile phone and the network type is Wireless Fidelity (WIFI), and the like. The environment information may include information such as a terminal type of the terminal and/or a network type of a network currently used by the terminal.
Then, at this time, the step of "determining whether the environment is suitable for pre-download according to the environment information and the pre-download setting information" may include:
and determining whether the terminal type of the terminal and/or the network type of the network currently used by the terminal are in accordance with the terminal type capable of being pre-downloaded and/or the network type capable of being pre-downloaded indicated in the pre-download setting information, if so, determining that the environment is suitable for pre-downloading, otherwise, determining that the environment is not suitable for pre-downloading.
104. And when receiving an access request about the shared resource triggered by a user, the terminal displays the shared resource obtained by the pre-downloading.
It should be noted that, during the pre-downloading, the status of the downloaded resource may also be identified, for example, if the resource is being downloaded, the status is identified as the pre-downloading status, and if the resource is already downloaded, the status is identified as the pre-downloading completion status, so that when an access request for the shared resource triggered by a user is received, the identifier may be checked first, if the identifier is the pre-downloading completion status, the shared resource obtained by the pre-downloading is directly displayed, and if the identifier is the pre-downloading status, the shared resource obtained by the pre-downloading is displayed after the sharing resource is completely downloaded.
As can be seen from the above, the terminal of this embodiment may obtain the shared information, where the shared information includes the scene information of the scene where the shared resource is located and the access address of the shared resource, and then calculate the correlation between the scene and the terminal according to the scene information, when it is determined that the correlation exceeds the preset threshold, pre-download the shared resource according to the access address of the shared resource, and when an access request related to the shared resource, which is triggered by a user, is received, display the shared resource obtained by the pre-download, so that the user may view the shared resource quickly without spending too much waiting time, that is, by using the scheme, the time for the user to view the shared resource may be shortened, quick sharing of the resource may be implemented, and user experience may be greatly improved.
Example II,
According to the method described in the first embodiment, the cloud storage-based resource sharing device is specifically integrated in the terminal B, which is taken as an example, and is further described in detail below.
As shown in fig. 2a, the communication system may include a terminal a, a sharing server, and a terminal B, and specifically may be as follows:
(1) terminal A
The terminal a may include a sharing module, configured to upload a resource to be shared to a sharing server, so as to share the resource with a target user, for example, the resource sharing module may specifically include:
the sharing server sends a sharing request through a sharing module, wherein the sharing request carries the resource to be shared and the sharing target user.
(2) A sharing server;
the sharing server is configured to receive a shared resource uploaded by a terminal a, acquire shared information, send the shared information to a target user, for example, send the shared information to a terminal B, where the shared information includes an access address of the shared resource and scene information of a scene where the shared resource is located.
The sharing server may send the sharing information to the target user directly or by selecting the sharing information, for example, the sharing server may send the sharing information when the target user is online, and if the target user is not online, the sharing server caches the sharing request and sends the sharing request after waiting for the target user to be online.
(3) A terminal B;
the terminal B may include a scene analysis module, an environment analysis module, a pre-download module, and a presentation module, as follows:
and the scene analysis module is used for receiving the sharing information sent by the sharing server and calculating the correlation between the scene and the terminal according to the scene information in the sharing information.
And the environment analysis module is used for acquiring the environment information of the current environment of the terminal and preset pre-download setting information and determining whether the environment is suitable for pre-download according to the environment information and the pre-download setting information.
And the pre-downloading module is used for pre-downloading the shared resource according to the access address of the shared resource in the shared information when the fact that the correlation degree exceeds the preset threshold value and the current environment of the terminal is suitable for pre-downloading is determined.
And the display module is used for displaying the pre-downloaded shared resource when receiving an access request about the shared resource triggered by a user.
Based on the application scenario, a resource sharing method in the scenario will be described in detail below.
As shown in fig. 2b, a resource sharing method based on cloud storage includes:
201. the terminal A sends a sharing request to the sharing server through the sharing module, wherein the sharing request carries resources needing to be shared and a sharing target user.
For example, if the resource to be shared is a picture P0001, the terminal a needs to upload the picture P0001 to the sharing server and specify a target user to be shared, for example, taking the target user as the terminal B, the account information of the terminal B may be sent to the sharing server.
202. And after receiving the sharing request, the sharing server stores the resource to be shared and acquires sharing information, wherein the sharing information comprises an access address of the sharing resource and scene information of a scene where the sharing resource is located.
For example, if the resource to be shared is a picture P0001, after receiving the sharing request, the sharing server stores the picture P0001 and obtains sharing information, where the sharing information includes an access address of the picture P0001 and scene information of a scene where the picture P0001 is located.
The scene information may indicate information such as a target user that needs to be shared, for example, the picture P0001 may be specified to be shared to the terminal B, and the like.
203. And the sharing server determines a target user needing sharing according to the sharing request and sends the sharing information to the target user.
For example, it may be specifically determined that a target user to be shared is the terminal B according to information of the target user carried in the sharing request, such as account information of the terminal B, and then the sharing information is sent to the terminal B, where the sharing information may include an access address of the picture P0001 and scene information of a scene where the picture P0001 is located.
The sharing server may send the sharing information to the target user directly or by selecting the sharing information, for example, the sharing server may send the sharing information when the target user is online, and if the target user is not online, the sharing server caches the sharing request and sends the sharing request after waiting for the target user to be online.
In addition, it should be noted that, in this embodiment, only the target user is taken as the terminal B for example, and it should be understood that there may be a plurality of target users, and the implementation manner thereof is similar to this, and is not described herein again.
204. And after receiving the sharing information, the terminal B calculates the correlation between the scene and the terminal according to the scene information in the sharing information.
For the calculation method of the correlation, reference may be made to embodiment one, and details are not described herein.
205. The terminal B determines whether the correlation exceeds a preset threshold, if so, step 206 is executed, otherwise, the terminal B does not act, and may wait for the user to manually click the access address, for example, the access address of the picture P0001, and then download the picture.
Wherein, the threshold value can be set according to the requirement of practical application.
206. The terminal B obtains environment information of an environment where the terminal (i.e., the terminal B) is located and preset pre-download setting information, determines whether the environment is suitable for pre-download according to the environment information and the pre-download setting information, if so, executes step 207, and if not, executes step 208.
The pre-download setting information may be set by a user according to a preference or a requirement of an actual application, for example, the pre-download setting information may indicate a terminal type capable of being pre-downloaded and/or a network type capable of being pre-downloaded, for example, the pre-download setting information may be set when the terminal is a personal computer, or the pre-download setting information may be set when the terminal is a mobile phone and the network type is WIFI, and the like. The environment information may include information such as a terminal type of the terminal and/or a network type of a network currently used by the terminal. That is, step 206 may specifically be as follows:
and determining whether the terminal type of the terminal B and/or the network type of the network currently used by the terminal B are in accordance with the terminal type capable of being pre-downloaded and/or the network type capable of being pre-downloaded, which are indicated in the pre-download setting information, if so, determining that the environment is suitable for pre-downloading, otherwise, determining that the environment is not suitable for pre-downloading.
207. If the environment is determined to be suitable for pre-downloading, the terminal B pre-downloads the shared resource according to the access address of the shared resource, and then performs step 209.
For example, terminal B may pre-download picture P0001 according to the access address of picture P0001, and then perform step 209.
It should be noted that, when performing the pre-download, the status of the downloaded resource may also be identified, for example, if the resource is being downloaded, the resource is identified as being in the pre-download status, and if the resource has been downloaded, the resource is identified as being in the pre-download complete status.
208. If it is determined that the environment is not suitable for pre-downloading, terminal B may continue to monitor the environment, update the environment information when the environment changes, and then return to step 206.
209. And when receiving an access request about the shared resource triggered by a user, the terminal B displays the pre-downloaded shared resource, such as a display picture P0001.
For example, if the status of the downloaded resource is already identified during the pre-downloading, the identifier may be checked first when an access request related to the shared resource triggered by a user is received, if the identifier is in the pre-downloading completion status, the shared resource obtained through the pre-downloading may be directly displayed, and if the identifier is in the pre-downloading status, the shared resource obtained through the pre-downloading may be displayed only after the sharing resource is completely downloaded.
As can be seen from the above, the terminal B of this embodiment may obtain the shared information, where the shared information includes the scene information of the scene where the shared resource is located and the access address of the shared resource, then calculate the correlation between the scene and the terminal according to the scene information, when it is determined that the correlation exceeds the preset threshold, pre-download the shared resource according to the access address of the shared resource, and when an access request related to the shared resource, which is triggered by a user, is received, display the shared resource obtained by the pre-download, so that the user may quickly view the shared resource without spending too much waiting time, that is, by using the scheme, the time for the user to view the shared resource may be shortened, quick sharing of the resource may be implemented, and user experience may be greatly improved.
Example III,
In order to better implement the above method, an embodiment of the present invention further provides a resource sharing device based on cloud storage, as shown in fig. 3, the resource sharing device based on cloud storage may include an obtaining unit 301, an operation unit 302, a pre-download unit 303, and a display unit 304, as follows:
the obtaining unit 301 is configured to obtain shared information.
The shared information may include scene information of a scene where the shared resource is located and an access address of the shared resource. For example, the scenario information may indicate a sharing target user of the shared resource, such as whether to share to a specified user or all users, whether to share one or more target users, and so on. The access address of the shared resource refers to a storage location of the shared resource in the storage server, and the shared resource can be accessed according to the access address.
And an operation unit 302 for calculating the correlation between the scene and the terminal according to the scene information.
The calculation method of the relevancy can be set according to the requirements of practical applications, for example, if the scene information can include information such as the number of target users to be shared, the relationship between the initiator and the target users to be shared, the types of pre-downloaded files preset by the users, the timeliness of the shared resources and/or the identification of the sharing importance degree, then:
the operation unit 302 may be specifically configured to search the preset mapping tables respectively according to the number of the sharing target users, a relationship between the sharing initiator and the sharing target users, a type of a pre-downloaded file preset by the user, a sharing resource timeliness and/or a sharing importance level identifier to determine corresponding correlation values, and calculate a sum of all the searched correlation values.
The preset mapping table is used for recording the corresponding relation between parameters such as the number of the sharing target users, the relation between the sharing initiator and the sharing target users, the type of pre-downloaded files preset by the users, the sharing resource timeliness and/or the sharing importance degree identification and the like and the correlation value.
Or, the corresponding relationship between the parameters and the correlation values, such as the number of target users to be shared, the relationship between the sharing initiator and the target users to be shared, the pre-downloaded file type preset by the users, the resource sharing timeliness and/or the sharing importance degree identification, may also be embodied by setting some policies, such as formulas, that is, table lookup is not needed, but the correlation values corresponding to the parameters are directly and respectively calculated according to the preset policies, such as formulas, and then the sum of all the correlation values obtained by calculation is taken as the final correlation, that is:
the operation unit 302 may be specifically configured to calculate, according to the number of the sharing target users, a relationship between the sharing initiator and the sharing target users, a pre-downloaded file type preset by the user, a sharing resource timeliness and/or a sharing importance level identifier, corresponding correlation values according to a preset policy, and calculate a sum of all the obtained correlation values.
The number of the target users to share, the relationship between the sharing initiator and the sharing target users, the pre-downloaded file types preset by the users, the resource sharing timeliness and/or the corresponding relationship between the sharing importance degree identification and the correlation value can be set according to the requirements of practical application, for example, the method specifically can be as follows:
(1) sharing the number of target users;
if the number of sharing target users is small, for example, one-to-one sharing or sharing within a small range, it can be considered that the correlation between the scene and the terminal is high. For example, the correlation may be 100 for one-to-one sharing, and the small-range sharing may be a slightly lower value, for example, between 60 and 95. If a large number of target users are shared, even the scene of the target users is not limited, it can be determined that the correlation between the scene and the terminal is low, for example, the value can be smaller than 50.
In the embodiment of the invention, the value of the correlation degree is simply referred to as the correlation degree value.
(2) The relationship between the sharing initiator and the sharing target user;
in a resource sharing scenario combined with social applications, when a certain relationship exists between a resource sharing initiator and a sharing target user, the degree of correlation is higher, and the closer the relationship is, the higher the degree of correlation is. For example, a friend relationship in instant messaging, a listening relationship on a microblog, and the like, a relevance value in a two-way relationship may be considered to be higher than a relevance value in a one-way relationship, and a specific value may be set according to application requirements.
(3) The method comprises the steps that a user presets a pre-downloaded file type;
the user may preset a number of file types to indicate that the relevancy of resource sharing for such file types is high. For example, the user may set a certain picture format, such as jpg and gif format files, as high relevancy, and the value of relevancy is 100, and pre-download is preferentially performed. Meanwhile, the user may also specify that the relevancy of several file types is low, for example, the relevancy of the avi file is 0, pre-download is not performed, and the like.
(4) Sharing resource aging;
when the resource sharing has the timeliness requirement, the relevance between the resource other than timeliness and the target user can be considered to be 0, that is, the pre-downloading is not executed.
(5) Sharing importance degree identification;
the resource sharing initiator can identify the importance degree of the sharing operation, and the more important the resource is, the higher the value of the relevance degree is.
In the implementation, only one of the parameters may be considered, or a plurality of the parameters may be considered simultaneously. If a plurality of parameters exist, weights can be respectively set for the parameters according to actual conditions, and then summation is carried out according to the weights, namely, the correlation values of the parameters are weighted and summed. For example, in an extreme case, the weights of some elements may be very high, and even be the only determined element, for example, when the resource sharing has exceeded the time limit, other elements may be ignored, because the resource link has failed at this time, and the pre-download operation cannot be performed, so that the relevance value is 0, and so on, which is not described herein again.
The pre-downloading unit 303 is configured to pre-download the shared resource according to the access address of the shared resource when it is determined that the correlation exceeds a preset threshold.
If the relevancy does not exceed the preset threshold, no action is taken, namely the shared resource is not pre-downloaded, and downloading can be performed only when the user manually clicks the access address.
Wherein, the threshold value can be set according to the requirement of practical application.
The presentation unit 304 is configured to present the pre-downloaded shared resource when receiving an access request for the shared resource triggered by a user.
When the pre-download is performed, the state of the downloaded resource may be further identified, for example, if the resource is being downloaded, the identifier is in the pre-download state, and if the resource is already downloaded, the identifier is in the pre-download completion state, so that when an access request for the shared resource triggered by a user is received, the identifier may be checked first, if the identifier is in the pre-download completion state, the shared resource obtained by the pre-download is directly displayed, and if the identifier is in the pre-download state, the shared resource obtained by the pre-download is displayed after the sharing resource is completely downloaded.
In addition, in order to further improve the flexibility of the scheme and improve the user experience, when determining whether to perform the pre-download, besides the correlation degree between the scene where the shared resource is located and the terminal needs to be considered, the current environment of the terminal can also be taken as one of the considered factors, that is, when determining that the correlation degree exceeds the preset threshold value, further judgment can be performed according to the condition of the current environment of the terminal, and if the environment is appropriate, the shared resource is pre-downloaded according to the access address of the shared resource. That is, as shown in fig. 4, the resource sharing apparatus based on cloud storage may further include an environment analysis unit 305, as follows:
the obtaining unit 301 may also be configured to obtain environment information of a current environment where the terminal is located and preset pre-download setting information;
the environment analysis unit 305 may be configured to determine whether the environment is suitable for pre-downloading according to the environment information and the pre-download setting information.
The pre-downloading unit 303 may be specifically configured to, when it is determined that the correlation exceeds the preset threshold and the environment analysis unit determines that the environment is suitable for pre-downloading, pre-download the shared resource according to the access address of the shared resource.
It should be noted that if the environment is not suitable for pre-downloading, the pre-downloading is not performed, the environment may be monitored, and the pre-downloading is performed only when the environment is suitable for pre-downloading, that is:
the environment analysis unit 305 may be further configured to monitor the environment when determining that the environment is not suitable for pre-downloading according to the environment information and the pre-download setting information, update the environment information when the environment changes, and determine whether the environment is suitable for pre-downloading according to the updated environment information and the pre-download setting information;
the pre-download unit 303 may be specifically configured to pre-download the shared resource according to the access address of the shared resource when the environment analysis unit 305 determines that the environment is suitable for pre-download according to the updated environment information and the pre-download setting information.
The pre-download setting information may be set by a user according to a preference or a requirement of an actual application, for example, the pre-download setting information may indicate a terminal type capable of being pre-downloaded and/or a network type capable of being pre-downloaded, for example, the pre-download setting information may be set when the terminal is a personal computer, or the pre-download setting information may be set when the terminal is a mobile phone and the network type is WIFI, and the like. The environment information may include information such as a terminal type of the terminal and/or a network type of a network currently used by the terminal, that is:
the environment analysis unit 305 may be specifically configured to determine that the environment is suitable for pre-downloading when determining that the terminal type of the terminal and/or the network type of the network currently used by the terminal conforms to the pre-download enabled terminal type and/or the pre-download enabled network type indicated in the pre-download setting information.
The resource sharing device based on cloud storage can be integrated in a terminal, and the terminal can be a mobile phone, a tablet computer or a personal computer.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily, and implemented as the same entity or several entities, for example, refer to the structure of the terminal B in the second embodiment, and the specific implementation of the above units may refer to the foregoing embodiments, which are not described herein again.
As can be seen from the above, the obtaining unit 301 of the resource sharing apparatus based on cloud storage of the present embodiment can obtain the shared information, wherein the sharing information comprises scene information of a scene where the sharing resource is located and an access address of the sharing resource, then the operation unit 302 calculates the correlation between the scene and the terminal according to the scene information, when the correlation degree is determined to exceed the preset threshold, the pre-download unit 303 pre-downloads the shared resource according to the access address of the shared resource, and when receiving an access request related to the shared resource triggered by the user, the display unit 304 displays the pre-downloaded shared resource, so that the user can quickly view the shared resource, excessive waiting time is not needed, that is, the time for the user to check the shared resources can be shortened by adopting the scheme, the resources can be quickly shared, and the user experience is greatly improved.
Example four,
Correspondingly, an embodiment of the present invention further provides a communication system, including any one of the resource sharing devices based on cloud storage provided in the embodiment of the present invention, for example, the resource sharing device may specifically include:
the resource sharing device based on the cloud storage is used for obtaining sharing information, wherein the sharing information comprises scene information of a scene where the sharing resource is located and an access address of the sharing resource, the correlation degree of the scene and the terminal is calculated according to the scene information, when the correlation degree is determined to exceed a preset threshold value, the sharing resource is pre-downloaded according to the access address of the sharing resource, and when an access request about the sharing resource triggered by a user is received, the sharing resource obtained through pre-downloading is displayed.
In addition, if it is determined that the correlation does not exceed the preset threshold, no action is performed, that is, the shared resource is not pre-downloaded, and downloading may be performed only when the user manually clicks the access address.
Wherein, the threshold value can be set according to the requirement of practical application.
The shared information may include scene information of a scene where the shared resource is located and an access address of the shared resource. For example, the scenario information may indicate a sharing target user of the shared resource, such as whether to share to a specified user or all users, whether to share one or more target users, and so on. The access address of the shared resource refers to a storage location of the shared resource in the storage server, and the shared resource can be accessed according to the access address.
The method for calculating the correlation can be found in the foregoing embodiments, and is not described herein again.
In addition, in order to further improve the flexibility of the scheme and improve the user experience, when determining whether to perform the pre-download, besides the correlation degree between the scene where the shared resource is located and the terminal needs to be considered, the current environment of the terminal can also be taken as one of the considered factors, that is, when determining that the correlation degree exceeds the preset threshold value, further judgment can be performed according to the condition of the current environment of the terminal, and if the environment is appropriate, the shared resource is pre-downloaded according to the access address of the shared resource. Namely:
the resource sharing device based on the cloud storage can also be used for acquiring environment information of the current environment where the terminal is located and preset pre-downloading setting information, determining whether the environment is suitable for pre-downloading according to the environment information and the pre-downloading setting information, and pre-downloading the shared resource according to the access address of the shared resource when the relevancy exceeds a preset threshold and the environment is suitable for pre-downloading.
It should be noted that if the environment is not suitable for pre-downloading, the pre-downloading is not performed, the environment may be monitored, and the pre-downloading is performed only when the environment is suitable for pre-downloading, that is:
the resource sharing device based on the cloud storage can be further used for monitoring the environment when the environment is determined to be unsuitable for pre-downloading according to the environment information and the pre-downloading setting information, updating the environment information when the environment changes, determining whether the environment is suitable for pre-downloading according to the updated environment information and the pre-downloading setting information, and pre-downloading the shared resource according to the access address of the shared resource if the environment is suitable for pre-downloading.
The pre-download setting information may be set by a user according to a preference or a requirement of an actual application, for example, the pre-download setting information may indicate a terminal type capable of being pre-downloaded and/or a network type capable of being pre-downloaded, for example, the pre-download setting information may be set when the terminal is a personal computer, or the pre-download setting information may be set when the terminal is a mobile phone and the network type is WIFI, and the like. The environment information may include information such as a terminal type of the terminal and/or a network type of a network currently used by the terminal, that is:
the resource sharing device based on the cloud storage may be specifically configured to determine that the environment is suitable for pre-downloading when it is determined that the terminal type of the terminal and/or the network type of the network currently used by the terminal conforms to the terminal type capable of being pre-downloaded and/or the network type capable of being pre-downloaded, which are indicated in the pre-download setting information.
For the resource sharing device based on cloud storage, reference may be specifically made to embodiment three, and details are not described herein.
In addition, the communication system may also include other devices, such as a shared server, etc., as follows:
the sharing server is used for receiving the shared resources uploaded by other terminals, acquiring sharing information, wherein the sharing information comprises an access address of the shared resources and scene information of a scene where the shared resources are located, and sending the sharing information to the resource sharing device based on cloud storage, and the like.
As can be seen from the above, the resource sharing device based on cloud storage in the communication system of this embodiment may obtain shared information, where the shared information includes scene information of a scene where the shared resource is located and an access address of the shared resource, and then calculate a correlation between the scene and the terminal according to the scene information, when it is determined that the correlation exceeds a preset threshold, pre-download the shared resource according to the access address of the shared resource, and when an access request related to the shared resource, which is triggered by a user, is received, display the pre-downloaded shared resource, so that the user may quickly view the shared resource without spending too much waiting time, that is, by using the scheme, time for the user to view the shared resource may be shortened, rapidness of the resource may be achieved, and user experience may be greatly improved.
Example V,
Accordingly, as shown in fig. 5, the terminal may include Radio Frequency (RF) circuitry 401, a memory 402 including one or more computer-readable storage media, an input unit 403, a display unit 404, a sensor 405, an audio circuit 406, a Wireless Fidelity (WiFi) module 407, a processor 408 including one or more processing cores, and a power supply 409. Those skilled in the art will appreciate that the terminal structure shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 401 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 408 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 401 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 401 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 402 may be used to store software programs and modules, and the processor 408 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 408 and the input unit 403 access to the memory 402.
The input unit 403 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 403 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 408, and can receive and execute commands from the processor 408. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 403 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 404 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 404 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 408 to determine the type of touch event, and then the processor 408 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 406, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 406 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 406 and converted into audio data, which is then processed by the audio data output processor 408, and then transmitted to, for example, another terminal via the RF circuit 401, or the audio data is output to the memory 402 for further processing. The audio circuitry 406 may also include an earbud jack to provide peripheral headset communication with the terminal.
WiFi belongs to short distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web page and access streaming media etc. through WiFi module 407, it provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 407, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 408 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the handset. Optionally, processor 408 may include one or more processing cores; preferably, the processor 408 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily the wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 408.
The terminal also includes a power source 409 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 408 via a power management system to manage charging, discharging, and power consumption via the power management system. The power supply 409 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 408 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 408 runs the application programs stored in the memory 402, thereby implementing various functions:
although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the display unit of the terminal is a touch screen display, the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
the method comprises the steps of obtaining sharing information, wherein the sharing information comprises scene information of a scene where a sharing resource is located and an access address of the sharing resource, calculating the degree of correlation between the scene and a terminal according to the scene information, pre-downloading the sharing resource according to the access address of the sharing resource when the degree of correlation is determined to exceed a preset threshold value, and displaying the pre-downloaded sharing resource when an access request about the sharing resource triggered by a user is received.
In addition, if it is determined that the correlation does not exceed the preset threshold, no action is performed, that is, the shared resource is not pre-downloaded, and downloading may be performed only when the user manually clicks the access address.
Wherein, the threshold value can be set according to the requirement of practical application.
The shared information may include scene information of a scene where the shared resource is located and an access address of the shared resource. For example, the scenario information may indicate a sharing target user of the shared resource, such as whether to share to a specified user or all users, whether to share one or more target users, and so on. The access address of the shared resource refers to a storage location of the shared resource in the storage server, and the shared resource can be accessed according to the access address.
The method for calculating the correlation can be found in the foregoing embodiments, and is not described herein again.
In addition, in order to further improve the flexibility of the scheme and improve the user experience, when determining whether to perform the pre-download, besides the correlation degree between the scene where the shared resource is located and the terminal needs to be considered, the current environment of the terminal can also be taken as one of the considered factors, that is, when determining that the correlation degree exceeds the preset threshold value, further judgment can be performed according to the condition of the current environment of the terminal, and if the environment is appropriate, the shared resource is pre-downloaded according to the access address of the shared resource. That is, before executing the operation of "pre-downloading the shared resource according to the access address of the shared resource", the following operations may also be executed:
the method comprises the steps of obtaining environment information of the current environment of the terminal and preset pre-download setting information, and determining whether the environment is suitable for pre-download according to the environment information and the pre-download setting information.
And if the relevancy exceeds a preset threshold value and the environment is suitable for pre-downloading, pre-downloading the shared resource according to the access address of the shared resource.
It should be noted that, if the environment is not suitable for pre-downloading, the pre-downloading is not performed, the environment may be monitored, and the pre-downloading may be performed only when the environment is suitable for pre-downloading, that is, the following operations may be performed:
and when determining that the environment is not suitable for pre-downloading according to the environment information and the pre-downloading setting information, monitoring the environment, updating the environment information when the environment changes, determining whether the environment is suitable for pre-downloading according to the updated environment information and the pre-downloading setting information, and if the environment is suitable for pre-downloading, pre-downloading the shared resource according to the access address of the shared resource.
The pre-download setting information may be set by a user according to a preference or a requirement of an actual application, for example, the pre-download setting information may indicate a terminal type capable of being pre-downloaded and/or a network type capable of being pre-downloaded, for example, the pre-download setting information may be set when the terminal is a personal computer, or the pre-download setting information may be set when the terminal is a mobile phone and the network type is WIFI, and the like. The environment information may include information such as a terminal type of the terminal and/or a network type of a network currently used by the terminal, that is, the step "determining whether the environment is suitable for pre-downloading according to the environment information and the pre-download setting information" may specifically be as follows:
the resource sharing device based on the cloud storage may be specifically configured to determine that the environment is suitable for pre-downloading when it is determined that the terminal type of the terminal and/or the network type of the network currently used by the terminal conforms to the terminal type capable of being pre-downloaded and/or the network type capable of being pre-downloaded, which are indicated in the pre-download setting information.
The above operations can be referred to the previous embodiments specifically, and are not described herein again.
As can be seen from the above, the terminal of this embodiment may obtain the shared information, where the shared information includes the scene information of the scene where the shared resource is located and the access address of the shared resource, and then calculate the correlation between the scene and the terminal according to the scene information, when it is determined that the correlation exceeds the preset threshold, pre-download the shared resource according to the access address of the shared resource, and when an access request related to the shared resource, which is triggered by a user, is received, display the shared resource obtained by the pre-download, so that the user may view the shared resource quickly without spending too much waiting time, that is, by using the scheme, the time for the user to view the shared resource may be shortened, quick sharing of the resource may be implemented, and user experience may be greatly improved.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The cloud storage-based resource sharing method, device and system provided by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and implementation of the invention, and the description of the embodiment is only used for helping understanding the method and the core idea of the invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A resource sharing method based on cloud storage is characterized by comprising the following steps:
the method comprises the steps that a terminal obtains sharing information, wherein the sharing information comprises scene information of a scene where a sharing resource is located and an access address of the sharing resource, and the scene information comprises at least one of the following information: sharing the number of target users, the relationship between the sharing initiator and the sharing target users and the sharing importance degree identification; the method comprises the steps that a sharing initiator and a sharing target user are connected in a social application mode, wherein the relation between the sharing initiator and the sharing target user is the relation between the sharing initiator and the sharing target user in the social application mode, and a sharing importance degree mark is a mark of an importance degree of a resource sharing initiator on a sharing operation;
the terminal calculates the relevance values respectively corresponding to the number of the sharing target users, the relationship between the sharing initiator and the sharing target users and the sharing importance degree identification according to a preset strategy, and the sum of the calculated relevance values is used as the relevance of the scene and the terminal;
when the terminal determines that the correlation degree exceeds a preset threshold value, pre-downloading the shared resource according to the access address of the shared resource;
and when receiving an access request about the shared resource triggered by a user, the terminal displays the shared resource obtained by the pre-downloading.
2. The method according to claim 1, wherein before the pre-downloading the shared resource according to the access address of the shared resource, the method further comprises:
acquiring environmental information of the current environment of the terminal and preset pre-download setting information;
and determining that the environment is suitable for pre-downloading according to the environment information and the pre-downloading setting information.
3. The method according to claim 2, wherein the environment information includes a terminal type of the terminal and/or a network type of a network currently used by the terminal, and the pre-download setting information indicates a terminal type capable of pre-downloading and/or a network type capable of pre-downloading, and the determining that the environment is suitable for pre-downloading according to the environment information and the pre-download setting information includes:
and when the terminal type of the terminal and/or the network type of the network currently used by the terminal are determined to be in accordance with the terminal type capable of being pre-downloaded and/or the network type capable of being pre-downloaded indicated in the pre-download setting information, determining that the environment is suitable for pre-downloading.
4. The method of claim 2, further comprising:
when the environment is determined to be unsuitable for pre-downloading according to the environment information and the pre-downloading setting information, monitoring the environment, and updating the environment information when the environment changes;
and when the environment is determined to be suitable for pre-downloading according to the updated environment information and the pre-downloading setting information, executing the step of pre-downloading the shared resource according to the access address of the shared resource.
5. The method according to any one of claims 1 to 4, wherein the calculating, by the terminal, the correlation values respectively corresponding to the number of the sharing target users, the relationship between the sharing initiator and the sharing target users, and the sharing importance level identifier according to a preset policy includes:
and respectively searching a preset mapping table according to each item of the number of the sharing target users, the relationship between the sharing initiator and the sharing target users and the sharing importance degree identification to determine a corresponding relevance value, wherein the preset mapping table is used for recording the corresponding relationship between each item and the relevance value.
6. A resource sharing device based on cloud storage is characterized by comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring sharing information, the sharing information comprises scene information of a scene where a sharing resource is located and an access address of the sharing resource, and the scene information comprises at least one of the following information: sharing the number of target users, the relationship between the sharing initiator and the sharing target users and the sharing importance degree identification; the method comprises the steps that a sharing initiator and a sharing target user are connected in a social application mode, wherein the relation between the sharing initiator and the sharing target user is the relation between the sharing initiator and the sharing target user in the social application mode, and a sharing importance degree mark is a mark of an importance degree of a resource sharing initiator on a sharing operation;
the operation unit is used for calculating correlation values respectively corresponding to the number of the sharing target users, the relationship between the sharing initiator and the sharing target users and the sharing importance degree identification according to a preset strategy, and taking the sum of the calculated correlation values as the correlation of the scene and the terminal;
the pre-downloading unit is used for pre-downloading the shared resource according to the access address of the shared resource when the relevancy is determined to exceed a preset threshold;
and the display unit is used for displaying the shared resource obtained by the pre-downloading when receiving an access request about the shared resource triggered by a user.
7. The resource sharing device based on the cloud storage according to claim 6, further comprising an environment analysis unit;
the acquiring unit is further used for acquiring the environment information of the current environment of the terminal and preset pre-download setting information;
the environment analysis unit is used for determining whether the environment is suitable for pre-downloading according to the environment information and pre-downloading setting information;
the pre-downloading unit is specifically configured to, when it is determined that the correlation exceeds a preset threshold and the environment analysis unit determines that the environment is suitable for pre-downloading, pre-download the shared resource according to the access address of the shared resource.
8. The resource sharing device according to claim 7, wherein the environment information includes a terminal type of the terminal and/or a network type of a network currently used by the terminal, and the pre-download setting information indicates a terminal type capable of being pre-downloaded and/or a network type capable of being pre-downloaded, then:
the environment analysis unit is specifically configured to determine that the environment is suitable for pre-downloading when determining that the terminal type of the terminal and/or the network type of the network currently used by the terminal conforms to the terminal type capable of pre-downloading and/or the network type capable of pre-downloading indicated in the pre-downloading setting information.
9. The resource sharing device based on cloud storage according to claim 7,
the environment analysis unit is further configured to monitor the environment when determining that the environment is not suitable for pre-downloading according to the environment information and pre-download setting information, update the environment information when the environment changes, and determine whether the environment is suitable for pre-downloading according to the updated environment information and pre-download setting information;
the pre-downloading unit is specifically configured to pre-download the shared resource according to the access address of the shared resource when the environment analysis unit determines that the environment is suitable for pre-downloading according to the updated environment information and pre-downloading setting information.
10. The resource sharing apparatus based on cloud storage according to any one of claims 6 to 9,
the operation unit is specifically configured to search a preset mapping table according to each item of the number of the sharing target users, the relationship between the sharing initiator and the sharing target users, and the sharing importance level identifier to determine a corresponding correlation value, and calculate a sum of all searched correlation values, where the preset mapping table is used to record a corresponding relationship between each item and the correlation value.
11. A communication system, characterized by comprising the resource sharing apparatus based on cloud storage according to any one of claims 6 to 10.
12. A computer-readable storage medium having stored thereon computer-readable instructions operable to cause a processor to execute a method for implementing the method according to any one of claims 1 to 5.
CN201410258913.3A 2014-06-11 2014-06-11 Resource sharing method, device and system based on cloud storage Active CN105227598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410258913.3A CN105227598B (en) 2014-06-11 2014-06-11 Resource sharing method, device and system based on cloud storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410258913.3A CN105227598B (en) 2014-06-11 2014-06-11 Resource sharing method, device and system based on cloud storage

Publications (2)

Publication Number Publication Date
CN105227598A CN105227598A (en) 2016-01-06
CN105227598B true CN105227598B (en) 2020-11-27

Family

ID=54996273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410258913.3A Active CN105227598B (en) 2014-06-11 2014-06-11 Resource sharing method, device and system based on cloud storage

Country Status (1)

Country Link
CN (1) CN105227598B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681656A (en) * 2016-11-16 2017-05-17 南京云创大数据科技股份有限公司 Dynamically-adjustable cloud storage system fault tolerance method
CN106973081B (en) * 2017-02-28 2019-01-25 百度在线网络技术(北京)有限公司 A kind of method and apparatus for issuing cloud resource
CN110865983A (en) * 2019-09-27 2020-03-06 视联动力信息技术股份有限公司 File sharing method and device based on network disk link
CN110941380B (en) * 2019-11-20 2022-02-22 三星电子(中国)研发中心 Picture downloading method and device and computer readable storage medium
US11533384B2 (en) * 2020-03-20 2022-12-20 International Business Machines Corporation Predictive provisioning of cloud-stored files
CN114416667B (en) * 2022-03-29 2022-07-26 天津联想协同科技有限公司 Method and device for rapidly sharing network disk file, network disk and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1249610C (en) * 2002-04-13 2006-04-05 鸿富锦精密工业(深圳)有限公司 Automatic document down-load system and method
CN103108007B (en) * 2011-11-14 2016-03-30 联想(北京)有限公司 Terminal equipment and document receiving method thereof
CN103297484B (en) * 2012-03-05 2017-07-11 腾讯科技(深圳)有限公司 resource sharing method and device
CN103368988B (en) * 2012-03-28 2016-03-16 腾讯科技(深圳)有限公司 resource sharing method, system and device
CN102710797A (en) * 2012-06-27 2012-10-03 新浪网技术(中国)有限公司 File sharing method and system
CN103209407B (en) * 2013-04-15 2018-11-20 百度在线网络技术(北京)有限公司 The downloading management method of application program, system and mobile terminal in mobile terminal
CN103327120A (en) * 2013-07-09 2013-09-25 百度在线网络技术(北京)有限公司 Method, system and cloud server for file sharing
CN103595784A (en) * 2013-11-11 2014-02-19 北京京东尚科信息技术有限公司 File sharing method and system

Also Published As

Publication number Publication date
CN105227598A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
US10956280B2 (en) Data backup method, electronic device, and storage medium
CN105227598B (en) Resource sharing method, device and system based on cloud storage
CN109309696B (en) Folder transmission method, sender, receiver, and storage medium
JP2018520403A (en) Message update method, apparatus, and terminal
CN106254910B (en) Method and device for recording image
CN106293738B (en) Expression image updating method and device
US20200336875A1 (en) Scenario-based sound effect control method and electronic device
CN106791916B (en) Method, device and system for recommending audio data
US10298590B2 (en) Application-based service providing method, apparatus, and system
JP6915074B2 (en) Message notification method and terminal
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN106020945B (en) Shortcut item adding method and device
CN107317828B (en) File downloading method and device
CN112749074A (en) Test case recommendation method and device
CN106302101B (en) Message reminding method, terminal and server
US20160119695A1 (en) Method, apparatus, and system for sending and playing multimedia information
CN105306244B (en) Router management method, system and equipment
CN106682189B (en) File name display method and device
CN111371916B (en) Data processing method and related equipment
CN105159655B (en) Behavior event playing method and device
CN107798008B (en) Content pushing system, method and device
CN106209601B (en) State update message pushing method and device
CN106610971B (en) ZIP compressed file identification determination method and device
CN110209924B (en) Recommendation parameter acquisition method, device, server and storage medium
CN104954231B (en) Method and device for sending and displaying recommendation information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant