CN107291839A - Share the method and apparatus of picture - Google Patents

Share the method and apparatus of picture Download PDF

Info

Publication number
CN107291839A
CN107291839A CN201710399772.0A CN201710399772A CN107291839A CN 107291839 A CN107291839 A CN 107291839A CN 201710399772 A CN201710399772 A CN 201710399772A CN 107291839 A CN107291839 A CN 107291839A
Authority
CN
China
Prior art keywords
picture
shared
screen
acquisition
receiving
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
CN201710399772.0A
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.)
Samsung Guangzhou Mobile R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Guangzhou Mobile R&D Center
Samsung Electronics 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 Samsung Guangzhou Mobile R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Guangzhou Mobile R&D Center
Priority to CN201710399772.0A priority Critical patent/CN107291839A/en
Publication of CN107291839A publication Critical patent/CN107291839A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Facsimiles In General (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of method and apparatus for sharing picture, and this method includes:Obtain picture to be shared;Share the picture of acquisition;Delete the picture.Share the method and apparatus of picture according to an embodiment of the invention, can quickly delete the picture shared, be manually entered the file of the picture without user and select the picture in this document folder and input deletion action, it is easy to operate.

Description

Share the method and apparatus of picture
Technical field
The present invention relates to the technical field of picture processing.More particularly, it is related to a kind of method and apparatus for sharing picture.
Background technology
With the development of electronic technology and internet, people are increasingly intended to be recorded using mobile terminal and shared certainly Oneself life.For example, photo can be shot by the camera function of mobile terminal, then it will be clapped by the network savvy of mobile terminal The photo taken the photograph is shared.For example, the image content formation snapshot of display can be intercepted by the screenshotss function of mobile terminal Piece, then shared screenshot picture by the network savvy of mobile terminal.With the increase of the use time of mobile terminal, move The memory space that picture in dynamic terminal is occupied will be increasing, can influence the use of mobile terminal, at this moment just need user to select The picture no longer needed is selected, and is deleted the picture of selection by deletion action.But such delet method operation It is cumbersome, it is not convenient.
The content of the invention
The method and apparatus for sharing picture of picture can be quickly deleted it is an object of the invention to provide a kind of.
An aspect of of the present present invention provides a kind of method for sharing picture, and this method includes:Obtain picture to be shared;Share The picture of acquisition;Delete the picture.
Alternatively, the picture for obtaining picture to be shared according to the operation of user and/or sharing acquisition, wherein, complete After into the picture for sharing acquisition, the picture is automatically deleted.
Alternatively, the step of obtaining picture to be shared includes:When receiving the first scheduled operation, in response to receiving First scheduled operation, obtains the screen data corresponding to the picture shown on present displays, by the screen of acquisition Picture data is converted to byte stream, and the byte stream is sent to predetermined application, wherein, the predetermined application is according to the byte Stream generates the screenshot picture as picture to be shared;The step of picture for sharing acquisition, includes:Institute is shared in the predetermined application State screenshot picture;The step of deleting the picture includes:Delete the screenshot picture for making a reservation for application generation described in caching.
Alternatively, the step of obtaining the screen data corresponding to the picture shown on present displays includes:From frame Caching obtains the screen data corresponding to the picture shown on present displays.
Alternatively, first scheduled operation is the predetermined registration operation carried out to predetermined key.
Alternatively, the step of picture for sharing acquisition, includes:The storage address of the picture of acquisition is sent to predetermined application, So as to which the predetermined application can share the picture in the storage address according to the storage address, or, by the figure of acquisition Piece is sent to predetermined application;The step of deleting the picture includes:The picture in the storage address is deleted, or, according to obtaining The information entrained by picture that takes deletes picture.
Alternatively, the step of obtaining picture to be shared includes:When receiving screenshotss operation, obtain on present displays Screen data corresponding to the picture of display, the snapshot as picture to be shared is generated according to screen data Piece, stores the screenshot picture, the screenshot picture and first operational controls is shown in screen, wherein, receiving To the picture for sharing acquisition again after the operation that the first operational controls shown in receiving user to screen are carried out.
Alternatively, the step of obtaining picture to be shared includes:When receiving the second scheduled operation, in response to receiving Second scheduled operation, obtains the screen data corresponding to the picture shown on present displays, according to screen-picture Data generate the screenshot picture as picture to be shared, and store the screenshot picture, the screenshot picture is shown in screen, Wherein, the automatic picture for sharing acquisition after completion obtains picture to be shared.
Alternatively, the step of obtaining picture to be shared includes:Wait to share for being selected as in picture library when receiving Picture picture operation when, selected picture and first operational controls are shown in screen, wherein, receive To the picture for sharing acquisition again after the operation that the first operational controls shown in receiving user to screen are carried out.
Alternatively, the step of obtaining picture to be shared includes:Make a reservation for apply to be selected as in picture library to treat when receiving During the instruction of the picture for the picture shared, selected picture and first operational controls are shown in screen, wherein, Receive the picture for sharing acquisition again after the operation that the first operational controls shown in receiving user to screen are carried out.
Alternatively, the above method also includes:Receive to the selection operation of the predetermined application with select it is described it is predetermined should With.
Alternatively, the step of deleting the picture includes:Complete to show quilt in the interface after picture is shared in predetermined application The thumbnail for the picture shared and the second operational controls, receive operation that user carries out to second operational controls it Afterwards, the picture shared is deleted.
A kind of equipment for sharing picture is provided according to another aspect of the present invention, and the equipment includes:Acquiring unit, acquisition is treated The picture shared;Shares unit, shares the picture of acquisition;Unit is deleted, the picture is deleted.
Alternatively, acquiring unit obtains picture to be shared, and/or shares unit according to user according to the operation of user Operation share the picture of acquisition, wherein, after shares unit completes to share the picture of acquisition, delete unit and be automatically deleted The picture.
Alternatively, acquiring unit, in response to receiving first scheduled operation, is obtained when receiving the first scheduled operation The screen data corresponding to the picture shown on present displays is taken, the screen data of acquisition is converted into byte Stream, the byte stream is sent to predetermined application, wherein, the predetermined application is according to byte stream generation as to be shared The screenshot picture of picture;Shares unit shares the screenshot picture by the predetermined application;Delete institute in element deletion caching State the screenshot picture of predetermined application generation.
Alternatively, acquiring unit obtains the screen-picture number corresponding to the picture shown on present displays from frame buffer According to.
Alternatively, first scheduled operation is the predetermined registration operation carried out to predetermined key.
Alternatively, shares unit sends the storage address of the picture of acquisition to predetermined application, so that the predetermined application The picture in the storage address can be shared according to the storage address, or, the picture of acquisition is sent to predetermined application; The picture in storage address described in element deletion is deleted, or, information according to entrained by the picture of acquisition deletes picture.
Alternatively, acquiring unit is obtained corresponding to the picture shown on present displays when receiving screenshotss operation Screen data, the screenshot picture as picture to be shared is generated according to screen data, stores the screenshot picture, The screenshot picture and first operational controls are shown in screen, wherein, shares unit is receiving use receiving Share the picture of acquisition after the operation that family is carried out to the first operational controls shown in screen again.
Alternatively, acquiring unit, in response to receiving second scheduled operation, is obtained when receiving the second scheduled operation The screen data corresponding to the picture shown on present displays is taken, according to screen data generation as to be shared The screenshot picture of picture, stores the screenshot picture, the screenshot picture is shown in screen, wherein, shares unit is completed Obtain the automatic picture for sharing acquisition after picture to be shared.
Alternatively, acquiring unit is when the operation for receiving the picture for being selected as picture to be shared in picture library When, selected picture and first operational controls are shown in screen, wherein, shares unit is being received receiving Share the picture of acquisition after the operation that user is carried out to the first operational controls shown in screen again.
Alternatively, acquiring unit works as the finger for receiving and making a reservation for apply the picture that picture to be shared is selected as in picture library When making, selected picture and first operational controls are shown in screen, wherein, shares unit is being received in reception Share the picture of acquisition after the operation carried out to user to the first operational controls shown in screen again.
Alternatively, in addition to:Selecting unit, receive to the selection operation of the predetermined application with select it is described it is predetermined should With.
Alternatively, the breviary that unit shows the picture shared in predetermined application completes the interface after picture is shared is deleted Figure and the second operational controls, after the operation that user is carried out to second operational controls is received, delete what is shared Picture.
A kind of computer-readable recording medium is provided according to another aspect of the present invention, and the computer-readable recording medium is deposited Contain the programmed instruction for causing the above-mentioned method of computing device when being executed by a processor.
A kind of mobile terminal is provided according to another aspect of the present invention, and the mobile terminal includes:Processor;Memory, is used Cause the programmed instruction of the above-mentioned method of computing device when being executed by a processor in storage.
According to the method and apparatus for sharing picture of above-described embodiment, the picture shared can be quickly deleted, without user It is manually entered the file of the picture and selects the picture in this document folder and input deletion action, it is easy to operate.
By in following description partly illustrate the present invention it is other in terms of and/or advantage, some is by retouching State and will be apparent, or can be learnt by implementation of the invention.
Brief description of the drawings
By the detailed description carried out below in conjunction with the accompanying drawings, above and other objects of the present invention, feature and advantage will Become more fully apparent, wherein:
Fig. 1 is the flow chart for showing to share according to an embodiment of the invention the method for picture;
Fig. 2 shows the flow chart of the method for sharing picture according to another embodiment of the present invention;
Fig. 3 shows the examples of interfaces for being used to set quick screenshotss to share according to an embodiment of the invention;
Fig. 4 shows the examples of interfaces for being used to select predetermined application according to an embodiment of the invention;
Fig. 5 shows the flow chart of the method for sharing picture according to another embodiment of the present invention;
Fig. 6 shows the examples of interfaces after screenshotss operation according to an embodiment of the invention;
Fig. 7 shows to select the examples of interfaces after picture according to an embodiment of the invention in picture library;
Fig. 8 shows to make a reservation for apply according to an embodiment of the invention the examples of interfaces selected in picture library after picture;
Fig. 9 shows the example of the second operational controls according to an embodiment of the invention;
Figure 10 is the block diagram for showing to share according to an embodiment of the invention the equipment of picture.
Embodiment
Embodiments of the invention are described in detail with reference to the accompanying drawings.
Fig. 1 is the flow chart for showing to share according to an embodiment of the invention the method for picture.According to the implementation of the present invention Example share picture method be applied to various accessible internets mobile terminal, such as mobile communication terminal, tablet personal computer, Game machine, digital multimedia player etc..
Reference picture 1, in step S101, obtains picture to be shared.Here, the picture to be shared can be in step The just internally picture that stores or the picture generated in step S101 in memory or caching before S101.The figure Piece can be the photo shot or the picture that generation is operated according to screenshotss.Here, can be by obtaining picture to be shared Itself picture is obtained, also can be used to generating the image data of the picture obtaining picture by obtaining.Here, can be according to user Operation perform step S101.
In step S102, share the picture of acquisition.Here, it can be obtained by the different applications for being used to share picture to share The picture taken.The predetermined application can set in advance or user select.For example, before step S102, connecing Receive to the selection operation of the predetermined application as the application for sharing picture to select the predetermined application.Here, can according to The operation at family performs step S102.Wherein, step S102 and step S101 can be performed under the same operation of user, that is, Say, after user has carried out the operation, step S101 and step S102 is performed in response to the operation.Step S102 and step S101 can also be performed under the different operations of user, that is to say, that step S101 and step S102 are respectively responsive to different Operate to perform.
In step S103, the picture is deleted.The picture can be automatically deleted after the picture of acquisition has been shared, also may be used Control for deleting the picture is provided in interface, after user operates to the control, then picture is deleted.Here, In the case where the picture is stored in the picture in the storage address of internal storage, in step S103, delete described in deposit Store up the picture in address;In the case where the picture is generated and stored in the buffer in step S101, in step S103, deletes the picture of caching.
According to the method for sharing picture of above-described embodiment, the picture shared can be quickly deleted, is entered manually without user Enter the file of the picture and select the picture in this document folder and input deletion action, it is easy to operate.
The above-mentioned method for sharing picture will be described in detail by different embodiments below.
Fig. 2 shows the flow chart of the method for sharing picture according to another embodiment of the present invention.
In step S201, when receiving the first scheduled operation, in response to receiving first scheduled operation, obtain and work as The screen data corresponding to picture shown on preceding display, byte stream is converted to by the screen data of acquisition, will The byte stream is sent to predetermined application.
First scheduled operation is the predetermined registration operation carried out to predetermined key.The predetermined key can be physical button (such as return key, volume key, power key) or the control being shown in interface.The predetermined registration operation can be long-press, The operation such as click, double-click, press or slide.Here, can be first step by the corresponding function setting of first scheduled operation Function in S201 (hereinafter referred to as quick screenshotss are shared).
Fig. 3 shows the examples of interfaces for being used to set quick screenshotss to share according to an embodiment of the invention.
As shown in figure 3, can be that quick screenshotss are shared by the corresponding function setting of long-press return key by Fig. 3 median surfaces, User have selected after quick screenshotss share corresponding control 301, will be responsive to receive after the long-press operation to return key The step of to perform in step S201 in response to receiving after first scheduled operation.
Referring again to Fig. 2, the screen corresponding to the picture shown on present displays can be obtained by various methods and is drawn Face data.For example, obtaining the screen data corresponding to the picture shown on present displays from frame buffer.
When the predetermined application is that user selectes, it may be in response to receive first scheduled operation in screen The middle interface shown for selecting the predetermined application.Fig. 4 shows to be used to select predetermined application according to an embodiment of the invention Examples of interfaces.As shown in figure 4, user can select predetermined application to share screen-picture in the interface shown in Fig. 4.
Referring again to Fig. 2, after the predetermined application receives the byte stream, it will be generated and made according to the byte stream For the screenshot picture of picture to be shared, and by screenshot picture storage in the buffer.
In step S202, the screenshot picture is shared in the predetermined application.
In step S203, after step S202 completions, the snapshot for making a reservation for application generation described in caching is automatically deleted Piece.
Here, it is predetermined to apply after byte stream is received in the case where byte stream is smaller, can be directly by byte stream In the way of array mode is sent to the mobile terminal shared, the mobile terminal shared, will after byte stream is received Byte stream is converted to screenshot picture, shares screenshot picture so as to realize.In step S203, the byte stream in caching is automatically deleted. Here it is possible to when predetermined application is closed, the array spatial cache be reclaimed by system, so as to empty byte stream automatically.According to Fig. 2 The shown method for sharing picture, by screen data by byte stream by way of send to the application for sharing picture Mode shares screen-picture, shares the screenshot picture being automatically deleted after completing in caching, simple to operate.
Fig. 5 shows the flow chart of the method for sharing picture according to another embodiment of the present invention.
Reference picture 5, in step S501, obtains picture to be shared.Here, it can obtain to be shared by various modes Picture.
When picture to be shared is to operate the picture of generation according to screenshotss in step S501, step S501 bags Include:When receiving screenshotss operation, the screen data corresponding to the picture shown on present displays is obtained, according to screen Picture data generates the screenshot picture as picture to be shared, and stores the screenshot picture, the screenshotss are shown in screen Picture and the first operational controls that picture is deleted after sharing for picture.
Fig. 6 shows the examples of interfaces after screenshotss operation according to an embodiment of the invention.As shown in fig. 6, receiving After screenshotss operation, the operational controls 602 of screenshot picture 601 and first are shown in screen.
During the picture just internally stored in memory before picture to be shared is step S501, user The picture can be obtained by selecting picture in picture library.Correspondingly, step S501 includes:It is used to select in picture library when receiving Select as when the operation of the picture for the picture shared, shown in screen selected picture and it is described first operation control Part.Fig. 7 shows to select the examples of interfaces after picture according to an embodiment of the invention in picture library.As shown in fig. 7, receiving It is selected as in picture library after the operation of picture, the selected operational controls of picture 701 and first is shown in screen 702.Here, selected picture is not limited to shown in Fig. 7 one, and selected picture can also be multiple.Selected When picture is multiple, multiple selected pictures and the first operational controls can be shown in screen.
During the picture just internally stored in memory before picture to be shared is step S501, may be used also Enter picture library from the predetermined application to obtain the picture.Correspondingly, step S501 includes:When receiving predetermined application It is selected as in picture library when the instruction of the picture for the picture shared, selected picture and described is shown in screen One operational controls.
Fig. 8 shows to make a reservation for apply according to an embodiment of the invention the examples of interfaces selected in picture library after picture.Such as Shown in Fig. 8, after receiving and being selected as the operation of picture in picture library, shown in screen selected picture 801 with And first operational controls 802.
In addition, in addition to the picture as picture to be shared can be obtained from storage inside, due to also may be used in caching Picture can be stored, for example, the picture opened in web page browsing application or other application will be stored in caching, therefore, may be used also The picture as picture to be shared is obtained from caching.When receiving for being selected as picture to be shared in the buffer During the operation of picture, selected picture and first operational controls are shown in screen.
Referring again to Fig. 5, after the operation that the first operational controls shown in receiving user to screen are carried out, perform Step S502, the storage address of the picture of acquisition is sent to predetermined application, so that the predetermined application can be according to the storage Address is sent to predetermined application to share the picture in the storage address, or by the picture of acquisition.
When the predetermined application is that user selectes, the first operation that can be shown in user is received to screen After the operation that control is carried out, the interface for selecting predetermined application is shown in screen, have selected to select in user and apply it Perform step S502 again afterwards.
In step S503, after step S502 completions, the picture in above-mentioned storage address is automatically deleted, or according to obtaining The information entrained by picture that takes deletes picture.The storage address in information for example according to entrained by the picture of acquisition is deleted Except the picture in the storage address.
It is appreciated that in above-mentioned Fig. 6 into the interface shown in Fig. 7, it may also display for not deleted after picture is shared Second operational controls, after user selects the second control, will perform step 502, but do not perform step 503.
The method for sharing picture according to Fig. 5, by provide a user share for picture after delete the of picture One operational controls, after being operated in user to the first operational controls, it is completed sharing by the picture shared After be automatically deleted, it is simple to operate.
In addition, in another embodiment, can also pre-set for screenshotss and share screenshot picture and deletion screenshotss Second scheduled operation of picture.When receiving the second scheduled operation, in response to receiving second scheduled operation, to current Screen is carried out sharing screenshot picture automatically after screenshotss, and screenshotss, and completion is automatically deleted after sharing, without being shown in screen First operational controls.That is, when receiving the second scheduled operation, in response to receiving second scheduled operation, obtaining The screen data corresponding to the picture shown on present displays is taken, according to screen data generation as to be shared The screenshot picture of picture, stores the screenshot picture, the screenshot picture is shown in screen, completes to obtain figure to be shared The automatic picture for sharing acquisition, the picture is automatically deleted after completing to share after piece.
The method for sharing picture in above-described embodiment, user inputs specific second scheduled operation just can be to screen Screenshotss are carried out, and screenshot picture is shared, and screenshot picture can be automatically deleted after completion is shared, it is simple to operate.
In addition, in another embodiment, can complete to show what is shared in the interface after picture is shared in predetermined application The thumbnail of picture and the second operational controls, after the operation that user is carried out to second operational controls is received, are deleted Except the picture shared.In this embodiment, picture to be shared can be obtained according to existing mode and shares the figure Piece.Fig. 9 shows the example of the second operational controls according to an embodiment of the invention.As shown in figure 9, completing picture in predetermined application The operational controls 902 of thumbnail 901 and second for the picture shared are shown in interface after sharing, user are being received to institute After the operation for stating the progress of the control of the second operation 902, from locally deleting the picture shared.
The method for sharing picture in above-described embodiment, leads to and completes to show in the interface after picture is shared in predetermined application Show the second operational controls for deleting the picture shared, after the operation that user is carried out to second operational controls, Just the picture shared can be deleted, the file of the picture is manually entered without user and selects the picture in this document folder And deletion action is inputted, it is easy to operate.
Figure 10 is the block diagram for showing to share according to an embodiment of the invention the equipment of picture.Embodiments in accordance with the present invention The equipment for sharing picture can be various accessible internets mobile terminal, such as mobile communication terminal, tablet personal computer, trip Gaming machine, digital multimedia player etc..
Reference picture 10, the equipment of picture is shared according to an embodiment of the invention includes acquiring unit 101, shares unit 102 and delete unit 103.
Acquiring unit 101 obtains picture to be shared.Here, before the picture to be shared can be just internally The picture that the picture or acquiring unit 101 stored in memory or caching is generated.The picture can be the photograph shot Piece or the picture that generation is operated according to screenshotss.Here, picture can be obtained in itself by obtaining picture to be shared, Also picture can be obtained by obtaining for generating the image data of the picture.Here, acquiring unit 101 can be according to the behaviour of user Make to obtain picture to be shared.
Shares unit 102 shares the picture of acquisition.Here, it can be obtained by the different applications for being used to share picture to share The picture taken.The predetermined application can set in advance or user select.For example, sharing in shares unit 102 Before the picture of acquisition, receive to the selection operation of the predetermined application as the application for sharing picture with select it is described it is predetermined should With.Here, shares unit 102 can share the picture of acquisition according to the operation of user.Wherein, obtain picture with share picture can Under the same operation of user carry out, that is to say, that after user has carried out the operation, in response to the operation obtain picture and Share picture.Obtain picture and share picture and can also be carried out under the different operations of user, that is to say, that obtain picture and divide Picture is enjoyed respectively responsive to different operations to carry out.
Delete unit 103 and delete the picture.The picture can be automatically deleted after the picture of acquisition has been shared, also may be used Control for deleting the picture is provided in interface, after user operates to the control, then picture is deleted.Here, Unit 103 is deleted in the case where the picture is stored in the picture in the storage address of internal storage and deletes the storage Picture in address;It is by the case that acquiring unit 101 is generated and stored in the buffer, deleting unit in the picture 103 delete the picture of caching.
According to the equipment for sharing picture of above-described embodiment, the picture shared can be quickly deleted, is entered manually without user Enter the file of the picture and select the picture in this document folder and input deletion action, it is easy to operate.
The above-mentioned equipment for sharing picture will be described in detail by different embodiments below.
In another embodiment, acquiring unit 101 is when receiving the first scheduled operation, in response to receiving described One scheduled operation, obtains the screen data corresponding to the picture shown on present displays, by the screen-picture number of acquisition According to byte stream is converted to, the byte stream is sent to predetermined application.
First scheduled operation is the predetermined registration operation carried out to predetermined key.The predetermined key can be physical button (such as return key, volume key, power key) or the control being shown in interface.The predetermined registration operation can be long-press, The operation such as click, double-click, press or slide.Here, first the corresponding function setting of first scheduled operation can be cut to be quick Screen is shared.The examples of interfaces for being used to set quick screenshotss to share according to an embodiment of the invention can be as shown in Figure 3.
Acquiring unit 101 can obtain the screen-picture corresponding to the picture shown on present displays by various methods Data.For example, obtaining the screen data corresponding to the picture shown on present displays from frame buffer.
When the predetermined application is that user selectes, it may be in response to receive first scheduled operation in screen The middle interface shown for selecting the predetermined application.It is used to select the interface of predetermined application to show according to an embodiment of the invention Example can be as shown in Figure 4.
After the predetermined application receives the byte stream, figure to be shared will be used as according to byte stream generation The screenshot picture of piece, and by screenshot picture storage in the buffer.
Shares unit 102 shares the screenshot picture by the predetermined application.
Unit 103 is deleted after shares unit 102 completes to share, is automatically deleted and makes a reservation for application generation described in caching Screenshot picture.
Here, it is predetermined to apply after byte stream is received in the case where byte stream is smaller, can be directly by byte stream In the way of array mode is sent to the mobile terminal shared, the mobile terminal shared, will after byte stream is received Byte stream is converted to screenshot picture, shares screenshot picture so as to realize.Delete the byte stream that unit 103 is automatically deleted in caching. Here it is possible to when predetermined application is closed, the array spatial cache be reclaimed by system, so as to empty byte stream automatically.
In the above-described embodiments, by screen data by byte stream by way of send to the application for sharing picture Mode share screen-picture, share the screenshot picture being automatically deleted after completing in caching, it is simple to operate.
In another embodiment, acquiring unit 101 obtains picture to be shared.Here, it can be obtained by various modes Take picture to be shared.
When picture to be shared is that acquiring unit 101 operates the picture of generation according to screenshotss, acquiring unit 101 When receiving screenshotss operation, the screen data corresponding to the picture shown on present displays is obtained, is drawn according to screen Face data generation stores the screenshot picture, the snapshot is shown in screen as the screenshot picture of picture to be shared Piece and the first operational controls that picture is deleted after sharing for picture.According to an embodiment of the invention after screenshotss operation Examples of interfaces can be as shown in showing Fig. 6.
During the picture just internally stored in memory before picture to be shared is, user can by Picture is selected to obtain the picture in picture library.Correspondingly, acquiring unit 101 is treated point for being selected as in picture library when receiving During the operation of the picture for the picture enjoyed, selected picture and first operational controls are shown in screen.According to this hair The examples of interfaces in picture library after selection picture of bright embodiment can be as shown in Figure 7.
, can also be from described pre- during the picture just internally stored in memory before picture to be shared is Determine to enter picture library in application program to obtain the picture.Correspondingly, acquiring unit 101 is worked as to receive to make a reservation for apply and selected in picture library Select as when the instruction of the picture for the picture shared, shown in screen selected picture and it is described first operation control Part.Make a reservation for apply according to an embodiment of the invention to select the examples of interfaces after picture can be as shown in Figure 8 in picture library.
In addition, in addition to the picture as picture to be shared can be obtained from storage inside, may also be deposited in caching Picture is stored up, for example, the picture opened in web page browsing application or other application will be stored in caching, therefore, can also be postponed Deposit the middle picture obtained as picture to be shared.When receiving the picture for being selected as picture to be shared in the buffer Operation when, selected picture and first operational controls are shown in screen.
After the operation that the first operational controls shown in receiving user to screen are carried out, shares unit 102 will be obtained The storage address of the picture taken is sent to predetermined application, so that described in the predetermined application can share according to the storage address Picture in storage address, or, shares unit 102 sends the picture of acquisition to predetermined application.
When the predetermined application is that user selectes, the first operation that can be shown in user is received to screen After the operation that control is carried out, the interface for selecting predetermined application is shown in screen, have selected to select in user and apply it Afterwards, shares unit 102 shares picture again.
Unit 103 is deleted after shares unit 102 completes to share, the picture in above-mentioned storage address is automatically deleted, or Person deletes information of the unit 103 according to entrained by the picture of acquisition to delete picture.For example, deleting unit 103 according to acquisition The storage address in information entrained by picture deletes the picture in the storage address.
In the above-described embodiments, by provide a user share for picture after delete picture the first operational controls, from And can be automatically deleted the picture shared after completion is shared after user operates to the first operational controls, grasp Make simple.
In addition, in another embodiment, can also pre-set for screenshotss and share screenshot picture and deletion screenshotss Second scheduled operation of picture.When receiving the second scheduled operation, in response to receiving second scheduled operation, to current Screen is carried out sharing screenshot picture automatically after screenshotss, and screenshotss, and completion is automatically deleted after sharing, without being shown in screen First operational controls.That is, when receiving the second scheduled operation, in response to receiving second scheduled operation, obtaining The screen data corresponding to the picture shown on present displays is taken, according to screen data generation as to be shared The screenshot picture of picture, stores the screenshot picture, the screenshot picture is shown in screen, completes to obtain figure to be shared The automatic picture for sharing acquisition, the picture is automatically deleted after completing to share after piece.
In the above-described embodiments, user inputs specific second scheduled operation just can carry out screenshotss to screen, and to screenshotss Picture is shared, and can be automatically deleted screenshot picture after completion is shared, simple to operate.
In addition, in another embodiment, can complete to show what is shared in the interface after picture is shared in predetermined application The thumbnail of picture and the second operational controls, after the operation that user is carried out to second operational controls is received, are deleted Except the picture shared.In this embodiment, picture to be shared can be obtained according to existing mode and shares the figure Piece.The example of the second operational controls can be as shown in Figure 9 according to an embodiment of the invention.
In the above-described embodiments, lead to and complete to show for deleting what is shared in the interface after picture is shared in predetermined application Second operational controls of picture, after the operation that user is carried out to second operational controls, just can delete the figure shared Piece, is manually entered the file of the picture without user and selects the picture in this document folder and input deletion action, grasp Make easy.
Unit in the equipment for sharing picture of the exemplary embodiment of the present invention can be completely by hardware be come real It is existing, such as field programmable gate array (FPGA) or application specific integrated circuit (ASIC);It can also be combined by hardware and software Mode is realized;It can also be realized completely by computer program with software mode.
Embodiments in accordance with the present invention also provide a kind of computer-readable recording medium.The computer-readable recording medium is deposited Contain the programmed instruction for causing computing device method described above when being executed by a processor.The computer readable recording medium storing program for performing It is that can store the arbitrary data storage device of the data read by computer system.The example bag of computer readable recording medium storing program for performing Include:Read-only storage, random access memory, read-only optical disc, tape, floppy disk, optical data storage devices and carrier wave are (such as through having The data transfer that line or wireless propagation path pass through internet).Computer readable recording medium storing program for performing also can be distributed in connection network Computer system, so that computer-readable code is stored and performed in a distributed manner.In addition, completing the function program of the present invention, generation Code and code segment can be explained easily within the scope of the present invention by the ordinary programmers in field related to the present invention.
Embodiments of the invention also provide a kind of mobile terminal.The electronic installation may include processor and memory.Storage Device is instructed for storage program.Described program instruction causes computing device method described above when being executed by a processor.Institute State the electronic equipment that mobile terminal can be various accessible internets, for example mobile communication terminal, tablet personal computer, game machine, Digital multimedia player etc..
Although being particularly shown and describing the present invention, those skilled in the art with reference to its exemplary embodiment It should be understood that in the case where not departing from the spirit and scope of the present invention that claim is limited, form can be carried out to it With the various changes in details.

Claims (26)

1. a kind of method for sharing picture, it is characterised in that including:
Obtain picture to be shared;
Share the picture of acquisition;
Delete the picture.
2. according to the method described in claim 1, it is characterised in that obtained according to the operation of user picture to be shared and/ Or share the picture of acquisition,
Wherein, after the picture of acquisition is shared in completion, it is automatically deleted the picture.
3. method according to claim 2, it is characterised in that the step of obtaining picture to be shared includes:When receiving During the first scheduled operation, in response to receiving first scheduled operation, obtain corresponding to the picture shown on present displays Screen data, the screen data of acquisition is converted into byte stream, the byte stream is sent to predetermined application, its In, the predetermined application generates the screenshot picture as picture to be shared according to the byte stream;
The step of picture for sharing acquisition, includes:The screenshot picture is shared in the predetermined application;
The step of deleting the picture includes:Delete the screenshot picture for making a reservation for application generation described in caching.
4. method according to claim 3, it is characterised in that obtain the screen corresponding to the picture shown on present displays The step of curtain picture data, includes:The screen data corresponding to the picture shown on present displays is obtained from frame buffer.
5. method according to claim 3, it is characterised in that first scheduled operation is to the pre- of predetermined key progress If operation.
6. method according to claim 2, it is characterised in that include the step of the picture for sharing acquisition:By the figure of acquisition The storage address of piece is sent to predetermined application, so that the predetermined application can share the storage according to the storage address Picture in location, or, the picture of acquisition is sent to predetermined application;
The step of deleting the picture includes:The picture in the storage address is deleted, or, according to entrained by the picture of acquisition Information delete picture.
7. method according to claim 6, it is characterised in that the step of obtaining picture to be shared includes:When receiving When screenshotss are operated, the screen data corresponding to the picture shown on present displays is obtained, is given birth to according to screen data Into the screenshot picture as picture to be shared, the screenshot picture is stored, the screenshot picture and institute are shown in screen The first operational controls are stated,
Wherein, obtain receiving again to share after the operation that the first operational controls for showing in receiving user to screen are carried out The picture taken.
8. method according to claim 6, it is characterised in that the step of obtaining picture to be shared includes:When receiving During the second scheduled operation, in response to receiving second scheduled operation, obtain corresponding to the picture shown on present displays Screen data, the screenshot picture as picture to be shared, the storage snapshot are generated according to screen data Piece, shows the screenshot picture in screen,
Wherein, the automatic picture for sharing acquisition after completion obtains picture to be shared.
9. method according to claim 6, it is characterised in that the step of obtaining picture to be shared includes:When receiving For being selected as in picture library when the operation of the picture for the picture shared, selected picture and institute are shown in screen The first operational controls are stated,
Wherein, obtain receiving again to share after the operation that the first operational controls for showing in receiving user to screen are carried out The picture taken.
10. method according to claim 6, it is characterised in that the step of obtaining picture to be shared includes:When receiving Predetermined apply is selected as in picture library when the instruction of the picture for the picture shared, shown in screen selected picture with And first operational controls,
Wherein, obtain receiving again to share after the operation that the first operational controls for showing in receiving user to screen are carried out The picture taken.
11. according to any described methods of claim 3-9, it is characterised in that also include:Receive the choosing to the predetermined application Operation is selected to select the predetermined application.
12. according to the method described in claim 1, it is characterised in that the step of deleting the picture includes:Applied predetermined The thumbnail and the second operational controls for the picture shared are shown in interface after sharing into picture, user is being received to institute After the operation for stating the progress of the second operational controls, the picture shared is deleted.
13. a kind of equipment for sharing picture, it is characterised in that including:
Acquiring unit, obtains picture to be shared;
Shares unit, shares the picture of acquisition;
Unit is deleted, the picture is deleted.
14. equipment according to claim 13, it is characterised in that acquiring unit is obtained according to the operation of user to be waited to share Picture, and/or shares unit shares the picture of acquisition according to the operation of user,
Wherein, after the picture of acquisition is shared in shares unit completion, delete unit and be automatically deleted the picture.
15. equipment according to claim 14, it is characterised in that acquiring unit is rung when receiving the first scheduled operation Ying Yu receives first scheduled operation, obtains the screen data corresponding to the picture shown on present displays, will The screen data of acquisition is converted to byte stream, and the byte stream is sent to predetermined application, wherein, the predetermined application root The screenshot picture as picture to be shared is generated according to the byte stream;
Shares unit shares the screenshot picture by the predetermined application;
Delete the screenshot picture for making a reservation for application generation described in element deletion caching.
16. equipment according to claim 15, it is characterised in that acquiring unit is obtained from frame buffer to be shown on present displays The screen data corresponding to picture shown.
17. equipment according to claim 15, it is characterised in that first scheduled operation is to be carried out to predetermined key Predetermined registration operation.
18. equipment according to claim 14, it is characterised in that shares unit sends the storage address of the picture of acquisition To predetermined application, so that the predetermined application can share the picture in the storage address according to the storage address, or, The picture of acquisition is sent to predetermined application;
The picture in storage address described in element deletion is deleted, or, information according to entrained by the picture of acquisition deletes figure Piece.
19. equipment according to claim 18, it is characterised in that acquiring unit is obtained and worked as when receiving screenshotss operation The screen data corresponding to picture shown on preceding display, picture to be shared is used as according to screen data generation Screenshot picture, store the screenshot picture, the screenshot picture and first operational controls shown in screen,
Wherein, shares unit is being received after the operation that the first operational controls shown in receiving user to screen are carried out Share the picture of acquisition again.
20. equipment according to claim 18, acquiring unit is when receiving the second scheduled operation, in response to receiving The second scheduled operation is stated, the screen data corresponding to the picture shown on present displays is obtained, according to screen-picture number According to screenshot picture of the generation as picture to be shared, the screenshot picture is stored, the screenshot picture is shown in screen,
Wherein, shares unit automatic picture for sharing acquisition after completion obtains picture to be shared.
21. equipment according to claim 18, it is characterised in that acquiring unit, which is worked as, to be received for selecting to make in picture library When the operation of the picture for the picture shared, to show selected picture and first operational controls in screen,
Wherein, shares unit is being received after the operation that the first operational controls shown in receiving user to screen are carried out Share the picture of acquisition again.
22. equipment according to claim 18, it is characterised in that acquiring unit is worked as to receive to make a reservation for apply to be selected in picture library Select as when the instruction of the picture for the picture shared, shown in screen selected picture and it is described first operation control Part,
Wherein, shares unit is being received after the operation that the first operational controls shown in receiving user to screen are carried out Share the picture of acquisition again.
23. according to any described methods of claim 15-21, it is characterised in that also include:Selecting unit, is received to described Make a reservation for the selection operation of application to select the predetermined application.
24. method according to claim 13, it is characterised in that delete unit after predetermined application completion picture is shared The thumbnail and the second operational controls for the picture shared are shown in interface, user is being received to second operational controls After the operation of progress, the picture shared is deleted.
25. a kind of computer-readable recording medium, is stored with and causes computing device such as claim 1 when being executed by a processor To the programmed instruction of 12 any described methods.
26. a kind of mobile terminal, including:
Processor;
Memory, causes side of the computing device as described in claim 1 to 12 is any when being executed by a processor for storing The programmed instruction of method.
CN201710399772.0A 2017-05-31 2017-05-31 Share the method and apparatus of picture Pending CN107291839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710399772.0A CN107291839A (en) 2017-05-31 2017-05-31 Share the method and apparatus of picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710399772.0A CN107291839A (en) 2017-05-31 2017-05-31 Share the method and apparatus of picture

Publications (1)

Publication Number Publication Date
CN107291839A true CN107291839A (en) 2017-10-24

Family

ID=60094232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710399772.0A Pending CN107291839A (en) 2017-05-31 2017-05-31 Share the method and apparatus of picture

Country Status (1)

Country Link
CN (1) CN107291839A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864277A (en) * 2017-10-30 2018-03-30 珠海市魅族科技有限公司 Remind method, apparatus, computer installation and the computer-readable storage medium for deleting picture
CN108153461A (en) * 2017-12-25 2018-06-12 维沃移动通信有限公司 A kind of sending method of image data, device and mobile terminal
CN108509122A (en) * 2018-03-16 2018-09-07 维沃移动通信有限公司 A kind of images share method and terminal
CN108717513A (en) * 2018-04-27 2018-10-30 上海爱优威软件开发有限公司 A kind of information sharing method and system based on terminal operation
WO2019042049A1 (en) * 2017-09-04 2019-03-07 维沃移动通信有限公司 Image processing method and mobile terminal
CN110086705A (en) * 2019-03-29 2019-08-02 维沃移动通信(深圳)有限公司 A kind of method and terminal device sending image
WO2020087504A1 (en) * 2018-11-02 2020-05-07 深圳市柔宇科技有限公司 Screenshot interaction method, electronic device, and computer-readable storage medium
WO2021036504A1 (en) * 2019-08-23 2021-03-04 维沃移动通信有限公司 Picture deletion method and terminal device
CN112765383A (en) * 2021-04-07 2021-05-07 荣耀终端有限公司 File cleaning method and electronic equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019042049A1 (en) * 2017-09-04 2019-03-07 维沃移动通信有限公司 Image processing method and mobile terminal
CN107864277A (en) * 2017-10-30 2018-03-30 珠海市魅族科技有限公司 Remind method, apparatus, computer installation and the computer-readable storage medium for deleting picture
CN108153461A (en) * 2017-12-25 2018-06-12 维沃移动通信有限公司 A kind of sending method of image data, device and mobile terminal
CN108153461B (en) * 2017-12-25 2019-11-01 维沃移动通信有限公司 A kind of sending method of image data, device and mobile terminal
CN108509122A (en) * 2018-03-16 2018-09-07 维沃移动通信有限公司 A kind of images share method and terminal
CN108717513A (en) * 2018-04-27 2018-10-30 上海爱优威软件开发有限公司 A kind of information sharing method and system based on terminal operation
WO2020087504A1 (en) * 2018-11-02 2020-05-07 深圳市柔宇科技有限公司 Screenshot interaction method, electronic device, and computer-readable storage medium
CN112889020A (en) * 2018-11-02 2021-06-01 深圳市柔宇科技股份有限公司 Interaction method based on screen capture, electronic device and computer readable storage medium
CN110086705A (en) * 2019-03-29 2019-08-02 维沃移动通信(深圳)有限公司 A kind of method and terminal device sending image
WO2020199764A1 (en) * 2019-03-29 2020-10-08 维沃移动通信有限公司 Image sending method and terminal device
WO2021036504A1 (en) * 2019-08-23 2021-03-04 维沃移动通信有限公司 Picture deletion method and terminal device
CN112765383A (en) * 2021-04-07 2021-05-07 荣耀终端有限公司 File cleaning method and electronic equipment

Similar Documents

Publication Publication Date Title
CN107291839A (en) Share the method and apparatus of picture
EP3129871B1 (en) Generating a screenshot
CN107831974B (en) Information sharing method and device and storage medium
EP2613238A2 (en) Method and apparatus for managing icon in portable terminal
US10430456B2 (en) Automatic grouping based handling of similar photos
US10455110B2 (en) Suggesting image files for deletion based on image file parameters
EP3528140A1 (en) Picture processing method, device, electronic device and graphic user interface
KR20140143725A (en) Image correlation method and electronic device therof
CN104820683B (en) A kind of picture processing terminal
CN104102429A (en) Integrated viewfinder and digital media
CN111601012B (en) Image processing method and device and electronic equipment
CN104509092B (en) Control the method and related computing devices and computer-readable recording medium of camera
CN104917967A (en) Photographing method and terminal
US20170364303A1 (en) Suggesting image files for deletion based on image file parameters
CN108475221A (en) Method and apparatus for providing multitasking view
CN107302666A (en) Photographic method, mobile terminal and computer-readable recording medium
CN113079316A (en) Image processing method, image processing device and electronic equipment
WO2023143531A1 (en) Photographing method and apparatus, and electronic device
US20160050172A1 (en) Digital media message generation
CN113918522A (en) File generation method and device and electronic equipment
CN104869144A (en) Information sharing method and electronic equipment
CN108156380A (en) Image acquiring method, device, storage medium and electronic equipment
CN106791381A (en) A kind of photographic method and terminal
US10887551B2 (en) Information processing apparatus, information processing system and information processing method
CN115967854A (en) Photographing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171024