CN103258024A - Method, system and device for sharing local contents of pictures in webpage - Google Patents
Method, system and device for sharing local contents of pictures in webpage Download PDFInfo
- Publication number
- CN103258024A CN103258024A CN2013101651240A CN201310165124A CN103258024A CN 103258024 A CN103258024 A CN 103258024A CN 2013101651240 A CN2013101651240 A CN 2013101651240A CN 201310165124 A CN201310165124 A CN 201310165124A CN 103258024 A CN103258024 A CN 103258024A
- Authority
- CN
- China
- Prior art keywords
- picture
- local content
- client
- page
- sharing
- 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
Images
Abstract
The invention provides a method for sharing local contents of pictures in a webpage. The method includes the following steps: (1) a client side loads the webpage; (2) the client side respectively binds corresponding event processing functions for at least one picture in the webpage; (3) the client side receives coordinate information of the local contents selected by users and sends a sharing request to a cloud server; (4) the cloud server obtains the local contents in the pictures according to a first picture address and the coordinate information and generates a local content picture according to the local contents and a second picture address corresponding to the local content picture; (5) the cloud server generates a front end sharing page of a third-party platform according the second picture address corresponding to the local content picture and enables the client side to skip to the front end sharing page; (6) the client side can load the local content picture and shares the local content picture to the third-party platform through the front end sharing page. The method is capable of meeting the requirements of the users for locally sharing the pictures, and is simple and convenient to operate, and saving in network traffic. The invention further discloses a system for sharing the local contents of the pictures in the webpage, the client side and the cloud server.
Description
Technical field
The present invention relates to Internet technical field, particularly sharing method, system and the device of picture local content in a kind of webpage.
Background technology
Along with Internet development, the website not only has been confined to text message, and a lot of websites all provide abundant content of multimedia, for example picture and video etc.And the website is developed to interactive mode from simple displaying, and the user not only can obtain server to request responding message, and all right active upload content is to server.For example Sina's microblogging, everybody nets etc. on the open platform, all provides the picture of at least two kinds of forms to share function:
First kind is to share interface by the rear end of platform to share.When the user need share certain pictures, interface was shared in the rear end that the website calling platform at picture place provides, and picture is uploaded to platform.
Second kind is to share by front-end interface.When the user need share certain pictures, picture place website was redirected to the page of sharing that platform provides with user browser, and the network address parameter that the page address is shared as platform in the network address of the picture that the user is shared is transmitted.If do not transmit this parameter, then platform is before the page is shared in demonstration, and the content of the webpage at the picture place that the extracting user of meeting elder generation shares is also carried out corresponding parsing, identifies the wherein tabulation of legal picture, it all is presented at shares on the page, selected the picture that to share by the user.
Yet no matter adopt above-mentioned which kind of mode, the user can only share whole picture.In fact, the user only wants to share local picture.For example the user may have following reason to share local picture:
(1), it is too big to share dimension of picture.Can cause uploading pictures process elapsed time long if photo current place website or use the usage platform rear end and share interface, full figure are shared, it is slow to share speed.Especially share picture at mobile device, also can consumed flow, cause waste.Perhaps dimension of picture has surpassed the picture size upper limit that platform is supported, causes and can't share.
(2), sharing picture comprises and contains much information.Possible user wishes that other user pays close attention to the information in certain specific region of picture, as certain personage in the picture, certain article or certain section literal etc., and need not other picture part.
And the existing technical scheme of sharing the picture local content is shared plug-in unit mainly based on client as the sectional drawing of browsers such as chrome.Workflow is as follows:
Step 1: the user selects certain zone of intercepting current device screen by plug-in unit or client-side program.
Step 2: plug-in unit or client-side program are saved in the corresponding pixel value of screen area that the user selects under the preset path with default picture format.
Step 3: the platform end interface that plug-in unit or client program calls provide picture to share function, the picture that is kept under the preset path is shared.
The prior art scheme need not picture website or client application self and provides support or develop.But need to install external browser plug-in unit or client.Come certain zone of picture is intercepted by the mode of screenshotss, just can share after needing to save as local picture simultaneously, can not on the basis of original picture, directly select respective regions to share.In addition, when using the prior art in the mobile terminal, also exist power consumption big, problems such as waste customer flow.
Summary of the invention
The present invention is intended to solve at least one of technical matters that exists in the prior art.
For this reason, first purpose of the present invention is to propose the sharing method of picture local content in a kind of webpage.This method can satisfy the demand that user partial is shared picture, and is simple to operation, saves network traffics.
Second purpose of the present invention is to propose the share system of picture local content in a kind of webpage.
The 3rd purpose of the present invention is to propose client.
The 4th purpose of the present invention is to propose the high in the clouds server.
For achieving the above object, the embodiment of first aspect present invention has proposed the sharing method of picture local content in a kind of webpage, may further comprise the steps: the client Web page loading, and wherein, described webpage comprises at least one picture; Described client is that at least one picture in the described webpage is bound corresponding event handling function respectively, wherein, when described event handling function is triggered under given conditions described event handling function recording user at the coordinate information of local content in the corresponding picture; Described client receives the coordinate information that the user selects local content, and send to the high in the clouds server and to share request, wherein, described third party's platform of sharing first picture address of asking to comprise the affiliated picture correspondence of described local content, described coordinate information and described user selection; Described high in the clouds server obtains local content in the described picture according to described first picture address and described coordinate information, and generates second picture address of local content picture and described local content picture correspondence according to described local content; Described high in the clouds server is shared the page according to the front end that second picture address of described local content picture correspondence generates described third party's platform, and described client is jumped to described front end shares the page; Described client is shared the page by described front end and is loaded described local content picture and share to described third party's platform.
Sharing method according to picture local content in the webpage of the embodiment of the invention, directly obtain the local message of picture by the event handling function of client, and send to the high in the clouds server and to share request, returned the front end of third party's platform by the high in the clouds server and share the page to client, share.This method need not installed plug-in unit, need not carry out this locality and preserve and just can directly intercept and share picture, satisfies the demand in user individual uploading pictures zone, make that the uploading pictures size is more flexible, simple to operation, save network traffics, the power and energy saving, the user experiences.
In one embodiment of the invention, also comprise: described client is shared the descriptor that the page receives user's input by described front end.
In one embodiment of the invention, when comprising a plurality of picture in the described webpage, the described pictorial information of sharing the picture under the local content that request comprises that also described user selects.
In one embodiment of the invention, described specified conditions for when mouse in time that described picture stops during above Preset Time, described event handling function is triggered.
In one embodiment of the invention, also comprise: when described event handling function was triggered, described event handling function was played up the picture region choice box at described picture, and the position of described picture region choice box and size are according to described user's input adjustment.
In one embodiment of the invention, described client is browser.
The embodiment of second aspect present invention has proposed the share system of picture local content in a kind of webpage, comprises client and high in the clouds server.Wherein, client is used for loading the webpage that comprises at least one picture, and bind corresponding event handling function respectively at least one picture in the described webpage, and the reception user selects the coordinate information of local content, and send to the high in the clouds server and to share request, wherein, described event handling function recording user is at the coordinate information of local content in the corresponding picture when described event handling function is triggered under given conditions, described first picture address of asking to comprise the affiliated picture correspondence of described local content of sharing, third party's platform that described coordinate information and described user select, and share the page by described front end and load described local content picture and share to described third party's platform; Described high in the clouds server is used for obtaining according to described first picture address and described coordinate information the local content of described picture, and generate second picture address of local content picture and described local content picture correspondence according to described local content, and share the page according to the front end that second picture address of described local content picture correspondence generates described third party's platform, and described client is jumped to described front end share the page.
Share system according to picture local content in the webpage of the embodiment of the invention, directly obtain the local message of picture by the event handling function of client, and send to the high in the clouds server and to share request, returned the front end of third party's platform by the high in the clouds server and share the page to client, share.Native system need not installed plug-in unit, need not carry out this locality and preserve and just can directly intercept and share picture, satisfies the demand in user individual uploading pictures zone, make that the uploading pictures size is more flexible, simple to operation, save network traffics, the power and energy saving, the user experiences.
In one embodiment of the invention, described client also is used for sharing the descriptor that the page receives user's input by described front end.
In one embodiment of the invention, when comprising a plurality of picture in the described webpage, the described pictorial information of sharing the picture under the local content that request comprises that also described user selects.
In one embodiment of the invention, described specified conditions for when mouse in time that described picture stops during above Preset Time, described event handling function is triggered.
In one embodiment of the invention, when described event handling function was triggered, described event handling function was played up the picture region choice box at described picture, and the position of described picture region choice box and size are according to described user's input adjustment.
In one embodiment of the invention, described client is browser.
The embodiment of third aspect present invention has proposed a kind of client, comprises load-on module, event processing module, receiver module, sending module, third party's platform receiver module and shares module.
Wherein, load-on module is used for Web page loading, and wherein, described webpage comprises at least one picture; Event processing module is used at least one picture in the described webpage to bind corresponding event handling function respectively, wherein, when described event handling function is triggered under given conditions described event handling function recording user at the coordinate information of local content in the corresponding picture; Receiver module is used for receiving the coordinate information that the user selects local content; Sending module is used for sharing request to the transmission of high in the clouds server, wherein, described third party's platform of sharing first picture address of asking to comprise the affiliated picture correspondence of described local content, described coordinate information and described user selection is so that described high in the clouds server is shared the page according to the front end that described first picture address, described coordinate information generate described third party's platform; Third party's platform receiver module is used for the front end of described third party's platform of the described high in the clouds of reception server transmission and shares the page; Sharing module is used for sharing the page by described front end and loads described local content picture and share to described third party's platform.
According to the client of the embodiment of the invention, directly obtain the local message of picture by event handling function, send to the high in the clouds server and share request, and share by the page of sharing that the high in the clouds server returns.This client need not installed plug-in unit, need not carry out this locality and preserve and just can directly intercept and share picture, satisfies the demand in user individual uploading pictures zone, make that the uploading pictures size is more flexible, simple to operation, save network traffics, the power and energy saving, the user experiences.
In one embodiment of the invention, the described module of sharing also is used for sharing the descriptor that the page receives user's input by described front end.
In one embodiment of the invention, when comprising a plurality of picture in the described webpage, the described pictorial information of sharing the picture under the local content that request comprises that also described user selects.
In one embodiment of the invention, described specified conditions for when mouse in time that described picture stops during above Preset Time, described event handling function is triggered.
In one embodiment of the invention, when described event handling function was triggered, described event handling function was played up the picture region choice box at described picture, and the position of described picture region choice box and size are according to described user's input adjustment.
In one embodiment of the invention, described client is browser.
The embodiment of fourth aspect present invention has proposed a kind of high in the clouds server, comprises receiver module, interception module, generation module and sending module.
Wherein, receiver module be used for to receive the request of sharing that client sends, wherein, and described first picture address, the coordinate information of described local content and the third party's platform that described user selects of sharing picture correspondence under the local content that request comprises that the user selects; Interception module is used for obtaining the local content of described picture according to described first picture address and described coordinate information, and generates second picture address of local content picture and described local content picture correspondence according to described local content; Generation module is shared the page for the front end that second picture address according to described local content picture correspondence generates described third party's platform; Sending module is used for that described front end is shared the page and is sent to described client, loads described local content picture and shares to described third party's platform so that described client is shared the page by described front end.
High in the clouds server according to the embodiment of the invention, according to sharing the local content that the acquisition request user shares and generating second picture address, generating front end shares the page and is sent to client, the fit end satisfies the user need not carry out the local function that just can directly intercept and share picture of preserving, and satisfies the demand in user individual uploading pictures zone, makes that the uploading pictures size is more flexible, simple to operation, save network traffics, the power and energy saving, the user experiences.
Additional aspect of the present invention and advantage part in the following description provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Description of drawings
Above-mentioned and/or additional aspect of the present invention and advantage are from obviously and easily understanding becoming the description of embodiment in conjunction with following accompanying drawing, wherein:
Fig. 1 is the process flow diagram according to the sharing method of picture local content in the webpage of the embodiment of the invention;
Fig. 2 is the structural representation according to the share system of picture local content in the webpage of the embodiment of the invention;
Fig. 3 is the structural representation according to the client of the embodiment of the invention; With
Fig. 4 is the structural representation according to the high in the clouds server of the embodiment of the invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein identical or similar label is represented identical or similar elements or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, only be used for explaining the present invention, and can not be interpreted as limitation of the present invention.
Below with reference to the sharing method of Fig. 1 description according to picture local content in the webpage of the embodiment of the invention, may further comprise the steps:
Step S110: the client Web page loading, wherein, webpage comprises at least one picture.
Step S120: client is that at least one picture in the webpage is bound corresponding event handling function respectively,
Wherein, when event handling function is triggered under given conditions the event handling function recording user at the coordinate information of local content in the corresponding picture.
Specified conditions for when mouse in time that picture stops during above Preset Time, event handling function is triggered.When event handling function was triggered, event handling function was played up the picture region choice box at picture, and the position of picture region choice box and size are according to user's input adjustment.
Step S130: client receives the coordinate information that the user selects local content, and shares request to the transmission of high in the clouds server, wherein, shares third party's platform of first picture address, coordinate information and the user's selection of asking to comprise the affiliated picture correspondence of local content.When comprising a plurality of picture in the webpage, share the pictorial information of the picture under the local content that request comprises that also the user selects.
Step S140: the high in the clouds server obtains local content in the picture according to first picture address and coordinate information, and generates second picture address of local content picture and local content graph sheet correspondence according to local content.
Step S150: the high in the clouds server is shared the page according to the front end that second picture address of local content picture correspondence generates third party's platform, and client is jumped to front end shares the page.
Step S160: client is shared the page by front end and is loaded the local content picture and share the platform to the third party.
Also comprise: client is shared the descriptor that the page receives user's input by front end.
Below with browser do client be example the present invention will be described, be understandable that, following explanation only for illustrative purposes, embodiments of the invention are not limited thereto.
Step S210: browser loads the web page contents that comprises picture.
Step S220: browser is that every picture that meets the pre-set dimension threshold values is bound corresponding JS event handling function in the webpage.
When user's mouse rests on the picture that meets the pre-set dimension threshold values when surpassing the Preset Time threshold values, corresponding JS event handling function is triggered.The JS event handling function is played up picture region choice box and third party's platform identification list at this picture.Wherein, third party's platform sign supports picture to share function, can be icon, literal link or button form.The user determines to share the picture position by mobile picture region choice box, shares the size of picture region with 4 limit adjustment by 4 angles that drag the picture region choice box.The user selects to share third party's platform of choosing picture region by third party's platform identification list, carries out submit operation.
Step S230: browser receives the coordinate information that the user selects local content, and shares request to the transmission of high in the clouds server.Wherein, share first picture address of asking to comprise the affiliated picture correspondence of local content, the relative coordinate information of picture region on whole picture and third party's platform of wide high information and user's selection of selection.When comprising a plurality of picture in the webpage, share the pictorial information of the picture under the local content that request comprises that also the user selects.
Step S240: after the high in the clouds server receives and shares request, complete content according to the first picture address capturing pictures that receives, and according to the relative coordinate information that receives and wide high information the full picture that grabs is carried out sectional drawing and handle, obtain the local content of the picture of user-selected picture region choice box correspondence.Deposit the local content of the picture that is truncated in the picture-storage system, obtain second picture address of the addressable local content picture of outer net correspondence.
Step S250: generate the front end that third party's platform identifies corresponding third party's platform according to second picture address of local content picture correspondence and share the page, and the front end that user browser is redirected to third party's platform is shared the page.
Step S260: the front end of third party's platform is shared the page and is loaded local picture according to second picture address of the local content picture correspondence of carrying in the network address parameter, and guiding the user to import corresponding description text, client can be shared the descriptor that the page receives user's input by front end.
Step S270: whether the user judges whether share the local picture that shows on the page meets demand, and confirm to submit to share operation.If do not meet, the user can select to return former site page and carry out the picture region selection again.If meet, then the user directly clicks the button of sharing on the page of sharing, and sends and shares the service end of asking to third party's platform.
Step S280: third party's platform service termination is finished picture and is shared operation after receiving and sharing request.
Sharing method according to picture local content in the webpage of the embodiment of the invention, the user can select the arbitrary region of picture, the high in the clouds server generates second picture address of local content picture and local content graph sheet correspondence, client is shared the page by front end and is shared, this method helps user individual customization uploading pictures content area, make that the uploading pictures size is more flexible, promoted user's experience that the user shares picture, satisfy users on diversity.Flow when the reduction user shares picture and traffic fee thereof are used.
Below with reference to the share system 100 of Fig. 2 description according to picture local content in the webpage of the embodiment of the invention, comprise client 110 and high in the clouds server 120.
Wherein, client 110 is used for loading the webpage that comprises at least one picture, and bind corresponding event handling function respectively at least one picture in the webpage, and the reception user selects the coordinate information of local content, and send to high in the clouds server 120 and to share request, wherein, the event handling function recording user is at the coordinate information of local content in the corresponding picture when event handling function is triggered under given conditions, share first picture address that request comprises the affiliated picture correspondence of local content, third party's platform that coordinate information and user select, and share the page by front end and load the local content picture and share the platform to the third party; High in the clouds server 120 is used for obtaining according to first picture address and coordinate information the local content of picture, and generate second picture address of local content picture and local content graph sheet correspondence according to local content, and share the page according to the front end that second picture address of local content picture correspondence generates third party's platform, and client 110 is jumped to front end share the page.
Client 110 also is used for sharing the descriptor that the page receives user's input by front end.
Wherein, specified conditions for when mouse in time that picture stops during above Preset Time, event handling function is triggered.When event handling function was triggered, event handling function was played up the picture region choice box at picture, and the position of picture region choice box and size are according to user's input adjustment.
In one embodiment of the invention, when comprising a plurality of picture in the webpage, share the pictorial information of the picture under the local content that request comprises that also the user selects.
Below with browser do client 110 be example the present invention will be described, be understandable that, following explanation only for illustrative purposes, embodiments of the invention are not limited thereto.
Browser loads the web page contents that comprises picture.Browser is that every picture that meets the pre-set dimension threshold values is bound corresponding JS event handling function in the webpage.When user's mouse rests on the picture that meets the pre-set dimension threshold values when surpassing the Preset Time threshold values, corresponding JS event handling function is triggered.The JS event handling function is played up picture region choice box and third party's platform identification list at this picture.Wherein, third party's platform sign supports picture to share function, can be icon, literal link or button form.The user determines to share the picture position by mobile picture region choice box, shares the size of picture region with 4 limit adjustment by 4 angles that drag the picture region choice box.The user selects to share third party's platform of choosing picture region by third party's platform identification list, carries out submit operation.Browser receives the coordinate information that the user selects local content, and shares request to 120 transmissions of high in the clouds server.Wherein, share first picture address of asking to comprise the affiliated picture correspondence of local content, the relative coordinate information of picture region on whole picture and third party's platform of wide high information and user's selection of selection.When comprising a plurality of picture in the webpage, share the pictorial information of the picture under the local content that request comprises that also the user selects.
After high in the clouds server 120 receives and shares request, according to the complete content that receives the first picture address capturing pictures, and according to the relative coordinate information that receives and wide high information the full picture that grabs is carried out sectional drawing and handle, obtain the local content of the picture of user-selected picture region choice box correspondence.Deposit the local content of the picture that is truncated in the picture-storage system, obtain second picture address of the addressable local content picture of outer net correspondence.High in the clouds server 120 generates the front end that third party's platform identifies corresponding third party's platform according to second picture address of local content picture correspondence and shares the page first picture address, and the front end that user browser is redirected to third party's platform is shared the page.
The front end of third party's platform is shared the page and is loaded local picture according to second picture address of the local content picture correspondence of carrying in the network first picture address parameter, and guiding the user to import corresponding description text, client 110 can be shared the descriptor that the page receives user's input by front end.Whether the user judges whether share the local picture that shows on the page meets demand, and confirm to submit to share operation.If do not meet, the user can select to return former site page and carry out the picture region selection again.If meet, then the user directly clicks the button of sharing on the page of sharing, and sends and shares the service end of asking to third party's platform.
Third party's platform service termination is finished picture and is shared operation after receiving and sharing request.
Share system according to picture local content in the webpage of the embodiment of the invention, the user can select the arbitrary region of picture, the high in the clouds server generates second picture address of local content picture and local content graph sheet correspondence, client is shared the page by front end and is shared, native system helps user individual customization uploading pictures content area, make that the uploading pictures size is more flexible, promoted user's experience that the user shares picture, satisfy users on diversity.Flow when the reduction user shares picture and traffic fee thereof are used.
Below with reference to the client 200 of Fig. 3 description according to the embodiment of the invention, comprise load-on module 210, event processing module 220, receiver module 230, sending module 240, third party's platform receiver module 250 and share module 260.
Wherein, load-on module 210 is used for Web page loading, and wherein, webpage comprises at least one picture; Event processing module 220 is used at least one picture in the webpage to bind corresponding event handling function respectively, wherein, when event handling function is triggered under given conditions the event handling function recording user at the coordinate information of local content in the corresponding picture; Receiver module 230 is used for receiving the coordinate information that the user selects local content; Sending module 240 is used for sharing request to the transmission of high in the clouds server, wherein, third party's platform of sharing first picture address, coordinate information and the user's selection of asking to comprise the affiliated picture correspondence of local content is so that the high in the clouds server is shared the page according to the front end that first picture address, coordinate information generate third party's platform; Third party's platform receiver module 250 is used for the front end of third party's platform of reception high in the clouds server transmission and shares the page; Sharing module 260 is used for sharing page loading local content picture and sharing the platform to the third party by front end.
Wherein, specified conditions for when mouse in time that picture stops during above Preset Time, event handling function is triggered.When event handling function was triggered, event handling function was played up the picture region choice box at picture, and the position of picture region choice box and size are according to user's input adjustment.
In one embodiment of the invention, when comprising a plurality of picture in the webpage, share the pictorial information of the picture under the local content that request comprises that also the user selects.
Below with browser do client be example the present invention will be described, be understandable that, following explanation only for illustrative purposes, embodiments of the invention are not limited thereto.
Load-on module 210 loads the web page contents that comprises picture.Event processing module 220 is bound corresponding JS event handling function for every picture that meets the pre-set dimension threshold values in the webpage.
When user's mouse rests on the picture that meets the pre-set dimension threshold values when surpassing the Preset Time threshold values, corresponding JS event handling function is triggered.The JS event handling function is played up picture region choice box and third party's platform identification list at this picture.Wherein, third party's platform sign supports picture to share function, can be icon, literal link or button form.The user determines to share the picture position by mobile picture region choice box, shares the size of picture region with 4 limit adjustment by 4 angles that drag the picture region choice box.The user selects to share third party's platform of choosing picture region by third party's platform identification list, carries out submit operation.
After the high in the clouds server receives and shares request, according to the complete content that receives the first picture address capturing pictures, and according to the relative coordinate information that receives and wide high information the full picture that grabs is carried out sectional drawing and handle, obtain the local content of the picture of user-selected picture region choice box correspondence.Deposit the local content of the picture that is truncated in the picture-storage system, obtain second picture address of the addressable local content picture of outer net correspondence.Generate the front end that third party's platform identifies corresponding third party's platform according to second picture address of local content picture correspondence and share the page, and the front end that user browser is redirected to third party's platform is shared the page.
Third party's platform receiver module 250 receives the front end of third party's platform of high in the clouds server transmission and shares the page, second picture address according to the local content picture correspondence of carrying in the network address parameter loads local picture, and guiding the user to import corresponding description text, client can be shared the descriptor that the page receives user's input by front end.
Whether the user judges whether share the local picture that shows on the page meets demand, and confirm to submit to share operation.If do not meet, the user can select to return former site page and carry out the picture region selection again.If meet, then the user directly clicks the button of sharing on the page of sharing, and shares module 260 transmissions and shares the service end of asking to third party's platform.
Third party's platform service termination is finished picture and is shared operation after receiving and sharing request.
Client according to the embodiment of the invention, the user can select the arbitrary region of picture, client sends to the high in the clouds server shares request, and share the page by the front end that the high in the clouds server sends and share, this client helps user individual customization uploading pictures content area, make that the uploading pictures size is more flexible, promoted user's experience that the user shares picture, satisfy users on diversity.Flow when the reduction user shares picture and traffic fee thereof are used.
Below with reference to the high in the clouds server 300 of Fig. 4 description according to the embodiment of the invention, comprise receiver module 310, interception module 320, generation module 330 and sending module 340.
Receiver module 310 is used for receiving the request of sharing of client transmission, wherein, shares first picture address, the coordinate information of local content and third party's platform that the user selects that request comprises the affiliated picture correspondence of local content that the user selects; Interception module 320 is used for obtaining the local content of picture according to first picture address and coordinate information, and generates second picture address of local content picture and local content graph sheet correspondence according to local content; Generation module 330 is used for sharing the page according to the front end of second picture address generation third party platform of local content picture correspondence; Sending module 340 is used for that front end is shared the page and is sent to client, loads the local content picture and shares the platform to the third party so that client is shared the page by front end.
The present invention will be described with concrete example below, be understandable that, following explanation only for illustrative purposes, embodiments of the invention are not limited thereto.
Client loads the web page contents that comprises picture.And receive the coordinate information that the user selects local content, and share request to the transmission of high in the clouds server.Wherein, share first picture address of asking to comprise the affiliated picture correspondence of local content, the relative coordinate information of picture region on whole picture and third party's platform of wide high information and user's selection of selection.
Receiver module 310 receives shares request, interception module 320 is according to the complete content that receives the webpage first picture address capturing pictures, and according to the relative coordinate information that receives and wide high information the full picture that grabs is carried out sectional drawing and handle, obtain the local content of the picture of user-selected picture region choice box correspondence.Interception module 320 deposits the local content of the picture that is truncated in the picture-storage system, obtains second picture address of the addressable local content picture of outer net correspondence.Generation module 330 generates the front end that third party's platform identifies corresponding third party's platform according to second picture address of local content picture correspondence and shares the page first picture address, sending module 340 is shared front end with the page and is sent to client, and the front end that makes user browser be redirected to third party's platform is shared the page.
The front end of third party's platform is shared the page and is loaded local picture according to second picture address of the local content picture correspondence of carrying in the network address parameter, and guiding the user to import corresponding description text, client can be shared the descriptor that the page receives user's input by front end.Whether the user judges whether share the local picture that shows on the page meets demand, and confirm to submit to share operation.If do not meet, the user can select to return former site page and carry out the picture region selection again.If meet, then the user directly clicks the button of sharing on the page of sharing, and sends and shares the service end of asking to third party's platform.Third party's platform service termination is finished picture and is shared operation after receiving and sharing request.
High in the clouds server according to the embodiment of the invention, the high in the clouds server is according to first picture address of client transmission and second picture address of information generation local content picture and local content graph sheet correspondence, and front end is shared the page be sent to client, this high in the clouds server fit end, help user individual customization uploading pictures content area, make that the uploading pictures size is more flexible, promoted user's experience that the user shares picture, satisfy users on diversity.Flow when the reduction user shares picture and traffic fee thereof are used.
In the description of this instructions, concrete feature, structure, material or characteristics that the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means in conjunction with this embodiment or example description are contained at least one embodiment of the present invention or the example.In this manual, the schematic statement to above-mentioned term not necessarily refers to identical embodiment or example.And concrete feature, structure, material or the characteristics of description can be with the suitable manner combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification to these embodiment that scope of the present invention is by claims and be equal to and limit.
Claims (19)
1. the sharing method of picture local content in the webpage is characterized in that, may further comprise the steps:
The client Web page loading, wherein, described webpage comprises at least one picture;
Described client is that at least one picture in the described webpage is bound corresponding event handling function respectively, wherein, when described event handling function is triggered under given conditions described event handling function recording user at the coordinate information of local content in the corresponding picture;
Described client receives the coordinate information that the user selects local content, and send to the high in the clouds server and to share request, wherein, described third party's platform of sharing first picture address of asking to comprise the affiliated picture correspondence of described local content, described coordinate information and described user selection;
Described high in the clouds server obtains local content in the described picture according to described first picture address and described coordinate information, and generates second picture address of local content picture and described local content picture correspondence according to described local content;
Described high in the clouds server is shared the page according to the front end that second picture address of described local content picture correspondence generates described third party's platform, and described client is jumped to described front end shares the page; And
Described client is shared the page by described front end and is loaded described local content picture and share to described third party's platform.
2. the method for claim 1 is characterized in that, also comprises:
Described client is shared the descriptor that the page receives user's input by described front end.
3. the method for claim 1 is characterized in that, when comprising a plurality of picture in the described webpage, and the described pictorial information of sharing the picture under the local content that request comprises that also described user selects.
4. as each described method of claim 1-3, it is characterized in that, described specified conditions for when mouse in time that described picture stops during above Preset Time, described event handling function is triggered.
5. method as claimed in claim 4 is characterized in that, also comprises:
When described event handling function was triggered, described event handling function was played up the picture region choice box at described picture, and the position of described picture region choice box and size are according to described user's input adjustment.
6. as each described method of claim 1-5, it is characterized in that described client is browser.
7. the share system of picture local content in the webpage is characterized in that, comprises client and high in the clouds server, wherein,
Client, be used for loading the webpage that comprises at least one picture, and bind corresponding event handling function respectively at least one picture in the described webpage, and the reception user selects the coordinate information of local content, and send to the high in the clouds server and to share request, wherein, described event handling function recording user is at the coordinate information of local content in the corresponding picture when described event handling function is triggered under given conditions, described first picture address of asking to comprise the affiliated picture correspondence of described local content of sharing, third party's platform that described coordinate information and described user select, and share the page by described front end and load described local content picture and share to described third party's platform; And
Described high in the clouds server, be used for obtaining according to described first picture address and described coordinate information the local content of described picture, and generate second picture address of local content picture and described local content picture correspondence according to described local content, and share the page according to the front end that second picture address of described local content picture correspondence generates described third party's platform, and described client is jumped to described front end share the page.
8. system as claimed in claim 7 is characterized in that, described client also is used for sharing the descriptor that the page receives user's input by described front end.
9. system as claimed in claim 7 is characterized in that, when comprising a plurality of picture in the described webpage, and the described pictorial information of sharing the picture under the local content that request comprises that also described user selects.
10. system as claimed in claim 8 or 9 is characterized in that, described specified conditions for when mouse in time that described picture stops during above Preset Time, described event handling function is triggered.
11. system as claimed in claim 10, it is characterized in that, when described event handling function was triggered, described event handling function was played up the picture region choice box at described picture, and the position of described picture region choice box and size are according to described user's input adjustment.
12. system as claimed in claim 7 is characterized in that, described client is browser.
13. a client is characterized in that, comprising:
Load-on module is used for Web page loading, and wherein, described webpage comprises at least one picture;
Event processing module, be used at least one picture in the described webpage to bind corresponding event handling function respectively, wherein, when described event handling function is triggered under given conditions described event handling function recording user at the coordinate information of local content in the corresponding picture;
Receiver module is used for receiving the coordinate information that the user selects local content;
Sending module, be used for sharing request to the transmission of high in the clouds server, wherein, described third party's platform of sharing first picture address of asking to comprise the affiliated picture correspondence of described local content, described coordinate information and described user selection is so that described high in the clouds server is shared the page according to the front end that described first picture address, described coordinate information generate described third party's platform;
Third party's platform receiver module, the front end that is used for described third party's platform of the described high in the clouds of reception server transmission is shared the page; And
Share module, be used for sharing the page by described front end and load described local content picture and share to described third party's platform.
14. client as claimed in claim 13 is characterized in that, the described module of sharing also is used for sharing the descriptor that the page receives user's input by described front end.
15. client as claimed in claim 13 is characterized in that, when comprising a plurality of picture in the described webpage, and the described pictorial information of sharing the picture under the local content that request comprises that also described user selects.
16. as claim 14 or 15 described clients, it is characterized in that, described specified conditions for when mouse in time that described picture stops during above Preset Time, described event handling function is triggered.
17. client as claimed in claim 16, it is characterized in that, when described event handling function was triggered, described event handling function was played up the picture region choice box at described picture, and the position of described picture region choice box and size are according to described user's input adjustment.
18. client as claimed in claim 13 is characterized in that, described client is browser.
19. a high in the clouds server is characterized in that, comprising:
Receiver module be used for to receive the request of sharing that client sends, wherein, and described first picture address, the coordinate information of described local content and the third party's platform that described user selects of sharing picture correspondence under the local content that request comprises that the user selects;
Interception module is used for obtaining the local content of described picture according to described first picture address and described coordinate information, and generates second picture address of local content picture and described local content picture correspondence according to described local content;
Generation module, the front end that generates described third party's platform for second picture address according to described local content picture correspondence is shared the page; And
Sending module is used for that described front end is shared the page and is sent to described client, loads described local content picture and shares to described third party's platform so that described client is shared the page by described front end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310165124.0A CN103258024B (en) | 2013-05-07 | 2013-05-07 | The sharing method of picture local content, system and device in webpage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310165124.0A CN103258024B (en) | 2013-05-07 | 2013-05-07 | The sharing method of picture local content, system and device in webpage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103258024A true CN103258024A (en) | 2013-08-21 |
CN103258024B CN103258024B (en) | 2016-06-15 |
Family
ID=48961941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310165124.0A Active CN103258024B (en) | 2013-05-07 | 2013-05-07 | The sharing method of picture local content, system and device in webpage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103258024B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104503972A (en) * | 2014-11-05 | 2015-04-08 | 北京学而思教育科技有限公司 | Method, device and system for network operation |
CN104504004A (en) * | 2014-12-09 | 2015-04-08 | 北京国双科技有限公司 | Method and device for website sharing |
CN104765601A (en) * | 2015-03-18 | 2015-07-08 | 深圳市金立通信设备有限公司 | Terminal |
CN104796594A (en) * | 2014-01-16 | 2015-07-22 | 中兴通讯股份有限公司 | Preview interface special effect real-time presenting method and terminal equipment |
CN105678695A (en) * | 2014-11-19 | 2016-06-15 | 腾讯科技(深圳)有限公司 | Picture processing method and device |
CN106354744A (en) * | 2015-07-16 | 2017-01-25 | 三星电子株式会社 | Method for sharing content information and electronic device thereof |
CN107958045A (en) * | 2017-11-24 | 2018-04-24 | 海尔优家智能科技(北京)有限公司 | The page sharing method and device of a kind of mixed developing software |
CN108763297A (en) * | 2018-04-18 | 2018-11-06 | Oppo广东移动通信有限公司 | Web page resources processing method, device and mobile terminal |
CN110011904A (en) * | 2019-04-10 | 2019-07-12 | 聚合区块链技术(深圳)有限公司 | A kind of distributed transmission method, device and the terminal of adding personalized information |
CN110018818A (en) * | 2018-01-10 | 2019-07-16 | 武汉斗鱼网络科技有限公司 | It polymerize switching method, storage medium, equipment and the system of SDK |
CN110413809A (en) * | 2019-07-31 | 2019-11-05 | 福建南威软件有限公司 | A kind of picture management method and system based on Cloud Server |
CN110457098A (en) * | 2019-07-05 | 2019-11-15 | 中国平安财产保险股份有限公司 | Page topography sharing method, device, equipment and storage medium |
CN110807163A (en) * | 2018-08-03 | 2020-02-18 | 先智创科(北京)科技有限公司 | Method and apparatus for facilitating content sharing |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120136716A1 (en) * | 2008-06-26 | 2012-05-31 | Microsoft Corporation | Browsing and quality of service features |
CN102508843A (en) * | 2011-09-23 | 2012-06-20 | 上海量明科技发展有限公司 | Screen capture method and system with microblogging function |
CN102650990A (en) * | 2011-02-24 | 2012-08-29 | 中兴通讯股份有限公司 | Terminal webpage display method and system |
-
2013
- 2013-05-07 CN CN201310165124.0A patent/CN103258024B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120136716A1 (en) * | 2008-06-26 | 2012-05-31 | Microsoft Corporation | Browsing and quality of service features |
CN102650990A (en) * | 2011-02-24 | 2012-08-29 | 中兴通讯股份有限公司 | Terminal webpage display method and system |
CN102508843A (en) * | 2011-09-23 | 2012-06-20 | 上海量明科技发展有限公司 | Screen capture method and system with microblogging function |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796594B (en) * | 2014-01-16 | 2020-01-14 | 中兴通讯股份有限公司 | Method for instantly presenting special effect of preview interface and terminal equipment |
CN104796594A (en) * | 2014-01-16 | 2015-07-22 | 中兴通讯股份有限公司 | Preview interface special effect real-time presenting method and terminal equipment |
CN104503972A (en) * | 2014-11-05 | 2015-04-08 | 北京学而思教育科技有限公司 | Method, device and system for network operation |
CN105678695A (en) * | 2014-11-19 | 2016-06-15 | 腾讯科技(深圳)有限公司 | Picture processing method and device |
CN104504004A (en) * | 2014-12-09 | 2015-04-08 | 北京国双科技有限公司 | Method and device for website sharing |
CN104504004B (en) * | 2014-12-09 | 2018-04-03 | 北京国双科技有限公司 | The sharing method and device shared for website |
CN104765601A (en) * | 2015-03-18 | 2015-07-08 | 深圳市金立通信设备有限公司 | Terminal |
CN106354744A (en) * | 2015-07-16 | 2017-01-25 | 三星电子株式会社 | Method for sharing content information and electronic device thereof |
CN106354744B (en) * | 2015-07-16 | 2021-11-02 | 三星电子株式会社 | Method for sharing content information and electronic device thereof |
CN107958045A (en) * | 2017-11-24 | 2018-04-24 | 海尔优家智能科技(北京)有限公司 | The page sharing method and device of a kind of mixed developing software |
CN110018818B (en) * | 2018-01-10 | 2023-08-11 | 天音移动通信有限公司 | Switching method, storage medium, device and system for aggregation SDK |
CN110018818A (en) * | 2018-01-10 | 2019-07-16 | 武汉斗鱼网络科技有限公司 | It polymerize switching method, storage medium, equipment and the system of SDK |
CN108763297A (en) * | 2018-04-18 | 2018-11-06 | Oppo广东移动通信有限公司 | Web page resources processing method, device and mobile terminal |
CN110807163A (en) * | 2018-08-03 | 2020-02-18 | 先智创科(北京)科技有限公司 | Method and apparatus for facilitating content sharing |
CN110011904A (en) * | 2019-04-10 | 2019-07-12 | 聚合区块链技术(深圳)有限公司 | A kind of distributed transmission method, device and the terminal of adding personalized information |
CN110457098A (en) * | 2019-07-05 | 2019-11-15 | 中国平安财产保险股份有限公司 | Page topography sharing method, device, equipment and storage medium |
CN110457098B (en) * | 2019-07-05 | 2023-02-10 | 中国平安财产保险股份有限公司 | Page local image sharing method, device, equipment and storage medium |
CN110413809A (en) * | 2019-07-31 | 2019-11-05 | 福建南威软件有限公司 | A kind of picture management method and system based on Cloud Server |
Also Published As
Publication number | Publication date |
---|---|
CN103258024B (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103258024A (en) | Method, system and device for sharing local contents of pictures in webpage | |
CN103269362A (en) | Method, system and device for sharing localized content of picture in webpage | |
CN102857579B (en) | Information processing method, device, terminal and server | |
CN102682093B (en) | Web page sectionally-loading method and web page sectionally-loading system for mobile browser | |
CA2883224C (en) | Information transmission method, apparatus, and system, terminal, and server | |
CN103209407B (en) | The downloading management method of application program, system and mobile terminal in mobile terminal | |
CN102662600B (en) | Method for mutually dragging files at different domain names | |
CN104333599A (en) | Application sharing method and system and application service platform | |
CA2882307C (en) | Information transmission method, apparatus, system, and terminal | |
CN103761327A (en) | Resource sharing method and system, terminal and server | |
US11032683B2 (en) | Method and apparatus for publishing cloud resource | |
CN101741872A (en) | Method and device for acquiring information of target resources | |
CN104426985A (en) | Method, device and system for displaying webpage | |
CN103973547A (en) | Picture display method and device | |
CN102724231B (en) | A kind of method of resource downloading, server and user terminal | |
CN103856543A (en) | Method for processing video, mobile terminal and server | |
CN103377233A (en) | Webpage sharing method and corresponding system | |
CN109543119B (en) | Page preview system and method | |
CN102231157A (en) | Page batch viewing method and device for mobile terminal | |
CN103379163B (en) | A kind of defining method of business object and determining device | |
JP6212240B2 (en) | Notification method and notification server for performing push notification by wipe to portable terminal | |
CN105975572B (en) | Webpage display process and device | |
CN103914477A (en) | Method and device for processing data | |
CN106487861B (en) | Network data providing method and device | |
WO2013178055A1 (en) | Method and system for accessing micro-blog album and micro-blog client |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |