CN105227598A - A kind of resource sharing method, device and system stored based on cloud - Google Patents

A kind of resource sharing method, device and system stored based on cloud Download PDF

Info

Publication number
CN105227598A
CN105227598A CN201410258913.3A CN201410258913A CN105227598A CN 105227598 A CN105227598 A CN 105227598A CN 201410258913 A CN201410258913 A CN 201410258913A CN 105227598 A CN105227598 A CN 105227598A
Authority
CN
China
Prior art keywords
sharing
resource
terminal
environment
downloading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410258913.3A
Other languages
Chinese (zh)
Other versions
CN105227598B (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

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses the resource sharing method, device and the system that store based on cloud; The terminal of the embodiment of the present invention can obtain sharing information, wherein, this sharing information comprises the scene information sharing scene residing for resource and the reference address sharing resource, then the degree of correlation of this scene and this terminal is calculated according to this scene information, when determining that this degree of correlation exceedes preset threshold value, according to this reference address sharing resource, this is shared to resource and carries out pre-download, and receive that user triggers share the access request of resource about this time, that shows that this pre-download obtains shares resource; Adopt the program can shorten user to check and time when sharing resource realize fast sharing of resource.

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. Typically, 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: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, or 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 (11)

1. A resource sharing method based on cloud storage is characterized by comprising 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.
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 scene information includes a number of sharing target users, a relationship between a sharing initiator and the sharing target users, a pre-downloaded file type preset by a user, a sharing resource timeliness and/or a sharing importance level identifier, and the terminal calculates the correlation between the scene and the terminal according to the scene information, including:
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 to determine corresponding relevance values, wherein the preset mapping table is used for recording 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 corresponding relationship between the sharing importance degree identification and the relevance values; or respectively calculating corresponding correlation values according to a preset strategy according to the number of the sharing target users, the relationship between the sharing initiator and the sharing target users, a pre-downloaded file type preset by the users, the sharing resource timeliness and/or the sharing importance degree identification;
the sum of all the obtained correlation values is calculated.
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, 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.
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 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 pre-downloaded file type preset by a user, a sharing resource aging and/or a sharing importance degree identifier to determine corresponding correlation values, and calculate a sum of all the searched correlation values, where the preset mapping tables are used to record 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 user, the sharing resource aging and/or the corresponding relationship between the sharing importance degree identifier and the correlation value; or,
the operation unit is specifically configured to calculate corresponding correlation values according to a preset strategy respectively 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 users, the sharing resource timeliness and/or the sharing importance degree identification, and calculate a sum of all the obtained correlation values.
11. A communication system, characterized by comprising the resource sharing apparatus based on cloud storage according to any one of claims 6 to 10.
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 true CN105227598A (en) 2016-01-06
CN105227598B 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)

Cited By (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
CN106973081A (en) * 2017-02-28 2017-07-21 百度在线网络技术(北京)有限公司 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
CN110941380A (en) * 2019-11-20 2020-03-31 三星电子(中国)研发中心 Picture downloading method and device and computer readable storage medium
WO2021186300A1 (en) * 2020-03-20 2021-09-23 International Business Machines Corporation Predictive provisioning of remotely-stored files
CN114416667A (en) * 2022-03-29 2022-04-29 天津联想协同科技有限公司 Method and device for rapidly sharing network disk file, network disk and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452095A (en) * 2002-04-13 2003-10-29 鸿富锦精密工业(深圳)有限公司 Automatic document down-load system and method
CN102710797A (en) * 2012-06-27 2012-10-03 新浪网技术(中国)有限公司 File sharing method and system
CN103108007A (en) * 2011-11-14 2013-05-15 联想(北京)有限公司 Terminal equipment and file-receiving method thereof
CN103209407A (en) * 2013-04-15 2013-07-17 百度在线网络技术(北京)有限公司 Download management method and system for application program in mobile terminal and mobile terminal
CN103297484A (en) * 2012-03-05 2013-09-11 腾讯科技(深圳)有限公司 Resource sharing method and device
CN103327120A (en) * 2013-07-09 2013-09-25 百度在线网络技术(北京)有限公司 Method, system and cloud server for file sharing
CN103368988A (en) * 2012-03-28 2013-10-23 腾讯科技(深圳)有限公司 Resource sharing method, resource sharing system and resource sharing apparatus
CN103595784A (en) * 2013-11-11 2014-02-19 北京京东尚科信息技术有限公司 File sharing method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452095A (en) * 2002-04-13 2003-10-29 鸿富锦精密工业(深圳)有限公司 Automatic document down-load system and method
CN103108007A (en) * 2011-11-14 2013-05-15 联想(北京)有限公司 Terminal equipment and file-receiving method thereof
CN103297484A (en) * 2012-03-05 2013-09-11 腾讯科技(深圳)有限公司 Resource sharing method and device
CN103368988A (en) * 2012-03-28 2013-10-23 腾讯科技(深圳)有限公司 Resource sharing method, resource sharing system and resource sharing apparatus
CN102710797A (en) * 2012-06-27 2012-10-03 新浪网技术(中国)有限公司 File sharing method and system
CN103209407A (en) * 2013-04-15 2013-07-17 百度在线网络技术(北京)有限公司 Download management method and system for application program in mobile terminal and 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

Cited By (9)

* 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
CN106973081A (en) * 2017-02-28 2017-07-21 百度在线网络技术(北京)有限公司 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
CN110941380A (en) * 2019-11-20 2020-03-31 三星电子(中国)研发中心 Picture downloading method and device and computer readable storage medium
CN110941380B (en) * 2019-11-20 2022-02-22 三星电子(中国)研发中心 Picture downloading method and device and computer readable storage medium
WO2021186300A1 (en) * 2020-03-20 2021-09-23 International Business Machines Corporation Predictive provisioning of remotely-stored files
US11533384B2 (en) 2020-03-20 2022-12-20 International Business Machines Corporation Predictive provisioning of cloud-stored files
GB2608767A (en) * 2020-03-20 2023-01-11 Ibm Predictive provisioning of remotely-stored files
CN114416667A (en) * 2022-03-29 2022-04-29 天津联想协同科技有限公司 Method and device for rapidly sharing network disk file, network disk and storage medium

Also Published As

Publication number Publication date
CN105227598B (en) 2020-11-27

Similar Documents

Publication Publication Date Title
CN104954149B (en) The method, apparatus and system of data sharing are carried out in Web conference
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
CN105024984A (en) Permission setting method, apparatus and system
CN106293738B (en) Expression image updating method and device
CN106210755A (en) A kind of methods, devices and systems playing live video
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN106203228A (en) Two-dimensional code information transmission method, device and equipment
CN106101764A (en) A kind of methods, devices and systems showing video data
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN104660769B (en) A kind of methods, devices and systems for adding associated person information
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
JP6915074B2 (en) Message notification method and terminal
CN105677162B (en) The display methods and device of matching condition list
CN106682189B (en) File name display method and device
CN106020945B (en) Shortcut item adding method and device
CN107317828B (en) File downloading method and device
CN105025064B (en) Download the method, apparatus and system of file
CN105577712B (en) A kind of file uploading method, device and system
US20160119695A1 (en) Method, apparatus, and system for sending and playing multimedia information
CN105306244B (en) Router management method, system and equipment
CN107798008B (en) Content pushing system, method and device
CN106657281B (en) File sharing method and device
CN106610971B (en) ZIP compressed file identification determination method and device

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