CN109145142B - Management method and terminal for shared information of pictures - Google Patents

Management method and terminal for shared information of pictures Download PDF

Info

Publication number
CN109145142B
CN109145142B CN201810819407.5A CN201810819407A CN109145142B CN 109145142 B CN109145142 B CN 109145142B CN 201810819407 A CN201810819407 A CN 201810819407A CN 109145142 B CN109145142 B CN 109145142B
Authority
CN
China
Prior art keywords
sharing
picture
information
shared
record
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.)
Active
Application number
CN201810819407.5A
Other languages
Chinese (zh)
Other versions
CN109145142A (en
Inventor
俞丹凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810819407.5A priority Critical patent/CN109145142B/en
Publication of CN109145142A publication Critical patent/CN109145142A/en
Application granted granted Critical
Publication of CN109145142B publication Critical patent/CN109145142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a management method and a terminal for shared information of pictures, wherein the method comprises the following steps: in the process of sharing a picture to a preset application, obtaining sharing information of the picture, wherein the sharing information comprises identification information of the picture in an album and sharing content information, and the sharing content information comprises at least one of the following information: sharing the picture to the sharing time of the preset application, the identification information of the preset application and the sharing text information corresponding to the picture; and generating sharing records according to the sharing information of the pictures, and storing the sharing records into a database, wherein each sharing record corresponds to unique sharing identification information. By the mode, the picture sharing method and the picture sharing device, sharing information related to the shared picture can be stored, a user can conveniently look up the picture, the picture browsing experience is improved, the user can conveniently forward the picture according to the sharing information of the picture, and the picture sharing efficiency to the social application is improved.

Description

Management method and terminal for shared information of pictures
Technical Field
The embodiment of the invention relates to the technical field of picture processing, in particular to a management method and a terminal for picture sharing information.
Background
With the development of mobile communication technology, more and more users share pictures in an album to a social application.
However, the photo albums in the prior art can only display the content of the pictures, and do not store the shared information related to the pictures. For example, a user takes several pictures and shares the pictures with the social application a, and takes another picture and shares the pictures with the social application B, but when the user browses the pictures in the album, the user can only see the contents of the pictures, and cannot see the pictures shared with the social application, nor the characters distributed when the user shares the pictures.
Therefore, how to store the sharing information related to the picture is a technical problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the invention provides a management method and a terminal for picture sharing information, and aims to solve the problem of how to store the picture-related sharing information.
In order to solve the technical problem, the invention is realized as follows: in a first aspect, an embodiment of the present invention provides a method for managing shared information of pictures, including:
in the process of sharing a picture to a preset application, obtaining sharing information of the picture, wherein the sharing information comprises identification information of the picture in an album and sharing content information, and the sharing content information comprises at least one of the following information: sharing the picture to the sharing time of the preset application, the identification information of the preset application and the sharing text information corresponding to the picture;
and generating sharing records according to the sharing information of the pictures, and storing the sharing records into a database, wherein each sharing record corresponds to unique sharing identification information.
In a second aspect, an embodiment of the present invention provides a terminal, including:
the acquisition module is used for acquiring sharing information of the picture in the process of sharing the picture to a preset application, wherein the sharing information comprises identification information of the picture in an album and sharing content information, and the sharing content information comprises at least one of the following information: sharing the picture to the sharing time of the preset application, the identification information of the preset application and the sharing text information corresponding to the picture;
and the storage module is used for generating sharing records according to the sharing information of the pictures and storing the sharing records into a database, wherein each sharing record corresponds to unique sharing identification information.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the management method as described above.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the management method as described above.
In the embodiment of the invention, the sharing information of the picture is acquired in the process of sharing the picture to the preset application, the sharing record is generated according to the sharing information of the picture and is stored in the database, the sharing information related to the shared picture can be stored, the user can conveniently look up the sharing information, the picture browsing experience is improved, the user can forward the sharing information according to the picture, and the efficiency of sharing the picture to the social application is improved.
Drawings
Fig. 1 is a flowchart illustrating a management method for sharing information of a picture according to a first embodiment of the present invention;
fig. 2-6 are schematic diagrams of capturing a screenshot of shared text information corresponding to a picture in accordance with some preferred embodiments of the present invention;
FIG. 7 is a diagram of a share record preview box in some preferred embodiments of the present invention;
FIG. 8 is a schematic illustration of a shared information display interface in further preferred embodiments of the present invention;
FIG. 9 is a schematic view of a sharing card in accordance with further preferred embodiments of the present invention;
fig. 10 is a flowchart illustrating a management method for sharing information of pictures according to a second embodiment of the present invention;
FIG. 11 is a diagram illustrating a "social application" album page according to a second embodiment of the present invention;
FIG. 12 is a diagram illustrating a "sharing time" album page according to a second embodiment of the present invention;
FIG. 13 is a diagram illustrating a "social application" album page according to a second embodiment of the present invention;
FIG. 14 is a diagram showing a sub album according to a second embodiment of the present invention;
fig. 15 is a schematic structural diagram of a terminal according to a third embodiment of the present invention;
fig. 16 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention;
fig. 17 is a schematic hardware configuration diagram of a terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flowchart of a management method for sharing information of pictures according to a first embodiment of the present invention, where the method includes:
step S11: in the process of sharing a picture to a preset application, obtaining sharing information of the picture, wherein the sharing information comprises identification information of the picture in an album and sharing content information, and the sharing content information comprises at least one of the following information: sharing the picture to the sharing time of the preset application, the identification information of the preset application and the sharing text information corresponding to the picture;
step S12: and generating sharing records according to the sharing information of the pictures, and storing the sharing records into a database, wherein each sharing record corresponds to unique sharing identification information.
By adopting the method, the sharing information related to the shared picture can be stored, the user can conveniently look up the sharing information, the picture browsing experience is improved, the user can conveniently forward the sharing information according to the picture, and the efficiency of sharing the picture to the social application is improved.
In the above embodiment, the identification information of the picture in the album may be the number of the picture in the album; the sharing identification information can be a sharing code, a numbering or coding mode is adopted, the searching speed is high, and the method is more convenient and faster.
In the above embodiment, the identifier information of the preset application may be a name of the preset application or an icon of the preset application, and certainly, may also be a name and an icon of the preset application, which is not limited in the present invention.
In the above embodiment, the sharing record generated in step S12 includes 1 or more sharing information, and each sharing record corresponds to a unique sharing identification information, so as to identify the current sharing operation of sharing the picture to the preset application.
In the above embodiment, the preset application is an application stored in a preset application list, and when the picture is shared to the application in the preset application list, a sharing record needs to be generated. Therefore, the user can set the preset application list according to actual requirements, and the method is more flexible and convenient.
Specifically, any application can be shared as long as it has a relevant sharing interface, but not all sharing records have a saving value. Therefore, only the application sharing the picture to the preset application list needs to generate the sharing record. Thus, the value of the data in the database is ensured.
In some preferred embodiments of the present invention, in the process of sharing a picture to a preset application, the step of obtaining the sharing information of the picture includes: acquiring a picture selected by a user; acquiring identification information of the picture in an album, identification information of the preset application and shared character information corresponding to the picture; and sharing the picture and the shared text information corresponding to the picture to the preset application.
Preferably, the shared text information corresponding to the picture can be acquired in the following manner: when the preset application is detected to display a text message editing interface corresponding to the picture, screen capturing is carried out to obtain a first screenshot; when the fact that the text message on the text message editing interface is edited is detected, screen capturing is carried out to obtain a second screenshot; and acquiring character information corresponding to the picture according to the first screenshot and the second screenshot, and taking the character information as shared character information corresponding to the picture.
Further, the step of obtaining the text information corresponding to the picture according to the first screenshot and the second screenshot, and using the obtained text information as the shared text information corresponding to the picture includes: respectively removing status bars in the first screenshot and the second screenshot to obtain a third screenshot and a fourth screenshot; if the third screenshot is the same as the fourth screenshot, the shared text information corresponding to the picture is empty; and if the third screenshot is different from the fourth screenshot, further removing the same area as the third screenshot from the fourth screenshot to obtain a fifth screenshot, and extracting the text information in the fifth screenshot to serve as the shared text information corresponding to the picture.
For example, referring to fig. 2 to 6, fig. 2, 3, 4, 5 and 6 are respectively a first screenshot, a second screenshot, a third screenshot, a fourth screenshot and a fifth screenshot, where fig. 2 includes: a status bar 21, a text edit box area 22, a shared picture area 23, a key area 24 and a blank area 25; fig. 3 includes: a status bar 31, a text edit box area 32, a shared pictures area 33, a key area 34, and a blank area 35. The status bar 21 in the first screenshot (fig. 2) and the status bar 31 in the second screenshot (fig. 3) are removed respectively, the obtained third screenshot (fig. 4) and fourth screenshot (fig. 5) are different, in the fourth screenshot (fig. 5), the same area as the third screenshot (fig. 4) is further removed, that is, the shared picture area 33, the key area 34 and the blank area 35 in fig. 5 are removed, the fifth screenshot (fig. 6) is obtained, that is, only the text edit box area 32 is in the fifth screenshot (fig. 6), the text information "happy fifth" in the fifth screenshot (fig. 6) is extracted, and the "happy fifth is taken as the shared text information corresponding to the pictures.
In some preferred embodiments of the present invention, the step of generating a sharing record according to the sharing information of the picture includes: according to the sharing information of the picture, a sharing record preview frame corresponding to the sharing record is generated, the sharing record preview frame comprises a display area of the picture and a sharing content display area, and the sharing content display area comprises at least one of the following: the method comprises the steps of sharing a time display area, an information display area of a preset application and a shared text information display area, wherein the information of the preset application comprises: the name and/or icon of the preset application; when the sharing record preview frame comprises a sharing text information display area, if it is detected that a user clicks the sharing text information display area within preset time, controlling the sharing text information display area to be in an editable state, and when it is detected that text information in the sharing text information display area is edited, acquiring text information in the sharing text information display area as sharing text information corresponding to the picture, and controlling the preview frame to disappear; and if the user is not detected to click the shared text information display area within the preset time, or the user is detected to click other areas except the preview frame in the screen within the preset time, controlling the preview frame to disappear.
For example, as shown in fig. 7, the sharing record preview frame generated according to the sharing information of the picture includes a picture display area 71 and a sharing content display area 72, where the sharing content display area 72 includes: a shared time display area 721, an icon display area 722 of a preset application, and a shared text information display area 723.
When only 1 shared picture is displayed, the display area 71 of the picture only displays the 1 shared picture; when the number of the shared pictures is larger than 1, the picture display area 71 may display only the 1 st picture of the shared pictures, or may display a mosaic of all the shared pictures.
If it is detected that the user clicks the shared text information display area 723 within the preset time (that is, the user finds that there is an error in the shared text information (that is, the matched text during sharing) or the user thinks of a better matched text character within the preset time), controlling the shared text information display area 723 to be in an editable state, and when it is detected that the text information in the shared text information display area 723 is edited (that is, the modification is completed), acquiring the text information in the shared text information display area 723 as the shared text information corresponding to the picture, and controlling the preview frame 70 to disappear, and at the same time, sharing the picture and the modified text information to the preset application again; if it is detected that the user clicks the shared text information display area 723 within the preset time, or it is detected that the user clicks other areas outside the preview frame 70 in the screen within the preset time (that is, no error exists in the shared record preview frame 70 after the user confirms), the preview frame 70 is controlled to disappear.
Therefore, when the user shares the picture, the sharing record preview frame is generated, so that the user can check and modify the sharing information of the picture, the occurrence of errors is avoided, and the user experience is further improved.
In other preferred embodiments of the present invention, step S12 is followed by: and when the operation that the user triggers the display of the sharing information display interface of the picture is detected, displaying the sharing information display interface of the picture. Wherein, the sharing information display interface of the picture comprises: the picture sharing method comprises a thumbnail of a picture and at least one sharing entry corresponding to the picture, wherein one sharing entry uniquely corresponds to one sharing record of the picture.
The operation of the user triggering the display of the sharing information display interface of the picture may be a preset touch operation, for example: pressing the picture by a user for a long time, or sliding the picture by the user, or clicking the picture by the user; the user may also perform a shaking operation of shaking the terminal or a pressing operation of pressing a preset key of the terminal when viewing the picture, which is not limited in the present invention.
The sharing entries may include all or part of the shared content information in the sharing record. In the sharing information display interface, at least one sharing entry corresponding to the picture is sorted according to a preset rule. Preset rules can be set according to actual requirements, for example: sorting according to sharing time from near to far; or, the pictures are sorted from more to less according to the number of the shared pictures, so that the method is more flexible and convenient, and the invention is not limited.
Preferably, the operation of triggering the display of the shared information display interface of the picture by the user is a touch operation for controlling the picture to turn over, and may be a click operation for clicking the picture by the user or a sliding operation for sliding the picture by the user; the shared information display interface is the back of the picture.
Preferably, the sharing information display interface displays sharing entries of a preset number, and when the sharing entries corresponding to the pictures exceed the preset number, the sharing information display interface further includes: and the user can inquire more sharing entry entries of more sharing entries corresponding to the pictures.
For example, the operation that the user triggers the display of the shared information display interface of the picture is preset to be an upward sliding operation that the user slides up the picture, a user slides up the picture a when browsing the picture, at this time, the operation that the user triggers the display of the shared information display interface of the picture a is detected, the shared record of the picture a in the database is obtained according to the identification information of the picture a in the album, and the shared item of the picture a is displayed on the shared information display interface of the picture a according to the obtained shared record. When the user's upward sliding operation on the picture A is detected, the picture A is reduced and moves upwards, the sharing item of the picture A is displayed below the thumbnail of the picture A, and the display interface at the moment is the sharing information display interface of the picture A. If it is preset that only 2 sharing entries are displayed on the sharing information display interface, and 4 sharing records are inquired about for the picture a, that is, 2 sharing entries are not displayed, at this time, as shown in fig. 8, the sharing information display interface 80 of the picture a includes: a thumbnail 81 of picture a, 2 sharing entries 82, 83 corresponding to picture a, and a more sharing entry 84. The sharing entries displayed in the sharing information display interface 80 include all the sharing content information in the sharing record: the sharing time of the picture A, the icon of the sharing application and the sharing text information. Of course, only part of the shared content information in the shared record may be displayed in the shared entry displayed in the shared information display interface, for example: only the shared text information of the picture a is displayed.
Therefore, the sharing information display interface of the picture is triggered to display, so that the user can look up the sharing information related to the shared picture more clearly and more intuitively, and the picture browsing experience is improved.
In other preferred embodiments of the present invention, step S12 is followed by: when the operation of generating the sharing card of the picture is detected, acquiring a sharing record corresponding to the picture in the database according to the identification information of the picture in the photo album; selecting a sharing record from the obtained sharing records; and generating a sharing card corresponding to the selected sharing record according to the sharing information of the selected sharing record, wherein the sharing card is used as the sharing card of the picture.
The operation of the sharing card for generating the picture may be a set touch operation, for example: pressing the picture by a user for a long time, or sliding the picture by the user, or clicking the picture by the user; the invention may also be implemented by rotating the terminal or pressing a preset key of the terminal when the user views the picture, which is not limited in the present invention.
According to the sharing information of the pictures, a sharing record can be selected from the obtained sharing records. Such as: selecting the sharing record with the longest sharing text information in the obtained sharing records; for another example: and selecting the sharing record with the most shared information in the acquired sharing records, and the like.
For example, the operation of presetting the sharing card used for generating the picture is a downslide operation of downslide of the picture by a user, when the user browses the picture, the user downslide of the picture B, at this time, the operation of the sharing card used for generating the picture B is detected, the sharing record of the picture B is inquired from the database according to the identification information of the picture B in the album, the sharing record corresponding to the picture B is obtained, one sharing record with the sharing time closest to the current time can be selected, and the sharing card corresponding to the selected sharing record is generated according to one or more sharing information in the selected sharing record to serve as the sharing card of the picture B. As shown in fig. 9, the sharing card 90 of the picture B includes a shared picture 91 and sharing text information 92 corresponding to the shared picture. When the identification information of the shared picture in the selected sharing record only includes the identification information of the picture B in the album, the shared picture 91 displayed in the sharing card 90 is the picture B; when the identification information of the shared picture in the selected sharing record includes identification information of other pictures in the album in addition to the identification information of the picture B in the album, all the pictures shared in the sharing record can be obtained according to the identification information of all the pictures shared in the selected sharing record in the album, all the shared pictures are led into an editing interface of the sharing card for editing and adjusting (such as cutting, typesetting and jigsaw puzzle), and after the editing is completed, the shared picture 91 displayed in the sharing card 90 can be the edited shared picture (such as the jigsaw puzzle of all the pictures shared in the selected sharing record), and can also be the picture B.
Therefore, the sharing card of the picture is generated, so that the user can conveniently and directly browse the sharing card, the sharing information related to the shared picture can be directly searched while the shared picture is searched, and the picture browsing experience is improved; moreover, the user can save the sharing cards according to the requirements and directly share the sharing cards, so that the user experience is further improved.
Therefore, the sharing card can be used for making a photo movie, helping a user to summarize, review, commemorate and the like, certainly, the sharing card can be omitted, the shared picture and the sharing text information corresponding to the shared picture are directly obtained from the database, the photo movie is made, the sharing text information is displayed on the corresponding shared picture, and when the photo movie is played, the sharing text information displays the effect of appearing-disappearing in a similar slide, so that the user can be helped to recall, and the viewing experience of the photo movie is further improved.
Referring to fig. 10, fig. 10 is a schematic flowchart of a management method for sharing information of pictures according to a second embodiment of the present invention, where the method includes:
step S101: acquiring a sharing record corresponding to the picture in a database according to the identification information of the picture in the photo album;
step S102: selecting a sharing record from the obtained sharing records;
in this step, a sharing record can be selected according to actual requirements, for example: and selecting the sharing record with the sharing time closest to the current time.
Preferably, the number of the pictures shared in the sharing record can be acquired according to the sharing information of the acquired sharing record; sequencing the inquired sharing records according to the sequence of the number of the shared pictures in the obtained sharing records from a few to a few; and selecting the sharing record with the most number of the shared pictures.
For example: a user shares picture B three times, only picture B for the first time, pictures B and C for the second time, and pictures A, B, C, D, E and F for the third time. And acquiring the 3 sharing records of the picture B from the database according to the identification information of the picture B in the album. According to the sequence of the number of the pictures shared in the 3 sharing records from most to least, the inquired sharing records are sorted as follows: and selecting the sharing record with the most number of the shared pictures, namely selecting the sharing record for the third time.
Step S103: acquiring the pictures shared in the selected sharing record according to the identification information of the pictures shared in the selected sharing record in the album, and taking the pictures shared in the selected sharing record as the re-determined pictures;
according to the identification information of the pictures in the album shared in the third sharing record selected in the step S102, A, B, C, D, E and F are obtained as the pictures shared in the third sharing record, and the pictures A, B, C, D, E and F are determined as the redetermined pictures.
Step S104: sharing the re-determined picture to the preset application, and acquiring sharing information of the re-determined picture;
that is, the pictures A, B, C, D, E and F shared in the third sharing record selected in step S102 are shared with the preset application, and the sharing information that the pictures A, B, C, D, E and F share with the preset application is acquired.
Step S105: generating sharing records according to the re-determined sharing information of the pictures, and storing the sharing records into a database, wherein each sharing record corresponds to unique sharing identification information;
step S106: adding an album page in the album according to sharing information of a category in the sharing record, wherein the album page comprises: generating at least one sub-album according to one type of sharing information in the sharing record;
for example: according to the identification information of the shared preset application in the sharing record, adding an album page corresponding to the identification information of different preset applications in the album, wherein the name of the album page is 'social application', and the album page comprises: and placing the pictures shared to the same preset application in the same sub-album according to at least one sub-album generated according to the identification information of the shared preset application in the sharing record. As shown in fig. 11, in the album page of "social application", the shared pictures are respectively placed in the sub-albums named as application 1, application 2, application 3, or application 4 according to which application among application 1, application 2, application 3, or application 4 the shared pictures are shared to. The bottom of the display page of the album further includes 1 or more than 1 virtual key (3 in fig. 11), the user can click different virtual keys to switch the currently referred album page, and the name of the virtual key may be the same as the name of the album page, for example: when a virtual key named "social application" is clicked, the "social application" album page in fig. 11 is displayed.
For another example: according to the sharing time in the sharing record, adding an album page corresponding to different sharing times in the album, wherein the name of the album page is 'sharing time', and the album page comprises: and at least one sub-album is generated according to the sharing time in the sharing record, and the shared pictures with the sharing time in the same time period are placed in the same sub-album. As shown in fig. 12, in the album page of "sharing time", the shared pictures are placed in the sub-albums named the first quarter, the second quarter, the third quarter, or the fourth quarter according to the quarter in which the sharing time in the sharing record is located.
Preferably, the album pages further include: a sub-album containing all shared pictures as shown in fig. 13.
Step S107: when detecting that a user selects a sub album in the album paging, displaying the shared content information in the shared record in the sub album, and acquiring the shared picture according to the identification information of the shared picture in the shared record in the album.
And obtaining the shared pictures according to the identification information of the shared pictures in the sharing record in the album, wherein the obtained shared pictures are as follows: when the number of identification information of the shared pictures in the album in a sharing record is 1, acquiring thumbnails of the shared pictures; and when the number of the identification information of the shared pictures in the album in one sharing record is larger than 1, acquiring thumbnails of the multiple shared pictures or puzzles of the thumbnails of the multiple shared pictures.
For example: when it is detected that the user clicks a sub album with a name of "all" in the album page of the "social application", the shared content information of the shared records in the sub album and thumbnails of the shared pictures are displayed, as shown in fig. 14, the shared records in the sub album are sorted from near to far according to the sharing time, and the shared content information displayed in the sub album includes: the shared preset application icons and the shared text information corresponding to the shared pictures.
The management method for the picture sharing information provided by the embodiment can be beneficial to forwarding the picture according to the picture sharing information of the user, improves the efficiency of sharing the picture to the social application, reduces the picture sharing difficulty, and enriches the picture sharing mode; and according to sharing information of one category in the sharing record, photo album paging is added in the photo album, so that the shared pictures are classified in different sub photo albums, the photo album can be sorted by a user, the classified shared pictures are more organized, the user can conveniently search the shared pictures, and the user experience is further improved.
In some preferred embodiments of the present invention, the sharing information of the selected sharing record includes sharing text information corresponding to a shared picture, and step S104 includes: acquiring sharing text information corresponding to the shared picture in the selected sharing record; and directly sharing the re-determined picture and the obtained sharing text information corresponding to the shared picture to the preset application, and obtaining the sharing information of the re-determined picture.
For example, the content information of the third sharing record of the picture B selected in step S102 includes: sharing text information with text content of 'good weather'; if the preset application is the microblog, sharing pictures A, B, C, D, E and F shared in the third sharing record and the text content of 'good weather' to the microblog, and acquiring sharing information shared by the pictures A, B, C, D, E and F to the microblog, wherein the sharing information comprises the following steps: identification information of pictures A, B, C, D, E and F in the photo album, sharing time of pictures A, B, C, D, E and F to the microblog, identification information of the microblog (name and/or icon of the microblog) and sharing text information "weather is good".
Therefore, the same content can be automatically forwarded by selecting the sharing record of the picture, and the method is more convenient and faster.
In other preferred embodiments of the present invention, the sharing information of the selected sharing record includes sharing text information corresponding to a shared picture, and step S104 includes: acquiring shared text information corresponding to the shared picture in the selected sharing record, and pasting the acquired shared text information corresponding to the shared picture to a text information editing box of the preset application corresponding to the re-determined picture; and when the fact that the editing of the character information in the editing frame is completed is detected, sharing the redetermined picture to the preset application, and acquiring the character information in the editing frame as shared character information corresponding to the redetermined picture.
For example: the sharing content information of the third sharing record of the picture B selected in step S102 includes: sharing text information with text content of 'good weather'; if the preset application is QQ, pasting the shared text information 'weather is good' in the third sharing record to a text information editing frame corresponding to the shared pictures (namely A, B, C, D, E and F) in the QQ; editing the literal content in the literal information edit box, sharing pictures A, B, C, D, E and F and the literal content of "today's weather is true good" to QQ if the literal content when editing is finished is detected, and sharing the literal content of "today's weather is true good" to QQ, and obtaining the literal information of "today's weather is true good" in the edit box, and sharing the literal information of "today's weather is true good" to QQ as pictures A, B, C, D, E and F.
Therefore, the sharing records of the pictures are selected, the sharing text information can be automatically pasted, the users can share the pictures after modification, the efficiency of sharing the pictures to the social application is improved, the picture sharing difficulty is reduced, the method is more convenient and faster, and the operation experience of the users is further improved.
In some other preferred embodiments of the present invention, step S102 includes:
when an operation for displaying a sharing entry corresponding to the picture is detected, displaying the sharing entry corresponding to the picture according to the acquired sharing record corresponding to the picture; and if the selection operation of selecting one sharing entry is detected, determining the sharing record corresponding to the selected sharing entry.
Wherein, one sharing entry only corresponds to one sharing record. The sharing entries may include all or part of the sharing content information in the sharing record and the pictures obtained according to the identification information of the pictures in the sharing record in the album.
For example: the sharing information stored in one sharing record in the database is the number of the 9 shared pictures in the album, the sharing time of sharing the 9 pictures to the WeChat friend circle, the icon of the WeChat and the shared characters. The sharing entry displayed on the display screen and corresponding to the sharing record may include all the 9 pictures or thumbnails of the 9 pictures acquired according to the numbers of the 9 pictures in the album, and at least one of: the 9 pictures are shared to the sharing time of the WeChat friend circle, the icon of the WeChat and the shared characters.
The operation for displaying the sharing entry corresponding to the picture may be a preset touch operation, such as: the sliding operation by the user sliding on the picture may be a rotating operation of a rotating terminal or the like. The operation of selecting one sharing item may be a preset touch operation, for example: clicking the displayed sharing items; it can also be a voice operation, such as: the uttered voice content is the voice message of "select item 2", and so on. The setting can be performed according to actual requirements, and the invention is not limited.
For example, the picture M is shared 5 times in total, when an operation for displaying a sharing entry corresponding to the picture M is detected, the sharing entries corresponding to the sharing records of the 5 times are displayed on the display screen, and which sharing entry is selected is determined according to the operation of the user. According to the sharing record corresponding to the sharing entry, the sharing information in the sharing record can be automatically acquired and directly forwarded, so that the method is simpler, convenient and fast, and the user experience is improved.
In some preferred embodiments of the present invention, the shared pictures can be uploaded to the cloud, and the shared pictures in the terminal are deleted, so that the storage space of the terminal is increased, and the user can operate the terminal more conveniently and smoothly.
Based on the same inventive concept as the management method, referring to fig. 15, fig. 15 is a schematic structural diagram of a terminal according to a third embodiment of the present invention, where the terminal 150 includes:
the obtaining module 151 is configured to obtain shared information of a picture in a process of sharing the picture to a preset application, where the shared information includes identification information of the picture in an album and shared content information, and the shared content information includes at least one of the following: sharing the picture to the sharing time of the preset application, the identification information of the preset application and the sharing text information corresponding to the picture;
the storage module 152 is configured to generate sharing records according to the sharing information of the pictures, and store the sharing records in a database, where each sharing record corresponds to a unique sharing identification information.
Preferably, the obtaining module 151 is configured to obtain a picture selected by a user; acquiring identification information of the picture in an album, identification information of the preset application and shared character information corresponding to the picture; and sharing the picture and the shared text information corresponding to the picture to the preset application.
Preferably, the obtaining module 151 is configured to capture a screen to obtain a first screenshot when detecting that the preset application displays a text information editing interface corresponding to the picture; when the fact that the text message on the text message editing interface is edited is detected, screen capturing is carried out to obtain a second screenshot; and acquiring character information corresponding to the picture according to the first screenshot and the second screenshot, and taking the character information as shared character information corresponding to the picture.
Preferably, the obtaining module 151 is configured to remove status bars in the first screenshot and the second screenshot respectively to obtain a third screenshot and a fourth screenshot; if the third screenshot is the same as the fourth screenshot, the shared text information corresponding to the picture is empty; and if the third screenshot is different from the fourth screenshot, further removing the same area as the third screenshot from the fourth screenshot to obtain a fifth screenshot, and extracting the text information in the fifth screenshot to serve as the shared text information corresponding to the picture.
Preferably, the obtaining module 151 is configured to obtain, according to the identification information of the picture in the album, a sharing record corresponding to the picture in the database; selecting a sharing record from the obtained sharing records; acquiring the pictures shared in the selected sharing record according to the identification information of the pictures shared in the selected sharing record in the album, and taking the pictures shared in the selected sharing record as the re-determined pictures; sharing the re-determined picture to the preset application, and acquiring sharing information of the re-determined picture sharing to the preset application.
Preferably, the obtaining module 151 is configured to obtain the number of the pictures shared in the sharing record according to the obtained sharing information of the sharing record; sequencing the obtained sharing records according to the sequence of the number of the pictures shared in the obtained sharing records from a few pictures; and selecting the sharing record with the most number of the shared pictures.
Preferably, the sharing information of the selected sharing record includes sharing text information corresponding to the shared picture;
the obtaining module 151 is configured to obtain shared text information corresponding to a shared picture in the selected sharing record, and paste the obtained shared text information corresponding to the shared picture into a text information editing box of the preset application corresponding to the re-determined picture; and when the fact that the editing of the character information in the editing frame is completed is detected, sharing the redetermined picture to the preset application, and acquiring the character information in the editing frame as shared character information corresponding to the redetermined picture.
Preferably, the saving module 152 is configured to generate a sharing record preview frame corresponding to the sharing record according to the sharing information of the picture, where the sharing record preview frame includes a display area of the picture and a sharing content display area, and the sharing content display area includes at least one of the following: the method comprises the steps of sharing a time display area, an information display area of a preset application and a shared text information display area, wherein the information of the preset application comprises: the name and/or icon of the preset application; when the sharing record preview frame comprises a sharing text information display area, if it is detected that a user clicks the sharing text information display area within preset time, controlling the sharing text information display area to be in an editable state, and when it is detected that text information in the sharing text information display area is edited, acquiring text information in the sharing text information display area as sharing text information corresponding to the picture, and controlling the preview frame to disappear; and if the user is not detected to click the preview frame within the preset time, or the user is detected to click other areas except the preview frame in the screen within the preset time, controlling the preview frame to disappear.
Preferably, the terminal 150 further includes:
the query module is used for acquiring a sharing record corresponding to the picture in the database according to the identification information of the picture in the photo album when the operation of generating the sharing card of the picture is detected;
the selection module is used for selecting a sharing record from the obtained sharing records;
and the generating module is used for generating a sharing card corresponding to the selected sharing record according to the sharing information of the selected sharing record, and the sharing card is used as the sharing card of the picture.
Preferably, the preset application is an application stored in a preset application list, and when the picture is shared to the application in the preset application list, a sharing record needs to be generated.
Preferably, the terminal 150 further includes:
the second display module is used for displaying the sharing information display interface of the picture when detecting that the user triggers the operation of displaying the sharing information display interface of the picture, wherein the sharing information display interface comprises: the picture sharing method comprises a thumbnail of a picture and at least one sharing entry corresponding to the picture, wherein one sharing entry uniquely corresponds to one sharing record of the picture.
Preferably, the operation of triggering the display of the shared information display interface of the picture by the user is a touch operation for controlling the picture to turn over;
the shared information display interface is the back of the picture.
Preferably, the shared information display interface further includes: and the user can inquire more sharing entry entries of more sharing entries corresponding to the pictures.
Preferably, the terminal 150 further includes:
the adding module is used for adding an album page in the album according to the sharing information of one category in the sharing record, wherein the album page comprises: generating at least one sub-album according to one type of sharing information in the sharing record;
the first display module is used for displaying the shared content information in the shared record in the sub album when detecting that the user selects one sub album in the album page, and acquiring the shared picture according to the identification information of the shared picture in the shared record in the album.
The terminal provided by the embodiment of the present invention can implement each process of the method embodiments in fig. 1 and fig. 10, and is not described here again to avoid repetition.
The terminal provided by the embodiment of the invention can store the sharing information related to the shared picture, is convenient for a user to look up, improves the picture browsing experience, is beneficial for the user to forward according to the sharing information of the picture, and improves the efficiency of sharing the picture to the social application.
Referring to fig. 16, fig. 16 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention, where the terminal 160 includes a processor 161, a memory 162, and a computer program stored in the memory 162 and operable on the processor 161, and when the processor 161 executes the computer program, the following steps are implemented:
in the process of sharing a picture to a preset application, obtaining sharing information of the picture, wherein the sharing information comprises identification information of the picture in an album and sharing content information, and the sharing content information comprises at least one of the following information: sharing the picture to the sharing time of the preset application, the identification information of the preset application and the sharing text information corresponding to the picture;
and generating sharing records according to the sharing information of the pictures, and storing the sharing records into a database, wherein each sharing record corresponds to unique sharing identification information.
In the embodiment of the invention, the processor can store the sharing information related to the shared pictures in the database, so that the user can conveniently look up the sharing information, the picture browsing experience is improved, the user can conveniently forward the sharing information according to the pictures, and the efficiency of sharing the pictures to the social application is improved.
In the embodiment of the present invention, the database is stored in the memory 162.
Preferably, the computer program when executed by the processor 161 further implements the steps of:
in the process of sharing the picture to the preset application, the step of obtaining the sharing information of the picture comprises the following steps:
acquiring a picture selected by a user;
acquiring identification information of the picture in an album, identification information of the preset application and shared character information corresponding to the picture;
and sharing the picture and the shared text information corresponding to the picture to the preset application.
Preferably, the computer program when executed by the processor 161 further implements the steps of:
the step of obtaining the shared text information corresponding to the picture comprises the following steps:
when the preset application is detected to display a text message editing interface corresponding to the picture, screen capturing is carried out to obtain a first screenshot;
when the fact that the text message on the text message editing interface is edited is detected, screen capturing is carried out to obtain a second screenshot;
and acquiring character information corresponding to the picture according to the first screenshot and the second screenshot, and taking the character information as shared character information corresponding to the picture.
Preferably, the computer program when executed by the processor 161 further implements the steps of:
the step of acquiring the text information corresponding to the picture according to the first screenshot and the second screenshot and taking the acquired text information as the shared text information corresponding to the picture comprises the following steps:
respectively removing status bars in the first screenshot and the second screenshot to obtain a third screenshot and a fourth screenshot;
if the third screenshot is the same as the fourth screenshot, the shared text information corresponding to the picture is empty;
and if the third screenshot is different from the fourth screenshot, further removing the same area as the third screenshot from the fourth screenshot to obtain a fifth screenshot, and extracting the text information in the fifth screenshot to serve as the shared text information corresponding to the picture.
Preferably, the computer program when executed by the processor 161 further implements the steps of:
in the process of sharing the picture to the preset application, the step of obtaining the sharing information of the picture comprises the following steps:
acquiring a sharing record corresponding to the picture in the database according to the identification information of the picture in the photo album;
selecting a sharing record from the obtained sharing records; acquiring the pictures shared in the selected sharing record according to the identification information of the pictures shared in the selected sharing record in the album, and taking the pictures shared in the selected sharing record as the re-determined pictures;
sharing the re-determined picture to the preset application, and acquiring sharing information of the re-determined picture.
Preferably, the computer program when executed by the processor 161 further implements the steps of:
the step of selecting a sharing record from the acquired sharing records includes:
acquiring the number of the pictures shared in the sharing record according to the sharing information of the acquired sharing record;
sequencing the inquired sharing records according to the sequence of the number of the shared pictures in the obtained sharing records from a few to a few;
and selecting the sharing record with the most number of the shared pictures.
Preferably, the sharing information of the selected sharing record includes sharing text information corresponding to the shared picture;
the computer program when executed by the processor 161 may further implement the steps of:
the step of sharing the re-determined picture to the preset application and acquiring the sharing information of the re-determined picture includes:
acquiring shared text information corresponding to the shared picture in the selected sharing record, and pasting the acquired shared text information corresponding to the shared picture to a text information editing box of the preset application corresponding to the re-determined picture;
and when the fact that the editing of the character information in the editing frame is completed is detected, sharing the redetermined picture to the preset application, and acquiring the character information in the editing frame as shared character information corresponding to the redetermined picture.
Preferably, the computer program when executed by the processor 161 further implements the steps of:
the step of generating a sharing record according to the sharing information of the picture comprises the following steps:
according to the sharing information of the picture, a sharing record preview frame corresponding to the sharing record is generated, the sharing record preview frame comprises a display area of the picture and a sharing content display area, and the sharing content display area comprises at least one of the following: the method comprises the steps of sharing a time display area, an information display area of a preset application and a shared text information display area, wherein the information of the preset application comprises: the name and/or icon of the preset application;
when the sharing record preview frame comprises a sharing text information display area, if it is detected that a user clicks the sharing text information display area within preset time, controlling the sharing text information display area to be in an editable state, and when it is detected that text information in the sharing text information display area is edited, acquiring text information in the sharing text information display area as sharing text information corresponding to the picture, and controlling the preview frame to disappear; and if the user is not detected to click the shared text information display area within the preset time, or the user is detected to click other areas except the preview frame in the screen within the preset time, controlling the preview frame to disappear.
Preferably, the computer program when executed by the processor 161 further implements the steps of:
after the step of generating a sharing record according to the sharing information of the picture and storing the sharing record in a database, the method further comprises the following steps:
when the operation of generating the sharing card of the picture is detected, acquiring a sharing record corresponding to the picture in the database according to the identification information of the picture in the photo album;
selecting a sharing record from the obtained sharing records;
and generating a sharing card corresponding to the selected sharing record according to the sharing information of the selected sharing record, wherein the sharing card is used as the sharing card of the picture.
Preferably, the preset application is an application stored in a preset application list, and when the picture is shared to the application in the preset application list, a sharing record needs to be generated.
Preferably, the computer program when executed by the processor 161 further implements the steps of:
after the step of generating a sharing record according to the sharing information of the picture and storing the sharing record in a database, the method further comprises the following steps:
when detecting that a user triggers the operation of displaying the sharing information display interface of the picture, wherein the sharing information display interface comprises: the thumbnail of the picture and at least one sharing entry corresponding to the picture.
Preferably, the operation of triggering the display of the shared information display interface of the picture by the user is a touch operation for controlling the picture to turn over;
the shared information display interface is the back of the picture.
Preferably, the shared information display interface further includes: and the user can inquire more sharing entry entries of more sharing entries corresponding to the pictures.
Preferably, the computer program when executed by the processor 161 further implements the steps of:
after the step of generating a sharing record according to the sharing information of the picture and storing the sharing record in a database, the method further comprises the following steps:
adding an album page in the album according to sharing information of a category in the sharing record, wherein the album page comprises: generating at least one sub-album according to one type of sharing information in the sharing record;
when detecting that a user selects a sub album in the album paging, displaying the shared content information in the shared record in the sub album, and acquiring the shared picture according to the identification information of the shared picture in the shared record in the album.
Referring to fig. 17, fig. 17 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal configuration shown in fig. 1 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to acquire sharing information of a picture in a process of sharing the picture to a preset application, where the sharing information includes identification information of the picture in an album and sharing content information, and the sharing content information includes at least one of the following: sharing the picture to the sharing time of the preset application, the identification information of the preset application and the sharing text information corresponding to the picture; and generating sharing records according to the sharing information of the pictures, and storing the sharing records into a database, wherein each sharing record corresponds to unique sharing identification information.
In the embodiment of the invention, the processor can store the sharing information related to the shared pictures in the database, so that the user can conveniently look up the sharing information, the picture browsing experience is improved, the user can conveniently forward the sharing information according to the pictures, and the efficiency of sharing the pictures to the social application is improved.
In the embodiment of the present invention, the database is stored in the memory 109.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 17, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the management method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A management method for sharing information of pictures is characterized by comprising the following steps:
in the process of sharing a picture to a preset application, obtaining sharing information of the picture, wherein the sharing information comprises identification information of the picture in an album and sharing content information, and the sharing content information comprises at least one of the following information: sharing the picture to the sharing time of the preset application, the identification information of the preset application and the sharing text information corresponding to the picture;
sharing records are generated according to the sharing information of the pictures and stored in a database, and each sharing record corresponds to unique sharing identification information;
in the process of sharing the picture to the preset application, the step of obtaining the sharing information of the picture comprises the following steps:
acquiring a picture selected by a user;
acquiring identification information of the picture in an album, identification information of the preset application and shared character information corresponding to the picture;
sharing the picture and the shared text information corresponding to the picture to the preset application;
the step of obtaining the shared text information corresponding to the picture comprises the following steps:
when the preset application is detected to display a text message editing interface corresponding to the picture, screen capturing is carried out to obtain a first screenshot;
when the fact that the text message on the text message editing interface is edited is detected, screen capturing is carried out to obtain a second screenshot;
and acquiring character information corresponding to the picture according to the first screenshot and the second screenshot, and taking the character information as shared character information corresponding to the picture.
2. The management method according to claim 1, wherein the step of obtaining text information corresponding to the picture according to the first screenshot and the second screenshot, and the step of sharing the text information corresponding to the picture includes:
respectively removing status bars in the first screenshot and the second screenshot to obtain a third screenshot and a fourth screenshot;
if the third screenshot is the same as the fourth screenshot, the shared text information corresponding to the picture is empty;
and if the third screenshot is different from the fourth screenshot, further removing the same area as the third screenshot from the fourth screenshot to obtain a fifth screenshot, and extracting the text information in the fifth screenshot to serve as the shared text information corresponding to the picture.
3. The management method according to claim 1, wherein the step of obtaining the sharing information of the picture in the process of sharing the picture to a preset application comprises:
acquiring a sharing record corresponding to the picture in the database according to the identification information of the picture in the photo album;
selecting a sharing record from the obtained sharing records;
acquiring the pictures shared in the selected sharing record according to the identification information of the pictures shared in the selected sharing record in the album, and taking the pictures shared in the selected sharing record as the re-determined pictures;
sharing the re-determined picture to the preset application, and acquiring sharing information of the re-determined picture.
4. The management method according to claim 3, wherein the sharing information of the selected sharing record includes sharing text information corresponding to a shared picture, and the step of sharing the re-determined picture to the preset application and acquiring the sharing information of the re-determined picture includes:
acquiring shared text information corresponding to the shared picture in the selected sharing record, and pasting the acquired shared text information corresponding to the shared picture to a text information editing box of the preset application corresponding to the re-determined picture;
and when the fact that the editing of the character information in the editing frame is completed is detected, sharing the redetermined picture to the preset application, and acquiring the character information in the editing frame as shared character information corresponding to the redetermined picture.
5. The management method according to claim 1, wherein the step of generating a sharing record according to the sharing information of the picture comprises:
according to the sharing information of the picture, a sharing record preview frame corresponding to the sharing record is generated, the sharing record preview frame comprises a display area of the picture and a sharing content display area, and the sharing content display area comprises at least one of the following: the method comprises the steps of sharing a time display area, an information display area of a preset application and a shared text information display area, wherein the information of the preset application comprises: the name and/or icon of the preset application;
when the sharing record preview frame comprises a sharing text information display area, if it is detected that a user clicks the sharing text information display area within preset time, controlling the sharing text information display area to be in an editable state, and when it is detected that text information in the sharing text information display area is edited, acquiring text information in the sharing text information display area as sharing text information corresponding to the picture, and controlling the preview frame to disappear; and if the user is not detected to click the shared text information display area within the preset time, or the user is detected to click other areas except the preview frame in the screen within the preset time, controlling the preview frame to disappear.
6. The management method according to claim 1, wherein after the step of generating a sharing record according to the sharing information of the picture and storing the sharing record in a database, the method further comprises:
when the operation of generating the sharing card of the picture is detected, acquiring a sharing record corresponding to the picture in the database according to the identification information of the picture in the photo album;
selecting a sharing record from the obtained sharing records;
and generating a sharing card corresponding to the selected sharing record according to the sharing information of the selected sharing record, wherein the sharing card is used as the sharing card of the picture.
7. The management method according to claim 1, wherein after the step of generating a sharing record according to the sharing information of the picture and storing the sharing record in a database, the method further comprises:
when detecting that a user triggers the operation of displaying the sharing information display interface of the picture, wherein the sharing information display interface is the back of the picture, and the method comprises the following steps: the thumbnail of the picture and at least one sharing entry corresponding to the picture, wherein one sharing entry uniquely corresponds to one sharing record of the picture; and the user triggers the operation of the display of the sharing information display interface of the picture to be a touch operation for controlling the picture to turn over.
8. The management method according to claim 1, wherein after the step of generating a sharing record according to the sharing information of the picture and storing the sharing record in a database, the method further comprises:
adding an album page in the album according to sharing information of a category in the sharing record, wherein the album page comprises: generating at least one sub-album according to one type of sharing information in the sharing record;
when detecting that a user selects a sub album in the album paging, displaying the shared content information in the shared record in the sub album, and acquiring the shared picture according to the identification information of the shared picture in the shared record in the album.
9. A terminal, comprising:
the acquisition module is used for acquiring sharing information of the picture in the process of sharing the picture to a preset application, wherein the sharing information comprises identification information of the picture in an album and sharing content information, and the sharing content information comprises at least one of the following information: sharing the picture to the sharing time of the preset application, the identification information of the preset application and the sharing text information corresponding to the picture;
the storage module is used for generating sharing records according to the sharing information of the pictures and storing the sharing records into a database, wherein each sharing record corresponds to unique sharing identification information;
the obtaining module is specifically configured to:
acquiring a picture selected by a user;
acquiring identification information of the picture in an album, identification information of the preset application and shared character information corresponding to the picture;
sharing the picture and the shared text information corresponding to the picture to the preset application;
wherein, obtaining the shared text information corresponding to the picture comprises:
when the preset application is detected to display a text message editing interface corresponding to the picture, screen capturing is carried out to obtain a first screenshot;
when the fact that the text message on the text message editing interface is edited is detected, screen capturing is carried out to obtain a second screenshot;
and acquiring character information corresponding to the picture according to the first screenshot and the second screenshot, and taking the character information as shared character information corresponding to the picture.
10. The terminal of claim 9,
the acquisition module is used for acquiring the sharing record corresponding to the picture in the database according to the identification information of the picture in the photo album; selecting a sharing record from the obtained sharing records; acquiring the pictures shared in the selected sharing record according to the identification information of the pictures shared in the selected sharing record in the album, and taking the pictures shared in the selected sharing record as the re-determined pictures; sharing the re-determined picture to the preset application, and acquiring sharing information of the re-determined picture.
11. The terminal of claim 9,
the storage module is configured to generate a sharing record preview frame corresponding to the sharing record according to the sharing information of the picture, where the sharing record preview frame includes a display area of the picture and a sharing content display area, and the sharing content display area includes at least one of the following: the method comprises the steps of sharing a time display area, an information display area of a preset application and a shared text information display area, wherein the information of the preset application comprises: the name and/or icon of the preset application; when the sharing record preview frame comprises a sharing text information display area, if it is detected that a user clicks the sharing text information display area within preset time, controlling the sharing text information display area to be in an editable state, and when it is detected that text information in the sharing text information display area is edited, acquiring text information in the sharing text information display area as sharing text information corresponding to the picture, and controlling the preview frame to disappear; and if the user is not detected to click the preview frame within the preset time, or the user is detected to click other areas except the preview frame in the screen within the preset time, controlling the preview frame to disappear.
12. The terminal of claim 9, further comprising:
the adding module is used for adding an album page in the album according to the sharing information of one category in the sharing record, wherein the album page comprises: generating at least one sub-album according to one type of sharing information in the sharing record;
the first display module is used for displaying the shared content information in the shared record in the sub album when detecting that the user selects one sub album in the album page, and acquiring the shared picture according to the identification information of the shared picture in the shared record in the album.
13. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the management method according to any one of claims 1 to 8.
CN201810819407.5A 2018-07-24 2018-07-24 Management method and terminal for shared information of pictures Active CN109145142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810819407.5A CN109145142B (en) 2018-07-24 2018-07-24 Management method and terminal for shared information of pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810819407.5A CN109145142B (en) 2018-07-24 2018-07-24 Management method and terminal for shared information of pictures

Publications (2)

Publication Number Publication Date
CN109145142A CN109145142A (en) 2019-01-04
CN109145142B true CN109145142B (en) 2020-06-19

Family

ID=64798306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810819407.5A Active CN109145142B (en) 2018-07-24 2018-07-24 Management method and terminal for shared information of pictures

Country Status (1)

Country Link
CN (1) CN109145142B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199547A (en) * 2019-07-08 2021-01-08 Oppo广东移动通信有限公司 Image processing method and device, storage medium and electronic equipment
CN110502652A (en) * 2019-08-23 2019-11-26 裱白(深圳)科技有限公司 A kind of heat shrinking sheet production method, making apparatus and server
CN110765388A (en) * 2019-09-09 2020-02-07 上海掌门科技有限公司 Method and equipment for publishing shared information in social space
CN110795010B (en) * 2019-10-12 2021-08-10 维沃移动通信有限公司 Screen capturing method and terminal equipment thereof
CN110855549A (en) * 2019-10-28 2020-02-28 维沃移动通信有限公司 Message display method and terminal equipment
CN117032527A (en) 2019-11-04 2023-11-10 华为终端有限公司 Picture selection method and electronic equipment
CN110889002A (en) * 2019-11-26 2020-03-17 维沃移动通信有限公司 Image display method and electronic equipment
CN111144076B (en) * 2019-12-13 2023-06-02 汉海信息技术(上海)有限公司 Social information publishing method and device
CN111414507A (en) * 2020-03-04 2020-07-14 华为技术有限公司 Information display method, equipment, device and computer readable storage medium
CN111562865B (en) * 2020-04-30 2022-04-29 维沃移动通信有限公司 Information sharing method and device, electronic equipment and storage medium
CN113485609B (en) * 2021-07-19 2024-04-09 咪咕数字传媒有限公司 Electronic book sharing method, device, storage medium and apparatus
CN114143281B (en) * 2021-11-10 2023-03-14 聚好看科技股份有限公司 Document generation method, server and display device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942212A (en) * 2013-01-21 2014-07-23 腾讯科技(深圳)有限公司 User interface character detecting method and device
CN104348848A (en) * 2013-07-25 2015-02-11 北京三星通信技术研究有限公司 Method, terminal equipment and server for managing pictures
CN104424203A (en) * 2013-08-21 2015-03-18 腾讯科技(深圳)有限公司 Method and system for viewing photo sharing state in mobile device
CN104820683A (en) * 2015-04-17 2015-08-05 深圳市金立通信设备有限公司 Terminal
CN105373587A (en) * 2015-10-14 2016-03-02 深圳市金立通信设备有限公司 Picture display method and terminal
CN105893636A (en) * 2016-06-23 2016-08-24 乐视控股(北京)有限公司 Historical sharing recording method and device
CN107678644A (en) * 2017-09-18 2018-02-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942212A (en) * 2013-01-21 2014-07-23 腾讯科技(深圳)有限公司 User interface character detecting method and device
CN104348848A (en) * 2013-07-25 2015-02-11 北京三星通信技术研究有限公司 Method, terminal equipment and server for managing pictures
CN104424203A (en) * 2013-08-21 2015-03-18 腾讯科技(深圳)有限公司 Method and system for viewing photo sharing state in mobile device
CN104820683A (en) * 2015-04-17 2015-08-05 深圳市金立通信设备有限公司 Terminal
CN105373587A (en) * 2015-10-14 2016-03-02 深圳市金立通信设备有限公司 Picture display method and terminal
CN105893636A (en) * 2016-06-23 2016-08-24 乐视控股(北京)有限公司 Historical sharing recording method and device
CN107678644A (en) * 2017-09-18 2018-02-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal

Also Published As

Publication number Publication date
CN109145142A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109145142B (en) Management method and terminal for shared information of pictures
CN108958867B (en) Task operation method and device for application
WO2019137429A1 (en) Picture processing method and mobile terminal
CN109343755B (en) File processing method and terminal equipment
CN112486385A (en) File sharing method and device, electronic equipment and readable storage medium
CN108763540B (en) File browsing method and terminal
CN109508398B (en) Photo classification method and terminal equipment thereof
CN108646960B (en) File processing method and flexible screen terminal
CN110557565A (en) Video processing method and mobile terminal
CN109271262B (en) Display method and terminal
EP3979674A1 (en) Message sending method and terminal
CN109324999B (en) Method and electronic equipment for executing operation based on download instruction
CN109495638B (en) Information display method and terminal
CN108984143B (en) Display control method and terminal equipment
CN111176526B (en) Picture display method and electronic equipment
CN111752448A (en) Information display method and device and electronic equipment
CN111104380A (en) Application file management method and device, mobile terminal and storage medium
CN110955788A (en) Information display method and electronic equipment
CN110955793A (en) Display control method and electronic equipment
CN108762612B (en) Operation method and mobile terminal
CN111610909B (en) Screenshot method and device and electronic equipment
CN110543276B (en) Picture screening method and terminal equipment thereof
CN109922199B (en) Contact information processing method and terminal
CN109739406B (en) File sending method and terminal
CN109857578B (en) Text copying method 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
GR01 Patent grant
GR01 Patent grant