CN104811485A - Resource sharing method - Google Patents

Resource sharing method Download PDF

Info

Publication number
CN104811485A
CN104811485A CN201510166254.5A CN201510166254A CN104811485A CN 104811485 A CN104811485 A CN 104811485A CN 201510166254 A CN201510166254 A CN 201510166254A CN 104811485 A CN104811485 A CN 104811485A
Authority
CN
China
Prior art keywords
target resource
resource
described target
fragment
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510166254.5A
Other languages
Chinese (zh)
Inventor
秦凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510166254.5A priority Critical patent/CN104811485A/en
Publication of CN104811485A publication Critical patent/CN104811485A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a resource sharing method. The method comprises the steps of receiving a resource section sharing request transmitted by a first terminal, wherein the resource section sharing request carries a link address of the target source, and the start-stop positioning information of the target resource section to be shared; acquiring the target resource according to the link address of the target resource; intercepting the target resource to obtain the target resource section according to the start-stop positioning information of the target resource section; generating the link address of the target resource section; sending the link address of the target resource section to the first terminal; sharing the link address of the target resource section by the first terminal through social application. With the adoption of the method, the traffic resource consumption can be reduced, the personalized customizing of the resource sharing is improved, and the user experience is increased.

Description

A kind of resource sharing method
Technical field
The present invention relates to communication technical field, particularly relate to a kind of resource sharing method.
Background technology
Along with the development of Internet communication technology, all kinds of social software arises at the historic moment, as QQ, micro-letter and microblogging etc.People are when using social software to meet daily communication requirements, the one side of oneself personalization can also be represented by it, as delivered individualized signature and ownness, in addition, the sharing function that user can also be provided by social software shares the chained address of music, article, news and the video oneself liked to realize resource sharing etc.In the application scenarios of reality, user is when using the sharing function of social software, often meet with such scene: in a lengthy resource, such as a film assets or a piece of music resource, only some is elite, it is the interested part of user, but in prior art, user uses the sharing function of social software when carrying out this resource sharing, complete resource can only be shared, other users are made to need the whole resource of buffer memory just can view essential part in this resource, waste floating resources and waste user time.
Summary of the invention
Embodiments provide a kind of resource sharing method, floating resources consumption can be reduced, strengthen the personalized customization of resource sharing, improve Consumer's Experience.
Embodiment of the present invention first aspect provides a kind of resource sharing method, and described method comprises:
The resource segment receiving first terminal transmission shares request, and described resource segment is shared request and carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared;
Described target resource is obtained according to the chained address of described target resource;
According to the start-stop locating information of described target resource fragment, intercept described target resource to obtain described target resource fragment;
Generate the chained address of described target resource fragment, and the chained address of described target resource fragment is sent to described first terminal, share the chained address of described target resource fragment to make described first terminal by social application.
Accordingly, embodiment of the present invention second aspect provides a kind of resource sharing method, and described method comprises:
Receive resource segment share confirm instruction time, send resource segment to the second terminal and share request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, to make described second terminal according to the start-stop locating information of the chained address of described target resource and described target resource fragment, generate the chained address of described target resource fragment;
Receive the chained address of the described target resource fragment that described second terminal sends;
The chained address of described target resource fragment is shared by social activity application.
The embodiment of the present invention, the resource segment that can receive first terminal transmission shares request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, also can obtain described target resource according to the chained address of described target resource, according to the start-stop locating information of described target resource fragment, intercept described target resource to obtain described target resource fragment, and then generate the chained address of described target resource fragment and send to described first terminal, the chained address of described target resource fragment is shared by social application to make described first terminal, floating resources consumption can be reduced, strengthen the personalized customization of resource sharing, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of resource sharing method schematic flow sheet that the embodiment of the present invention provides;
Fig. 2 is the another kind of resource sharing method schematic flow sheet that the embodiment of the present invention provides;
Fig. 3 is another resource sharing method schematic flow sheet that the embodiment of the present invention provides;
Fig. 4 is a kind of terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 5 is the another kind of terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 6 is the scalar/vector structural representation that the embodiment of the present invention provides;
Fig. 7 is the resource acquisition cellular construction schematic diagram that the embodiment of the present invention provides;
Fig. 8 is a kind of resource sharing system configuration schematic diagram that the embodiment of the present invention provides;
Fig. 9 is another terminal structure schematic diagram that the embodiment of the present invention provides;
Figure 10 is another terminal structure schematic diagram that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In specific implementation, terminal mentioned in the embodiment of the present invention includes but not limited to: the electronic equipment such as smart mobile phone (as Android phone, IOS mobile phone), panel computer, notebook computer, palmtop PC.
A kind of resource sharing method provided the embodiment of the present invention below in conjunction with Fig. 1 to Figure 10 and terminal are specifically described.
See Fig. 1, be a kind of resource sharing method schematic flow sheet that the embodiment of the present invention provides, resource sharing method as shown in the figure can comprise the following steps:
S101, the resource segment receiving first terminal transmission shares request, and described resource segment is shared request and carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared.
In specific implementation, first terminal can provide resource sharing mode option, and (client that specifically can be in first terminal provides resource sharing mode option, such as client is a certain player, carry out just can providing this resource sharing mode option in the menu facility hurdle of broadcast window when video or audio frequency are play at this player), comprise the complete mode of sharing of resource and share mode with resource segment, when user selects resource segment to share mode, enter resource segment and choose the stage and then select resource segment to be shared.
Such as target resource is one section of music or one section of video, enter after resource segment chooses the stage, first terminal can provide a time progress bar, time started and the end time of the resource segment that user by selecting is to be shared determine target resource fragment to be shared, and the time started of resource segment wherein to be shared and end time are the start-stop locating information of target resource fragment.
In the present embodiment, when first terminal receives the resource segment determination instruction of input, the start-stop locating information that just can obtain target resource fragment shares request with the chained address of target resource as resource segment, send it to corresponding the second terminal (the start-stop locating information of client acquisition target resource fragment that specifically can be on first terminal is shared request with the chained address of target resource as resource segment and is sent to second terminal corresponding with this client), the second terminal mentioned in the present embodiment is for can be used as server, the resource segment that process first terminal is submitted to shares request.Step S102 ~ S104 is performed to generate the chained address of target resource fragment when the second terminal receives when this resource segment shares request.
S102, obtains described target resource according to the chained address of described target resource.
In specific implementation, chained address is specially URL (Uniform Resource Locator, URL(uniform resource locator)), it is the address of the resource of standard on internet, be made up of parts such as protocol type, server name, port numbers, path and filenames, the terminal in internet is removed the server at access resources place by the URL of resource and can have access to this resource according to file path and filename after server is allowed.
Further, step S102 can specifically comprise: the chained address of resolving described target resource, obtain the address of described target resource place server, file path and filename, according to the address of described target resource place server, file path and filename, search described target resource.
S103, according to the start-stop locating information of described target resource fragment, intercepts described target resource to obtain described target resource fragment.
After getting target resource, the start-stop locating information just can shared according to resource segment in the target resource fragment in request carries out intercept operation to this target resource, and the resource segment that acquisition user specifies stores.
Optionally, the resource segment described in step S101 shares the targeted compression format information that described target resource fragment is carried in request, and step S103 also comprises: according to described targeted compression format information, and described target resource fragment is treated to targeted compression form.
In specific implementation, the memory space taken of some resource is larger, therefore the compressed format option of user resources can be supplied to after first terminal target approach resource segment chooses the stage, such as target resource is one section of video, user's smooth preferential (video compression format such as 3gp, flv can be comprised) can be supplied to, preferential (can comprise the video compression format such as rmvb, mkv) option of quality, selects the smooth preferential compressible target resource fragment of user to save memory space.After user chooses compressed format option, also can choose compressed format further.First terminal receives the resource segment determination instruction of input, obtain compressed format information and the part that it can be used as resource segment to share request sends to the second terminal with the start-stop locating information of target resource fragment together with the chained address of target resource, the second terminal according to the start-stop locating information of target resource fragment target resource carried out intercept operation obtain target resource fragment after just can according to this compressed format information by the target resource fragment boil down to targeted compression form of intercepting after store.
Optionally, before execution step S103, described method also comprises: judge whether the capacity rate value between described target resource fragment and described target resource is less than or equal to predetermined threshold value, when judged result is yes, performs step S103; When judged result is no, returns to described first terminal and do not accept described resource segment and share solicited message.
In specific implementation, each resource segment share request process successfully after, second terminal produces a resource segment and stores, in order to save the storage resources of the second terminal, before step S103, first can judge that target resource fragment accounts for the capacity rate value of target resource, just step S103 is performed when judged result is for being, if judged result is no, second terminal returns to first terminal and does not accept described resource segment and share solicited message, share request to reject some undesirable resource segment, and then save the storage resources of the second terminal.
S104, generates the chained address of described target resource fragment, and the chained address of described target resource fragment is sent to described first terminal, shares the chained address of described target resource fragment to make described first terminal by social application.
In specific implementation, after the second terminal storage target resource fragment, the chained address of target resource fragment can be generated according to the address of local terminal and the target resource fragment file access path in local terminal and filename, and the chained address of this target resource fragment is shared to be applied by social activity by the first terminal chained address of this target resource fragment being issued to client place, user is for checking that this target resource fragment only need be opened this chained address and accesses second terminal at this target resource fragment place and download this target resource fragment.
Further, the chained address generating described target resource fragment in step S104 specifically comprises: the address obtaining the file path of described target resource fragment in local terminal, filename and local terminal; According to the address of the file path of described target resource fragment in local terminal, filename and local terminal, generate the chained address of described target resource fragment.
In specific implementation, chained address is specially URL, it is the address of the resource of standard on internet, be made up of parts such as protocol type, server name (server address), port numbers, path and filenames, the terminal in internet is removed the server at access resources place by the URL of resource and can have access to this resource according to file path and filename after server is allowed.Local terminal address includes but not limited to: the MAC Address of local terminal or the network address.
The embodiment of the present invention, the resource segment that can receive first terminal transmission shares request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, also can obtain described target resource according to the chained address of described target resource, according to the start-stop locating information of described target resource fragment, intercept described target resource to obtain described target resource fragment, and then generate the chained address of described target resource fragment and send to described first terminal to share the chained address of described target resource fragment to make described first terminal by social application, floating resources consumption can be reduced, strengthen the personalized customization of resource sharing, improve Consumer's Experience.
See Fig. 2, be the another kind of resource sharing method schematic flow sheet that the embodiment of the present invention provides, resource sharing method as shown in the figure can comprise the following steps:
S201, receive resource segment share confirm instruction time, send resource segment to the second terminal and share request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, to make described second terminal according to the start-stop locating information of the chained address of described target resource and described target resource fragment, generate the chained address of described target resource fragment.
This step can step S101 in embodiment shown in Figure 1, repeats no more herein.
Optionally, before execution step S201, described method also comprises: receive information segment and choose instruction, determine the start-stop locating information of described information segment in described target resource according to the information segment chosen.
In specific implementation, first terminal is supplied to user resources fragment and shares mode, select after this resource segment shares mode user, enter resource segment and choose the start-stop locating information that the stage just can determine target resource fragment in this stage, such as target resource is one section of document files, enter after resource segment chooses the stage, be supplied to user one document preview window user and can select text fragments wherein, the original position of wherein user-selected text fragments and the positional information of end position in entire chapter document are the start-stop locating information of target resource fragment.
Optionally, before execution step S201, described method also comprises: receive resource sharing mode and confirm instruction, judge whether described resource sharing mode is that resource segment shares mode, when judged result is yes, receive described in execution resource segment share confirm instruction time, to second terminal send resource segment share request step; When judged result is no, obtain the chained address of described target resource, and share the chained address of described target resource by social application.
Further, resource segment described in step S201 shares the targeted compression format information that described target resource fragment is carried in request, to make described second terminal according to described targeted compression format information, described target resource fragment is treated to targeted compression form.
In specific implementation, the memory space taken of some resource is larger, therefore the compressed format option of user resources can be supplied to after first terminal target approach resource segment chooses the stage, such as target resource is one section of video, user's smooth preferential (video compression format such as 3gp, flv can be comprised) can be supplied to, preferential (can the video compression format such as rmvb, mkv be comprised) option of quality, select user smooth preferential after the second terminal just compressible target resource fragment be smooth preferential in the compressed format of specifying to save the second terminal storage space.
S202, receives the chained address of the described target resource fragment that described second terminal sends.
Second terminal just generates the chained address of target resource fragment after the resource segment having processed first terminal transmission shares request, and the chained address of this target resource fragment is returned to first terminal.
S203, shares the chained address of described target resource fragment by social activity application.
First terminal receives the second terminal back link address, and this chained address is shown in the application interface of this social software and shares by the interface of sharing just calling the social software waiting to share this chained address.Wherein, described social activity application includes but not limited to: the application such as personal space, interactive web site, forum.
Optionally, after performing step S203, described method also comprises: send information, has shared successfully to point out target resource fragment described in user.
Resource segment is shared request and is processed successfully, first terminal sends information (as display Word message " is shared successfully "), share successfully to point out the chained address of ownership goal resource segment, whether the application interface that user just need not jump to social software is again checked to complete and shares, can Consumer's Experience be improved.
The embodiment of the present invention, can when receiving resource segment and sharing confirmation instruction, send resource segment to the second terminal and share request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, to make described second terminal according to the start-stop locating information of the chained address of described target resource and described target resource fragment, generate the chained address of described target resource fragment, also can receive the chained address of the described target resource fragment that described second terminal sends, and then the chained address of described target resource fragment is shared by social application, floating resources consumption can be reduced, strengthen the personalized customization of resource sharing, improve Consumer's Experience.
See Fig. 3, be another resource sharing method schematic flow sheet that the embodiment of the present invention provides, resource sharing method as shown in the figure can comprise the following steps:
S301, first terminal receive resource segment share confirm instruction time, to second terminal send resource segment share request, described resource segment share request carry the chained address of target resource and the start-stop locating information of target resource fragment to be shared.
S302, the resource segment that described second terminal receives the transmission of described first terminal shares request, obtains described target resource according to the chained address of described target resource.
S303, described second terminal, according to the start-stop locating information of described target resource fragment, intercepts described target resource to obtain described target resource fragment.
S304, described second terminal generates the chained address of described target resource fragment.
S305, the chained address of described target resource fragment is sent to described first terminal by described second terminal.
S306, described first terminal receives the chained address of the described target resource fragment that described second terminal sends, and shares the chained address of described target resource fragment by social application.
Wherein, step S301 and step 306 can distinguish step S201 in embodiment shown in Figure 2 and step S203, step S302 ~ S305 can distinguish step S101 ~ S104 in embodiment shown in Figure 1, does not repeat them here.
The embodiment of the present invention, send resource segment by first terminal to the second terminal and share the request of carrying, described second terminal is shared after request processing target resource obtains target resource fragment according to described resource segment, the chained address of target resource fragment can be generated and send to first terminal to share, can make to check that the user of this target resource reduces floating resources consumption, enhance the personalized customization of resource sharing, improve Consumer's Experience.
See Fig. 4, a kind of terminal structure schematic diagram that the embodiment of the present invention provides, in the present embodiment as shown in the figure, terminal at least can comprise: receiving element 401, resource acquisition unit 402, resource cutting unit 403, scalar/vector 404 and transmitting element 405.
Receiving element 401, the resource segment sent for receiving first terminal shares request, and described resource segment is shared request and carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared.
In specific implementation, first terminal can provide resource sharing mode option, and (client that specifically can be in first terminal provides resource sharing mode option, such as client is a certain player, carry out just can providing this resource sharing mode option in the menu facility hurdle of broadcast window when video or audio frequency are play at this player), comprise the complete mode of sharing of resource and share mode with resource segment, when user selects resource segment to share mode, enter resource segment and choose the stage and then select resource segment to be shared.
Such as target resource is one section of music or one section of video, enter after resource segment chooses the stage, first terminal can provide a time progress bar, time started and the end time of the resource segment that user by selecting is to be shared determine target resource fragment to be shared, and the time started of resource segment wherein to be shared and end time are the start-stop locating information of target resource fragment.
In the present embodiment, when first terminal receives the resource segment determination instruction of input, just can obtain the start-stop locating information of target resource fragment and the chained address of target resource to share request as resource segment and send it to the second terminal corresponding with client (client be specially on first terminal obtain the start-stop locating information of target resource fragment and the chained address of target resource share request as resource segment be sent to the second terminal corresponding with this client), when the receiving element 401 of the second terminal receives when this resource segment shares request by resource acquisition unit 402, resource cutting unit 403 and scalar/vector 404 process this resource segment and share request with the chained address generating target resource fragment.
Resource acquisition unit 402, for obtaining described target resource according to the chained address of described target resource.
In specific implementation, chained address is specially URL, it is the address of the resource of standard on internet, be made up of parts such as protocol type, server name, port numbers, path and filenames, the terminal in internet is removed the server at access resources place by the URL of resource and can have access to this resource according to file path and filename after server is allowed.
Resource cutting unit 403, for the start-stop locating information according to described target resource fragment, intercepts described target resource to obtain described target resource fragment.
After resource acquisition unit 402 gets target resource, resource cutting unit 403 just can share the start-stop locating information in the target resource fragment in request according to resource segment, carry out intercept operation to this target resource, the resource segment that acquisition user specifies stores.
Scalar/vector 404, for generating the chained address of described target resource fragment.
In specific implementation, resource cutting unit 402 is after storage target resource fragment, scalar/vector 404 can generate the chained address of target resource fragment according to the address of the second terminal and target resource fragment at the file access path of the second terminal and filename, and by transmitting element 405, the chained address of this target resource fragment is issued to the first terminal at client place to be shared the chained address of this target resource fragment by social application.
Transmitting element 405, for the chained address of described target resource fragment is sent to described first terminal, shares the chained address of described target resource fragment to make described first terminal by social application.
Further, see Fig. 6 (Fig. 6 is the scalar/vector structural representation that the embodiment of the present invention provides), in another embodiment, described scalar/vector 404 specifically can comprise:
Acquiring unit 4401, for obtaining the address of the file path of described target resource fragment in local terminal, filename and local terminal.
Generation unit 4402, for generating the chained address of described target resource fragment according to the address of the file path of described target resource fragment in local terminal, filename and local terminal.
In specific implementation, chained address is specially URL, it is the address of the resource of standard on internet, be made up of parts such as protocol type, server name (server address), port numbers, path and filenames, the terminal in internet is removed the server at access resources place by the URL of resource and can have access to this resource according to file path and filename after server is allowed.
Further, see Fig. 7 (Fig. 7 is the resource acquisition cellular construction schematic diagram that the embodiment of the present invention provides), in another embodiment, described resource acquisition unit 402, specifically can comprise:
Address resolution unit 4201, for resolving the chained address of described target resource, obtains the address of described target resource place server, file path and filename.
Resource lookup unit 4202, for the address according to described target resource place server, file path and filename, searches described target resource.
In another embodiment, described resource segment shares the targeted compression format information that described target resource fragment is carried in request, accordingly, described terminal also comprises: format analysis processing unit 406, for the start-stop locating information of described resource cutting unit 403 according to described target resource fragment, intercept described target resource with after obtaining described target resource fragment, according to described targeted compression format information, described target resource fragment is treated to targeted compression form.
In specific implementation, the memory space taken of some resource is larger, therefore the compressed format option of user resources can be supplied to after first terminal target approach resource segment chooses the stage, such as target resource is one section of video, user's smooth preferential (video compression format such as 3gp, flv can be comprised) can be supplied to, preferential (can comprise the video compression format such as rmvb, mkv) option of quality, selects the smooth preferential compressible target resource fragment of user to save memory space.After user chooses compressed format option, also can choose compressed format further.When first terminal receives the resource segment determination instruction of input, obtain compressed format information and the part that it can be used as resource segment to share request sends to the second terminal with the start-stop locating information of target resource fragment together with the chained address of target resource.Resource cutting unit 403 is after carrying out intercept operation acquisition target resource fragment according to the start-stop locating information of target resource fragment to target resource, and format analysis processing unit 406 just can store after the target resource fragment boil down to targeted compression form of intercepting according to this compressed format information.
In another embodiment, described terminal also comprises: ratio judging unit 407, for judging whether the capacity rate value between described target resource fragment and described target resource is less than or equal to predetermined threshold value.
Accordingly, described resource cutting unit 403, for when judged result is for being, according to the start-stop locating information of described target resource fragment, intercepts described target resource to obtain described target resource fragment.
Described transmitting element 405, time also for being no when judged result, returning to described first terminal and not accepting described resource segment and share solicited message.
In specific implementation, each resource segment share request process successfully after, second terminal produces a resource segment and stores, in order to save the storage resources of the second terminal, first judge that target resource fragment accounts for the capacity rate value of target resource by ratio judging unit 407, share request to reject some undesirable resource segment, and then save the storage resources of the second terminal.
The resource segment that the embodiment of the present invention sends by receiving element 401 receiving terminal in the second terminal shares request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, also obtain described target resource by resource acquisition unit 402 according to the chained address of described target resource, resource cutting unit 403 intercepts described target resource to obtain described target resource fragment according to the start-stop locating information of described target resource fragment, and then scalar/vector 404 generates the chained address of described target resource fragment, transmitting element 405 sends to described first terminal to share the chained address of described target resource fragment to make described first terminal by social application, floating resources consumption can be reduced, strengthen the personalized customization of resource sharing, improve Consumer's Experience.
See Fig. 5, the structural representation of the another kind of terminal that the embodiment of the present invention provides, the terminal in the present embodiment as shown in the figure can comprise: transmitting element 501, receiving element 502 with share unit 503.
Transmitting element 501, for receive resource segment share confirm instruction time, send resource segment to the second terminal and share request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, to make described second terminal according to the start-stop locating information of the chained address of described target resource and described target resource fragment, generate the chained address of described target resource fragment.
In specific implementation, first terminal can provide resource sharing mode option, and (client that specifically can be in first terminal provides resource sharing mode option, such as client is a certain player, carry out just can providing this resource sharing mode option in the menu facility hurdle of broadcast window when video or audio frequency are play at this player), comprise the complete mode of sharing of resource and share mode with resource segment, when user selects resource segment to share mode, enter resource segment and choose the stage and then select resource segment to be shared.
In the present embodiment, when first terminal receives the resource segment determination instruction of input, just can obtain the start-stop locating information of target resource fragment and the chained address of target resource to share request as resource segment and send it to client to the second corresponding terminal by transmitting element 501, process this resource segment when this resource segment shares request share request with the chained address generating target resource fragment when the second terminal receives.
Receiving element 502, for receiving the chained address of the described target resource fragment that described second terminal sends.
Second terminal just generates the chained address of target resource fragment after the resource segment having processed first terminal transmitting element 501 transmission shares request, then the chained address of this target resource fragment is returned to first terminal.
Share unit 503, for being shared the chained address of described target resource fragment by social application.
After receiving element 502 receives the second terminal back link address, share the interface of sharing that unit 503 just calls the social activity application of waiting to share this chained address and this chained address to be shown in the application interface of social software display and then to complete and share.Wherein, described social activity application includes but not limited to: the application such as personal space, interactive web site, forum.
In another embodiment, described terminal also comprises: share mode judging unit 504, send before resource segment shares request for described transmitting element 501 to described second terminal, receive resource sharing mode and confirm instruction, judge whether described resource sharing mode is that resource segment shares mode.
Accordingly, described transmitting element 501, for when judged result is for being, receives resource segment and sharing confirmation instruction, send resource segment share request to described second terminal.
Describedly sharing unit 503, time also for being no when judged result, obtaining the chained address of described target resource, and share the chained address of described target resource by social application.
In another embodiment, described terminal also comprises: resource segment positioning unit 505, send before resource segment shares request for described transmitting element 501 to the second terminal, receive information segment and choose instruction, determine the start-stop locating information of described information segment in described target resource according to the information segment chosen.
In specific implementation, first terminal is supplied to user resources fragment and shares mode, select after this resource segment shares mode user, enter resource segment and choose the start-stop locating information that the stage just can determine target resource fragment in this stage, such as target resource is one section of document files, enter after resource segment chooses the stage, be supplied to user one document preview window user and can select text fragments wherein, the original position of wherein user-selected text fragments and the positional information of end position in entire chapter document are the start-stop locating information of target resource fragment.
In another embodiment, described terminal also comprises: Tip element 506, share after unit 503 shares the chained address of described target resource fragment by social application for described, send information, shared successfully to point out target resource fragment described in user.
Resource segment is shared request and is processed successfully, Tip element 506 sends information (as display Word message " is shared successfully "), share successfully to point out the chained address of ownership goal resource segment, whether the application interface that user just need not jump to social software is again checked to complete and shares, can Consumer's Experience be improved.
In another embodiment, the targeted compression format information of described target resource fragment is carried in described resource segment request, to make described second terminal according to described targeted compression format information, described target resource fragment is treated to targeted compression form.
In specific implementation, the memory space taken of some resource is larger, therefore the compressed format option of user resources can be supplied to after first terminal target approach resource segment chooses the stage, such as target resource is one section of video, user's smooth preferential (video compression format such as 3gp, flv can be comprised) can be supplied to, preferential (can the video compression format such as rmvb, mkv be comprised) option of quality, select user smooth preferential after the second terminal just compressible target resource fragment be smooth preferential in the compressed format of specifying to save memory space.
The embodiment of the present invention, can when receiving resource segment and sharing confirmation instruction by the transmitting element 501 of first terminal, send resource segment to the second terminal and share request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, to make described second terminal according to the start-stop locating information of the chained address of described target resource and described target resource fragment, generate the chained address of described target resource fragment, the chained address of the described target resource fragment that described second terminal sends also is received by receiving element 502, and then share unit 503 shares described target resource fragment chained address by social application, floating resources consumption can be reduced, strengthen the personalized customization of resource sharing, improve Consumer's Experience.
See Fig. 8, it is a kind of resource sharing system configuration schematic diagram that the embodiment of the present invention provides, resource sharing system as shown in the figure comprises: first terminal 801 and the second terminal 802, wherein first terminal 801 for can as combine Fig. 5 above the terminal introduced, second terminal for can as combine Fig. 4 above the terminal introduced, particularly:
First terminal 801, for receive resource segment share confirm instruction time, send resource segment to described second terminal and share request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared;
Second terminal 802, the resource segment sent for receiving described first terminal shares request, obtains described target resource according to the chained address of described target resource,
Described second terminal 802, also for intercepting described target resource according to the start-stop locating information of described target resource fragment to obtain described target resource fragment;
Second terminal 802, also for generating the chained address of described target resource fragment, and sends to described first terminal by the chained address of described target resource fragment;
Described first terminal 801, also for receiving the chained address of the described target resource fragment that described second terminal sends, and shares the chained address of described target resource fragment by social application.
In another embodiment, described resource segment shares the targeted compression format information that described target resource fragment is carried in request, described second terminal 802, also for the start-stop locating information according to described target resource fragment, intercept described target resource with after obtaining described target resource fragment, according to described targeted compression format information, described target resource fragment is treated to targeted compression form.
In another embodiment, described second terminal 802, also for intercepting before described target resource obtains described target resource fragment according to the start-stop locating information of described target resource fragment, when the capacity rate value judging between described target resource fragment and described target resource is greater than predetermined threshold value, returns to described first terminal and do not accept described resource segment and share solicited message.
The embodiment of the present invention, send resource segment by first terminal to the second terminal and share the request of carrying, described second terminal is shared after request processing target resource obtains target resource fragment according to described resource segment, the chained address of target resource fragment can be generated and send to first terminal to share, can make to check that the user of this target resource reduces floating resources consumption, enhance the personalized customization of resource sharing, improve Consumer's Experience.
See Fig. 9, be another terminal structure schematic diagram that the embodiment of the present invention provides, terminal as shown in the figure can comprise: at least one processor 901, such as CPU; At least one input unit 902, at least one output device 903 and memory 904.Above-mentioned processor 901, input unit 902, output device 903 are connected by bus 905 with memory 904.
Wherein, input unit 902 and output device 903 are communication interface, can comprise: wireline interface, wave point (as wifi interface).
Memory 904 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Memory 904 can also be optionally that at least one is positioned at the storage terminal away from aforementioned processor 901.
Wherein, input unit 902 and output device 903 are mainly used in being communicated with first terminal by network.Processor 901 can the terminal shown in composition graphs 4, wherein stores batch processing code in memory 904, and processor 901, input unit 902 and output device 903 call the code stored in memory 904, for performing following operation:
Above-mentioned input unit 902, the resource segment sent for receiving first terminal shares request, and described resource segment is shared request and carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared.
Above-mentioned processor 901, for obtaining described target resource according to the chained address of described target resource.
Above-mentioned processor 901, also for the start-stop locating information according to described target resource fragment, intercepts described target resource to obtain described target resource fragment.
Above-mentioned processor 901, for generating the chained address of described target resource fragment.
Above-mentioned output device 903, for the chained address of described target resource fragment is sent to described first terminal, shares the chained address of described target resource fragment to make described first terminal by social application.
In another embodiment, described resource segment shares the targeted compression format information that described target resource fragment is carried in request, above-mentioned processor 901 is according to the start-stop locating information of described target resource fragment, intercept described target resource with after obtaining described target resource fragment, following operation can also be performed:
Described target resource fragment, according to described targeted compression format information, is treated to targeted compression form by processor 901.
In another embodiment, above-mentioned processor 901, according to the start-stop locating information of described target resource fragment, intercepts described target resource with before obtaining described target resource fragment, can also perform following operation:
Processor 901 judges whether the capacity rate value between described target resource fragment and described target resource is less than or equal to predetermined threshold value.
When judged result is for being, processor 901 intercepts described target resource according to the start-stop locating information of described target resource fragment and obtains described target resource fragment.
When judged result is no, output device 903 returns to described first terminal and does not accept described resource segment and share solicited message.
In another embodiment, the chained address that above-mentioned processor 901 generates described target resource fragment specifically comprises:
Obtain the address of the file path of described target resource fragment in local terminal, filename and local terminal, according to the address of the file path of described target resource fragment in local terminal, filename and local terminal, generate the chained address of described target resource fragment.
In another embodiment, above-mentioned processor 901 obtains described target resource according to the chained address of described target resource and specifically can comprise:
Resolve the chained address of described target resource, obtain the address of described target resource place server, file path and filename; According to the address of described target resource place server, file path and filename, search described target resource.
In specific implementation, processor 901 described in the embodiment of the present invention can perform the implementation described by resource sharing method as shown in figures 1 and 3 that the embodiment of the present invention provides, also can perform the implementation of terminal as described in Figure 4, not repeat them here.
See Figure 10, be another terminal structure schematic diagram that the embodiment of the present invention provides, terminal as shown in the figure can comprise: at least one processor 1001, such as CPU; At least one input unit 1002, at least one output device 1003 and memory 1004.Above-mentioned processor 1001, input unit 1002, output device 1003 are connected by bus 1005 with memory 1004.
Wherein, input unit 1002 and output device 1003 are communication interface, can comprise: wireline interface, wave point (as wifi interface).Input unit 1002 can also be the contact panel of terminal, and for receiving, resource segment shares confirmation instruction, information segment chooses instruction or resource sharing mode confirms instruction.
Memory 1004 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Memory 1004 can also be optionally that at least one is positioned at the storage terminal away from aforementioned processor 1001.
Wherein, input unit 1002 and output device 1003 are mainly used in being communicated with the second terminal by network.Wherein, processor 1001 can the terminal shown in composition graphs 5, wherein stores batch processing code in memory 1004, and processor 1001, input unit 1002 and output device 1003 call the code stored in memory 1004, for performing following operation:
Above-mentioned input unit 1002, shares confirmation instruction for receiving resource segment.
Above-mentioned output device 1003, request is shared for sending resource segment to the second terminal, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, to make described second terminal according to the start-stop locating information of the chained address of described target resource and described target resource fragment, generate the chained address of described target resource fragment.
Above-mentioned input unit 1002, for receiving the chained address of the described target resource fragment that described second terminal sends.
Above-mentioned processor 1001, for sharing the chained address of described target resource fragment by social application.
In another embodiment, output device 1003 can also perform following operation before sharing request to the second terminal transmission resource segment:
Above-mentioned input unit 1002, chooses instruction for receiving information segment.
Above-mentioned processor 1001, for determining the start-stop locating information of described information segment in described target resource according to the information segment chosen.
In another embodiment, output device 1003 can also perform following operation before sharing request to the second terminal transmission resource segment:
Above-mentioned input unit 1002, confirms instruction for receiving resource sharing mode.
Above-mentioned processor 1001, for judging whether described resource sharing mode is that resource segment shares mode.
When judged result is yes, input unit 1002 receives resource sharing mode and confirms instruction, and output device 1003 sends resource segment to the second terminal and shares request.
When judged result is no, processor 1001 obtains the chained address of described target resource, and shares the chained address of described target resource by social application.
In another embodiment, resource segment shares the targeted compression format information that described target resource fragment is carried in request, to make described second terminal according to described targeted compression format information, described target resource fragment is treated to targeted compression form.
In another embodiment, above-mentioned processor 1001 can also perform following operation after sharing the chained address of described target resource fragment:
Output device 1003, for sending information, has shared successfully to point out target resource fragment described in user.
In specific implementation, processor 1001 described in the embodiment of the present invention can perform the implementation described by resource sharing method as shown in Figures 2 and 3 that the embodiment of the present invention provides, also can perform the implementation of terminal as described in Figure 5, not repeat them here.
Unit in all embodiments of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, application-specific integrated circuit (ASIC)).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above a kind of resource sharing method disclosed in the embodiment of the present invention is described in detail, above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, therefore according to the equivalent variations that the claims in the present invention are done, the scope that the present invention is contained still is belonged to.

Claims (10)

1. a resource sharing method, is characterized in that, comprising:
The resource segment receiving first terminal transmission shares request, and described resource segment is shared request and carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared;
Described target resource is obtained according to the chained address of described target resource;
According to the start-stop locating information of described target resource fragment, intercept described target resource to obtain described target resource fragment;
Generate the chained address of described target resource fragment, and the chained address of described target resource fragment is sent to described first terminal, share the chained address of described target resource fragment to make described first terminal by social application.
2. method according to claim 1, is characterized in that, described resource segment shares the targeted compression format information that described target resource fragment is carried in request;
The described start-stop locating information according to described target resource fragment, intercepts described target resource with after obtaining described target resource fragment, also comprises:
According to described targeted compression format information, described target resource fragment is treated to targeted compression form.
3. method according to claim 1, is characterized in that, the chained address of the described target resource fragment of described generation comprises:
Obtain the address of the file path of described target resource fragment in local terminal, filename and local terminal;
According to the address of the file path of described target resource fragment in local terminal, filename and described local terminal, generate the chained address of described target resource fragment.
4. method according to claim 1, is characterized in that, the described chained address according to described target resource obtains described target resource and comprises:
Resolve the chained address of described target resource, obtain the address of described target resource place server, file path and filename;
According to the address of described target resource place server, file path and filename, search described target resource.
5. method according to claim 1, is characterized in that, the described start-stop locating information according to described target resource fragment, intercepts described target resource with before obtaining described target resource fragment, also comprises:
Judge whether the capacity rate value between described target resource fragment and described target resource is less than or equal to predetermined threshold value;
When judged result is for being, performs the described start-stop locating information according to described target resource fragment and intercepting described target resource and obtain described target resource fragment step;
When judged result is no, returns to described first terminal and do not accept described resource segment and share solicited message.
6. a resource sharing method, is characterized in that, comprising:
Receive resource segment share confirm instruction time, send resource segment to the second terminal and share request, described resource segment is shared request and is carried the chained address of target resource and the start-stop locating information of target resource fragment to be shared, to make described second terminal according to the start-stop locating information of the chained address of described target resource and described target resource fragment, generate the chained address of described target resource fragment;
Receive the chained address of the described target resource fragment that described second terminal sends;
The chained address of described target resource fragment is shared by social activity application.
7. method according to claim 6, is characterized in that, described in receive resource segment and share when confirming instruction, send before resource segment shares request to the second terminal, also comprise:
Receive information segment and choose instruction, determine the start-stop locating information of described information segment in described target resource according to the information segment chosen.
8. method according to claim 6, is characterized in that, described in receive resource segment and share when confirming instruction, send before resource segment shares request to the second terminal, also comprise:
Receive resource sharing mode and confirm instruction, judge whether described resource sharing mode is that resource segment shares mode;
When judged result is for being, receive described in execution resource segment share confirm instruction time, to second terminal send resource segment share request step;
When judged result is no, obtain the chained address of described target resource, and share the chained address of described target resource by social application.
9. method according to claim 6, it is characterized in that, described resource segment shares the targeted compression format information that described target resource fragment is carried in request, to make described second terminal according to described targeted compression format information, described target resource fragment is treated to targeted compression form.
10. method according to claim 6, is characterized in that, described share the chained address of described target resource fragment by social application after, also comprise:
Send information, shared successfully to point out target resource fragment described in user.
CN201510166254.5A 2015-04-10 2015-04-10 Resource sharing method Pending CN104811485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510166254.5A CN104811485A (en) 2015-04-10 2015-04-10 Resource sharing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510166254.5A CN104811485A (en) 2015-04-10 2015-04-10 Resource sharing method

Publications (1)

Publication Number Publication Date
CN104811485A true CN104811485A (en) 2015-07-29

Family

ID=53695974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510166254.5A Pending CN104811485A (en) 2015-04-10 2015-04-10 Resource sharing method

Country Status (1)

Country Link
CN (1) CN104811485A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224602A (en) * 2015-08-31 2016-01-06 北京奇艺世纪科技有限公司 A kind of methods of exhibiting of resource and device
CN105681395A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Resource sharing control method, device, server and terminal
CN106776917A (en) * 2016-11-30 2017-05-31 北京小米移动软件有限公司 A kind of method and apparatus for obtaining resource file
CN108847258A (en) * 2018-06-10 2018-11-20 北京酷我科技有限公司 A kind of implementation method intercepting Audio Controls
CN111523071A (en) * 2020-04-16 2020-08-11 咪咕文化科技有限公司 Information sharing method, electronic device and storage medium
CN113784169A (en) * 2021-09-10 2021-12-10 湖南快乐阳光互动娱乐传媒有限公司 Video recording method and device with bullet screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217638A (en) * 2007-12-28 2008-07-09 深圳市迅雷网络技术有限公司 A downloading method, system and device of video file fragmentation
CN103647991A (en) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for sharing video in intelligent television
US20140181273A1 (en) * 2011-08-08 2014-06-26 I-Cubed Research Center Inc. Information system, information reproducing apparatus, information generating method, and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217638A (en) * 2007-12-28 2008-07-09 深圳市迅雷网络技术有限公司 A downloading method, system and device of video file fragmentation
US20140181273A1 (en) * 2011-08-08 2014-06-26 I-Cubed Research Center Inc. Information system, information reproducing apparatus, information generating method, and storage medium
CN103647991A (en) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for sharing video in intelligent television

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224602A (en) * 2015-08-31 2016-01-06 北京奇艺世纪科技有限公司 A kind of methods of exhibiting of resource and device
CN105681395A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Resource sharing control method, device, server and terminal
CN106776917A (en) * 2016-11-30 2017-05-31 北京小米移动软件有限公司 A kind of method and apparatus for obtaining resource file
CN108847258A (en) * 2018-06-10 2018-11-20 北京酷我科技有限公司 A kind of implementation method intercepting Audio Controls
CN108847258B (en) * 2018-06-10 2021-06-04 北京酷我科技有限公司 Method for realizing interception of audio control
CN111523071A (en) * 2020-04-16 2020-08-11 咪咕文化科技有限公司 Information sharing method, electronic device and storage medium
CN111523071B (en) * 2020-04-16 2023-08-15 咪咕文化科技有限公司 Information sharing method, electronic device and storage medium
CN113784169A (en) * 2021-09-10 2021-12-10 湖南快乐阳光互动娱乐传媒有限公司 Video recording method and device with bullet screen

Similar Documents

Publication Publication Date Title
US11088973B2 (en) Conversion of text relating to media content and media extension apps
JP5805616B2 (en) Apparatus and method for searching / downloading content in a communication device
CN104811485A (en) Resource sharing method
CN107656768B (en) Method and system for controlling page jump
CN104965848A (en) Front-end resource loading method and apparatus
CN104253741A (en) Information sending method and device and system thereof
CN103530765A (en) Method, device and system for paying by smart television
CN103761327A (en) Resource sharing method and system, terminal and server
CN103944944A (en) Webpage link sharing method and system, and electronic device
EP2664998A1 (en) Microblog message processing method and device thereof
CN106534268B (en) Data sharing method and device
US11758087B2 (en) Multimedia conference data processing method and apparatus, and electronic device
JP2018500670A (en) Handling unstructured messages
CN106789832B (en) Data processing method, device and system in call process
CN114385382A (en) Light application access method and device, computer equipment and storage medium
CN104331407A (en) Multimedia file information recommending method and multimedia file information recommending device
CN108370500B (en) Optimized settings for wireless devices
CN113055348B (en) Cross-platform data request method and device and electronic equipment
CN104901945A (en) Terminal
CN111797334A (en) Website access method and device, electronic equipment and storage medium
CN112788090A (en) Network resource transmission method, device and system
CN113079085B (en) Business service interaction method, business service interaction device, business service interaction equipment and storage medium
US20080176587A1 (en) System and a method for sending digital content to a mobile device
CN114417318A (en) Third-party page jumping method and device and electronic equipment
CN109768921B (en) Data transparent transmission method and corresponding instant communication terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150729