CN106776917A - A kind of method and apparatus for obtaining resource file - Google Patents
A kind of method and apparatus for obtaining resource file Download PDFInfo
- Publication number
- CN106776917A CN106776917A CN201611087646.3A CN201611087646A CN106776917A CN 106776917 A CN106776917 A CN 106776917A CN 201611087646 A CN201611087646 A CN 201611087646A CN 106776917 A CN106776917 A CN 106776917A
- Authority
- CN
- China
- Prior art keywords
- resource file
- target
- terminal
- information
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/176—Support for shared access to files; File sharing support
Abstract
Present disclose provides a kind of method and apparatus for obtaining resource file, belong to field of computer technology.Methods described includes:Obtain the resource file demand information of target account, target resource file identification is included in the resource file demand information, to the terminal of other Account Logons outside the target account, transmission carries the resource file sharing request of the target resource file identification, wherein, the resource file sharing request is used for the download information for asking the terminal that the resource file is uploaded when the corresponding resource file of the target resource file identification that is stored with is detected, the download information of the resource file includes the content-data of the resource file or the download address of the resource file, receive the download information of the resource file that terminal described at least one is uploaded, and the target terminal logged in the target account sends the download information for receiving.Using the disclosure, the efficiency for obtaining resource file can be improved.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and apparatus for obtaining resource file.
Background technology
With continuing to develop for Internet technology, the life of people be unable to do without network further, and people can be obtained by network
Take diversified resource file, such as film, novel, music, picture.
When user wants to obtain certain resource file, the Web browsing application in terminal can be opened, then
The chained address of the resource file is searched on network, and then resource can be obtained from the corresponding memory space in the chained address
File.
Realize it is of the invention during, inventor find prior art at least there is problems with:
Some resource files are more rare, and chained address is more difficult to be searched, and user generally requires to devote a tremendous amount of time
The chained address of the resource file can be just searched, so, obtain the less efficient of resource file.
The content of the invention
In order to solve problem of the prior art, the embodiment of the present disclosure provides a kind of method and dress for obtaining resource file
Put.The technical scheme is as follows:
First aspect, there is provided a kind of method of acquisition resource file, methods described includes:
The resource file demand information of target account is obtained, target resource file is included in the resource file demand information
Mark;
To the terminal of other Account Logons outside the target account, transmission carries the target resource file identification
Resource file sharing request, wherein, the resource file sharing request be used for ask the terminal detecting storage
The download information of the resource file is uploaded when stating the corresponding resource file of target resource file identification, under the resource file
Information carrying breath includes the download address of the content-data of the resource file or the resource file;
The download information of the resource file that terminal described at least one is uploaded is received, and is logged in the target account
Target terminal send the download information that receives.
Optionally, the resource file demand information for obtaining target account, including:
According to the accounts information of the third-party application account bound with the target account, the money of the target account is obtained
Source file demand information;Or,
The historical search information of the terminal logged according to the target account, the resource file for obtaining the target account is needed
Seek information;Or,
The resource file for obtaining the terminal transmission that the target account is logged in obtains the resource file demand carried in request
Information.
So, server can in time get the resource file demand information of target account by number of ways.
Optionally, target resource file type is also included in the resource file demand information;
The download information for receiving the resource file that terminal described at least one is uploaded, and to the target account
The target terminal of login sends the download information for receiving, including:
The download information of multiple resource files that terminal described at least one is uploaded is received, and obtains the multiple resource text
The file type of part;
To the target terminal that the target account is logged in, what transmission was received meets under the target resource file type
Information carrying ceases.
So, user can get the download information of the resource file of the file type of oneself needs, so as to get
Download information accuracy it is higher.
Optionally, the download information for receiving the resource file that terminal described at least one is uploaded, and to described
The target terminal that target account is logged in sends the download information for receiving, including:
The download information of multiple resource files that terminal described at least one is uploaded is received, according to predetermined order rule to institute
The download information for stating multiple resource files is ranked up, and generates resource file list, and the target logged in the target account
Terminal sends the resource file list;
The acquisition request of the target resource file sent according to the target terminal for receiving, sends out to the target terminal
Send the download information of the target resource file.
So, user can select the download information of best resource file in multiple download informations.
Optionally, the download information for receiving the resource file that terminal described at least one is uploaded, and to described
The target terminal that target account is logged in sends the download information for receiving, including:
The download information of the resource file that terminal described at least one is uploaded is received, and satisfaction is default to be touched when detecting
During clockwork spring part, the target terminal logged in the target account sends the download information for receiving.
So, user can get the download information of resource file under conditions of oneself setting is met.
Optionally, the terminal of other Account Logons to outside the target account, transmission carries the target
The resource file sharing request of resource file mark, including:
The terminal of other Account Logons opened to outside the target account, resource-sharing authority, sends and carries
There is the resource file sharing request of the target resource file identification.
So, user can be ensured by setting resource-sharing authority resource file in oneself terminal can with or can not
To share to other people.
Optionally, after the download information for receiving the resource file that terminal described at least one is uploaded, also wrap
Include:
Store the download information of the resource file;
When the resource file demand information for including the target resource file identification is got again, to the resource
The terminal of the Account Logon belonging to file demand information, sends the download information of the resource file.
So, the download information of the resource file that server will directly can have been stored is sent to the use of corresponding demand
Family, the end without repeating from other Account Logons is obtained.
Second aspect, there is provided a kind of device of acquisition resource file, described device includes:
Acquisition module, the resource file demand information for obtaining target account is wrapped in the resource file demand information
File identification containing target resource;
First sending module, for the terminal to other Account Logons outside the target account, sends and carries
The resource file sharing request of target resource file identification is stated, wherein, the resource file sharing request is used to ask the end
Hold the lower information carrying that the resource file is uploaded when the corresponding resource file of the target resource file identification that is stored with is detected
Breath, the download information of the resource file includes the download ground of the content-data of the resource file or the resource file
Location;
Receiver module, the download information for receiving the resource file that terminal described at least one is uploaded, and to institute
The target terminal for stating target account login sends the download information for receiving.
Optionally, the acquisition module, is used for:
According to the accounts information of the third-party application account bound with the target account, the money of the target account is obtained
Source file demand information;Or,
The historical search information of the terminal logged according to the target account, the resource file for obtaining the target account is needed
Seek information;Or,
The resource file for obtaining the terminal transmission that the target account is logged in obtains the resource file demand carried in request
Information.
Optionally, target resource file type is also included in the resource file demand information;
The receiver module, including:
Receiving submodule, for receiving the download information of multiple resource files that terminal described at least one is uploaded, and obtains
Take the file type of the multiple resource file;
First sending submodule, for the target terminal logged in the target account, what transmission was received meets described
The download information of target resource file type.
Optionally, the receiver module, including:
Sorting sub-module, the download information for receiving multiple resource files that terminal described at least one is uploaded, according to
Predetermined order rule is ranked up to the download information of the multiple resource file, generates resource file list, and to the mesh
The target terminal for marking Account Logon sends the resource file list;
Second sending submodule, the acquisition of the target resource file for being sent according to the target terminal for receiving please
Ask, the download information of the target resource file is sent to the target terminal.
Optionally, the receiver module, is used for:
The download information of the resource file that terminal described at least one is uploaded is received, and satisfaction is default to be touched when detecting
During clockwork spring part, the target terminal logged in the target account sends the download information for receiving.
Optionally, first sending module, is used for:
The terminal of other Account Logons opened to outside the target account, resource-sharing authority, sends and carries
There is the resource file sharing request of the target resource file identification.
Optionally, described device also includes:
Memory module, the download information for storing the resource file;
Second sending module, the resource file demand of the target resource file identification is included for that ought get again
During information, to the terminal of the Account Logon belonging to the resource file demand information, the download information of the resource file is sent.
The third aspect, there is provided a kind of device of acquisition resource file, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The resource file demand information of target account is obtained, target resource file is included in the resource file demand information
Mark;
To the terminal of other Account Logons outside the target account, transmission carries the target resource file identification
Resource file sharing request, wherein, the resource file sharing request be used for ask the terminal detecting storage
The download information of the resource file is uploaded when stating the corresponding resource file of target resource file identification, under the resource file
Information carrying breath includes the download address of the content-data of the resource file or the resource file;
The download information of the resource file that terminal described at least one is uploaded is received, and is logged in the target account
Target terminal send the download information that receives.
The beneficial effect brought of technical scheme that the embodiment of the present disclosure is provided is:
In the embodiment of the present disclosure, the resource file demand information of target account is obtained, included in resource file demand information
Target resource file identification, to the terminal of other Account Logons outside target account, transmission carries target resource files-designated
The resource file sharing request of knowledge, wherein, resource file sharing request is detecting the target resource that is stored with for requesting terminal
The download information of resource file is uploaded during the corresponding resource file of file identification, the download information of resource file includes resource file
Content-data or resource file download address, receive at least one terminal upload resource file download information, and
The target terminal logged in target account sends the download information for receiving.So, when user needs to obtain certain resource file
When, corresponding download information can be directly obtained from other users by server, may then pass through download information and obtain
Resource file is taken, so, the efficiency for obtaining resource file can be improved.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of method flow diagram of acquisition resource file that the embodiment of the present disclosure is provided;
Fig. 2 is a kind of schematic diagram of a scenario of acquisition resource file that the embodiment of the present disclosure is provided;
Fig. 3 is a kind of apparatus structure schematic diagram of acquisition resource file that the embodiment of the present disclosure is provided;
Fig. 4 is a kind of apparatus structure schematic diagram of acquisition resource file that the embodiment of the present disclosure is provided;
Fig. 5 is a kind of apparatus structure schematic diagram of acquisition resource file that the embodiment of the present disclosure is provided;
Fig. 6 is a kind of apparatus structure schematic diagram of acquisition resource file that the embodiment of the present disclosure is provided;
Fig. 7 is a kind of structural representation of server that the embodiment of the present disclosure is provided.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
The embodiment of the present disclosure provides a kind of method for obtaining resource file, and the executive agent of the method can be service
Device, and aided in realizing by terminal.Wherein, server can be to provide the server of resource file sharing function.In the server
Processor, memory, transceiver can be provided with, processor can be used for processing kind of a process for acquisition resource file,
Memory can be used for storing the data of the data and generation needed in following processing procedures, and transceiver can be used for receiving eventually
Hold the related data for sending, it is also possible to for sending related data to terminal.It is installed in terminal with server in the present embodiment
On for resource file obtain and the application program shared background server, terminal be mobile phone as a example by, carry out the detailed of scheme
Describe in detail bright, other situations are similar to therewith, and the present embodiment is not repeated.This programme realizes that scene can be as shown in Figure 2.
Below in conjunction with specific embodiment, the handling process shown in Fig. 1 is described in detail, content can be as
Under:
Step 101, obtains the resource file demand information of target account, and target resource is included in resource file demand information
File identification.
Wherein, target resource file identification can be the title of resource file, key message etc..
In force, user can install in terminal and be obtained and the resource sharing class application journey shared for resource file
Sequence, the resource file that user be able to will have been got by the application program is shared with other users, while can also use should
Application program obtains the resource file that other users are shared.Each user can register with an account for above-mentioned application program
Family, when user needs to obtain some resource file (i.e. resource files with target resource identifier), above-mentioned application program can
To get corresponding target resource file identification, resource file demand information is then generated, can in resource file demand information
To include target resource file identification, and resource file demand information is recorded into the account in user account (i.e. target account)
In information, so that server can get the resource file demand information of target account.
Optionally, the mode of the resource file demand information of server acquisition target account is varied, is given below
Several feasible modes:
Mode one, server obtains target account according to the accounts information of the third-party application account bound with target account
The resource file demand information at family.
In force, user's resource file demand information of oneself disclosed in third-party application, such as at " bean cotyledon "
Delivered in and oneself want which film seen, or propose oneself to want which music, so, Yong Hu listened in " microblogging " application
The resource file demand information of correlation can be recorded in the accounts information of the account in these applications.Afterwards, user can be by
Account binding in its target account in above-mentioned resource-sharing class application program and third-party application, so that server can be with
The resource file demand information in the accounts information with the third-party application account of target account binding is obtained, i.e., equivalent to acquisition
The resource file demand information of target account.
Mode two, the historical search information of the terminal that server is logged according to target account obtains the resource of target account
File demand information.
In force, user can search for some resource files with using terminal on the net, such as can be by above-mentioned resource
Shared class application program search, or searched for using web page browsing class application program, or searched for using consumer application program
(such as film ticket purchase software), the resource-sharing class application program installed in terminal can obtain the historical search information of user,
Target resource file identification can be included in historical search information, and historical search information is recorded into the account in target account
In information, so that the historical search information of the terminal that server can currently be logged according to target account, obtains target account
Resource file demand information.
Mode three, the resource file that server obtains the terminal transmission that target account is logged in obtains the resource carried in request
File demand information.
In force, if user wants to obtain certain resource file, the resource that can be opened in terminal is total to
Class application program is enjoyed, resource file is then opened and is obtained window, input wants the resource file mark of the resource file for obtaining (i.e.
Target resource file identification), after user clicks on confirmation, terminal can send to server and carry resource file demand information
Resource file obtain request so that server can get corresponding resource file demand information.
So, server can much sooner be accurately obtained the resource file demand of target account by number of ways
Information.
Step 102, to the terminal of other Account Logons outside target account, transmission carries target resource file identification
Resource file sharing request.
Wherein, resource file sharing request is used for requesting terminal to detect the target resource file identification that is stored with corresponding
Upload the download information of resource file during resource file, the download information of resource file include the content-data of resource file or
The download address of resource file.
In force, after the resource file demand information for getting target account, server can to target account it
The terminal that other outer accounts are currently logged in, transmission carries the resource file sharing request of target resource file identification.Herein,
Other accounts can be good friend's account of the registered all accounts of above-mentioned application program, or target account, or
With the account that target account has certain incidence relation, incidence relation can be that hobby is identical, belong to same chat group,
Other accounts can be voluntarily selected positioned at same city etc., or user.Terminal receive that above-mentioned resource file is shared please
After asking, the target resource file identification for wherein carrying can be obtained, then locally search whether the target resource file that is stored with
Corresponding resource file is identified, if it has, then the download information of resource file can be uploaded into server.If specifically,
Terminal storage has the download address of resource file, then download address can be uploaded into server, if terminal storage has resource
The content-data of file, then can be uploaded to server by content-data, or can also be by the content-data of resource file
Download address is uploaded to server.
Optionally, server can only get the download of related resource file by having opened the terminal of resource-sharing authority
Information, accordingly, the treatment of step 102 can be as follows:To other accounts that outside target account, resource-sharing authority has been opened
The terminal that family logs in, transmission carries the resource file sharing request of target resource file identification.
In force, server can first determine target account after the resource file demand information for getting target account
Other accounts outside family, then judge whether the resource-sharing authority of these other accounts has opened, and afterwards, server can
With the terminal that other accounts opened to outside target account, resource-sharing authority are currently logged in, transmission carries target
The resource file sharing request of resource file mark.Similarly, only when the demand of target account discloses authority have been opened, clothes
Business device can just get the resource file demand information of target account.Further, can set, server obtains mesh every time
Before marking the resource file demand information of account, it is required for the target terminal logged in target account to send prompt message, and services
Device needs to send prompt message simultaneously after resource file sharing request is sent to the terminal of other Account Logons, also.
So, user can be ensured by setting resource-sharing authority resource file in oneself terminal can with or can not
To share to other people, so as to realize the shared of resource file on the premise of the individual privacy that adequately protects.
Step 103, receives the download information of the resource file that at least one terminal is uploaded, and the mesh logged in target account
Mark terminal sends the download information for receiving.
In force, after the download information for sending resource file to server, server can be with for the terminal of other accounts
Corresponding download information is received, the target terminal that then can be currently logged in target account sends the lower information carrying for receiving
Breath.
Optionally, can be with when target resource file identification is to that should have kind of file type, in resource file demand information
Include target resource file type, accordingly, the treatment of step 103 can be as follows:Receive many of at least one terminal upload
The download information of individual resource file, and the file type of multiple resource files is obtained, to the target terminal that target account is logged in, hair
Send the download information for meeting target resource file type for receiving.
In force, target resource can be included in the resource file demand information of the target account that server gets
File type, so, server is uploaded in the terminal for receiving other Account Logons, the corresponding money of target resource file identification
After the download information of source file, the file type of these resource files can be obtained.Specifically, can be by detecting above-mentioned download
The file suffixes name of information determines, or, terminal also uploads corresponding while the download information of resource file is uploaded
File type.Afterwards, the target terminal that server can currently be logged in target account, what transmission was received meets target resource
The download information of file type.For example, user searches for " Warcraft film " in terminal, server can get and include target
Resource file is designated " Warcraft ", and file type is the resource file demand information of " film ", and server can be by " evil spirit afterwards
Beast " (target resource file identification) is sent to the terminal of other Account Logons, and then terminal can upload " Warcraft " to server
The download information of corresponding multiple resource files, server picks out the resource for meeting " film " this file type wherein again
The download information of file, and send it to target terminal.It is understood that server can also be stepped on directly to other accounts
It is the resource file sharing request of " Warcraft film " that the terminal of record sends target resource file identification, subsequent treatment and step 102,
103 is identical.
So, user can be accurately obtained the download information of the resource file of the file type of oneself needs, so as to obtain
The download information accuracy got is higher.
Optionally, after the download information of multiple resource files of terminal upload is received, user can wherein voluntarily
The desired download information of selection, accordingly, the treatment of step 102 can be as follows:Receive multiple moneys of at least one terminal upload
The download information of source file, is ranked up according to predetermined order rule to the download information of multiple resource files, generation resource text
Part list, and the target terminal logged in target account sends resource file list, is sent according to the target terminal for receiving
The acquisition request of target resource file, the download information of target resource file is sent to target terminal.
In force, server, can after the download information of multiple resource files of at least one terminal upload is received
These download informations are ranked up with according to predetermined order rule, so that resource file list is generated, specifically, predetermined order
Rule can be according to update time-sequencing or according to file size sequence or be according to account relational degree taxis etc..Separately
Outward, it is also possible to which the download information of resource file is classified according to default classifying rules, and in resource file list add
Classification feature, specifically, default classifying rules can be classified according to file type, or classifies according to source terminal, or
Person is according to terminal seat region class etc..Afterwards, the resource file list of generation can be sent to target account by server
The current target terminal for logging in.Target terminal can be received and show above-mentioned resource file list, and user then can be in resource text
The target resource file for wanting to obtain is selected in part list, and clicks on determination button, mesh is received such that it is able to trigger server
The acquisition request of the target resource file that mark terminal sends, then server can be to target terminal transmission target resource file
Download information.
So, user can select the download information of best resource file in multiple download informations, can be effective
The quality and user satisfaction of the resource file that raising gets.
Optionally, user can set the trigger event of the download information for receiving resource file, accordingly, step 103
Treatment can be as follows:The download information of the resource file of at least one terminal upload is received, and satisfaction is default to be triggered when detecting
During condition, the target terminal logged in target account sends the download information for receiving.
In force, user can set the trigger condition of the download information for receiving resource file, for example, only when terminal connects
Received when connecing wireless network, or only received when terminal is in holding state, or only receive after 10 points at night etc., this
Sample, server can keep in these download informations after the download information of resource file of at least one terminal upload is received,
When detect meet preset trigger condition when, target terminal that server then can currently be logged in target account sends and receives
Download information.
So, user can get the download information of resource file under conditions of oneself setting is met, and improve and obtain
Take convenience and the flexibility of resource file.
Optionally, after server receives the download information of resource file, the download information, accordingly, phase can be stored
Pass treatment can be as follows:The download information of storage resource file, when getting the money that includes target resource file identification again
During source file demand information, to the terminal of the Account Logon belonging to resource file demand information, the lower information carrying of resource file is sent
Breath.
In force, server, can be with after the download information of resource file of at least one terminal upload is received
By the storage corresponding with the download information of resource file of target resource file identification, that is, generate resource file mark and download information
Corresponding relation, so, when the resource file demand information for including target resource file identification is got again, can be upper
State and search in corresponding relation the corresponding download information of target resource that file identification, such that it is able to resource file demand information institute
The terminal that the account of category is currently logged in, sends the download information of resource file.
So, the download information of the resource file that server will directly can have been stored is sent to the use of corresponding demand
Family, the end without repeating from other Account Logons obtains identical resource file.
In the embodiment of the present disclosure, the resource file demand information of target account is obtained, included in resource file demand information
Target resource file identification, to the terminal of other Account Logons outside target account, transmission carries target resource files-designated
The resource file sharing request of knowledge, wherein, resource file sharing request is detecting the target resource that is stored with for requesting terminal
The download information of resource file is uploaded during the corresponding resource file of file identification, the download information of resource file includes resource file
Content-data or resource file download address, receive at least one terminal upload resource file download information, and
The target terminal logged in target account sends the download information for receiving.So, when user needs to obtain certain resource file
When, corresponding download information can be directly obtained from other users by server, may then pass through download information and obtain
Resource file is taken, so, the efficiency for obtaining resource file can be improved.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of device for obtaining resource file, such as Fig. 3 institutes
Show, the device includes:
Acquisition module 301, the resource file demand information for obtaining target account, in the resource file demand information
Comprising target resource file identification;
First sending module 302, for the terminal to other Account Logons outside the target account, transmission is carried
The resource file sharing request of the target resource file identification, wherein, the resource file sharing request is used to ask described
Terminal uploads the download of the resource file when the corresponding resource file of the target resource file identification that is stored with is detected
Information, the download information of the resource file includes the download ground of the content-data of the resource file or the resource file
Location;
Receiver module 303, the download information for receiving the resource file that terminal described at least one is uploaded, and to
The target terminal that the target account is logged in sends the download information for receiving.
Optionally, the acquisition module 301, is used for:
According to the accounts information of the third-party application account bound with the target account, the money of the target account is obtained
Source file demand information;Or,
The historical search information of the terminal logged according to the target account, the resource file for obtaining the target account is needed
Seek information;Or,
The resource file for obtaining the terminal transmission that the target account is logged in obtains the resource file demand carried in request
Information.
Optionally, target resource file type is also included in the resource file demand information;
As shown in figure 4, the receiver module 303, including:
Receiving submodule 3031, the download information for receiving multiple resource files that terminal described at least one is uploaded,
And obtain the file type of the multiple resource file;
First sending submodule 3032, for the target terminal logged in the target account, what transmission was received meets
The download information of the target resource file type.
Optionally, as shown in figure 5, the receiver module 303, including:
Sorting sub-module 3033, the download information for receiving multiple resource files that terminal described at least one is uploaded,
The download information of the multiple resource file is ranked up according to predetermined order rule, generates resource file list, and to institute
The target terminal for stating target account login sends the resource file list;
Second sending submodule 3034, for obtaining for the target resource file according to the target terminal transmission for receiving
Request is taken, the download information of the target resource file is sent to the target terminal.
Optionally, the receiver module 303, is used for:
The download information of the resource file that terminal described at least one is uploaded is received, and satisfaction is default to be touched when detecting
During clockwork spring part, the target terminal logged in the target account sends the download information for receiving.
Optionally, first sending module 302, is used for:
The terminal of other Account Logons opened to outside the target account, resource-sharing authority, sends and carries
There is the resource file sharing request of the target resource file identification.
Optionally, as shown in fig. 6, described device also includes:
Memory module 304, the download information for storing the resource file;
Second sending module 305, for ought again get the resource file for including the target resource file identification
During demand information, to the terminal of the Account Logon belonging to the resource file demand information, the download of the resource file is sent
Information.
In the embodiment of the present disclosure, the resource file demand information of target account is obtained, included in resource file demand information
Target resource file identification, to the terminal of other Account Logons outside target account, transmission carries target resource files-designated
The resource file sharing request of knowledge, wherein, resource file sharing request is detecting the target resource that is stored with for requesting terminal
The download information of resource file is uploaded during the corresponding resource file of file identification, the download information of resource file includes resource file
Content-data or resource file download address, receive at least one terminal upload resource file download information, and
The target terminal logged in target account sends the download information for receiving.So, when user needs to obtain certain resource file
When, corresponding download information can be directly obtained from other users by server, may then pass through download information and obtain
Resource file is taken, so, the efficiency for obtaining resource file can be improved.
It should be noted that:Above-described embodiment provide acquisition resource file device obtain resource file when, only with
The division of above-mentioned each functional module is carried out for example, in practical application, as needed can distribute by not above-mentioned functions
With functional module complete, will the internal structure of device be divided into different functional modules, to complete whole described above
Or partial function.In addition, the method implementation of the device and acquisition resource file of the acquisition resource file that above-described embodiment is provided
Example belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
The embodiment of the present disclosure, additionally provides a kind of device for obtaining resource file, and described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The resource file demand information of target account is obtained, target resource file is included in the resource file demand information
Mark;
To the terminal of other Account Logons outside the target account, transmission carries the target resource file identification
Resource file sharing request, wherein, the resource file sharing request be used for ask the terminal detecting storage
The download information of the resource file is uploaded when stating the corresponding resource file of target resource file identification, under the resource file
Information carrying breath includes the download address of the content-data of the resource file or the resource file;
The download information of the resource file that terminal described at least one is uploaded is received, and is logged in the target account
Target terminal send the download information that receives.
In the embodiment of the present disclosure, the resource file demand information of target account is obtained, included in resource file demand information
Target resource file identification, to the terminal of other Account Logons outside target account, transmission carries target resource files-designated
The resource file sharing request of knowledge, wherein, resource file sharing request is detecting the target resource that is stored with for requesting terminal
The download information of resource file is uploaded during the corresponding resource file of file identification, the download information of resource file includes resource file
Content-data or resource file download address, receive at least one terminal upload resource file download information, and
The target terminal logged in target account sends the download information for receiving.So, when user needs to obtain certain resource file
When, corresponding download information can be directly obtained from other users by server, may then pass through download information and obtain
Resource file is taken, so, the efficiency for obtaining resource file can be improved.
A kind of structural representation of server that the another exemplary embodiment of the disclosure is also illustrated, reference picture 7, server
700 include processing assembly 722, and it further includes one or more processors, and the memory as representated by memory 732
Resource, can be by the instruction of the execution of processing component 722, such as application program for storing.The application journey stored in memory 732
Sequence can include it is one or more each correspond to the module of one group of instruction.Additionally, processing assembly 722 is configured as
Execute instruction, the method to perform above-mentioned acquisition resource file.
Server 700 can also include that a power supply module 726 is configured as the power management of execute server 700, one
Individual wired or wireless network interface 750 is configured as server 700 being connected to network, and input and output (I/O) interface
758.Server 700 can operate the operating system in memory 732, such as Windows ServerTM, Mac based on storage
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Server 700 can include memory, and one or more than one program, one of them or one
Procedure above is stored in memory, and is configured to one or one by one or more than one computing device
Procedure above includes the instruction for carrying out following operation:
The resource file demand information of target account is obtained, target resource file is included in the resource file demand information
Mark;
To the terminal of other Account Logons outside the target account, transmission carries the target resource file identification
Resource file sharing request, wherein, the resource file sharing request be used for ask the terminal detecting storage
The download information of the resource file is uploaded when stating the corresponding resource file of target resource file identification, under the resource file
Information carrying breath includes the download address of the content-data of the resource file or the resource file;
The download information of the resource file that terminal described at least one is uploaded is received, and is logged in the target account
Target terminal send the download information that receives.
Optionally, the resource file demand information for obtaining target account, including:
According to the accounts information of the third-party application account bound with the target account, the money of the target account is obtained
Source file demand information;Or,
The historical search information of the terminal logged according to the target account, the resource file for obtaining the target account is needed
Seek information;Or,
The resource file for obtaining the terminal transmission that the target account is logged in obtains the resource file demand carried in request
Information.
Optionally, target resource file type is also included in the resource file demand information;
The download information for receiving the resource file that terminal described at least one is uploaded, and to the target account
The target terminal of login sends the download information for receiving, including:
The download information of multiple resource files that terminal described at least one is uploaded is received, and obtains the multiple resource text
The file type of part;
To the target terminal that the target account is logged in, what transmission was received meets under the target resource file type
Information carrying ceases.
Optionally, the download information for receiving the resource file that terminal described at least one is uploaded, and to described
The target terminal that target account is logged in sends the download information for receiving, including:
The download information of multiple resource files that terminal described at least one is uploaded is received, according to predetermined order rule to institute
The download information for stating multiple resource files is ranked up, and generates resource file list, and the target logged in the target account
Terminal sends the resource file list;
The acquisition request of the target resource file sent according to the target terminal for receiving, sends out to the target terminal
Send the download information of the target resource file.
Optionally, the download information for receiving the resource file that terminal described at least one is uploaded, and to described
The target terminal that target account is logged in sends the download information for receiving, including:
The download information of the resource file that terminal described at least one is uploaded is received, and satisfaction is default to be touched when detecting
During clockwork spring part, the target terminal logged in the target account sends the download information for receiving.
Optionally, the terminal of other Account Logons to outside the target account, transmission carries the target
The resource file sharing request of resource file mark, including:
The terminal of other Account Logons opened to outside the target account, resource-sharing authority, sends and carries
There is the resource file sharing request of the target resource file identification.
Optionally, after the download information for receiving the resource file that terminal described at least one is uploaded, also wrap
Include:
Store the download information of the resource file;
When the resource file demand information for including the target resource file identification is got again, to the resource
The terminal of the Account Logon belonging to file demand information, sends the download information of the resource file.
In the embodiment of the present disclosure, the resource file demand information of target account is obtained, included in resource file demand information
Target resource file identification, to the terminal of other Account Logons outside target account, transmission carries target resource files-designated
The resource file sharing request of knowledge, wherein, resource file sharing request is detecting the target resource that is stored with for requesting terminal
The download information of resource file is uploaded during the corresponding resource file of file identification, the download information of resource file includes resource file
Content-data or resource file download address, receive at least one terminal upload resource file download information, and
The target terminal logged in target account sends the download information for receiving.So, when user needs to obtain certain resource file
When, corresponding download information can be directly obtained from other users by server, may then pass through download information and obtain
Resource file is taken, so, the efficiency for obtaining resource file can be improved.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.
Claims (15)
1. it is a kind of obtain resource file method, it is characterised in that methods described includes:
The resource file demand information of target account is obtained, target resource files-designated is included in the resource file demand information
Know;
To the terminal of other Account Logons outside the target account, transmission carries the money of the target resource file identification
Source file sharing request, wherein, the resource file sharing request is used to ask the terminal detecting the mesh that is stored with
Mark resource file uploads the download information of the resource file, the lower information carrying of the resource file when identifying corresponding resource file
Breath includes the download address of the content-data of the resource file or the resource file;
The download information of the resource file that terminal described at least one is uploaded is received, and the mesh logged in the target account
Mark terminal sends the download information for receiving.
2. method according to claim 1, it is characterised in that the resource file demand information of the acquisition target account,
Including:
According to the accounts information of the third-party application account bound with the target account, the resource text of the target account is obtained
Part demand information;Or,
The historical search information of the terminal logged according to the target account, obtains the resource file demand letter of the target account
Breath;Or,
The resource file for obtaining the terminal transmission that the target account is logged in obtains the resource file demand information carried in request.
3. method according to claim 1, it is characterised in that target resource is also included in the resource file demand information
File type;
The download information for receiving the resource file that terminal described at least one is uploaded, and logged in the target account
Target terminal send the download information that receives, including:
The download information of multiple resource files that terminal described at least one is uploaded is received, and obtains the multiple resource file
File type;
To the lower information carrying for meeting the target resource file type that the target terminal that the target account is logged in, transmission are received
Breath.
4. method according to claim 1, it is characterised in that the money that terminal described in the reception at least one is uploaded
The download information of source file, and the target terminal logged in the target account sends the download information for receiving, including:
The download information of multiple resource files that terminal described at least one is uploaded is received, according to predetermined order rule to described many
The download information of individual resource file is ranked up, and generates resource file list, and the target terminal logged in the target account
Send the resource file list;
The acquisition request of the target resource file sent according to the target terminal for receiving, institute is sent to the target terminal
State the download information of target resource file.
5. method according to claim 1, it is characterised in that the money that terminal described in the reception at least one is uploaded
The download information of source file, and the target terminal logged in the target account sends the download information for receiving, including:
The download information of the resource file that terminal described at least one is uploaded is received, and triggering bar is preset when satisfaction is detected
During part, the target terminal logged in the target account sends the download information for receiving.
6. method according to claim 1, it is characterised in that described other Account Logons to outside the target account
Terminal, transmission carries the resource file sharing request of the target resource file identification, including:
The terminal of other Account Logons opened to outside the target account, resource-sharing authority, sends and carries
State the resource file sharing request of target resource file identification.
7. method according to claim 1, it is characterised in that the money that terminal described in the reception at least one is uploaded
After the download information of source file, also include:
Store the download information of the resource file;
When the resource file demand information for including the target resource file identification is got again, to the resource file
The terminal of the Account Logon belonging to demand information, sends the download information of the resource file.
8. it is a kind of obtain resource file device, it is characterised in that described device includes:
Acquisition module, the resource file demand information for obtaining target account includes mesh in the resource file demand information
Mark resource file mark;
First sending module, for the terminal to other Account Logons outside the target account, transmission carries the mesh
The resource file sharing request of mark resource file mark, wherein, the resource file sharing request is used to ask the terminal to exist
The download information of the resource file, institute are uploaded when detecting the corresponding resource file of the target resource file identification that is stored with
Stating the download information of resource file includes the content-data of the resource file or the download address of the resource file;
Receiver module, the download information for receiving the resource file that terminal described at least one is uploaded, and to the mesh
The target terminal for marking Account Logon sends the download information for receiving.
9. device according to claim 8, it is characterised in that the acquisition module, is used for:
According to the accounts information of the third-party application account bound with the target account, the resource text of the target account is obtained
Part demand information;Or,
The historical search information of the terminal logged according to the target account, obtains the resource file demand letter of the target account
Breath;Or,
The resource file for obtaining the terminal transmission that the target account is logged in obtains the resource file demand information carried in request.
10. device according to claim 8, it is characterised in that also provided comprising target in the resource file demand information
Source file type;
The receiver module, including:
Receiving submodule, for receiving the download information of multiple resource files that terminal described at least one is uploaded, and obtains institute
State the file type of multiple resource files;
First sending submodule, for the target terminal logged in the target account, what transmission was received meets the target
The download information of resource file type.
11. devices according to claim 8, it is characterised in that the receiver module, including:
Sorting sub-module, the download information for receiving multiple resource files that terminal described at least one is uploaded, according to default
Ordering rule is ranked up to the download information of the multiple resource file, generates resource file list, and to the target account
The target terminal that family logs in sends the resource file list;
Second sending submodule, the acquisition request of the target resource file for being sent according to the target terminal for receiving,
The download information of the target resource file is sent to the target terminal.
12. devices according to claim 8, it is characterised in that the receiver module, are used for:
The download information of the resource file that terminal described at least one is uploaded is received, and triggering bar is preset when satisfaction is detected
During part, the target terminal logged in the target account sends the download information for receiving.
13. devices according to claim 8, it is characterised in that first sending module, are used for:
The terminal of other Account Logons opened to outside the target account, resource-sharing authority, sends and carries
State the resource file sharing request of target resource file identification.
14. devices according to claim 8, it is characterised in that described device also includes:
Memory module, the download information for storing the resource file;
Second sending module, the resource file demand information of the target resource file identification is included for that ought get again
When, to the terminal of the Account Logon belonging to the resource file demand information, send the download information of the resource file.
A kind of 15. devices for obtaining resource file, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The resource file demand information of target account is obtained, target resource files-designated is included in the resource file demand information
Know;
To the terminal of other Account Logons outside the target account, transmission carries the money of the target resource file identification
Source file sharing request, wherein, the resource file sharing request is used to ask the terminal detecting the mesh that is stored with
Mark resource file uploads the download information of the resource file, the lower information carrying of the resource file when identifying corresponding resource file
Breath includes the download address of the content-data of the resource file or the resource file;
The download information of the resource file that terminal described at least one is uploaded is received, and the mesh logged in the target account
Mark terminal sends the download information for receiving.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611087646.3A CN106776917B (en) | 2016-11-30 | 2016-11-30 | Method and device for acquiring resource file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611087646.3A CN106776917B (en) | 2016-11-30 | 2016-11-30 | Method and device for acquiring resource file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106776917A true CN106776917A (en) | 2017-05-31 |
CN106776917B CN106776917B (en) | 2021-03-02 |
Family
ID=58914046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611087646.3A Active CN106776917B (en) | 2016-11-30 | 2016-11-30 | Method and device for acquiring resource file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776917B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107734049A (en) * | 2017-10-31 | 2018-02-23 | 维沃移动通信有限公司 | Method for down loading, device and the mobile terminal of Internet resources |
CN108270786A (en) * | 2018-01-16 | 2018-07-10 | 广东欧珀移动通信有限公司 | Right management method, device, storage medium and the intelligent terminal of application program |
CN110851271A (en) * | 2019-10-28 | 2020-02-28 | 北京梧桐车联科技有限责任公司 | Resource sharing method and device and storage medium |
CN111479250A (en) * | 2020-03-31 | 2020-07-31 | 歌尔科技有限公司 | File sharing method, device and system and terminal equipment |
CN112104741A (en) * | 2020-09-21 | 2020-12-18 | 北京指掌易科技有限公司 | Resource sharing method, device, system and gateway controller |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102333106A (en) * | 2010-07-13 | 2012-01-25 | 中国移动通信集团公司 | Peer-to-peer (P2P) system resource scheduling method and device and system thereof |
CN104811485A (en) * | 2015-04-10 | 2015-07-29 | 深圳市金立通信设备有限公司 | Resource sharing method |
US20150254286A1 (en) * | 2011-07-01 | 2015-09-10 | Salesforce.Com, Inc. | Truncating data associated with objects in a multi-tenant database |
CN105160009A (en) * | 2015-09-22 | 2015-12-16 | 小米科技有限责任公司 | Resource downloading method and apparatus |
-
2016
- 2016-11-30 CN CN201611087646.3A patent/CN106776917B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102333106A (en) * | 2010-07-13 | 2012-01-25 | 中国移动通信集团公司 | Peer-to-peer (P2P) system resource scheduling method and device and system thereof |
US20150254286A1 (en) * | 2011-07-01 | 2015-09-10 | Salesforce.Com, Inc. | Truncating data associated with objects in a multi-tenant database |
CN104811485A (en) * | 2015-04-10 | 2015-07-29 | 深圳市金立通信设备有限公司 | Resource sharing method |
CN105160009A (en) * | 2015-09-22 | 2015-12-16 | 小米科技有限责任公司 | Resource downloading method and apparatus |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107734049A (en) * | 2017-10-31 | 2018-02-23 | 维沃移动通信有限公司 | Method for down loading, device and the mobile terminal of Internet resources |
CN107734049B (en) * | 2017-10-31 | 2020-10-27 | 维沃移动通信有限公司 | Network resource downloading method and device and mobile terminal |
CN108270786A (en) * | 2018-01-16 | 2018-07-10 | 广东欧珀移动通信有限公司 | Right management method, device, storage medium and the intelligent terminal of application program |
CN108270786B (en) * | 2018-01-16 | 2021-02-26 | Oppo广东移动通信有限公司 | Authority management method and device of application program, storage medium and intelligent terminal |
CN110851271A (en) * | 2019-10-28 | 2020-02-28 | 北京梧桐车联科技有限责任公司 | Resource sharing method and device and storage medium |
CN111479250A (en) * | 2020-03-31 | 2020-07-31 | 歌尔科技有限公司 | File sharing method, device and system and terminal equipment |
CN112104741A (en) * | 2020-09-21 | 2020-12-18 | 北京指掌易科技有限公司 | Resource sharing method, device, system and gateway controller |
CN112104741B (en) * | 2020-09-21 | 2024-02-02 | 北京指掌易科技有限公司 | Resource sharing method, device and system and gateway controller |
Also Published As
Publication number | Publication date |
---|---|
CN106776917B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106776917A (en) | A kind of method and apparatus for obtaining resource file | |
US9692840B2 (en) | Systems and methods for monitoring and applying statistical data related to shareable links associated with content items stored in an online content management service | |
US9690910B2 (en) | Systems and methods for monitoring and applying statistical data related to shareable links associated with content items stored in an online content management service | |
CN105786993B (en) | functional plug-in recommendation method and device for application program | |
WO2017181613A1 (en) | Search response method, device and system | |
CN103944944B (en) | Method, electronic equipment and the system of sharing web page link | |
US20110145258A1 (en) | Method and apparatus for tagging media items | |
CN106663107A (en) | Methods, systems and media for associating multiple users with a media presentation device | |
US10037316B2 (en) | Selective capture of incoming email messages for diagnostic analysis | |
US20130239014A1 (en) | File transfer methodology for a desktop sharing system | |
US20180095772A1 (en) | Method and apparatus for automatic processing of service requests on an electronic device | |
CN107872534B (en) | Information pushing method and device, server and readable storage medium | |
CN106851343A (en) | For the method and apparatus of net cast | |
US10372512B2 (en) | Method and apparatus for automatic processing of service requests on an electronic device | |
CN107666515B (en) | Image processing method and device, computer equipment, computer readable storage medium | |
WO2014184745A1 (en) | Automatic website generation | |
CN104090899A (en) | Method and device for feeding back display content information | |
CN107181755A (en) | A kind of personal identification method of office platform, apparatus and system | |
CN106572095A (en) | Account registration method, device and system | |
JP2009145549A (en) | System, method and program for providing advertising information | |
CN105243100B (en) | Map rendering method provides the method and device of post-processing object information | |
JP6802190B2 (en) | Technology for dynamic zero-rate server clusters | |
US20170374489A1 (en) | Mobile ghosting | |
WO2017202208A1 (en) | Credit investigation characteristic acquisition method and device | |
CN107623721A (en) | 3D Touch function menus generation methods and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |